/* ==========================================================================
   AIBoot · sistema visual
   Blanco y negro, Inter + JetBrains Mono, movimiento cinematográfico.
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --ink: #0a0a0a;
  --white: #fff;
  --fog: #f4f4f4;
  --line: #e6e6e6;
  --line-strong: #d4d4d4;
  --g800: #262626;
  --g700: #404040;
  --g600: #595959;
  --g500: #737373;
  --g400: #a3a3a3;
  --g300: #d4d4d4;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 68px;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:not(.has-lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--black); color: var(--white); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }
@view-transition { navigation: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.mono { font-family: var(--mono); font-feature-settings: normal; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Grano de película sobre todo el sitio */
.grain {
  position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

/* ---------- Tipografía ---------- */
.eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--g600); }
.eyebrow .idx { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; letter-spacing: .02em; opacity: .8; }
.eyebrow--dark { color: var(--g400); }
.h2 { margin: 0; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; }
.section { padding: clamp(110px, 14vw, 190px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0 clamp(110px, 14vw, 190px); }
.section--fog { background: var(--fog); }
.section__head { display: grid; gap: 20px; margin-bottom: clamp(56px, 7vw, 96px); }
.section__head > div { display: grid; gap: 22px; }
.section__head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 40px; }
.section__lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--g700); max-width: 440px; text-wrap: pretty; }
@media (max-width: 900px) { .section__head--split { grid-template-columns: 1fr; } }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--black); --fg: var(--white); --bd: var(--black);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), background-color .35s, color .35s, border-color .35s, box-shadow .6s var(--ease);
  will-change: transform;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.25), transparent 70%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn__arrow { display: inline-block; transition: transform .6s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--light { --bg: var(--white); --fg: var(--black); --bd: var(--white); }
.btn--light::after { background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.1), transparent 70%); }
.btn--light:hover { box-shadow: 0 0 0 6px rgba(255,255,255,.08), 0 20px 60px -10px rgba(255,255,255,.35); }
.btn--glass { --bg: rgba(255,255,255,.06); --fg: var(--white); --bd: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn--glass:hover { --bd: rgba(255,255,255,.5); }
.btn--dark:hover { box-shadow: 0 0 0 6px rgba(0,0,0,.06), 0 20px 50px -14px rgba(0,0,0,.45); }
.btn--ghost { --bg: transparent; --fg: var(--black); --bd: var(--line-strong); }
.btn--ghost::after { background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), rgba(0,0,0,.07), transparent 70%); }
.btn--ghost:hover { --bd: var(--black); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- Navegación ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .7s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); opacity: 0; transition: opacity .4s, background-color .4s, border-color .4s; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__bar { position: relative; height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.nav__logo { display: inline-flex; color: var(--black); margin-right: auto; padding: 8px 0; transition: color .4s; }
.nav__logo svg { height: 23px; width: auto; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { position: relative; font-size: 14.5px; color: var(--g700); text-decoration: none; padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--black); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; margin-right: -10px; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--black); border-radius: 2px; transition: transform .6s var(--ease), top .6s var(--ease), background-color .4s; }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }
.nav.is-dark::before { background: rgba(0,0,0,.55); border-bottom-color: rgba(255,255,255,.08); }
.nav.is-dark .nav__logo { color: var(--white); }
.nav.is-dark .nav__links a { color: var(--g400); }
.nav.is-dark .nav__links a:hover, .nav.is-dark .nav__links a.is-active { color: var(--white); }
.nav.is-dark .nav__toggle span { background: var(--white); }
.nav.is-dark .nav__cta { --bg: var(--white); --fg: var(--black); --bd: var(--white); }

