/* ═══════════════════════════════════════════════════════════
   Kodelia · Landing
   Claro, preciso y animado. Violeta Kodelia = acción. Color vivo solo
   dentro de demos e ilustraciones.
   ═══════════════════════════════════════════════════════════ */
@font-face { font-family: 'Geist'; src: url('/assets/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0b1220;
  --ink-2: #444d63;
  --ink-3: #8790a5;
  --ink-4: #b7bdcb;
  --line: #e8ebf1;
  --line-2: #dce0e8;
  --bg: #ffffff;
  --mist: #f6f8fb;
  --mist-2: #eef1f6;
  --blue: #6e2cff;
  --blue-2: #5418e0;
  --blue-soft: #f3eeff;
  --blue-3: #b794ff;
  --navy: #0a1f47;
  --sun: #ffd23f;
  --mint: #5ad1a8;
  --coral: #ff7a59;
  --lilac: #a78bfa;
  --sky: #c9b6ff;
  --ok: #12a150;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --sh-1: 0 1px 2px rgba(11, 18, 32, .05), 0 1px 1px rgba(11, 18, 32, .03);
  --sh-2: 0 1px 2px rgba(11, 18, 32, .04), 0 10px 30px -12px rgba(11, 18, 32, .14);
  --sh-3: 0 2px 4px rgba(11, 18, 32, .04), 0 30px 80px -24px rgba(11, 18, 32, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 17px; line-height: 1.6; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
  font-feature-settings: 'ss01', 'cv11';
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

/* ─── Tipografía ─── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.eyebrow--light { color: #bcd0fb; }
.h2 { font-weight: 650; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.045em; margin: 0; }
.hl { color: var(--ink-3); }
.lead { font-size: clamp(16.5px, 1.3vw, 19px); color: var(--ink-2); margin: 18px 0 0; max-width: 560px; }
.head { margin-bottom: clamp(44px, 6vw, 72px); }
.head--center { text-align: center; }
.head--center .lead { margin-inline: auto; }
.tiny { font-size: 12.5px; color: var(--ink-3); text-align: center; margin: 12px 0 0; }

/* ─── Botones ─── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; will-change: transform; }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(11,18,32,.1), 0 8px 20px -8px rgba(110,44,255,.6); }
.btn--primary:hover { background: var(--blue-2); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.btn--light:hover { border-color: var(--ink-4); background: var(--mist); }
.btn--white { background: #fff; color: var(--blue-2); }
.btn--white:hover { background: var(--blue-soft); }
.btn--outline-white { color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-text { display: block; margin: 10px auto 0; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.btn-text:hover { color: var(--ink); }
.link-inline { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link-arrow { display: inline-flex; font-weight: 600; font-size: 15px; color: var(--blue); }
.link-arrow:hover { color: var(--blue-2); }

/* ─── Marca GRIS (provisional) ─── */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5px; width: 26px; height: 26px; }
.brand__mark i { border-radius: 4px; background: var(--ink); transition: border-radius .4s var(--ease), background .4s; }
.brand__mark i:nth-child(2) { background: var(--blue); border-radius: 4px 4px 4px 13px; }
.brand:hover .brand__mark i:nth-child(1) { border-radius: 13px 4px 4px 4px; }
.brand:hover .brand__mark i:nth-child(4) { border-radius: 4px 4px 13px 4px; background: var(--blue); }
.brand__word { font-size: 19px; font-weight: 700; letter-spacing: -0.05em; }
.brand__word span { font-weight: 400; color: var(--ink-3); margin-left: 3px; }

/* ─── Nav ─── */
.nav { position: fixed; inset: 12px 0 auto; z-index: 100; padding-inline: 12px; pointer-events: none; }
.nav__inner { pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 60px; padding: 0 10px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 18px; border: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s, transform .5s var(--ease); }
.nav.is-scrolled .nav__inner { background: rgba(255,255,255,.78); backdrop-filter: saturate(1.8) blur(16px); -webkit-backdrop-filter: saturate(1.8) blur(16px); border-color: rgba(220,224,232,.8); box-shadow: var(--sh-2); }
.nav.is-hidden .nav__inner { transform: translateY(-130%); }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: var(--mist-2); }
.nav__links a.is-active { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__portal { padding: 8px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); border-radius: 10px; }
.nav__portal:hover { color: var(--ink); background: var(--mist-2); }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 90; background: #fff; padding: 110px var(--pad) 40px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease-out); }
.sheet.is-open { clip-path: inset(0 0 0 0); }
.sheet nav { display: flex; flex-direction: column; }
.sheet nav a { font-size: 34px; font-weight: 650; letter-spacing: -0.045em; padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease-out); }
.sheet.is-open nav a { opacity: 1; transform: none; }
.sheet.is-open nav a:nth-child(2) { transition-delay: .04s } .sheet.is-open nav a:nth-child(3) { transition-delay: .08s } .sheet.is-open nav a:nth-child(4) { transition-delay: .12s } .sheet.is-open nav a:nth-child(5) { transition-delay: .16s } .sheet.is-open nav a:nth-child(6) { transition-delay: .2s; font-size: 20px; color: var(--blue); border: 0; padding-top: 18px; }

