/* Bit Data LLC — sistema de diseño basado en yani-borrell.com (serif Playfair + Poppins, píldoras, arco, marquesina),
   con la paleta de Bit Data: marino y turquesa sobre blanco azulado. */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/playfair-var.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(fonts/playfair-italic-var.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Pinyon Script"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/pinyon-script-400.woff2) format("woff2"); }

:root {
  --mist: #F5F8FB;
  --sand: #E8EFF6;
  --frost: #CFE3EC;
  --teal: #1A8099;
  --teal-light: #7DD3E8;
  --teal-deep: #0F6178;
  --teal-bright: #2BAABF;
  --pink: #C14E72;
  --navy: #14305A;
  --navy-deep: #0A1628;
  --ink: #0A1628;
  --text: #475569;
  --line: rgba(15, 97, 120, .16);
  --accent-grad: linear-gradient(135deg, #4CC5D8 0%, #1A8099 50%, #0F6178 100%);

  --f-display: "Playfair Display", Georgia, serif;
  --f-body: "Poppins", system-ui, sans-serif;
  --f-script: "Pinyon Script", cursive;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--mist); color: var(--text); font: 400 16px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 500; }
em { font-style: italic; color: var(--teal-deep); }
::selection { background: var(--teal); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--teal); }
.script { font-family: var(--f-script); font-weight: 400; color: var(--teal-deep); }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section__title { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; letter-spacing: -.01em; }
.section__lead { margin: 18px 0 0; font-size: 17px; max-width: 560px; }
.section__head--center .section__lead { margin-left: auto; margin-right: auto; }
.section__head--split .section__lead { margin: 0; max-width: 420px; justify-self: end; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  background: var(--bg); color: var(--fg); font: 500 15px/1 var(--f-body); letter-spacing: .02em;
  transition: color .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn--accent { --bg: var(--accent-grad); --fg: #fff; box-shadow: 0 10px 30px -10px rgba(15,97,120,.6); }
.btn--accent:hover { box-shadow: 0 16px 40px -12px rgba(15,97,120,.75); }
.btn--ghost { --fg: var(--teal-deep); box-shadow: inset 0 0 0 1px var(--teal); }
.btn--ghost:hover { --bg: rgba(26,128,153,.08); }
.btn--dark { --bg: var(--ink); --fg: var(--teal-light); }
.btn--light { --bg: #fff; --fg: var(--teal-deep); box-shadow: 0 10px 30px -12px rgba(10,22,40,.35); }
.btn--outline-light { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); }
.btn--outline-light:hover { --bg: rgba(255,255,255,.12); }
.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--lg { padding: 20px 36px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, height .4s var(--ease); }
.header.is-scrolled { background: rgba(245,248,251,.85); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); height: 70px; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.header__logo img { height: 42px; width: auto; border-radius: 10px; background: #fff; padding: 4px 6px; box-shadow: inset 0 0 0 1px var(--line); }
.nav { display: flex; gap: 34px; }
.nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: .02em; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 16px; }
.lang { position: relative; display: flex; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255,255,255,.6); }
.lang a { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 30px; font: 600 12px var(--f-body); letter-spacing: .08em; color: var(--text); transition: color .3s; }
.lang a[aria-current] { color: #fff; }
.lang__pill { position: absolute; top: 4px; left: 4px; width: 40px; height: 30px; border-radius: 999px; background: var(--accent-grad); transition: transform .45s var(--ease); }
.lang[data-active="es"] .lang__pill { transform: translateX(40px); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 26px; background: var(--mist); clip-path: circle(0 at calc(100% - 44px) 42px); transition: clip-path .8s var(--ease); visibility: hidden; }
.mobile-menu a:not(.btn) { font-family: var(--f-display); font-size: 34px; color: var(--ink); }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 90px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(76,197,216,.22), transparent 60%), linear-gradient(180deg, var(--mist) 0%, var(--sand) 100%); }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__glow--a { width: 420px; height: 420px; background: #BFE3EC; top: 10%; left: -120px; }
.hero__glow--b { width: 360px; height: 360px; background: #D6EAF2; bottom: -80px; right: 30%; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { font-family: var(--f-display); font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -.02em; }
.hero__title em { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .05em; }
.hero__script { font-size: clamp(36px, 4vw, 54px); line-height: 1.1; margin: 14px 0 22px; }
.hero__lead { max-width: 520px; font-size: 17px; margin: 0 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 44px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero__stats strong { display: block; font: 500 34px/1 var(--f-display); color: var(--ink); }
.hero__stats strong i { font-style: italic; color: var(--teal); }
.hero__stats span { font-size: 13px; color: var(--text); }

.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(15,97,120,.28) 1px, transparent 1.4px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000, transparent 75%); }
.eyebrow--live::before { width: 9px; height: 9px; border-radius: 50%; background: #22C58B; box-shadow: 0 0 0 0 rgba(34,197,139,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(34,197,139,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,139,0); } }
.hero__prompt { margin: 14px 0 22px; font: 500 15px/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--teal-deep); }
.hero__prompt span { color: var(--pink); margin-right: 8px; }
.hero__prompt b { font-weight: 600; color: #1F9D6B; }
.hero__prompt::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -.2em; background: var(--teal); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__visual { position: relative; max-width: 560px; justify-self: center; width: 100%; padding: 38px 0 56px 0; }
.console { position: relative; border-radius: 22px; overflow: hidden; color: #fff;
  background: radial-gradient(420px 260px at 85% 0%, rgba(43,170,191,.3), transparent 70%), linear-gradient(170deg, #12294d, var(--navy-deep));
  box-shadow: 0 50px 90px -40px rgba(10,22,40,.7), inset 0 0 0 1px rgba(125,211,232,.2); animation: rise 1.2s .1s var(--ease) backwards; }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid rgba(125,211,232,.14); font: 500 12px ui-monospace, Menlo, Consolas, monospace; color: rgba(255,255,255,.6); }
.console__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.console__bar i:nth-child(1) { background: #FF6B6B; } .console__bar i:nth-child(2) { background: #F2B544; } .console__bar i:nth-child(3) { background: #22C58B; }
.console__title { margin-left: 8px; flex: 1; }
.console__live { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; letter-spacing: .14em; color: #7BE5BC; background: rgba(34,197,139,.12); }
.console__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #22C58B; animation: blink 1.4s steps(2) infinite; }
.netmap { display: block; width: 100%; height: auto; }
.netmap .link { stroke: rgba(125,211,232,.32); stroke-width: 1.2; stroke-dasharray: 4 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.netmap .node { fill: #0F2A4A; stroke: var(--teal-light); stroke-width: 1.3; }
.netmap .node-ico { fill: none; stroke: var(--teal-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.netmap .core { fill: url(#coreGrad); }
.netmap .core-ico { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.netmap .pulse { fill: none; stroke: var(--teal-light); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-out infinite; }
.netmap .pulse:nth-of-type(2) { animation-delay: 1.5s; }
@keyframes pulse { from { transform: scale(.6); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }
.netmap text { font: 500 10.5px var(--f-body); fill: rgba(255,255,255,.7); text-anchor: middle; }
.packet { fill: #7BE5BC; filter: drop-shadow(0 0 5px rgba(123,229,188,.9)); }
.console__log { list-style: none; margin: 0; padding: 14px 20px 20px; border-top: 1px solid rgba(125,211,232,.14); font: 400 12.5px/1.5 ui-monospace, Menlo, Consolas, monospace; display: grid; gap: 7px; }
.console__log li { display: flex; gap: 10px; color: rgba(255,255,255,.78); animation: logIn .7s var(--ease) backwards; }
.console__log li:nth-child(1) { animation-delay: .9s; } .console__log li:nth-child(2) { animation-delay: 1.5s; } .console__log li:nth-child(3) { animation-delay: 2.1s; } .console__log li:nth-child(4) { animation-delay: 2.7s; }
.console__log time { color: rgba(255,255,255,.4); flex: none; }
.console__log .ok { color: #7BE5BC; flex: none; }
@keyframes logIn { from { opacity: 0; transform: translateX(-14px); } }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 24px 50px -22px rgba(10,22,40,.5), inset 0 0 0 1px rgba(255,255,255,.8); animation: pop .9s cubic-bezier(.34,1.56,.64,1) backwards; }
.float strong { display: block; font: 500 22px/1 var(--f-display); }
.float small { font-size: 12px; color: var(--text); line-height: 1.3; display: block; }
.float--uptime { right: -5%; bottom: 0; animation-delay: .9s; }
.float--ticket { right: 100px; top: -38px; animation-delay: 1.2s; }
.float__ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-grad); flex: none; }
.float__ico svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark { width: 64px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--teal-deep); }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--teal), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollcue 2.2s var(--ease) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Marquesina ---------- */
.marquee { background: var(--ink); color: var(--teal-light); overflow: hidden; padding: 20px 0; border-block: 1px solid rgba(125,211,232,.18); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font: 500 13px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; padding-right: 2.2em; }
.marquee__track span::after { content: "◆"; margin-left: 2.2em; color: var(--teal); font-size: 9px; vertical-align: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Por qué nosotros (bento) ---------- */
.pillars { background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; padding: 30px 28px 28px; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 20px 50px -38px rgba(10,22,40,.4); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(10,22,40,.5); }
.tile--wide { grid-column: span 2; }
.tile__idx { position: absolute; top: 22px; right: 24px; font: 500 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; color: rgba(15,97,120,.45); }
.tile__icon { width: 44px; height: 44px; margin-bottom: 40px; fill: none; stroke: var(--teal); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; padding: 9px; box-sizing: content-box; border-radius: 14px; background: rgba(26,128,153,.09); }
.tile--wide .tile__icon { margin-bottom: 24px; }
.tile h3 { font-family: var(--f-display); font-size: 22px; margin-bottom: 10px; }
.tile p { margin: 0; font-size: 15px; }
.tile--wide p { max-width: 460px; }
.tile--hero { grid-column: 1 / span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; color: #D9E2EC;
  background: radial-gradient(420px 300px at 90% 0%, rgba(76,197,216,.32), transparent 70%), linear-gradient(165deg, var(--navy), var(--navy-deep)); box-shadow: 0 40px 80px -44px rgba(10,22,40,.7); }
.tile--hero .tile__idx { color: rgba(125,211,232,.6); }
.tile--hero h3 { color: #fff; font-size: 28px; }
.tile--hero p:not(.tile__fig) { max-width: 380px; color: rgba(217,226,236,.78); }
.tile .tile__fig { position: relative; margin: 0 0 auto !important; font: 500 clamp(84px, 11vw, 150px)/.9 var(--f-display); letter-spacing: -.04em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile__bars { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin: 28px 0 8px; }
.tile__bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, rgba(76,197,216,.9), rgba(76,197,216,.15)); transform-origin: bottom; animation: bar 1.4s var(--ease) backwards; }
.tile__bars i:nth-child(2) { animation-delay: .08s; } .tile__bars i:nth-child(3) { animation-delay: .16s; } .tile__bars i:nth-child(4) { animation-delay: .24s; } .tile__bars i:nth-child(5) { animation-delay: .32s; } .tile__bars i:nth-child(6) { animation-delay: .4s; } .tile__bars i:nth-child(7) { animation-delay: .48s; }
@keyframes bar { from { transform: scaleY(0); } }
.tile__cap { font: 500 11px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-light); }

/* ---------- Servicios (filas) ---------- */
.services { background: linear-gradient(180deg, var(--sand), var(--mist)); }
.svclist { border-top: 1px solid var(--line); }
.svcrow { position: relative; display: grid; grid-template-columns: 90px 1.1fr 1fr 84px; gap: clamp(20px, 3vw, 44px); align-items: center; padding: 44px 24px; border-bottom: 1px solid var(--line); border-radius: 0; transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease); }
.svcrow:hover { background: #fff; box-shadow: 0 30px 60px -40px rgba(10,22,40,.5); border-radius: 20px; transform: translateY(-2px); }
.svcrow__num { font: italic 500 clamp(44px, 5vw, 68px)/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--teal); transition: color .5s; }
.svcrow:hover .svcrow__num { color: var(--teal); }
.svcrow h3 { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.svcrow__main p { margin: 0; font-size: 15.5px; max-width: 460px; }
.svcrow__price { display: inline-block; margin-bottom: 12px; padding: 4px 13px; border-radius: 999px; background: var(--accent-grad); font-size: 12px; font-weight: 600; color: #fff; }
.svcrow__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svcrow__tags li { padding: 6px 13px; border-radius: 999px; font: 500 12.5px ui-monospace, Menlo, Consolas, monospace; color: var(--teal-deep); background: rgba(26,128,153,.08); box-shadow: inset 0 0 0 1px rgba(26,128,153,.18); transition: background .4s, color .4s; }
.svcrow:hover .svcrow__tags li { background: rgba(26,128,153,.14); }
.svcrow__ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); transition: transform .8s var(--ease); }
.svcrow:hover .svcrow__ico { transform: rotate(-8deg) scale(1.08); }
.svcrow__ico svg { width: 40px; height: 40px; fill: none; stroke: var(--teal-light); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Certificaciones ---------- */
.certs { background: var(--mist); }
.certs__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cert { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 14px 22px; border-radius: var(--radius); background: #fff; text-align: center; box-shadow: 0 1px 0 var(--line), 0 20px 50px -38px rgba(10,22,40,.4); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cert:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -32px rgba(10,22,40,.45); }
.cert img { width: 92px; height: 92px; object-fit: contain; }
.cert span { font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.certs__note { max-width: 720px; margin: 38px auto 0; text-align: center; font-size: 14px; }

/* ---------- Proceso (pipeline) ---------- */
.process { background: var(--sand); }
.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: s; }
.stage { position: relative; padding: 0 0 28px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -38px rgba(10,22,40,.45); }
.stage:not(:last-child)::after { content: ""; position: absolute; top: 24px; left: 100%; width: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 5px, transparent 5px 10px); background-size: 20px 2px; animation: flow2 1s linear infinite; }
@keyframes flow2 { to { background-position: 20px 0; } }
.stage__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line); font: 500 12px ui-monospace, Menlo, Consolas, monospace; }
.stage__name { color: var(--teal-deep); }
.stage__name::before { content: "$ "; color: var(--pink); }
.stage__badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8A99AB; background: rgba(100,116,139,.12); transition: color .6s, background .6s; }
.stage__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.process.is-in .stage__badge { color: #1F9D6B; background: rgba(34,197,139,.14); }
.process.is-in .stage:nth-child(2) .stage__badge { transition-delay: .5s; }
.process.is-in .stage:nth-child(3) .stage__badge { transition-delay: 1s; }
.process.is-in .stage:nth-child(4) .stage__badge { transition-delay: 1.5s; }
.stage__num { display: block; margin: 22px 20px 0; font: italic 500 54px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--teal); }
.stage h3 { margin: 10px 20px 10px; font-family: var(--f-display); font-size: 22px; }
.stage p { margin: 0 20px; font-size: 15px; }

/* ---------- Precios ---------- */
.pricing { background: var(--mist); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 34px 36px; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 60px -42px rgba(10,22,40,.5); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.plan:hover { transform: translateY(-8px); }
.plan--featured { background: radial-gradient(500px 260px at 90% 0%, rgba(76,197,216,.28), transparent 70%), linear-gradient(165deg, var(--navy), var(--navy-deep)); box-shadow: 0 40px 80px -40px rgba(10,22,40,.7); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured li { color: rgba(255,255,255,.75); }
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 999px; background: var(--accent-grad); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.plan h3 { font-size: 13px; font-family: var(--f-body); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 14px; }
.plan--featured h3 { color: var(--teal-light); }
.plan__price { font: 500 clamp(40px, 4vw, 52px)/1 var(--f-display); color: var(--ink); margin-bottom: 14px; }
.plan__price small { font: 400 15px var(--f-body); color: var(--text); }
.plan--featured .plan__price small { color: rgba(255,255,255,.6); }
.plan__desc { margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.plan--featured .plan__desc { border-color: rgba(255,255,255,.14); }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 14.5px; margin-bottom: 10px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal); transform: rotate(-45deg); }
.plan--featured li::before { border-color: var(--teal-light); }

/* ---------- Testimonios (sección oscura) ---------- */
.trust { background: radial-gradient(900px 500px at 80% 0%, #1b4a6e, transparent 70%), var(--navy-deep); color: #D9E2EC; padding: clamp(90px, 12vw, 150px) 0; position: relative; overflow: hidden; }
.trust::before { content: "“"; position: absolute; left: 2vw; top: -4vw; font: 500 38vw/1 var(--f-display); color: rgba(76,197,216,.05); pointer-events: none; }
.trust .section__title { color: #fff; }
.trust .eyebrow { color: var(--teal-light); }
.trust .eyebrow::before { background: var(--teal-light); }
.trust .section__lead { color: rgba(217,226,236,.75); }
.trust__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; padding: 34px 30px; border-radius: var(--radius); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(125,211,232,.16); transition: transform .6s var(--ease), background .6s; }
.quote:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); }
.quote__stars { color: #F2B544; letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.quote p { margin: 0 0 24px; font: italic 400 19px/1.55 var(--f-display); color: #fff; }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-grad); font: 600 13px var(--f-body); color: #fff; flex: none; }
.quote cite { display: block; font-style: normal; font-weight: 600; font-size: 14px; color: #fff; }
.quote small { font-size: 12.5px; color: rgba(217,226,236,.65); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: clamp(80px, 10vw, 130px) 0; background: var(--accent-grad); overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.28), transparent 70%); }
.cta__inner { position: relative; max-width: 760px; }
.cta__title { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 56px); line-height: 1.1; color: #fff; margin-bottom: 18px; }
.cta__title em { color: var(--ink); }
.cta p { color: rgba(255,255,255,.88); font-size: 17px; margin: 0 auto 36px; max-width: 540px; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Contacto ---------- */
.contact { background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__info .section__title { margin-bottom: 20px; }
.contact__links { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__links > li { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--ink); }
.contact__links a { transition: color .3s; }
.contact__links a:hover { color: var(--teal); }
.contact__links .txt { display: flex; flex-direction: column; line-height: 1.35; }
.contact__links small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.contact__ico { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--teal); }
.contact__ico svg { width: 19px; height: 19px; fill: none; stroke: var(--teal-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.form { padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: #fff; box-shadow: 0 40px 80px -50px rgba(10,22,40,.5); display: grid; gap: 18px; }
.form__title { font: 500 26px var(--f-display); margin-bottom: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field textarea, .field select { width: 100%; padding: 26px 18px 10px; border: 0; border-radius: 12px; background: var(--mist); font: 400 16px var(--f-body); color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s, background .3s; resize: vertical; appearance: none; -webkit-appearance: none; }
.field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A8099' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--teal); }
.field label { position: absolute; left: 18px; top: 18px; font-size: 15px; color: #64748B; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-10px) scale(.78); color: var(--teal-deep); }
.form__note { margin: 0; font-size: 13px; text-align: center; color: #64748B; }
.form__status { margin: 0; min-height: 1.5em; font-size: 14px; font-weight: 500; text-align: center; }
.form__status.is-sent { color: #1F7A4D; }
.form__status.is-failed { color: var(--pink); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #94A3B8; padding: 80px 0 30px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(125,211,232,.12); }
.footer__brand img { height: 46px; width: auto; border-radius: 10px; background: #fff; padding: 5px 8px; margin-bottom: 18px; }
.footer__brand p { max-width: 280px; margin: 0; }
.footer__heading { font-family: var(--f-display); font-size: 18px; color: var(--teal-light); margin-bottom: 18px; font-weight: 500; }
.footer__grid a { display: block; margin-bottom: 10px; transition: color .3s; }
.footer__grid a:hover { color: var(--teal-light); }
.footer__bottom { padding-top: 26px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a:hover { color: var(--teal-light); }

/* ---------- Páginas legales ---------- */
.legal-hero { padding: calc(var(--header-h) + 70px) 0 56px; text-align: center; background: radial-gradient(900px 400px at 80% 0%, rgba(76,197,216,.22), transparent 70%), linear-gradient(180deg, var(--sand), var(--mist)); }
.legal-hero h1 { font-family: var(--f-display); font-size: clamp(36px, 5vw, 60px); line-height: 1.08; margin-bottom: 14px; }
.legal-hero p { margin: 0; font-size: 17px; }
.content-wrap { max-width: 820px; margin: 0 auto; padding: 40px var(--gutter) 110px; }
.updated { font-size: 13px; margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.toc { background: #fff; border-radius: var(--radius); padding: 26px 30px; margin-bottom: 48px; box-shadow: 0 1px 0 var(--line), 0 20px 50px -38px rgba(10,22,40,.4); }
.toc h2 { font: 500 22px var(--f-display); margin-bottom: 14px; }
.toc ol { padding-left: 22px; margin: 0; display: grid; gap: 6px; }
.toc a { color: var(--teal-deep); font-size: 14.5px; }
.toc a:hover { text-decoration: underline; }
.content-wrap .section { padding: 0; margin-bottom: 44px; scroll-margin-top: 90px; }
.content-wrap .section h2 { font: 500 27px/1.2 var(--f-display); margin-bottom: 14px; padding-top: 14px; border-top: 1px solid var(--teal); display: block; }
.content-wrap .section p, .content-wrap .section li { font-size: 15.5px; }
.content-wrap .section ul, .content-wrap .section ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 14px; }
.content-wrap .section a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.highlight-box { background: rgba(26,128,153,.08); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 16px 0; font-size: 14.5px; color: var(--navy); }
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; display: block; overflow-x: auto; }
.data-table th { background: var(--sand); text-align: left; padding: 10px 14px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); }
.data-table td { padding: 10px 14px; border: 1px solid var(--line); vertical-align: top; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--teal-light); font-size: 14px; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip-link:focus { transform: none; }

/* ---------- Animaciones ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }
@keyframes fade { from { opacity: 0; } }
.hero__copy > * { animation: rise 1s var(--ease) backwards; }
.hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__copy > :nth-child(6) { animation-delay: .4s; }
.mobile-menu.is-open a { animation: rise .7s var(--ease) backwards; }
.mobile-menu.is-open a:nth-child(1) { animation-delay: .2s; }
.mobile-menu.is-open a:nth-child(2) { animation-delay: .27s; }
.mobile-menu.is-open a:nth-child(3) { animation-delay: .34s; }
.mobile-menu.is-open a:nth-child(4) { animation-delay: .41s; }
.mobile-menu.is-open a:nth-child(5) { animation-delay: .48s; }
/* Revelado al hacer scroll: solo se oculta si JS está activo (main.js añade .js al <html>) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .certs__grid { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 22px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav, .header__actions > .btn { display: none; }
  .burger { display: block; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; order: -1; margin-top: 10px; }
  .section__head--split { grid-template-columns: 1fr; }
  .section__head--split .section__lead { justify-self: start; }
  .pricing__grid, .trust__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--hero { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .tile--wide { grid-column: span 1; }
  .svcrow { grid-template-columns: 1fr 72px; padding: 32px 16px; }
  .svcrow__num { display: none; }
  .svcrow__tags { grid-column: 1 / -1; grid-row: 2; }
  .svcrow__ico { width: 72px; height: 72px; grid-column: 2; grid-row: 1; }
  .pipeline { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stage:not(:last-child)::after { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
  .plan--featured { order: -1; }
}
@media (max-width: 900px) {
  .float--ticket { display: none; }
  .float--uptime { right: -2%; }
}
@media (max-width: 600px) {
  .bento, .pipeline { grid-template-columns: 1fr; }
  .tile--hero { min-height: 340px; }
  .hero__ctas .btn { width: 100%; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .header__logo span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