.menu { position: fixed; inset: 0; background: var(--black); color: var(--white); z-index: -1; padding-top: var(--nav-h); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__links { display: grid; gap: 2px; padding-top: 32px; }
.menu__links a { font-size: clamp(34px, 9vw, 52px); font-weight: 500; letter-spacing: -.04em; text-decoration: none; padding: 6px 0; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 200ms); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
body.menu-open { overflow: hidden; }
body.menu-open .nav::before { opacity: 0; }
body.menu-open .nav__logo { color: var(--white); }
body.menu-open .nav__toggle span { background: var(--white); }
@media (max-width: 960px) { .nav__links, .nav__cta { display: none; } .nav__toggle { display: block; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; background: var(--black); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__shader, .hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shader { z-index: -2; }
.hero__shader.no-webgl { background: radial-gradient(ellipse 70% 50% at 50% 100%, #2a2a2a, #000 70%); }
.hero__particles { z-index: -1; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.hero__content { align-self: center; display: grid; justify-items: start; text-align: left; gap: 26px; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; width: 100%; }
.hero__content > * { max-width: 620px; }
.chip { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; padding: 8px 16px 8px 12px; border-radius: 999px; }
.hero__chip { color: var(--g300); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
.hero__title { margin: 0; font-size: clamp(48px, 7.2vw, 116px); line-height: .95; font-weight: 500; letter-spacing: -.055em; }
.hero__title .br { display: block; height: 0; }
.hero__lead { margin: 0; max-width: 560px; font-size: clamp(17px, 1.7vw, 20px); color: var(--g400); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 76px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
.hero__foot > span:first-child { justify-self: start; }
.hero__foot > span:last-child { justify-self: end; text-align: right; }
.hero__scroll { position: relative; width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--white); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@media (max-width: 900px) {
  .hero__content { align-self: end; justify-items: center; text-align: center; padding-top: calc(var(--nav-h) + 38vh); padding-bottom: 28px; }
  .hero__ctas { justify-content: center; }
  .hero__foot { grid-template-columns: 1fr; justify-items: center; }
  .hero__foot > span { display: none; }
}
@media (max-width: 900px) and (max-height: 700px) { .hero__content { padding-top: calc(var(--nav-h) + 30vh); } }

/* ---------- Animación de entrada (estado inicial solo con JS) ---------- */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin: 0 -.02em -.1em; }
[data-split] .w > span { display: inline-block; will-change: transform; }
.js.motion [data-split]:not(.is-ready) { visibility: hidden; }
.js.motion [data-fade], .js.motion [data-tile] { opacity: 0; }

/* ---------- Manifiesto (scrub) ---------- */
.statement { position: relative; z-index: 2; isolation: isolate; overflow: hidden; margin-top: -48px; border-radius: 48px 48px 0 0; color: var(--black);
  background: radial-gradient(ellipse 80% 70% at 85% 0%, #ececec 0%, rgba(236,236,236,0) 60%), radial-gradient(ellipse 70% 60% at 0% 100%, #efefef 0%, rgba(239,239,239,0) 60%), var(--white);
  padding: clamp(96px, 11vw, 150px) 0 clamp(150px, 16vw, 230px); }
.statement .wrap { position: relative; display: grid; gap: 40px; }
.statement__field { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 50%; z-index: -1; }
.statement::after { content: ""; position: absolute; inset: auto 0 0 0; height: 10%; z-index: -1; background: linear-gradient(transparent, var(--white)); pointer-events: none; }
.statement__text { margin: 0; font-size: clamp(32px, 5vw, 72px); line-height: 1.08; font-weight: 500; letter-spacing: -.045em; max-width: 1180px; text-wrap: balance; }
.statement__text .sw { display: inline; }
.js.motion .statement__text .sw { opacity: .12; }

/* ---------- Bento de servicios ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; isolation: isolate; grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--fog); overflow: hidden; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 50%); opacity: 0; transition: opacity .5s; mix-blend-mode: soft-light; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.28); }
.tile:hover::before { opacity: 1; }
.tile--feature { grid-column: span 4; grid-row: span 1; flex-direction: row; background: var(--black); color: var(--white); }
.tile--feature .tile__visual { flex: 1 1 55%; height: auto; min-height: 380px; border-right: 1px solid #1c1c1c; }
.tile--feature .tile__body { flex: 1 1 45%; justify-content: flex-end; }
.tile--dark { background: var(--black); color: var(--white); }
.tile:nth-child(2) { grid-column: span 2; }
.tile__visual { position: relative; height: 230px; overflow: hidden; display: grid; place-items: center; }
.tile__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px 32px; flex: 1; }
.tile__kicker { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .02em; color: var(--g600); }
.tile__kicker span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; opacity: .75; }
.tile--feature .tile__kicker, .tile--dark .tile__kicker { color: var(--g400); }
.tile__title { margin: 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.035em; }
.tile__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--g700); }
.tile--feature .tile__text, .tile--dark .tile__text { color: var(--g400); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 11.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid #2a2a2a; color: var(--g300); }
@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile:nth-child(2) { grid-column: span 1; }
  .tile--feature { grid-column: span 2; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--feature, .tile:nth-child(2) { grid-column: span 1; }
  .tile--feature { flex-direction: column; }
  .tile--feature .tile__visual { min-height: 300px; border-right: 0; border-bottom: 1px solid #1c1c1c; }
}

/* Visual: radar */
.radar { position: relative; width: min(78%, 340px); aspect-ratio: 1; }
.radar__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); }
.radar__ring:nth-child(2) { inset: 18%; }
.radar__ring:nth-child(3) { inset: 36%; border-color: rgba(255,255,255,.22); }
.radar__cross { position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.1)) center/1px 100% no-repeat, linear-gradient(90deg, rgba(255,255,255,.1), rgba(255,255,255,.1)) center/100% 1px no-repeat; }
.radar__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 280deg, rgba(255,255,255,.35) 358deg, rgba(255,255,255,.9) 360deg); -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); mask: radial-gradient(circle, #000 69%, transparent 70%); animation: spin 4s linear infinite; }
.radar__blip { position: absolute; background: rgba(0,0,0,.55); padding-right: 6px; border-radius: 4px; left: var(--x); top: var(--y); font-family: var(--mono); font-size: 10.5px; letter-spacing: .04em; color: var(--white); padding-left: 14px; white-space: nowrap; opacity: 0; animation: blip 4s var(--d) infinite; }
.radar__blip::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--white); box-shadow: 0 0 12px 2px rgba(255,255,255,.7); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0% { opacity: 0; transform: scale(.8); } 6% { opacity: 1; transform: scale(1); } 55% { opacity: 1; } 75%, 100% { opacity: .15; } }

/* Visual: Talk (escenario) */
.stage { width: 84%; display: grid; gap: 14px; justify-items: center; }
.slide { width: 100%; aspect-ratio: 16 / 7; background: var(--black); color: var(--white); border-radius: 12px; padding: 14px 16px; display: grid; align-content: space-between; box-shadow: 0 18px 40px -20px rgba(0,0,0,.5); }
.slide__live { display: inline-flex; align-items: center; gap: 6px; font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--g300); }
.slide__live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { opacity: .2; } }
.slide__title { margin: 0; font-size: 14px; line-height: 1.2; font-weight: 500; letter-spacing: -.02em; max-width: 90%; }
.slide__lines { display: grid; gap: 5px; }
.slide__lines span { height: 3px; border-radius: 3px; background: #333; width: 70%; }
.slide__lines span + span { width: 45%; }
.voice { display: flex; align-items: center; gap: 3px; height: 34px; }
.voice i { display: block; width: 3px; border-radius: 3px; background: var(--black); height: calc(var(--h) * 1%); animation: voice 1.2s ease-in-out infinite alternate; animation-delay: var(--d); opacity: calc(.3 + var(--h) / 150); }
@keyframes voice { from { transform: scaleY(.2); } to { transform: scaleY(1); } }

/* Visual: Camp (curso) */
.course { width: 84%; background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.course__head { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--g600); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.course__list { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; gap: 7px; }
.course__list li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--g700); }
.course__list i { position: relative; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--line-strong); animation: check 8s infinite; }
.course__list i::after { content: ""; position: absolute; left: 4px; top: 2px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.course__list li:nth-child(2) i { animation-delay: .9s; }
.course__list li:nth-child(3) i { animation-delay: 1.8s; }
.course__list li:nth-child(4) i { animation-delay: 2.7s; }
@keyframes check { 0%, 8% { background: transparent; border-color: var(--line-strong); } 12%, 88% { background: var(--black); border-color: var(--black); } 96%, 100% { background: transparent; border-color: var(--line-strong); } }
.course__bar { height: 4px; border-radius: 4px; background: var(--fog); overflow: hidden; }
.course__bar span { display: block; height: 100%; background: var(--black); transform-origin: left; animation: course 8s var(--ease-io) infinite; }
@keyframes course { 0% { transform: scaleX(.04); } 12% { transform: scaleX(.25); } 24% { transform: scaleX(.5); } 35% { transform: scaleX(.75); } 46%, 88% { transform: scaleX(1); } 100% { transform: scaleX(.04); } }

/* Visual: Sprint (agente en chat) */
.chat { width: 86%; display: grid; gap: 8px; }
.chat__head { display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--g600); }
.chat__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--black); }
.msg { margin: 0; max-width: 82%; font-size: 12.5px; line-height: 1.4; padding: 9px 12px; border-radius: 14px; opacity: 0; transform: translateY(6px); animation: msg 9s var(--ease) infinite; }
.msg--in { justify-self: start; background: var(--white); border-bottom-left-radius: 4px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }
.msg--out { justify-self: end; background: var(--black); color: var(--white); border-bottom-right-radius: 4px; animation-name: msgOut; }
.msg--typing { justify-self: end; display: flex; gap: 4px; padding: 11px 12px; background: var(--black); border-bottom-right-radius: 4px; animation-name: typing; position: absolute; visibility: hidden; }
.chat { position: relative; }
.msg--typing i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dot 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { opacity: .25; } }
@keyframes msg { 0%, 4% { opacity: 0; transform: translateY(6px); } 8%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes msgOut { 0%, 30% { opacity: 0; transform: translateY(6px); } 34%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes typing { 0%, 10% { opacity: 0; visibility: visible; position: static; } 12%, 28% { opacity: 1; visibility: visible; position: static; } 30%, 100% { opacity: 0; visibility: hidden; position: absolute; } }
.chat__kpi { justify-self: end; font-size: 10px; letter-spacing: .04em; color: var(--g600); opacity: 0; animation: msgOut 9s .5s infinite; }

/* Visual: Sprint (mini flujo de automatización) */
.flow { width: 90%; height: auto; overflow: visible; font-family: var(--mono); }
.fl-head { font-size: 8.5px; letter-spacing: .06em; fill: var(--g600); }
.fl-toggle { fill: var(--black); }
.fl-wire { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.fl-pulse { fill: none; stroke: var(--black); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: .07 .93; stroke-dashoffset: 1; animation: flPulse 2.4s var(--d, 0s) linear infinite; }
.fl-node { fill: var(--white); stroke: var(--line-strong); stroke-width: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); }
.fl-node--dark { fill: var(--black); stroke: var(--black); }
.fl-icon { fill: none; stroke: var(--black); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fl-icon--light { stroke: var(--white); }
.fl-label { font-size: 8.5px; text-anchor: middle; fill: var(--g700); }
.fl-badge { opacity: 0; transform-box: fill-box; transform-origin: center; animation: flBadge 6s calc(var(--d, 0s) + .4s) var(--ease) infinite; }
.fl-badge circle { fill: var(--black); stroke: var(--white); stroke-width: 1.5; }
.fl-badge path { fill: none; stroke: var(--white); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes flPulse { to { stroke-dashoffset: -.07; } }
@keyframes flBadge { 0%, 6% { opacity: 0; transform: scale(.4); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(.4); } }
.tile:not(.is-playing) .fl-pulse, .tile:not(.is-playing) .fl-badge { animation-play-state: paused; }

/* Visual: Partner (impacto mensual) */
.pulse { width: 84%; display: grid; gap: 10px; }
.pulse__top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--g400); }
.pulse__up { color: var(--white); }
.pulse__chart { width: 100%; height: 76px; overflow: visible; }
.pulse__grid { stroke: #222; stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.pulse__line { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; animation: pline 7s var(--ease-io) infinite; filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); }
@keyframes pline { 0% { stroke-dashoffset: 100; } 40%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.pulse__log { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pulse__log li { display: flex; gap: 12px; font-size: 11px; color: var(--g300); opacity: 0; animation: log 7s infinite; }
.pulse__log li span { color: var(--g500); min-width: 40px; }
.pulse__log li:nth-child(2) { animation-delay: .6s; } .pulse__log li:nth-child(3) { animation-delay: 1.2s; }
@keyframes log { 0%, 14% { opacity: 0; transform: translateX(-6px); } 20%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* Pausa de micro-animaciones fuera de pantalla */
.tile:not(.is-playing) *, .tile:not(.is-playing) *::before { animation-play-state: paused !important; }

/* ---------- Terminal ---------- */
.term-section { padding: 0 0 clamp(110px, 14vw, 190px); }
.term { --s: .88; --r: 32px; margin: 0 auto; max-width: 1040px; background: var(--ink); color: #e5e5e5; border-radius: var(--r); box-shadow: 0 60px 140px -50px rgba(0,0,0,.55), 0 0 0 1px #000; transform: scale(var(--s)); transform-origin: 50% 0; overflow: hidden; will-change: transform; }
.term__bar { display: flex; align-items: center; gap: 8px; padding: 16px 20px; border-bottom: 1px solid #1f1f1f; }
.term__dot { width: 11px; height: 11px; border-radius: 50%; background: #2e2e2e; }
.term__title { margin: 0 auto; padding-right: 49px; font-size: 12px; color: #8a8a8a; letter-spacing: .04em; }
.term__body { padding: clamp(22px, 4vw, 48px); font-size: clamp(12.5px, 1.4vw, 15.5px); line-height: 2.05; min-height: 340px; }
.term__line { margin: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.js.motion .term__line { opacity: 0; transform: translateY(6px); transition: opacity .4s ease, transform .5s var(--ease); }
.js.motion .term__line.is-on { opacity: 1; transform: none; }
.term__prompt { color: #777; }
.term .ok, .term .arrow { color: #fff; }
.term__fill { flex: 1; min-width: 20px; border-bottom: 1px dotted #3a3a3a; transform: translateY(-5px); }
.term__val { color: #9a9a9a; }
.cursor { display: inline-block; width: 9px; height: 17px; background: #e5e5e5; animation: blink 1.1s steps(1) infinite; vertical-align: -3px; }
@keyframes blink { 50% { opacity: 0; } }
.term-caption { margin: 22px 0 0; text-align: center; font-size: 12px; color: var(--g600); letter-spacing: .04em; }
@media (max-width: 640px) { .term__val { display: none; } .term__body { min-height: 270px; } }

/* ---------- Método (fijo) ---------- */
.method { position: relative; background: var(--black); color: var(--white); }
.method__pin { position: relative; height: 100svh; min-height: 640px; overflow: hidden; }
.method__canvas { position: absolute; top: 0; right: 0; width: 62%; height: 100%; }
.method__inner { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 48px; }
.method__head { display: grid; gap: 22px; max-width: 520px; }
.method__steps { position: relative; list-style: none; margin: 0; padding: 0; align-self: center; max-width: 440px; min-height: 230px; }
.mstep { position: absolute; inset: 0 0 auto 0; display: grid; gap: 14px; opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); pointer-events: none; }
.mstep.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.mstep__code { font-size: 14px; color: var(--g400); }
.mstep__title { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; font-weight: 500; letter-spacing: -.035em; }
.mstep p { margin: 0; font-size: 17px; color: var(--g400); }
.method__meter { display: flex; align-items: center; gap: 16px; font-size: 12px; color: var(--g500); max-width: 440px; }
.method__meter span:first-child { color: var(--white); }
.method__track { flex: 1; height: 1px; background: #2a2a2a; position: relative; overflow: hidden; }
.method__track span { position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .method__canvas { width: 100%; height: 56%; top: 14%; opacity: .9; }
  .method__inner { grid-template-rows: auto 1fr auto auto; }
  .method__steps { align-self: end; margin-bottom: 28px; min-height: 210px; }
  .method__head .h2 { font-size: clamp(34px, 9vw, 48px); }
}
/* Sin movimiento: lista estática */
.no-motion .method__pin { height: auto; min-height: 0; }
.no-motion .method__canvas { display: none; }
.no-motion .method__inner { padding-bottom: 120px; }
.no-motion .method__steps { min-height: 0; max-width: 680px; display: grid; gap: 40px; margin-top: 56px; }
.no-motion .mstep { position: static; opacity: 1; transform: none; filter: none; }
.no-motion .method__meter { display: none; }

/* ---------- CTA bajo servicios ---------- */
.cta-strip { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 28px 30px 28px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(120deg, var(--fog), var(--white) 70%); }
.cta-strip__title { margin: 0 0 4px; font-size: clamp(20px, 1.9vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.cta-strip__text { margin: 0; font-size: 15.5px; color: var(--g700); }
.cta-strip__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .cta-strip { padding: 26px 22px; } .cta-strip__actions, .cta-strip__actions .btn { width: 100%; } }

/* ---------- Tecnologías ---------- */
.tech { padding-top: clamp(72px, 8vw, 120px); }
.tech .section__head { margin-bottom: clamp(40px, 5vw, 64px); }
.tech__grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech__cell { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: start; align-content: start; gap: 4px; padding: 26px 24px 24px; min-height: 172px; background: var(--white); cursor: default; transition: background-color .5s var(--ease), color .5s var(--ease); }
.tech__cell::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.18), transparent 60%); opacity: 0; transition: opacity .5s; }
.tech__cell::after { content: ""; position: absolute; right: 18px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background-color .5s, box-shadow .5s; }
.tech__icon { width: 30px; height: 30px; margin-bottom: auto; fill: currentColor; transition: transform .7s var(--ease), filter .5s; }
.tech__name { margin-top: 30px; font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.tech__cat { font-size: 11.5px; letter-spacing: .02em; color: var(--g600); transition: color .5s; }
.tech__cell:hover { background: var(--black); color: var(--white); }
.tech__cell:hover::before { opacity: 1; }
.tech__cell:hover::after { background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 14px rgba(255,255,255,.8); }
.tech__cell:hover .tech__icon { transform: translateY(-4px) scale(1.08); filter: drop-shadow(0 0 12px rgba(255,255,255,.55)); }
.tech__cell:hover .tech__cat { color: var(--g400); }
.tech__note { margin: 18px 0 0; font-size: 11.5px; color: var(--g500); }
@media (max-width: 1060px) { .tech__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tech__cell:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tech__cell:last-child { grid-column: auto; } .tech__cell { min-height: 124px; padding: 18px 16px; } .tech__name { margin-top: 22px; font-size: 16.5px; } }

/* CTA del método */
.method__cta { justify-self: start; margin-top: 4px; }
@media (max-width: 900px) { .method__cta { display: none; } }

/* CTA de cada perfil */
.tier__cta { align-self: stretch; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 0; border-top: 1px solid var(--line-strong); font-size: 15.5px; font-weight: 500; text-decoration: none; }
.tier__cta span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.tier__cta:hover span { background: var(--black); color: var(--white); border-color: var(--black); transform: translateX(4px); }
.tier--dark .tier__cta { border-top-color: #2a2a2a; }
.tier--dark .tier__cta span { border-color: #3a3a3a; }
.tier--dark .tier__cta:hover span { background: var(--white); color: var(--black); border-color: var(--white); }
.tier { display: flex; flex-direction: column; }
.tier__cta { margin-top: auto; }
.tier .list { margin-bottom: 18px; }

.services-section { padding-bottom: clamp(56px, 6vw, 90px); }
/* CTA en Nosotros */
#nosotros { padding-bottom: clamp(110px, 12vw, 160px); }
.about__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* ---------- CTA flotante ---------- */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 999px; background: rgba(10,10,10,.86); color: var(--white); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 20px 50px -18px rgba(0,0,0,.55); font-size: 14.5px; font-weight: 500; white-space: nowrap; text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(24px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s, background-color .3s; }
.float-cta.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s, background-color .3s; }
.float-cta:hover { background: var(--black); }
.float-cta__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--white); }
.float-cta__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.no-motion .float-cta { display: none; }
@media (max-width: 640px) { .float-cta { left: 50%; right: auto; bottom: 16px; transform: translate(-50%, 24px) scale(.96); } .float-cta.is-visible { transform: translate(-50%, 0); } }

/* ---------- Para quién ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier { position: relative; background: var(--fog); border-radius: var(--radius); padding: 34px; display: grid; align-content: start; gap: 16px; min-height: 420px; transition: transform .8s var(--ease), box-shadow .8s var(--ease); }
.tier:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -44px rgba(0,0,0,.3); }
.tier--dark { background: var(--black); color: var(--white); }
.tier__scale { display: flex; gap: 6px; align-items: flex-end; height: 64px; margin-bottom: 28px; }
.tier__scale span { width: 18px; border-radius: 4px; background: currentColor; }
.tier__scale span:nth-child(1) { height: 22px; }
.tier__scale span:nth-child(2) { height: 40px; }
.tier__scale span:nth-child(3) { height: 64px; }
.tier__label { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g600); }
.tier--dark .tier__label { color: var(--g400); }
.tier__title { margin: 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; font-weight: 500; letter-spacing: -.035em; }
.list { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.list li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--g700); }
.tier--dark .list li { color: var(--g300); }
.list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; } .tier { min-height: 0; } }

/* ---------- Principios ---------- */
.principles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.principles-section { padding-top: 0; padding-bottom: clamp(72px, 8vw, 110px); }
.principles li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.principles li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--black); transform: scaleX(var(--line, 1)); transform-origin: left; }
.principles .mono { font-size: 12px; color: var(--g600); }
.principle__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.principle__icon { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--fog); fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; transition: background-color .4s, stroke .4s, transform .6s var(--ease); }
.principle__icon path, .principle__icon circle { stroke-dasharray: 120; stroke-dashoffset: 0; }
.principles li:hover .principle__icon { background: var(--black); stroke: var(--white); transform: translateY(-3px); }
.principles li:hover .pi-accent { animation: piDraw 1s var(--ease) both; }
@keyframes piDraw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
.principles strong { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.principles li > span:last-child { font-size: 15.5px; color: var(--g700); }
.principles li > span:not(.mono) { font-size: 15.5px; color: var(--g700); }
.principle__proof { margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-style: normal; font-size: 12.5px; line-height: 1.5; color: var(--black); }
.principle__proof::before { content: "En la práctica"; display: block; margin-bottom: 4px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
@media (max-width: 960px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.about { display: grid; gap: clamp(48px, 6vw, 80px); }
.about__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.about__head .h2 { margin-top: 20px; max-width: 12ch; }
.about__lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--g700); text-wrap: pretty; }
.disc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.disc__item { display: grid; align-content: start; gap: 12px; padding: 32px clamp(20px, 2.6vw, 36px) 8px; border-left: 1px solid var(--line-strong); }
.disc__item:first-child { border-left: 0; padding-left: 0; }
.disc__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.disc__top .mono { font-size: 12px; color: var(--g500); letter-spacing: .06em; }
.disc__icon { width: 40px; height: 40px; fill: none; stroke: var(--g500); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 120; }
.disc__icon .pi-accent { stroke: var(--black); stroke-width: 1.8; }
.disc__title { margin: 0; font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.disc__text { margin: 0; font-size: 15.5px; color: var(--g700); text-wrap: pretty; }
.founder { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); padding: clamp(14px, 1.6vw, 20px); padding-right: clamp(24px, 5vw, 72px); border-radius: var(--radius); background: var(--ink); color: var(--white); }
.founder::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px circle at 85% 0%, rgba(255,255,255,.09), transparent 60%), radial-gradient(500px circle at 40% 120%, rgba(255,255,255,.05), transparent 60%); }
.founder__photo { margin: 0; }
.founder__frame { height: 100%; min-height: 460px; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: #111; }
.founder__frame img { width: 100%; height: 118%; object-fit: cover; filter: grayscale(1) contrast(1.05); will-change: transform; }
.founder__body { display: grid; align-content: center; gap: 22px; padding: clamp(16px, 3vw, 40px) 0; }
.founder__label { margin: 0; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--g400); }
.founder__quote { margin: 0; }
.founder__quote p { margin: 0; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.18; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.founder__id { display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--white); }
.founder__name { font-size: 17px; font-weight: 500; }
.founder__role { font-size: 12px; letter-spacing: .04em; color: var(--g400); }
.founder__facts { margin: 6px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.founder__facts div { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.founder__facts dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
.founder__facts dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--g300); }
.founder__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn--ghost-dark { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.22); }
.btn--ghost-dark:hover { --bd: var(--white); }
.base { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.base div { display: grid; align-content: start; gap: 6px; padding: 20px 0 20px 24px; border-left: 1px solid var(--line-strong); }
.base div:first-child { border-left: 0; padding-left: 0; }
.base dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
.base dd { margin: 0; font-size: 15.5px; }
.base dd.mono { font-size: 14px; letter-spacing: .02em; }
@media (max-width: 960px) {
  .about__head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .disc { grid-template-columns: 1fr; border-top: 0; }
  .disc__item, .disc__item:first-child { border-left: 0; padding: 26px 0; border-top: 1px solid var(--line-strong); }
  .disc__top { margin-bottom: 4px; }
  .founder { grid-template-columns: 1fr; padding: 12px 12px 24px; gap: 8px; }
  .founder__frame { min-height: 0; aspect-ratio: 4 / 3; }
  .founder__body { padding: 16px 12px 0; }
  .base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base div:nth-child(3) { border-left: 0; padding-left: 0; }
  .base div:nth-child(n+3) { border-top: 1px solid var(--line-strong); }
}
@media (max-width: 560px) {
  .founder__facts { grid-template-columns: 1fr; }
  .founder__frame { aspect-ratio: 1 / 1; }
  .founder__ctas .btn { flex: 1 1 auto; }
  .base div { padding-left: 16px; }
  .base dd { font-size: 14.5px; }
  .base dd.mono { font-size: 12px; white-space: nowrap; letter-spacing: 0; }
}

/* ---------- FAQ ---------- */
.faq-section { position: relative; z-index: 1; margin-top: -48px; border-radius: 48px 48px 0 0; background: var(--white); box-shadow: 0 -30px 60px -40px rgba(0,0,0,.18); overflow: clip; isolation: isolate; padding: clamp(96px, 11vw, 140px) 0 clamp(110px, 12vw, 160px); }
.faq .h2 { font-size: clamp(36px, 4.4vw, 60px); }
.faq-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(0,0,0,.13) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 15% 30%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 15% 30%, #000 10%, transparent 70%); }
.faq-section::after { content: ""; position: absolute; z-index: -1; width: 1000px; height: 1000px; right: -360px; top: -420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.045), rgba(0,0,0,0) 65%); }
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 40px; }
.faq__head { display: grid; gap: 22px; align-content: start; }
.faq__card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 12px; justify-items: start; padding: 30px; border-radius: var(--radius); background: var(--black); color: var(--white); box-shadow: 0 40px 80px -48px rgba(0,0,0,.6); }
.faq__card::before { content: ""; position: absolute; z-index: -1; width: 340px; height: 340px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%); }
.faq__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%); }
.faq__card-icon { width: 44px; height: 44px; padding: 10px; margin-bottom: 8px; border-radius: 12px; border: 1px solid #2a2a2a; background: #111; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; }
.faq__card-title { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.faq__card-text { margin: 0 0 10px; font-size: 15.5px; color: var(--g400); }
.faq__list { display: grid; gap: 12px; }
.qa { background: var(--fog); border-radius: 20px; border: 1px solid transparent; transition: box-shadow .6s var(--ease), border-color .4s, transform .6s var(--ease); }
.qa:hover { background: var(--white); border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 24px 50px -36px rgba(0,0,0,.35); }
.qa[open] { background: var(--white); border-color: var(--black); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 22px 22px 24px; font-size: clamp(16.5px, 1.5vw, 19px); font-weight: 500; letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__num { flex: none; display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 11.5px; font-weight: 400; letter-spacing: .02em; color: var(--g600); transition: background-color .4s, color .4s; }
.qa[open] .qa__num { background: var(--black); border-color: var(--black); color: var(--white); }
.qa__q { flex: 1; }
.qa__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .7s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; background: currentColor; transition: transform .7s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa summary:hover .qa__icon { border-color: var(--black); }
.qa[open] .qa__icon { background: var(--black); color: var(--white); border-color: var(--black); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { margin: 0; padding: 0 76px 26px 80px; color: var(--g700); font-size: 16px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq__aside { display: contents; } .faq__head { order: 1; } .faq__list { order: 2; } .faq__card { order: 3; } }
@media (max-width: 560px) { .qa summary { gap: 12px; padding: 18px 16px; } .qa__num { display: none; } .qa__body p { padding: 0 16px 22px; } }

/* ---------- Contacto ---------- */
.contact { position: relative; background: var(--black); color: var(--white); padding: clamp(120px, 15vw, 200px) 0; overflow: hidden; isolation: isolate; }
.contact__shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.contact__shader.no-webgl { background: radial-gradient(ellipse 60% 50% at 50% 110%, #2a2a2a, #000 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); align-items: start; }
.contact__intro { display: grid; gap: 26px; position: sticky; top: calc(var(--nav-h) + 40px); }
.contact__title { margin: 0; font-size: clamp(48px, 7.4vw, 112px); line-height: .98; font-weight: 500; letter-spacing: -.055em; }
.contact__lead { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--g300); max-width: 460px; }
.contact__mail { margin: 0; font-size: 15px; color: var(--g400); }
.contact__mail a { color: var(--white); text-underline-offset: 4px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } .contact__intro { position: static; } }

.form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 40px 120px -40px rgba(0,0,0,.8); }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; min-height: 60px; padding: 26px 16px 8px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.35); color: var(--white); outline: none; appearance: none; -webkit-appearance: none; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 110px; padding-top: 30px; }
.field select { cursor: pointer; padding-right: 44px; }
.field select option { color: #000; }
.field--select::after { content: ""; position: absolute; right: 20px; top: 26px; width: 8px; height: 8px; border-right: 1.5px solid var(--g400); border-bottom: 1.5px solid var(--g400); transform: rotate(45deg); pointer-events: none; }
.field label { position: absolute; left: 17px; top: 19px; font-size: 16px; color: var(--g400); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(255,255,255,.7); background: rgba(0,0,0,.55); box-shadow: 0 0 0 4px rgba(255,255,255,.06); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field select:focus + label, .field select:valid + label { transform: translateY(-11px) scale(.76); color: var(--g300); }
.field.is-invalid input, .field.is-invalid select { border-color: #fff; border-style: dashed; }
.pills { border: 0; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills legend { width: 100%; margin-bottom: 10px; font-size: 14px; color: var(--g400); }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: var(--g300); transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease); }
.pills label:hover span { border-color: rgba(255,255,255,.45); }
.pills input:checked + span { background: var(--white); color: var(--black); border-color: var(--white); }
.pills input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.pills input:active + span { transform: scale(.94); }
.form .btn { margin-top: 6px; }
.form__note { margin: 0; font-size: 13px; color: var(--g400); text-align: center; }
.form__note a { color: var(--g300); }
.form__status { margin: 0; font-size: 14px; text-align: center; color: var(--white); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--g400); padding: 90px 0 32px; border-top: 1px solid #161616; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer__brand { display: grid; gap: 14px; align-content: start; }
.footer__brand p { margin: 0; font-size: 15px; }
.footer__logo { color: var(--white); display: inline-flex; }
.footer__logo svg { height: 26px; width: auto; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(32px, 6vw, 96px); }
.footer__cols div { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer__cols .mono { margin: 0 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g600); }
.footer__cols a { text-decoration: none; color: var(--g300); transition: color .25s; }
.footer__cols a:hover { color: var(--white); }
.footer__mark { margin: clamp(72px, 10vw, 140px) 0 clamp(32px, 4vw, 48px); color: #141414; }
.footer__mark svg { width: 100%; height: auto; overflow: visible; }
.footer__mark path:last-child { transition: stroke 1.4s var(--ease), filter 1.4s var(--ease); }
.footer__mark.is-on path:last-child { stroke: #fff; filter: drop-shadow(0 0 40px rgba(255,255,255,.55)) drop-shadow(0 0 120px rgba(255,255,255,.35)); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; padding-top: 24px; border-top: 1px solid #1a1a1a; }
.footer__bottom a { color: var(--g400); text-decoration: none; }
.footer__bottom a:hover { color: var(--white); }
@media (max-width: 720px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Páginas de servicio
   ========================================================================== */
/* Enlace "Ver detalles" en las tarjetas de la portada: toda la tarjeta es clicable */
.tile__link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: 15px; font-weight: 500; letter-spacing: -.01em; text-decoration: none; color: inherit; }
.tile__link > span[aria-hidden] { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .4s, color .4s, border-color .4s, transform .6s var(--ease); }
.tile--feature .tile__link > span[aria-hidden], .tile--dark .tile__link > span[aria-hidden] { border-color: #3a3a3a; }
.tile__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.tile:hover .tile__link > span[aria-hidden] { background: var(--black); color: var(--white); border-color: var(--black); transform: translateX(4px); }
.tile--feature:hover .tile__link > span[aria-hidden], .tile--dark:hover .tile__link > span[aria-hidden] { background: var(--white); color: var(--black); border-color: var(--white); }
.tile:has(.tile__link:focus-visible) { outline: 2px solid var(--black); outline-offset: 4px; }
.tile__link:focus-visible { outline: none; }
.tile--feature .tags { margin-bottom: 4px; }

.h2--md { font-size: clamp(34px, 4.4vw, 60px); }

/* Portada del servicio */
.hero--page { min-height: min(100svh, 980px); }
.hero--page .hero__content { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 48px; gap: 22px; }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 12.5px; letter-spacing: .02em; }
.crumbs a { color: var(--g400); text-decoration: none; transition: color .25s; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { color: var(--g600); }
.crumbs [aria-current] { color: var(--white); }
.phero__kicker { margin: 8px 0 0; display: flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .02em; color: var(--g400); }
.phero__kicker span { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-size: 12px; color: var(--white); }
.phero__title { font-size: clamp(44px, 5.6vw, 88px); line-height: 1; }
.phero__meta { width: 100%; padding-bottom: clamp(32px, 4vw, 52px); }
.pmeta { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.pmeta__item { padding: 20px 20px 0 0; display: grid; gap: 6px; }
.pmeta__item + .pmeta__item { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.1); }
.pmeta dt { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); }
.pmeta dd { margin: 0; font-size: 16px; color: var(--white); letter-spacing: -.01em; }
@media (max-width: 900px) {
  .hero--page .hero__content { justify-items: start; text-align: left; padding-top: calc(var(--nav-h) + 32vh); padding-bottom: 32px; }
  .hero--page .hero__ctas { justify-content: flex-start; }
  .pmeta { grid-template-columns: 1fr 1fr; }
  .pmeta__item, .pmeta__item + .pmeta__item { padding: 16px 12px 16px 0; border-left: 0; }
  .pmeta__item:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.1); }
  .pmeta__item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 420px) { .crumbs { font-size: 11.5px; gap: 8px; } }

/* Ilustraciones de línea fina en la portada de cada servicio */
.hviz { position: absolute; z-index: -1; top: calc(var(--nav-h) + 8px); right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter) - 40px)); bottom: 120px; width: min(46vw, 600px); display: block; pointer-events: none; }
.hv-svg { display: block; width: 100%; height: 100%; overflow: visible; font-family: var(--sans); }
.hv-line { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.hv-faint { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.hv-bright { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.2; stroke-linecap: round; }
.hv-thick { stroke-width: 2.2; filter: drop-shadow(0 0 8px rgba(255,255,255,.45)); }
.hv-stroke { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-ticks { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 6; stroke-dasharray: 1 13.45; }
.hv-glass { fill: rgba(255,255,255,.05); stroke: rgba(255,255,255,.16); stroke-width: 1; }
.hv-glass--strong { fill: rgba(18,18,18,.72); stroke: rgba(255,255,255,.2); }
.hv-dot { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.9)); }
.hv-dot-ink { fill: #000; }
.hv-sil { fill: #0b0b0b; stroke: rgba(255,255,255,.75); stroke-width: 1.2; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255,255,255,.18)); }
.hv-type { transform-box: fill-box; transform-origin: left; }
.motion .hv-type { transform: scaleX(0); animation: hvGrow 1s calc(var(--d, 0s) + .5s) steps(30, end) forwards; }
.hv-caret { fill: #fff; animation: hvDot 1s steps(1) infinite; }
.hv-rise { transform-box: fill-box; transform-origin: bottom; }
.motion .hv-rise { transform: scaleY(0); animation: hvRise .9s calc(var(--d, 0s) + .5s) var(--ease) forwards; }
@keyframes hvRise { to { transform: scaleY(1); } }
.hv-ghost { fill: rgba(255,255,255,.18); }
.hv-icon { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hv-check { fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hv-person { fill: #0a0a0a; stroke: rgba(255,255,255,.2); stroke-width: 1; }
.hv-ring { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: hvRing 2.6s var(--ease) infinite; }
.hv-mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .02em; fill: rgba(255,255,255,.82); }
.hv-sans { font-size: 14px; fill: rgba(255,255,255,.9); }
.hv-title { font-size: 21px; font-weight: 500; letter-spacing: -.02em; fill: #fff; }
.hv-c { text-anchor: middle; }
.hv-ink { fill: #000; }
.hv-pill { fill: #fff; }
.hv-track { fill: rgba(255,255,255,.12); }
.hv-progress { fill: #fff; transform-box: fill-box; transform-origin: left; animation: hvGrow 2.4s 1s var(--ease) both; }
.hv-eye { fill: #fff; transform-box: fill-box; transform-origin: center; animation: hvBlink 4.5s 2s infinite; filter: drop-shadow(0 0 8px rgba(255,255,255,.7)); }
.hv-bar { fill: rgba(255,255,255,.7); transform-box: fill-box; transform-origin: center; animation: hvBar 1.2s var(--d, 0s) ease-in-out infinite alternate; }
.hv-packet { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-dasharray: .06 .94; stroke-dashoffset: 1; filter: drop-shadow(0 0 5px #fff); animation: hvPacket 2.7s var(--d, 0s) linear infinite; }
.hv-spin { animation: hvSpin 7s linear infinite; }
.hv-spin-slow { animation: hvSpin 40s linear infinite; }
.hv-float { animation: hvFloat 5s ease-in-out infinite; }
.hv-float-sm { animation: hvFloat 7s ease-in-out infinite; }
.hv-blink { animation: hvDot 2s ease-in-out infinite; }
.hv-breathe { transform-box: fill-box; transform-origin: center; animation: hvBreathe 3s ease-in-out infinite; }
/* Entrada: trazado y aparición escalonada (solo con movimiento) */
.motion .hv-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: hvDraw var(--dur, 1.6s) calc(var(--d, 0s) + .5s) var(--ease) forwards; }
.motion .hv-pop { opacity: 0; transform-box: fill-box; transform-origin: center; animation: hvPop 1s calc(var(--d, 0s) + .5s) var(--ease) forwards; }
@keyframes hvDraw { to { stroke-dashoffset: 0; } }
@keyframes hvPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hvSpin { to { transform: rotate(360deg); } }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hvRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes hvGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hvBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.12); } }
@keyframes hvBar { from { transform: scaleY(.2); } to { transform: scaleY(1); } }
@keyframes hvPacket { to { stroke-dashoffset: -.06; } }
@keyframes hvDot { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes hvBreathe { 0%, 100% { transform: scale(.8); opacity: .7; } 50% { transform: scale(1.25); opacity: 1; } }
.no-motion .hviz * { animation: none !important; }
@media (max-width: 900px) {
  .hviz { top: calc(var(--nav-h) + 4px); left: var(--gutter); right: var(--gutter); bottom: auto; width: auto; height: 29vh; }
}

/* Para quién */
.pfit { padding: clamp(88px, 10vw, 140px) 0; }
.pfit__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pfit__body { display: grid; gap: 22px; }
.pfit__list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; }
.pfit__list li { position: relative; padding: 18px 0 18px 44px; border-top: 1px solid var(--line); font-size: clamp(16.5px, 1.4vw, 18.5px); letter-spacing: -.01em; }
.pfit__list li:last-child { border-bottom: 1px solid var(--line); }
.pfit__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 26px; height: 26px; border-radius: 50%; background: var(--black); }
.pfit__list li::after { content: ""; position: absolute; left: 8px; top: 25px; width: 10px; height: 5px; border-left: 1.5px solid var(--white); border-bottom: 1.5px solid var(--white); transform: rotate(-45deg); }
.pfit__grid > .pfit__visual { grid-column: auto; cursor: default; }
.pfit__visual:hover { transform: none; }
.pfit__visual .tile__visual { height: clamp(320px, 32vw, 420px); }
.pfit__visual .tile__visual > * { transform: scale(1.12); }
.pfit__caption { margin: 0; padding: 0 24px 20px; font-size: 11.5px; color: var(--g500); }
@media (max-width: 900px) { .pfit__grid { grid-template-columns: 1fr; } .pfit__visual .tile__visual > * { transform: none; } .pfit__visual .tile__visual { height: 300px; } }

/* Qué incluye */
.pinc { padding: clamp(88px, 10vw, 140px) 0; }
.pinc .section__head, .pother .section__head, .pproc .section__head { margin-bottom: clamp(40px, 5vw, 64px); }
.incs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.inc { display: grid; gap: 8px; align-content: start; padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid transparent; transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s; }
.inc:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 30px 60px -40px rgba(0,0,0,.35); }
.inc__icon { width: 44px; height: 44px; padding: 10px; margin-bottom: 14px; border-radius: 12px; background: var(--fog); fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: background-color .4s, stroke .4s; }
.inc:hover .inc__icon { background: var(--black); stroke: var(--white); }
.inc strong { font-size: 18.5px; font-weight: 500; letter-spacing: -.02em; }
.inc span { font-size: 15.5px; color: var(--g700); }
.pex { margin-top: 40px; display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: center; }
.pex__title { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--g600); }
.pex__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pex__list li { display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px; border: 1px dashed var(--line-strong); font-size: 15.5px; font-weight: 500; letter-spacing: -.01em; }
.pex__list .mono { font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--g500); }
@media (max-width: 1000px) { .incs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pex { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .incs, .pex__list { grid-template-columns: 1fr; } .inc { padding: 24px; } }

/* Proceso */
.pproc { padding: clamp(88px, 10vw, 140px) 0; }
.psteps { --p: 0; position: relative; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 28px; }
.psteps__track { position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: var(--line-strong); }
.psteps__track span { position: absolute; inset: 0; background: var(--black); transform: scaleX(var(--p)); transform-origin: left; }
.pstep { position: relative; display: grid; gap: 8px; align-content: start; padding-top: 44px; }
.pstep__dot { position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line-strong); transition: background-color .5s, border-color .5s, box-shadow .6s var(--ease); }
.pstep.is-on .pstep__dot { background: var(--black); border-color: var(--black); box-shadow: 0 0 0 6px rgba(0,0,0,.07); }
.pstep__when { font-size: 12px; letter-spacing: .04em; color: var(--g600); }
.pstep strong { font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.pstep__text { font-size: 15.5px; color: var(--g700); max-width: 280px; }
.no-motion .pstep__dot { background: var(--black); border-color: var(--black); }
.no-motion .psteps { --p: 1; }
@media (max-width: 860px) {
  .psteps { grid-template-columns: 1fr; gap: 32px; }
  .psteps__track { left: 9px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .psteps__track span { transform: scaleY(var(--p)); transform-origin: top; }
  .pstep { padding: 0 0 0 44px; }
}

/* Entregables */
.pdel { background: var(--black); color: var(--white); padding: clamp(96px, 11vw, 150px) 0 clamp(140px, 14vw, 200px); position: relative; overflow: hidden; isolation: isolate; }
.pdel::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.09), transparent 62%); }
.pdel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 80% 50%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 70% at 80% 50%, #000, transparent 70%); }
.pdel__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.pdel__body { display: grid; gap: 22px; justify-items: start; }
.pdel__lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); color: var(--g400); max-width: 420px; }
.files { border-radius: 20px; background: rgba(12,12,12,.9); border: 1px solid #1f1f1f; box-shadow: 0 60px 120px -60px rgba(0,0,0,.9), 0 0 0 1px #000; overflow: hidden; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.files__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #1f1f1f; }
.files__path { margin-left: 12px; font-size: 12px; color: var(--g500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files__list { margin: 0; padding: 6px 0; list-style: none; }
.file { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; grid-template-areas: "i n o" "i d o"; column-gap: 14px; row-gap: 3px; align-items: center; padding: 16px 20px; transition: background-color .3s; }
.file + .file { border-top: 1px solid #161616; }
.file:hover { background: #121212; }
.file svg { grid-area: i; width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: #161616; fill: none; stroke: var(--g300); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; align-self: start; }
.file__name { grid-area: n; font-size: 14px; color: var(--white); overflow-wrap: anywhere; }
.file__desc { grid-area: d; font-size: 14px; color: var(--g500); }
.file__ok { grid-area: o; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #2a2a2a; font-size: 11px; color: var(--g600); transition: background-color .5s, color .5s, border-color .5s; }
.file.is-on .file__ok, .no-motion .file__ok { background: var(--white); border-color: var(--white); color: var(--black); }
@media (max-width: 900px) { .pdel__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .file { padding: 14px 16px; column-gap: 12px; } }

/* FAQ del servicio y otros servicios */
.pfaq .h2 { font-size: clamp(34px, 4vw, 54px); }
.pother { padding: clamp(88px, 10vw, 140px) 0; }
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.other { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 250px; padding: 26px; border-radius: 20px; background: var(--white); border: 1px solid transparent; text-decoration: none; transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s, background-color .5s, color .5s; }
.other:hover { transform: translateY(-6px); background: var(--black); color: var(--white); box-shadow: 0 40px 80px -40px rgba(0,0,0,.5); }
.other__num { align-self: flex-start; display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 7px; margin-bottom: 18px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; opacity: .6; }
.other__kicker { font-size: 12px; letter-spacing: .02em; color: var(--g600); transition: color .5s; }
.other__name { font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
.other__text { font-size: 15px; color: var(--g700); transition: color .5s; }
.other:hover .other__kicker, .other:hover .other__text { color: var(--g400); }
.other__arrow { margin-top: auto; align-self: flex-end; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease); }
.other:hover .other__arrow { background: var(--white); color: var(--black); border-color: var(--white); transform: translateX(4px); }
@media (max-width: 1060px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .others { grid-template-columns: 1fr; } .other { min-height: 0; } .other__arrow { position: absolute; right: 22px; top: 22px; margin: 0; } }

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--nav-h) + 80px) 0 120px; }
.legal .wrap { max-width: 780px; }
.legal h1 { margin: 16px 0 12px; font-size: clamp(38px, 6vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -.04em; }
.legal h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--g700); }
.legal .updated { font-family: var(--mono); font-size: 13px; color: var(--g600); }
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--nav-h) var(--gutter); }
.notfound .wrap { display: grid; gap: 22px; justify-items: center; }
.notfound h1 { margin: 0; font-size: clamp(44px, 8vw, 96px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.notfound p { margin: 0; color: var(--g700); }

.motion .bento .tile, .motion [data-tech] > * { visibility: hidden; }
.no-motion .bento .tile, .no-motion [data-tech] > * { visibility: visible; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain { display: none; }
  .msg, .chat__kpi, .pulse__log li, .fl-badge { opacity: 1; transform: none; }
  .msg--typing { display: none; }
  .pulse__line { stroke-dashoffset: 0; }
  .radar__blip { opacity: 1; }
}

/* SEO: H1 con keyword que conserva el estilo del kicker y del chip */
.phero__h1 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
h1.chip { font-weight: 400; line-height: inherit; }