/* ═════════ HERO ═════════ */
.hero { position: relative; padding: 150px 0 40px; text-align: center; overflow: clip; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle at 1px 1px, #d9deea 1px, transparent 0); background-size: 24px 24px; mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 75%); }
.hero__aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__aura span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hero__aura span:nth-child(1) { width: 520px; height: 420px; left: 50%; top: 520px; margin-left: -720px; background: #e4d6ff; }
.hero__aura span:nth-child(2) { width: 460px; height: 380px; left: 50%; top: 600px; margin-left: 240px; background: #ffe9a8; opacity: .5; }
.hero__aura span:nth-child(3) { width: 600px; height: 300px; left: 50%; top: 900px; margin-left: -300px; background: #c9f0e2; opacity: .45; }
.hero__copy { position: relative; max-width: 980px; margin: 0 auto; padding-inline: var(--pad); display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-1); font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 28px; transition: border-color .2s, box-shadow .2s; }
.pill:hover { border-color: var(--ink-4); box-shadow: var(--sh-2); }
.pill__tag { padding: 3px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12.5px; font-weight: 600; }
.pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__kicker { margin: 0 0 16px; max-width: 18em; font-size: clamp(18px, 2.1vw, 24px); font-weight: 650; letter-spacing: -0.035em; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.hero__title { font-weight: 680; font-size: clamp(44px, 8.4vw, 104px); line-height: .98; letter-spacing: -0.058em; margin: 0; text-wrap: balance; }
.hero__title .hl { position: relative; display: inline-block; color: var(--blue); white-space: nowrap; }
.hero__title .squiggle { position: absolute; left: -2%; right: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; z-index: -1; }
.hero__title .squiggle path { fill: none; stroke: var(--sun); stroke-width: 10; stroke-linecap: round; }
.hero__lead { max-width: 640px; margin: 26px auto 0; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); text-wrap: pretty; }
.hero__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero__proof { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--ink-3); }
.hero__proof li { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof svg { width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── Demo ─── */
.demo-wrap { position: relative; max-width: 1240px; margin: 70px auto 0; padding-inline: var(--pad); }
.demo-tilt { perspective: 2200px; }
.demo-scale { position: relative; }
.demo { --w: 1200px; --h: 700px; position: relative; width: var(--w); height: var(--h); transform-origin: 0 0; text-align: left; font-size: 14px; line-height: 1.45; letter-spacing: -0.01em; background: #fff; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: 0 0 0 6px rgba(255,255,255,.7), 0 50px 120px -40px rgba(11,18,32,.35), 0 20px 50px -30px rgba(110,44,255,.25); overflow: hidden; user-select: none; }
.demo-box { position: relative; transform-style: preserve-3d; border-radius: 18px; }
.demo__top { height: 50px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #e3e6ec; }
.dots i:nth-child(1) { background: #ff6b5e; } .dots i:nth-child(2) { background: #ffc130; } .dots i:nth-child(3) { background: #2bcb4b; }
.crumbs { display: flex; gap: 8px; align-items: center; color: var(--ink-3); font-size: 13.5px; margin-left: 8px; }
.crumbs b { font-weight: 500; } .crumbs em { font-style: normal; color: var(--ink-4); }
.crumbs [data-crumb] { color: var(--ink); font-weight: 600; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ok); padding: 4px 10px; border-radius: 999px; background: #e9f8ef; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3 } }
.avatars { display: flex; }
.avatars i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; margin-left: -7px; border: 2px solid #fff; background: var(--c); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.share { padding: 6px 12px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.demo__body { height: calc(var(--h) - 50px); display: grid; grid-template-columns: 220px 1fr 272px; }
.demo__side { border-right: 1px solid var(--line); padding: 16px 14px; display: flex; flex-direction: column; background: #fbfcfd; }
.proj { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.proj__logo { width: 34px; height: 34px; flex: none; }
.proj b { display: block; font-size: 14px; } .proj small { display: block; font-size: 12px; color: var(--ink-3); }
.side__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin: 20px 4px 8px; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stages li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .3s, color .3s; }
.st-ic { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-4); flex: none; position: relative; transition: background .3s, border-color .3s; }
.stages li.is-active { background: var(--blue-soft); color: var(--blue); }
.stages li.is-active .st-ic { border-color: var(--blue); border-top-color: transparent; animation: spin .9s linear infinite; }
.stages li.is-done .st-ic { background: var(--ok); border-color: var(--ok); }
.stages li.is-done .st-ic::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg) } }
.progress-card { margin-top: auto; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.progress-card__top { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-2); }
.progress-card__top b { color: var(--ink); font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 4px; background: var(--mist-2); margin: 8px 0; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--blue-3)); }
.progress-card small { font-size: 11.5px; color: var(--ink-3); }

.demo__canvas { position: relative; overflow: hidden; background: var(--mist); background-image: radial-gradient(circle at 1px 1px, #dfe3ec 1px, transparent 0); background-size: 18px 18px; }
.scene { position: absolute; inset: 0; padding: 30px; display: flex; align-items: center; justify-content: center; gap: 22px; visibility: hidden; }
.demo__feed { border-left: 1px solid var(--line); padding: 16px 14px; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feed li { display: grid; grid-template-columns: 26px 1fr; gap: 9px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.feed li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--c); }
.feed li b { color: var(--ink); font-weight: 600; }
.feed li small { display: block; color: var(--ink-4); font-size: 11.5px; margin-top: 2px; }
.feed li .att { display: inline-block; margin-top: 6px; padding: 4px 8px; border-radius: 6px; background: var(--mist); border: 1px solid var(--line); font-size: 12px; }
.typing { display: inline-flex; gap: 4px; padding: 9px 12px; border-radius: 12px; background: var(--mist); margin-top: 10px; align-self: flex-start; opacity: 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: typing 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s } .typing i:nth-child(3) { animation-delay: .3s }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5 } 30% { transform: translateY(-3px); opacity: 1 } }

/* S1 brief */
.doc { width: 470px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--sh-2); padding: 22px; }
.doc__head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.doc__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.doc__head b { display: block; font-size: 15.5px; } .doc__head small { color: var(--ink-3); font-size: 12.5px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 4px; }
.field p { margin: 0; min-height: 20px; font-size: 14px; color: var(--ink); }
.field p.caret::after { content: ''; display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--blue); animation: blink .8s infinite; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #fff4d6; color: #8a6400; border: 1px solid #ffe7a3; }
.chips span:nth-child(2) { background: #e3f7ef; color: #11704c; border-color: #bfeedc; }
.chips span:nth-child(3) { background: #ffece5; color: #a8401f; border-color: #ffd2c3; }
.chips span:nth-child(4) { background: var(--blue-soft); color: var(--blue); border-color: #ddd0ff; }
.sticky-note { position: absolute; right: 34px; bottom: 44px; width: 200px; padding: 16px; background: var(--sun); color: #3d2f00; font-size: 13.5px; font-weight: 500; line-height: 1.4; border-radius: 4px 4px 4px 18px; box-shadow: 0 14px 30px -12px rgba(120,90,0,.5); transform: rotate(3deg); }
.sticky-note b { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; opacity: .7; }

/* S2 logo */
.artboard { position: relative; width: 440px; height: 340px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--sh-2); display: grid; place-items: center; }
.artboard__label { position: absolute; top: -26px; left: 0; font-size: 12px; font-weight: 600; color: var(--blue); }
.construct { width: 400px; height: 300px; }
.wordmark { font-family: var(--sans); font-size: 44px; font-weight: 700; letter-spacing: -2.5px; fill: #0f5132; }
.sel { position: absolute; left: 116px; top: 30px; width: 168px; height: 168px; border: 1.5px solid var(--blue); opacity: 0; }
.sel i { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--blue); }
.sel i:nth-child(1) { left: -5px; top: -5px } .sel i:nth-child(2) { right: -5px; top: -5px } .sel i:nth-child(3) { left: -5px; bottom: -5px } .sel i:nth-child(4) { right: -5px; bottom: -5px }
.variants { display: grid; gap: 12px; }
.v { width: 92px; height: 92px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); display: grid; place-items: center; }
.v svg { width: 56px; height: 56px; }
.v--2 { background: #0f5132; } .v--3 { background: #f6efe2; }

/* S3 paleta */
.scene--paleta { flex-direction: column; gap: 18px; }
.swatches { display: flex; gap: 14px; }
.sw { width: 132px; height: 170px; border-radius: 16px; background: var(--c); box-shadow: var(--sh-2); display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; color: #fff; }
.sw span { font-weight: 600; font-size: 14px; } .sw code { font-family: var(--mono); font-size: 11.5px; opacity: .8; }
.sw--light { color: #5b4a2c; border: 1px solid #eadfca; }
.type-spec { width: 570px; display: grid; grid-template-columns: auto auto 1fr; gap: 20px; align-items: center; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--sh-1); padding: 16px 20px; }
.aa { font-size: 64px; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: #0f5132; }
.type-spec__meta b { display: block; font-size: 15px; } .type-spec__meta small { display: block; font-size: 12px; color: var(--ink-3); }
.type-spec__sample { border-left: 1px solid var(--line); padding-left: 20px; }
.type-spec__sample b { display: block; font-size: 22px; letter-spacing: -0.04em; color: #0f5132; }
.type-spec__sample span { font-size: 13.5px; color: var(--ink-2); }

/* S4 web */
.site { width: 600px; height: 390px; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: hidden; display: flex; flex-direction: column; }
.site__bar { height: 30px; flex: none; display: flex; gap: 5px; align-items: center; padding: 0 12px; background: var(--mist); border-bottom: 1px solid var(--line); }
.site__bar i { width: 8px; height: 8px; border-radius: 50%; background: #dfe2e8; }
.site__bar span { margin-left: 10px; padding: 2px 10px; border-radius: 6px; background: #fff; font-size: 11px; color: var(--ink-3); }
.site__nav { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.site__logo { width: 26px; height: 26px; border-radius: 50%; background: #0f5132; box-shadow: inset 0 -8px 0 -4px #e07a4f; }
.site__links { display: flex; gap: 10px; margin-left: auto; } .site__links i { width: 38px; height: 7px; border-radius: 4px; background: #e6e1d6; }
.site__btn { width: 70px; height: 24px; border-radius: 7px; background: #0f5132; }
.site__hero { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 10px 18px 14px; background: #f6efe2; margin: 0 12px; border-radius: 12px; }
.site__txt { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.site__txt b { font-size: 27px; line-height: 1.02; letter-spacing: -0.05em; color: #0f5132; }
.site__txt span { width: 85%; height: 7px; border-radius: 4px; background: #e2d7c2; } .site__txt .s { width: 60%; }
.site__txt em { align-self: flex-start; font-style: normal; font-size: 12px; font-weight: 600; color: #fff; background: #e07a4f; padding: 7px 12px; border-radius: 8px; margin-top: 4px; }
.site__img { border-radius: 10px; background: linear-gradient(160deg, #e9b48f, #e07a4f 40%, #0f5132); background-size: cover; background-position: center; }
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px; }
.site__cards i { height: 44px; border-radius: 9px; background: var(--mist); border: 1px solid var(--line); }
.badge-resp { position: absolute; right: 30px; bottom: 30px; display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--sh-2); opacity: 0; }

/* S5 redes */
.cal { width: 400px; background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--sh-2); padding: 18px; }
.cal__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.cal__head b { font-size: 16px; } .cal__head span { font-size: 12px; color: var(--ink-3); }
.cal__days, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__days span { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); text-align: center; }
.cal__grid { margin-top: 6px; }
.cal__grid i { aspect-ratio: 1; border-radius: 9px; background: var(--mist); border: 1px dashed var(--line-2); position: relative; overflow: hidden; }
.cal__grid i b { position: absolute; inset: 0; border-radius: 8px; background: var(--c); }
.phone { width: 200px; height: 400px; border-radius: 30px; background: #fff; border: 7px solid var(--ink); box-shadow: var(--sh-3); padding: 26px 10px 10px; position: relative; display: flex; flex-direction: column; gap: 8px; }
.phone__notch { position: absolute; top: 6px; left: 50%; width: 56px; height: 14px; margin-left: -28px; border-radius: 10px; background: var(--ink); }
.phone__head { display: flex; gap: 8px; align-items: center; font-size: 12px; }
.phone__av { width: 24px; height: 24px; border-radius: 50%; background: #0f5132; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--coral); }
.phone__post { aspect-ratio: 4/5; border-radius: 10px; background: linear-gradient(160deg, #0f5132, #1b6b47 50%, #e07a4f); display: flex; align-items: flex-end; padding: 12px; color: #f6efe2; font-size: 20px; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; background-size: cover; background-position: center; }
.phone__acts { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.heart { color: #e5484d; font-size: 20px; line-height: 1; display: inline-flex; }

/* S6 aprobación */
.approve { width: 540px; display: grid; grid-template-columns: 200px 1fr; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: hidden; }
.approve__img { aspect-ratio: 4/5; background: linear-gradient(160deg, #0f5132, #e07a4f); display: flex; align-items: flex-end; padding: 16px; color: #f6efe2; font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -0.045em; background-size: cover; background-position: center; }
.approve__body { padding: 22px; display: flex; flex-direction: column; justify-content: center; }
.tag-pend { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #fff4d6; color: #8a6400; transition: background .3s, color .3s; }
.tag-pend.is-ok { background: #e3f7ec; color: var(--ok); }
.approve__body b { font-size: 19px; margin-top: 10px; letter-spacing: -0.03em; }
.approve__body p { margin: 2px 0 18px; color: var(--ink-3); font-size: 13.5px; }
.approve__btns { display: flex; gap: 8px; }
.approve__btns span { padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.b-ok { background: var(--blue); color: #fff; transition: background .3s, transform .2s; }
.b-ok.is-ok { background: var(--ok); }
.b-chg { border: 1px solid var(--line-2); color: var(--ink-2); }
.toast { position: absolute; top: 24px; right: 24px; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); opacity: 0; }
.toast > span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-weight: 700; }
.toast b { display: block; font-size: 14px; } .toast small { color: var(--ink-3); font-size: 12px; }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; left: 50%; top: 50%; width: 8px; height: 12px; border-radius: 2px; }

/* Cursores */
.cursor-x { position: absolute; left: 0; top: 0; z-index: 20; display: flex; align-items: flex-start; pointer-events: none; opacity: 0; will-change: transform; }
.cursor-x svg { width: 20px; height: 20px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.cursor-x svg path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.cursor-x span { margin: 16px 0 0 -4px; padding: 3px 9px; border-radius: 7px 7px 7px 2px; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cursor-x--ana svg path { fill: var(--coral); } .cursor-x--ana span { background: var(--coral); }
.cursor-x--you svg path { fill: var(--blue); } .cursor-x--you span { background: var(--blue); }
.click-ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--blue); pointer-events: none; z-index: 19; }

/* Tabs */
.demo-tabs { display: flex; justify-content: center; gap: 4px; margin: 22px auto 0; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.demo-tabs button { position: relative; padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-3); overflow: hidden; transition: color .25s, background .25s; white-space: nowrap; }
.demo-tabs button:hover { color: var(--ink); }
.demo-tabs button.is-active { color: var(--ink); background: var(--mist-2); }
.demo-tabs button i { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

/* Demo compacto (móvil) */
.demo.is-compact { --w: 560px; --h: 640px; }
.demo.is-compact .demo__body { grid-template-columns: 1fr; }
.demo.is-compact .demo__side, .demo.is-compact .demo__feed, .demo.is-compact .crumbs b, .demo.is-compact .crumbs em, .demo.is-compact .share, .demo.is-compact .avatars i:nth-child(2) { display: none; }
.demo.is-compact .scene { padding: 22px; }
.demo.is-compact .scene--logo, .demo.is-compact .scene--redes { flex-direction: column; }
.demo.is-compact .variants { grid-auto-flow: column; }
.demo.is-compact .artboard { width: 420px; height: 320px; }
.demo.is-compact .swatches { flex-wrap: wrap; justify-content: center; width: 420px; }
.demo.is-compact .sw { width: 200px; height: 120px; }
.demo.is-compact .type-spec { width: 470px; grid-template-columns: auto 1fr; }
.demo.is-compact .type-spec__sample { display: none; }
.demo.is-compact .site { width: 500px; }
.demo.is-compact .cal { width: 460px; }
.demo.is-compact .phone { display: none; }
.demo.is-compact .approve { width: 490px; grid-template-columns: 170px 1fr; }
.demo.is-compact .sticky-note { right: 26px; bottom: 26px; }
.demo.is-compact .doc { width: 480px; }

/* ═════════ HERRAMIENTAS ═════════ */
.tools { padding: 70px 0 30px; text-align: center; }
.tools__label { font-size: 14px; color: var(--ink-3); margin: 0 0 26px; padding-inline: var(--pad); }
.tools__marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.tools__track { display: flex; gap: 56px; width: max-content; animation: marquee 45s linear infinite; }
.tools__track:hover { animation-play-state: paused; }
.tool { display: inline-flex; align-items: center; gap: 9px; color: #9aa2b4; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; transition: color .3s; }
.tool:hover { color: var(--ink); }
.tool img { width: 24px; height: 24px; opacity: .55; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.tool:hover img { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ═════════ POR QUÉ ═════════ */
.why { padding: clamp(90px, 12vw, 150px) 0; }
.statement { font-weight: 600; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.18; letter-spacing: -0.045em; margin: 0 auto clamp(60px, 8vw, 100px); max-width: 1020px; text-wrap: balance; }
.statement .w { color: #cdd2dd; }
.statement .em, .statement .em .w { }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card { position: relative; grid-column: span 6; border-radius: 24px; background: var(--mist); border: 1px solid var(--line); padding: 10px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { box-shadow: var(--sh-2); }
.card--price, .card--team { grid-column: span 5; }
.card--notif, .card--gantt { grid-column: span 7; }
.card__viz { position: relative; height: 250px; border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.card h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.035em; margin: 20px 14px 6px; }
.card p { margin: 0 14px 16px; color: var(--ink-2); font-size: 15.5px; }
.receipt { position: relative; width: 300px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); font-size: 13.5px; }
.receipt__row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line-2); color: var(--ink-2); }
.receipt__row b { color: var(--ink); } .receipt__row b.g, .g { color: var(--ok); }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; font-weight: 600; }
.receipt__total b { font-size: 28px; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stamp { position: absolute; right: -14px; top: -14px; padding: 6px 12px; border-radius: 8px; border: 2px solid var(--ok); color: var(--ok); background: #fff; font-family: var(--mono); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; transform: rotate(8deg); }
.notifs { position: relative; width: 360px; height: 210px; }
.notif { position: absolute; left: 0; right: 0; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.n-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--c); font-size: 13px; }
.notif b { display: block; font-size: 14px; } .notif small { color: var(--ink-3); font-size: 12.5px; }
.gantt { position: relative; width: 86%; display: grid; gap: 12px; }
.g-row { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.g-row::after { content: ''; grid-column: 2; grid-row: 1; height: 26px; border-radius: 8px; background: var(--mist); }
.g-row i { grid-column: 2; grid-row: 1; z-index: 1; height: 26px; margin-left: var(--s); width: var(--w); border-radius: 8px; background: var(--blue); transform-origin: 0 50%; }
.g-row:nth-child(2) i { background: var(--lilac); } .g-row:nth-child(3) i { background: var(--mint); } .g-row:nth-child(4) i { background: var(--coral); }
.g-today { position: absolute; top: -12px; bottom: -12px; left: calc(64px + 30%); width: 2px; background: var(--ink); }
.g-today em { position: absolute; top: -18px; left: -14px; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: var(--ink); color: #fff; }
.orbit { position: relative; width: 230px; height: 230px; display: grid; place-items: center; }
.orbit__core { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 54px; height: 54px; }
.orbit__core i { border-radius: 8px; background: var(--ink); }
.orbit__core i:nth-child(2) { background: var(--blue); border-radius: 8px 8px 8px 26px; }
.orbit__ring { position: absolute; inset: 30px; border-radius: 50%; border: 1px dashed var(--line-2); }
.orbit__ring--2 { inset: 0; }
.o-item { position: absolute; left: 50%; top: 50%; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); font-size: 13px; font-weight: 600; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-100px) rotate(calc(var(--a) * -1)); }
.o-item:nth-of-type(1) { color: var(--blue); } .o-item:nth-of-type(2) { color: #0e8a62; } .o-item:nth-of-type(3) { color: #c4502d; } .o-item:nth-of-type(4) { color: #7655d6; }

/* ═════════ SERVICIOS ═════════ */
.svc { padding: clamp(90px, 12vw, 140px) 0; background: var(--mist); border-block: 1px solid var(--line); }
.svc__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.svc__list { display: grid; }
.svc-item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; opacity: .28; transition: opacity .5s; }
.svc-item.is-active { opacity: 1; }
.svc-item__n { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.svc-item h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 650; letter-spacing: -0.045em; line-height: 1.05; margin: 10px 0 14px; }
.svc-item p { margin: 0 0 18px; color: var(--ink-2); max-width: 480px; }
.svc-item ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-item li { font-size: 13px; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.svc__stage { position: sticky; top: calc(50vh - 260px); height: 520px; }
.stage { position: relative; height: 100%; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); overflow: hidden; }
.stage::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, #e3e7ef 1px, transparent 0); background-size: 20px 20px; }
.viz { position: absolute; inset: 0; display: grid; place-items: center; visibility: hidden; }
.stage-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.stage-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--ink-4); transition: width .35s var(--ease), background .35s; }
.stage-dots i.is-on { width: 22px; background: var(--blue); }
/* viz 0: brand board */
.viz--brand { display: block; }
.bb { position: absolute; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.bb--logo { left: 8%; top: 9%; width: 42%; height: 40%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.bb--logo svg { width: 64px; height: 64px; } .bb--logo b { font-size: 26px; letter-spacing: -0.05em; }
.bb--colors { right: 8%; top: 9%; width: 38%; height: 24%; display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; padding: 0; }
.bb--colors i { background: var(--c); } .bb--colors i:last-child { border-left: 1px solid var(--line); }
.bb--type { right: 8%; top: 37%; width: 38%; height: 24%; display: flex; align-items: center; gap: 14px; padding: 0 18px; }
.bb--type b { font-size: 50px; letter-spacing: -0.06em; } .bb--type span { font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.bb--card { left: 8%; bottom: 10%; width: 42%; height: 34%; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); color: #fff; border: 0; }
.bb--card b { font-size: 17px; } .bb--card span { font-size: 12.5px; opacity: .7; }
.bb--card i { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); }
.bb--sticker { right: 32%; bottom: 13%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); border: 0; font-weight: 700; font-size: 18px; letter-spacing: -0.03em; transform: rotate(-12deg); }
.bb--manual { right: 8%; bottom: 10%; width: 22%; height: 30%; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; background: var(--blue); border: 0; color: #fff; }
.bb--manual span { font-weight: 650; font-size: 15px; line-height: 1.1; } .bb--manual small { font-family: var(--mono); font-size: 11px; opacity: .7; }
/* viz 1: logo */
.lg { width: 78%; height: 78%; }
.lg-tag { position: absolute; font-family: var(--mono); font-size: 11.5px; padding: 3px 8px; border-radius: 6px; background: var(--blue); color: #fff; }
.lg-tag--1 { left: 12%; top: 16%; } .lg-tag--2 { right: 12%; top: 30%; } .lg-tag--3 { left: 50%; bottom: 7%; transform: translateX(-50%); background: var(--ink); }
/* viz 2: web */
.rw { width: 78%; height: 66%; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; margin-bottom: 60px; }
.rw__bar { height: 22px; flex: none; display: flex; gap: 4px; align-items: center; padding: 0 10px; background: var(--mist); }
.rw__bar i { width: 7px; height: 7px; border-radius: 50%; background: #dfe2e8; }
.rw__nav { display: flex; justify-content: space-between; padding: 0 14px; } .rw__nav span { width: 22px; height: 22px; border-radius: 7px; background: var(--blue); } .rw__nav em { width: 60px; height: 22px; border-radius: 7px; background: var(--ink); }
.rw__hero { display: flex; flex-direction: column; gap: 6px; padding: 0 14px; }
.rw__hero b { width: 80%; height: 16px; border-radius: 5px; background: var(--ink); } .rw__hero b.s { width: 55%; }
.rw__hero span { width: 70%; height: 7px; border-radius: 4px; background: var(--mist-2); margin-top: 4px; }
.rw__hero em { width: 74px; height: 22px; border-radius: 7px; background: var(--blue); margin-top: 4px; }
.rw__img { flex: 1; margin: 0 14px; border-radius: 10px; background: linear-gradient(135deg, #e4d6ff, #ffe9a8 60%, #c9f0e2); min-height: 40px; }
.rw__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px; } .rw__grid i { height: 30px; border-radius: 7px; background: var(--mist); }
.scores { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.score { display: grid; justify-items: center; gap: 2px; padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative; }
.score svg { width: 42px; height: 42px; transform: rotate(-90deg); }
.score circle { fill: none; stroke: #e5f6ec; stroke-width: 3.5; }
.score .arc { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; }
.score b { position: absolute; top: 21px; font-size: 13px; color: var(--ok); }
.score small { font-size: 11.5px; color: var(--ink-3); }
/* viz 3: social */
.feed-phone { width: 230px; height: 430px; border-radius: 34px; border: 8px solid var(--ink); background: #fff; overflow: hidden; box-shadow: var(--sh-3); margin-right: 150px; }
.feed-phone__top { display: flex; gap: 8px; align-items: center; padding: 22px 12px 10px; font-size: 13px; }
.feed-phone__top span { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--lilac)); }
.feed-phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 0 3px; }
.feed-phone__grid i { aspect-ratio: 1; background: var(--c); }
.chart { position: absolute; right: 7%; top: 30%; width: 260px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); }
.chart__head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; margin-bottom: 8px; } .chart__head span { color: var(--ink-3); font-size: 11.5px; }
.chart svg { width: 100%; height: 90px; }
.float-heart { position: absolute; color: #e5484d; font-size: 22px; opacity: 0; display: inline-flex; }
.fh1 { left: 26%; bottom: 20%; } .fh2 { left: 32%; bottom: 26%; font-size: 16px; } .fh3 { left: 22%; bottom: 30%; font-size: 28px; }

/* ═════════ CONCEPTOS ═════════ */
.concepts { padding: clamp(90px, 12vw, 140px) 0 0; overflow: clip; }
.concepts__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.concepts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.concepts__note { max-width: 400px; margin: 0; color: var(--ink-2); font-size: 15.5px; }
.concepts__track { display: flex; gap: 20px; padding-inline: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad))); width: max-content; will-change: transform; }
.concept { position: relative; width: min(82vw, 980px); flex: none; display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; padding: 12px; border-radius: 28px; background: var(--mist); border: 1px solid var(--line); }
.concept__photo { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3.4; background: var(--c1); }
.concept__photo picture { display: block; width: 100%; height: 100%; }
.concept__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.concept__photo .concept__logo { position: absolute; left: 20px; bottom: 20px; height: 40px; width: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.concept__side { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; }
.concept__card { border-radius: 18px; background: #fff; border: 1px solid var(--line); padding: 18px; }
.concept__card--logo { display: grid; place-items: center; min-height: 130px; background: var(--c2); }
.concept__card--logo img { max-height: 56px; width: auto; max-width: 85%; }
.concept__meta small { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.concept__meta h3 { font-size: 26px; font-weight: 650; letter-spacing: -0.045em; margin: 4px 0 6px; line-height: 1.1; }
.concept__meta p { margin: 0; color: var(--ink-2); font-size: 15px; }
.concept__pal { display: flex; gap: 6px; }
.concept__pal i { flex: 1; height: 54px; border-radius: 12px; background: var(--c); border: 1px solid rgba(0,0,0,.06); position: relative; }
.concept__pal i span { position: absolute; left: 8px; bottom: 6px; font-family: var(--mono); font-size: 10px; color: rgba(0,0,0,.55); mix-blend-mode: multiply; }
.concept__badge { position: absolute; top: 24px; right: 24px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.concepts__hint { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 26px; }

/* ═════════ PROCESO ═════════ */
.process { padding: clamp(90px, 12vw, 140px) 0; }
.timeline { position: relative; }
.timeline__line { position: absolute; left: 12.5%; right: 12.5%; top: 22px; width: 75%; height: 4px; overflow: visible; }
.tl-bg { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 6; }
.tl-fg { stroke: var(--blue); stroke-width: 3; stroke-linecap: round; }
.timeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.tstep { text-align: center; padding: 0 8px; }
.tstep__dot { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 22px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line-2); font-weight: 650; font-size: 17px; color: var(--ink-3); transition: background .4s, color .4s, border-color .4s, transform .5s var(--spring); }
.tstep.is-on .tstep__dot { background: var(--blue); border-color: var(--blue); color: #fff; transform: scale(1.08); box-shadow: 0 10px 24px -8px rgba(110,44,255,.6); }
.tstep small { font-family: var(--mono); font-size: 12px; color: var(--blue); }
.tstep h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.035em; margin: 6px 0 8px; }
.tstep p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* ═════════ PORTAL ═════════ */
.portal { padding: clamp(90px, 12vw, 140px) 0; background: var(--mist); border-block: 1px solid var(--line); }
.portal__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: 15.5px; }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.mini { position: relative; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); overflow: hidden; }
.mini__top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mini__kpi { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 4px 10px; border-radius: 999px; background: var(--mist); font-variant-numeric: tabular-nums; }
.mini__bar { height: 3px; background: var(--mist-2); } .mini__bar i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .6s var(--ease-out); }
.mini__list { list-style: none; margin: 0; padding: 14px; display: grid; gap: 10px; }
.mpost { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, background .3s, opacity .3s; }
.mpost__img { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(140deg, var(--a), var(--b)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: -0.03em; }
.mpost__body b { display: block; font-size: 15px; letter-spacing: -0.02em; } .mpost__body small { display: block; color: var(--ink-3); font-size: 12.5px; }
.mpost__state { display: inline-block; margin-top: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #fff4d6; color: #8a6400; }
.mpost__act { display: flex; gap: 6px; }
.mpost__act button { padding: 8px 12px; border-radius: 10px; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.mpost__act button:active { transform: scale(.96); }
.mb-ok { background: var(--blue); color: #fff; } .mb-ok:hover { background: var(--blue-2); }
.mb-chg { border: 1px solid var(--line-2); color: var(--ink-2); } .mb-chg:hover { border-color: var(--ink-4); color: var(--ink); }
.mpost.is-ok { border-color: #bfe9d0; background: #f3fbf6; }
.mpost.is-ok .mpost__state { background: #dcf5e6; color: var(--ok); }
.mpost.is-chg { border-color: #ffd9b8; background: #fffaf3; }
.mpost.is-chg .mpost__state { background: #ffe9d4; color: #b4560e; }
.mpost.is-done .mpost__act { opacity: 0; pointer-events: none; }
.mini__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); text-align: center; opacity: 0; visibility: hidden; }
.mini__done.is-on { opacity: 1; visibility: visible; transition: opacity .5s; }
.mini__check { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 30px; margin-bottom: 12px; box-shadow: 0 16px 30px -10px rgba(18,161,80,.6); }
.mini__done b { font-size: 22px; letter-spacing: -0.04em; } .mini__done small { color: var(--ink-2); margin-bottom: 16px; }

/* ═════════ PRECIOS ═════════ */
.pricing { padding: clamp(90px, 12vw, 140px) 0 40px; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s; }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.pkg--featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 30px 70px -30px rgba(11,18,32,.55); }
.pkg--featured .pkg__for, .pkg--featured li { color: #b9c1d3; }
.pkg--featured ul { border-color: rgba(255,255,255,.12); }
.pkg__ribbon { position: absolute; top: 24px; right: 24px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--blue); color: #fff; }
.pkg__name { font-size: 15px; font-weight: 600; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; margin: 0; color: var(--blue); }
.pkg--featured .pkg__name { color: #9cb8fb; }
.pkg__for { color: var(--ink-2); font-size: 15px; margin: 10px 0 22px; min-height: 3em; }
.pkg__price { display: flex; align-items: baseline; gap: 2px; }
.pkg__price small { font-size: 22px; font-weight: 600; }
.pkg__price b { font-weight: 650; font-size: 52px; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.pkg__was { font-size: 13.5px; color: var(--ink-3); margin: 8px 0 0; } .pkg__was s { margin-right: 4px; }
.pkg__monthly { font-size: 14px; font-weight: 600; color: var(--blue); margin: 4px 0 22px; min-height: 1.4em; }
.pkg--featured .pkg__monthly { color: #9cb8fb; }
.pkg ul { list-style: none; margin: 0 0 26px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); flex: 1; }
.pkg li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; }
.pkg li::before { content: ''; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%236e2cff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.pkg--featured li::before { background-color: rgba(156,184,251,.16); }
.pkg--featured .btn--light { background: #fff; border: 0; }

/* ═════════ COTIZADOR ═════════ */
.calc { padding: 80px 0 clamp(90px, 12vw, 140px); }
.calc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.calc__head .lead { max-width: 420px; }
.calc__grid { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.calc__builder { display: grid; gap: 14px; }
.cstep { padding: 24px; border-radius: 22px; background: var(--mist); border: 1px solid var(--line); }
.cstep__t { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 650; letter-spacing: -0.035em; margin: 0 0 16px; }
.cstep__t span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-family: var(--mono); font-size: 13px; color: #fff; background: var(--ink); }
.empty { color: var(--ink-3); margin: 0; font-size: 15px; }
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pick { position: relative; text-align: left; padding: 16px 44px 16px 58px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pick:hover { border-color: #b6c9f5; }
.pick__icon { position: absolute; left: 16px; top: 16px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.pick__icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pick b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -0.02em; }
.pick small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.pick__check { position: absolute; right: 14px; top: 16px; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); transition: background .2s, border-color .2s; }
.pick__check::after { content: ''; position: absolute; left: 6.5px; top: 3px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--spring); }
.pick[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(110,44,255,.1); }
.pick[aria-pressed="true"] .pick__check { background: var(--blue); border-color: var(--blue); }
.pick[aria-pressed="true"] .pick__check::after { transform: rotate(45deg) scale(1); }
.pick.is-included { opacity: .55; pointer-events: none; }
.pick.is-included small { color: var(--blue); }
.tiers { display: grid; gap: 18px; }
.tier-group h4 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin: 0 0 8px; }
.tier-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.tier { text-align: left; padding: 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: border-color .2s, box-shadow .2s; }
.tier:hover { border-color: #b6c9f5; }
.tier[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(110,44,255,.1); }
.tier__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tier b { font-size: 14.5px; font-weight: 650; }
.tier__price { font-size: 17px; font-weight: 650; color: var(--blue); letter-spacing: -0.03em; white-space: nowrap; }
.tier__price small { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.tier ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.tier li { padding-left: 18px; position: relative; } .tier li::before { content: ''; position: absolute; left: 0; top: 3px; width: 13px; height: 13px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6 5.4-6' fill='none' stroke='%236e2cff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.addons { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 11px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s; }
.chip:hover { border-color: #b6c9f5; }
.chip small { font-weight: 600; color: var(--blue); }
.chip::before { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--mist-2); font-weight: 600; line-height: 1; transition: background .2s, color .2s; }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.chip[aria-pressed="true"]::before { content: ''; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6 5.4-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg button { padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); text-align: left; transition: border-color .2s, box-shadow .2s; }
.seg button b { display: block; font-size: 14.5px; font-weight: 650; } .seg button small { font-size: 12.5px; color: var(--ink-3); }
.seg button[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(110,44,255,.1); }
.summary { position: sticky; top: 90px; }
.summary__card { padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-3); }
.summary__head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.summary__badge { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #dcf5e6; color: var(--ok); }
.summary__lines { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 9px; max-height: 300px; overflow: auto; }
.summary__lines li { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.summary__lines li small { display: block; color: var(--ink-3); font-size: 12px; }
.summary__lines li span:last-child { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary__lines .empty { font-size: 14px; }
.summary__rows { display: grid; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.summary__rows:has(.row:not([hidden])) { margin-bottom: 4px; }
.summary__rows .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-2); }
.summary__rows .row span:last-child { font-weight: 600; }
.total { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; }
.total > span { font-size: 14px; color: var(--ink-2); padding-bottom: 8px; }
.total strong { font-size: 24px; font-weight: 600; letter-spacing: -0.04em; color: var(--ink-2); }
.total strong b { font-size: 48px; font-weight: 650; letter-spacing: -0.06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.total--m strong b { font-size: 28px; color: var(--blue); } .total--m strong { font-size: 18px; } .total--m small { font-size: 14px; }
.summary__note { font-size: 12.5px; color: var(--ink-3); margin: 8px 0 16px; min-height: 1em; }

/* ═════════ GARANTÍAS / FAQ ═════════ */
.promise { padding: 0 0 clamp(80px, 10vw, 120px); }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pr { padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.pr__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.pr b { display: block; font-size: 16.5px; letter-spacing: -0.03em; }
.pr p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; }
.faq { padding: clamp(90px, 12vw, 140px) 0; background: var(--mist); border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq__grid .head { position: sticky; top: 110px; }
.faq__list { display: grid; gap: 8px; }
.qa { border-radius: 16px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s; }
.qa.is-open { box-shadow: var(--sh-2); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; text-align: left; font-size: 16.5px; font-weight: 600; letter-spacing: -0.025em; }
.qa__q i { position: relative; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--mist); transition: background .3s, transform .4s var(--ease); }
.qa__q i::before, .qa__q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink-2); border-radius: 2px; }
.qa__q i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.qa.is-open .qa__q i { background: var(--blue); } .qa.is-open .qa__q i::before { background: #fff; } .qa.is-open .qa__q i::after { transform: rotate(0); background: #fff; }
.qa__a { height: 0; overflow: hidden; }
.qa__a p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); font-size: 15.5px; }

/* ═════════ CTA FINAL ═════════ */
.final { position: relative; margin: 0 12px; border-radius: 32px; padding: clamp(100px, 14vw, 170px) 0; background: radial-gradient(1200px 500px at 50% 120%, #a56bff, transparent 60%), linear-gradient(160deg, #6e2cff 0%, #5418e0 45%, #1a0b3d 100%); color: #fff; overflow: hidden; text-align: center; }
.final__shapes { position: absolute; inset: 0; pointer-events: none; }
.sh { position: absolute; display: block; will-change: transform; }
.sh--1 { width: 120px; height: 120px; border-radius: 34px; background: var(--sun); left: 8%; top: 18%; transform: rotate(-14deg); }
.sh--2 { width: 90px; height: 90px; border-radius: 50%; background: var(--mint); right: 10%; top: 16%; }
.sh--3 { width: 160px; height: 80px; border-radius: 80px 80px 0 0; background: var(--coral); left: 14%; bottom: 12%; }
.sh--4 { width: 70px; height: 70px; border-radius: 20px; background: var(--lilac); right: 18%; bottom: 18%; transform: rotate(18deg); }
.sh--5 { width: 46px; height: 46px; border-radius: 50%; border: 8px solid #fff; left: 30%; top: 10%; opacity: .5; }
.sh--6 { width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent; border-bottom: 70px solid var(--sky); right: 30%; bottom: 8%; opacity: .9; }
.final__inner { position: relative; }
.final__title { font-weight: 680; font-size: clamp(40px, 7.4vw, 96px); line-height: 1; letter-spacing: -0.058em; margin: 0 auto 40px; max-width: 13ch; text-wrap: balance; }
.final__title span { color: var(--sun); }
.final__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ═════════ FOOTER ═════════ */
.footer { padding-top: 80px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__brand p { margin: 14px 0 0; color: var(--ink-3); font-size: 14.5px; }
.footer__nav { display: flex; gap: clamp(40px, 7vw, 90px); flex-wrap: wrap; }
.footer__nav div { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; color: var(--ink-2); }
.footer__nav b { color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.footer__nav a:hover { color: var(--blue); }
.footer__giant { font-weight: 700; font-size: clamp(64px, 17.5vw, 270px); letter-spacing: -0.075em; line-height: .78; text-align: center; margin: 70px 0 -0.06em; white-space: nowrap; color: var(--ink); background: linear-gradient(180deg, var(--ink) 30%, #c2c8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__giant .ch { display: inline-block; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); position: relative; background: #fff; }

/* ═════════ MODAL ═════════ */
.modal { border: 0; padding: 0; background: transparent; color: var(--ink); max-width: 600px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
.modal::backdrop { background: rgba(11,18,32,.4); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .45s var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97) } }
.modal__card { position: relative; padding: clamp(22px, 4vw, 34px); border-radius: 24px; background: #fff; box-shadow: var(--sh-3); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 10px; background: var(--mist); font-size: 22px; color: var(--ink-2); }
.modal__close:hover { background: var(--mist-2); }
.modal__title { font-size: clamp(24px, 3vw, 30px); font-weight: 650; letter-spacing: -0.045em; line-height: 1.1; margin: 0 0 18px; }
.modal__title small { display: block; font-size: 15px; font-weight: 400; color: var(--ink-2); letter-spacing: -0.01em; margin-top: 6px; }
.modal__summary { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.modal__summary:empty { display: none; }
.modal__summary span { font-size: 12.5px; font-weight: 500; padding: 5px 10px; border-radius: 8px; background: var(--mist); color: var(--ink-2); }
.modal__summary .tot { background: var(--blue); color: #fff; font-weight: 600; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields textarea { font: inherit; font-size: 15.5px; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 11px; padding: 11px 13px; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.fields input:focus, .fields textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(110,44,255,.12); }
.fields input[aria-invalid="true"] { border-color: #dc2626; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #dc2626; font-size: 14px; margin: 0 0 12px; }
.modal__done { text-align: center; padding: 12px 0 4px; }
.done-mark svg { width: 64px; height: 64px; margin: 0 auto 16px; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done-mark circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease-out) forwards; }
.done-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s var(--ease-out) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.btn.is-loading span { opacity: .5; }

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .calc__grid { grid-template-columns: 1fr; }
  .summary { position: sticky; bottom: 10px; top: auto; z-index: 30; }
  .summary__card { padding: 14px 16px; border-radius: 18px; box-shadow: 0 -6px 40px -10px rgba(11,18,32,.25); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; }
  .summary__head, .summary__lines, .summary__rows, .summary__note, .btn-text { display: none; }
  .summary__card .total { margin: 0; grid-column: 1; } .total > span { font-size: 12px; padding-bottom: 4px; }
  .total strong b { font-size: 30px; } .total--m strong b { font-size: 20px; }
  .summary__card .btn { grid-column: 2; grid-row: 1 / span 2; width: auto; height: 46px; padding: 0 16px; font-size: 14.5px; }
  .summary__card .btn svg { display: none; }
}
@media (max-width: 900px) {
  .nav__portal { display: none; }
  .burger { display: block; }
  .card, .card--price, .card--team, .card--notif, .card--gantt { grid-column: span 12; }
  .svc__grid { grid-template-columns: 1fr; }
  .svc__stage { position: sticky; top: 76px; height: 330px; order: -1; z-index: 2; }
  .svc-item { min-height: 62vh; }
  .stage-dots { display: none; }
  .timeline__line { display: none; }
  .timeline ol { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .portal__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .head { position: static; }
  .pkgs { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .promise__grid { grid-template-columns: 1fr 1fr; }
  .concept { grid-template-columns: 1fr; width: 82vw; }
  .concept__side { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .concept__meta { grid-column: 1 / -1; }
  .feed-phone { margin-right: 120px; transform: scale(.72); }
  .chart { right: 4%; transform: scale(.8); transform-origin: right center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 116px; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { flex-direction: column; align-items: center; gap: 6px; }
  .nav__right .btn { display: none; }
  .picks, .seg, .fields { grid-template-columns: 1fr; }
  .cstep { padding: 18px; }
  .promise__grid { grid-template-columns: 1fr; }
  .timeline ol { grid-template-columns: 1fr; text-align: left; }
  .tstep { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; text-align: left; }
  .tstep__dot { margin: 0; grid-row: span 3; }
  .mpost { grid-template-columns: 52px 1fr; }
  .mpost__img { width: 52px; height: 52px; }
  .mpost__act { grid-column: 1 / -1; }
  .mpost__act button { flex: 1; }
  .final { margin: 0 8px; border-radius: 24px; }
  .sh--1 { width: 70px; height: 70px; } .sh--3 { width: 100px; height: 50px; }
  .card__viz { height: 220px; }
  .receipt { transform: scale(.9); }
  .notifs { transform: scale(.86); }
  .concept__pal i { height: 40px; }
  .demo-tabs { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Fotos del concepto Manglar dentro del demo */
.site__img { background-image: url('/assets/concepts/manglar/photo.webp'); }
.phone__post, .approve__img { background-image: linear-gradient(180deg, transparent 40%, rgba(15,81,50,.85)), url('/assets/concepts/manglar/photo-2.webp'); }
@supports (background-image: image-set(url('/assets/concepts/manglar/photo.webp') type('image/webp'))) {
  .site__img { background-image: image-set(url('/assets/concepts/manglar/photo.avif') type('image/avif'), url('/assets/concepts/manglar/photo.webp') type('image/webp')); }
  .phone__post, .approve__img { background-image: linear-gradient(180deg, transparent 40%, rgba(15,81,50,.85)), image-set(url('/assets/concepts/manglar/photo-2.avif') type('image/avif'), url('/assets/concepts/manglar/photo-2.webp') type('image/webp')); }
}
.site.is-mobile .site__hero { grid-template-columns: 1fr; }
.site.is-mobile .site__img { min-height: 120px; }
.site.is-mobile .site__links { display: none; }
.site.is-mobile .site__cards { grid-template-columns: 1fr; }
.site.is-mobile .site__cards i:nth-child(n+2) { display: none; }
.o-item { transform: translate(-50%, -50%) rotate(calc(var(--a) + var(--rot, 0deg))) translateY(-100px) rotate(calc((var(--a) + var(--rot, 0deg)) * -1)); }
.feed li .att { display: inline-flex; align-items: center; gap: 6px; }
.feed li .att::before { content: ''; width: 10px; height: 12px; border-radius: 2px; background: var(--blue-3); }
.eyebrow, .side__label, .field label, .tier-group h4, .concept__meta small, .pkg__name { font-weight: 600; }
[hidden] { display: none !important; }
.footer__giant .ch { background: linear-gradient(180deg, var(--ink) 30%, #c2c8d4); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.concept__badge { top: 14px; right: auto; left: 14px; }
.demo-tabs button { flex: none; }
@media (max-width: 600px) {
  .feed-phone { margin-right: 0; transform: scale(.6); }
  .chart { right: 4%; top: auto; bottom: 5%; transform: scale(.66); transform-origin: right bottom; }
  .bb--type span { display: none; }
  .bb--type { justify-content: center; }
  .bb--sticker { width: 70px; height: 70px; font-size: 14px; }
  .scores { transform: translateX(-50%) scale(.85); transform-origin: center bottom; }
}
