/* =========================================================
   Vitccel — Hoja de estilos principal
   CSS puro, sin frameworks. Organizado por secciones.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --cyan: #06a3da;
  --cyan-600: #0587b5;
  --cyan-300: #67d3f7;
  --aqua: #2ee6c9;
  --navy-950: #040c1c;
  --navy-900: #091e3e;
  --navy-800: #0e2a52;
  --teal: #0d486b;
  --green: #22c55e;

  --ink: #0b1628;
  --text: #3b4a63;
  --muted: #6b7a92;
  --line: #e2e9f2;
  --bg: #ffffff;
  --bg-tint: #f3f8fc;
  --card: #ffffff;

  --grad-brand: linear-gradient(120deg, var(--cyan) 0%, var(--aqua) 100%);
  --grad-dark: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 100%);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 2px 8px rgba(9, 30, 62, .06);
  --shadow: 0 12px 40px -12px rgba(9, 30, 62, .16);
  --shadow-lg: 0 30px 80px -24px rgba(9, 30, 62, .28);
  --shadow-cyan: 0 14px 40px -10px rgba(6, 163, 218, .55);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
  --container: 1240px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 40px; height: 40px; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120;
  background: var(--grad-brand); transform-origin: left; transform: scaleX(0);
}

/* ---------- 3. Utilidades visuales ---------- */
.gradient-text {
  background: linear-gradient(100deg, var(--cyan-300) 0%, var(--aqua) 50%, var(--cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.grid-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.mesh { position: absolute; inset: 0; pointer-events: none; }
.mesh--dark {
  background:
    radial-gradient(40% 50% at 10% 10%, rgba(6, 163, 218, .22), transparent 70%),
    radial-gradient(35% 45% at 90% 90%, rgba(46, 230, 201, .14), transparent 70%);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.eyebrow--light {
  color: #d7f3ff; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  letter-spacing: .12em;
}
.eyebrow--light::before { display: none; }

.pulse-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); flex-shrink: 0;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--aqua);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  color: var(--teal); background: #e8f6fd; border: 1px solid #cdeaf8;
}
.chip--glass { color: #fff; background: rgba(9, 30, 62, .55); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--cyan-600); }
.link-arrow .icon { transition: transform .35s var(--ease); }

.round-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: all .3s var(--ease);
}
.round-btn:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: translateY(-2px); }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-weight: 500; }
.check-list .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%; margin-top: 1px;
  color: #fff; background: var(--grad-brand); stroke-width: 3;
}
.check-list--light li { color: #d5e2f1; }

/* ---------- 4. Botones ---------- */
.btn {
  --btn-pad: 14px 24px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--btn-pad); border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { --btn-pad: 10px 18px; font-size: .88rem; }
.btn-lg { --btn-pad: 17px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { color: #fff; background: var(--cyan); box-shadow: var(--shadow-cyan); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--cyan-600), var(--cyan) 40%, var(--aqua));
  opacity: 0; transition: opacity .4s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(6, 163, 218, .7); }
.btn-primary:hover::before { opacity: 1; }

.btn-glow::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

.btn-dark { color: #fff; background: var(--navy-900); }
.btn-dark:hover { background: var(--cyan); transform: translateY(-2px); box-shadow: var(--shadow-cyan); }

.btn-light { color: var(--navy-900); background: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .4); }

.btn-outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan-600); transform: translateY(-2px); }

.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }

/* ---------- 5. Secciones ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--grad-dark); color: #c5d4e8; overflow: hidden; }
.section--dark > .container { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-title { margin-top: 16px; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
.section-title em {
  font-style: normal;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-text { margin-top: 18px; font-size: 1.08rem; color: var(--muted); }
.section-head.on-dark .section-title { color: #fff; }
.section-head.on-dark .section-text { color: #a8bad3; }

.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 56px); }
.split-head .section-head { margin-bottom: 0; }

/* Animación de aparición */
[data-reveal] { opacity: 0; translate: 0 32px; transition: opacity .9s var(--ease), translate .9s var(--ease), scale .9s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, background-color .4s; transition-delay: var(--d, 0ms); }
[data-reveal="left"] { translate: -56px 0; }
[data-reveal="right"] { translate: 56px 0; }
[data-reveal="zoom"] { translate: 0 24px; scale: .94; }
[data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; transition-delay: var(--d, 0ms), var(--d, 0ms), var(--d, 0ms), 0s, 0s, 0s, 0s; }
.no-js [data-reveal] { opacity: 1; translate: none; scale: none; }

/* ---------- 6. Encabezado ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); display: flex; align-items: center;
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease), backdrop-filter .4s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; transition: opacity .35s; }
.brand-logo--on-light { position: absolute; inset: 0; opacity: 0; }

.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(9, 30, 62, .06), 0 10px 30px -18px rgba(9, 30, 62, .3);
}
.site-header.is-scrolled .brand-logo--on-dark { opacity: 0; }
.site-header.is-scrolled .brand-logo--on-light { opacity: 1; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .82);
  transition: color .3s, background-color .3s;
}
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
.site-header.is-scrolled .nav-link { color: var(--text); }
.site-header.is-scrolled .nav-link:hover, .site-header.is-scrolled .nav-link.is-active { color: var(--navy-900); background: #eaf5fb; }
.nav-caret { transition: transform .3s var(--ease); }

.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 620px;
  padding: 14px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .97); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.has-mega:hover .nav-caret, .has-mega:focus-within .nav-caret { transform: rotate(180deg); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background-color .25s; }
.mega-item:hover { background: var(--bg-tint); }
.mega-item strong { display: block; font-size: .93rem; color: var(--ink); font-weight: 700; }
.mega-item small { display: block; font-size: .8rem; color: var(--muted); }
.mega-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  color: #fff; background: linear-gradient(135deg, var(--accent-from, var(--cyan)), var(--accent-to, var(--aqua)));
  box-shadow: 0 8px 20px -8px var(--accent-from, var(--cyan));
  transition: transform .35s var(--ease);
}
.mega-item:hover .mega-icon { transform: scale(1.08) rotate(-4deg); }
.mega-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 14px 16px;
  border-radius: 16px; background: var(--navy-900); color: #fff; font-weight: 600; font-size: .92rem;
  transition: background-color .3s;
}
.mega-footer:hover { background: var(--cyan); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .85); transition: color .3s; }
.header-phone:hover { color: var(--aqua); }
.site-header.is-scrolled .header-phone { color: var(--text); }
.site-header.is-scrolled .header-phone:hover { color: var(--cyan-600); }

.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, background-color .3s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; right: 19px; }
.site-header.is-scrolled .menu-toggle { background: var(--bg-tint); border-color: var(--line); }
.site-header.is-scrolled .menu-toggle span { background: var(--ink); }
.menu-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header .brand-logo--on-dark { opacity: 1; }
.menu-open .site-header .brand-logo--on-light { opacity: 0; }
.menu-open .menu-toggle { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.menu-open .menu-toggle span { background: #fff; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { right: 13px; transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; overflow-y: auto;
  background: var(--grad-dark);
  clip-path: circle(0 at calc(100% - 46px) 42px);
  transition: clip-path .7s var(--ease), visibility .7s;
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 46px) 42px); visibility: visible; }
.mobile-menu-inner { padding: calc(var(--header-h) + 16px) 24px 40px; max-width: 560px; margin-inline: auto; }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: #fff;
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  transition-delay: calc(var(--i) * 60ms + 150ms);
}
.mobile-link.is-active, .mobile-link:hover { color: var(--aqua); }
.mobile-menu.is-open .mobile-link { opacity: 1; transform: none; }
.mobile-label { margin: 28px 0 12px; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-300); }
.mobile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-services a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #e3edf8; font-weight: 600; font-size: .9rem; }
.mobile-services .mega-icon { width: 34px; height: 34px; border-radius: 10px; }
.mobile-cta { display: grid; gap: 10px; margin-top: 28px; }

/* ---------- 7. Hero (inicio) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  background: radial-gradient(120% 80% at 70% 0%, #11366a 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #c9d7ea;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero-canvas--soft { opacity: .35; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow--1 { width: 520px; height: 520px; top: -160px; right: -120px; background: rgba(6, 163, 218, .35); animation: float 14s ease-in-out infinite; }
.hero-glow--2 { width: 420px; height: 420px; bottom: -180px; left: -120px; background: rgba(46, 230, 201, .18); animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-title { margin-top: 26px; font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #fff; }
.rotator { display: block; position: relative; min-height: 2.1em; }
.rotator-word { display: inline-block; transition: opacity .45s var(--ease), transform .45s var(--ease), filter .45s; }
.rotator-word.is-out { opacity: 0; transform: translateY(-.35em); filter: blur(6px); }
.rotator-word.is-in { opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.hero-text { margin-top: 22px; max-width: 560px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #b4c5dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; }
.hero-checks li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: #9fb3cf; }
.hero-checks .icon { color: var(--aqua); stroke-width: 3; }

.hero-anim { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-visual { position: relative; perspective: 1200px; }
.console {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 4deg));
  transition: transform .5s var(--ease);
}
.console::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(103, 211, 247, .6), transparent 40%, transparent 60%, rgba(46, 230, 201, .4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.console-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.console-dots i:first-child { background: #ff5f57; }
.console-dots i:nth-child(2) { background: #febc2e; }
.console-dots i:nth-child(3) { background: #28c840; }
.console-title { flex: 1; font-size: .85rem; font-weight: 600; color: #dfe9f6; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--aqua); }
.console-body { padding: 20px; display: grid; gap: 18px; }
.console-chart { padding: 16px; border-radius: 16px; background: rgba(4, 12, 28, .45); border: 1px solid rgba(255, 255, 255, .06); }
.console-chart-head { display: flex; justify-content: space-between; font-size: .82rem; color: #9fb3cf; margin-bottom: 10px; }
.console-chart-head strong { color: var(--aqua); font-weight: 700; }
.sparkline { width: 100%; height: 90px; }
.spark-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s var(--ease) .6s forwards; }
.spark-area { opacity: 0; animation: fade 1.2s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.console-list { display: grid; gap: 8px; }
.console-list li {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); font-size: .88rem; color: #dce7f5;
  opacity: 0; animation: rise .8s var(--ease) forwards;
}
.console-list li:nth-child(1) { animation-delay: .9s; }
.console-list li:nth-child(2) { animation-delay: 1.05s; }
.console-list li:nth-child(3) { animation-delay: 1.2s; }
.console-list li:nth-child(4) { animation-delay: 1.35s; }
.console-list li span:nth-child(2) { flex: 1; }
.console-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(6, 163, 218, .16); color: var(--cyan-300); }
.console-list em { font-style: normal; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.console-list em.ok { color: #7cf5d2; background: rgba(46, 230, 201, .12); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .85rem; color: var(--ink); }
.float-card small { display: block; font-size: .75rem; color: var(--muted); }
.float-card--a { left: -48px; bottom: -58px; }
.float-card--b { right: -26px; top: -26px; animation-delay: -3s; }
.float-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--grad-brand); }
.float-ico--green { background: linear-gradient(135deg, #22c55e, #14b8a6); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .3); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 8. Marquesina de logos ---------- */
.marquee-section { padding: 44px 0; border-bottom: 1px solid var(--line); background: #fff; }
.marquee-label { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: grid; place-items: center; width: 180px; height: 84px; padding: 16px 24px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); transition: all .35s var(--ease);
}
.marquee-item img { max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: all .35s var(--ease); }
.marquee-item:hover { border-color: #bfe4f5; box-shadow: var(--shadow); transform: translateY(-3px); }
.marquee-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.marquee.is-js .marquee-track { animation: none; will-change: transform; }

/* ---------- 9. Tarjetas de servicio ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
}
.service-card:hover { --lift: -8px; box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(9, 30, 62, .45)); }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.07); }
.service-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 0 26px 28px; }
.service-card-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.service-card .service-card-top { margin-top: -28px; }
.service-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0;
  color: #fff; background: linear-gradient(135deg, var(--accent-from, var(--cyan)), var(--accent-to, var(--aqua)));
  box-shadow: 0 12px 26px -10px var(--accent-from, var(--cyan)), 0 0 0 5px #fff;
  transition: transform .5s var(--ease);
}
.service-icon--lg { width: 64px; height: 64px; box-shadow: 0 12px 26px -10px var(--accent-from, var(--cyan)); }
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card h3 { margin-top: 20px; font-size: 1.32rem; }
.service-card p { margin-top: 10px; color: var(--muted); flex: 1; }
.service-card .link-arrow { margin-top: 22px; }
.service-card:hover .link-arrow .icon { transform: translateX(5px); }

/* Brillo que sigue al cursor */
.spotlight { --x: 50%; --y: 50%; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--x) var(--y), rgba(6, 163, 218, .1), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spotlight:hover::before { opacity: 1; }

/* ---------- 10. Showcase con pestañas ---------- */
.showcase { border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px; }
.showcase-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 6px; border-radius: 22px; background: var(--bg-tint); }
.showcase-tab {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden;
  padding: 14px 12px; border-radius: 16px; font-weight: 700; font-size: .95rem; color: var(--muted);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.showcase-tab:hover { color: var(--ink); }
.showcase-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.showcase-tab-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #e3f2fa; color: var(--cyan-600); transition: all .35s; }
.showcase-tab.is-active .showcase-tab-ico { background: var(--grad-brand); color: #fff; }
.tab-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; }
.showcase-tab.is-active .tab-progress { animation: progress var(--autoplay, 7000ms) linear forwards; }
.showcase.is-paused .tab-progress { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.showcase-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 28px 28px 24px 12px; }
.showcase-panel.is-active { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.showcase-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-panel.is-active .showcase-media img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.showcase-copy h3 { margin-top: 14px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.showcase-copy p { margin-top: 16px; color: var(--muted); }
.showcase-copy .check-list { margin: 24px 0 30px; }

/* ---------- 11. Nosotros + estadísticas ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-img { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover .about-img img { transform: scale(1.04); }
.about-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(9, 30, 62, .55)); }
.about-ring { position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; right: -36px; top: -36px; border-radius: 50%; border: 2px dashed #bfe4f5; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-badge {
  position: absolute; left: -28px; bottom: 40px; display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg);
  animation: bob 7s ease-in-out infinite;
}
.about-badge strong { display: block; color: var(--ink); font-family: var(--font-display); }
.about-badge small { display: block; color: var(--muted); font-size: .85rem; }
.about-badge-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: var(--grad-brand); }

.pillars { display: grid; gap: 14px; }
.pillar {
  display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.pillar:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: #cdeaf8; }
.pillar-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; flex-shrink: 0; color: #fff; background: var(--navy-900); transition: background .4s; }
.pillar:hover .pillar-ico { background: var(--cyan); }
.pillar h3 { font-size: 1.1rem; }
.pillar p { margin-top: 6px; color: var(--muted); font-size: .96rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 100px);
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--grad-dark); box-shadow: var(--shadow-lg); position: relative;
}
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(6, 163, 218, .25), transparent 70%); }
.stat { position: relative; padding: 40px 28px; text-align: center; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255, 255, 255, .1); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; line-height: 1; background: linear-gradient(180deg, #fff, #9fdcf5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 10px; font-size: .92rem; color: #9fb3cf; }

/* ---------- 12. Proceso ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 74px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(6, 163, 218, .5), rgba(46, 230, 201, .5), transparent); }
.process-step {
  position: relative; padding: 30px 24px; border-radius: var(--radius-lg); text-align: center;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.process-step:hover { --lift: -8px; background: rgba(255, 255, 255, .07); border-color: rgba(6, 163, 218, .4); }
.process-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: .85rem; color: rgba(255, 255, 255, .25); }
.process-ico {
  position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 22px;
  color: #fff; background: var(--grad-brand); box-shadow: 0 0 0 8px rgba(6, 163, 218, .12), var(--shadow-cyan);
}
.process-step h3 { color: #fff; font-size: 1.2rem; }
.process-step p { margin-top: 10px; font-size: .95rem; color: #a8bad3; }
.signals { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 52px; }
.signal { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #dce7f5; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.signal .icon { color: var(--aqua); }

/* ---------- 13. Aliados ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner {
  position: relative; display: grid; place-items: center; height: 120px; padding: 24px; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line); transition: opacity .9s var(--ease), translate .9s var(--ease), transform .4s var(--ease), box-shadow .4s, border-color .4s;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.partner img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .4s var(--ease); }
.partner:hover { --lift: -5px; box-shadow: var(--shadow); border-color: #cdeaf8; }
.partner:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* ---------- 14. Testimonios ---------- */
.testimonials-section { background: var(--grad-dark); overflow: hidden; }
.testimonials-section > .container { position: relative; z-index: 1; }
.testimonials { max-width: 900px; margin-inline: auto; }
.testimonial-track { display: grid; cursor: grab; user-select: none; }
.testimonial {
  grid-area: 1 / 1; margin: 0; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl); text-align: center;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateX(40px) scale(.98);
  transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s;
}
.testimonial.is-active { opacity: 1; visibility: visible; transform: none; }
.testimonial.is-leaving { transform: translateX(-40px) scale(.98); }
.testimonial-quote-icon { width: 48px; height: 48px; margin: 0 auto; color: var(--cyan); opacity: .7; }
.testimonial blockquote { margin: 22px 0 0; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.7; color: #e3edf8; font-weight: 500; }
.testimonial figcaption { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; text-align: left; }
.testimonial-logo { display: grid; place-items: center; width: 92px; height: 56px; padding: 8px 12px; border-radius: 14px; background: #fff; flex-shrink: 0; }
.testimonial-logo img { max-height: 38px; width: auto; object-fit: contain; }
.testimonial figcaption strong { display: block; color: #fff; font-family: var(--font-display); }
.testimonial figcaption small { display: block; color: #9fb3cf; font-size: .88rem; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 32px; }
.testimonial-controls .round-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.testimonial-controls .round-btn:hover { background: var(--cyan); border-color: var(--cyan); }
.dots { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .25); transition: all .4s var(--ease); }
.dot.is-active { width: 34px; background: var(--grad-brand); }

/* ---------- 15. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq-item[open] { border-color: #bfe4f5; box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: var(--bg-tint); color: var(--cyan-600); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.faq-item[open] .faq-toggle { transform: rotate(135deg); background: var(--cyan); color: #fff; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); overflow: hidden; }

/* ---------- 16. CTA ---------- */
.cta-section { padding-top: 0; }
.section--tint + .cta-section, .testimonials-section + .cta-section { padding-top: clamp(72px, 10vw, 128px); }
.cta-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .9fr; gap: 48px; align-items: center;
  padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0a3d6b 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.cta-orb--1 { width: 360px; height: 360px; right: -80px; top: -120px; background: rgba(6, 163, 218, .45); }
.cta-orb--2 { width: 280px; height: 280px; left: 20%; bottom: -160px; background: rgba(46, 230, 201, .22); }
.cta-content, .cta-actions { position: relative; z-index: 1; }
.cta-content h2 { margin-top: 20px; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta-content p { margin-top: 16px; color: #b4c5dc; font-size: 1.06rem; max-width: 560px; }
.cta-actions { display: grid; gap: 12px; }
.cta-phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; color: #b4c5dc; font-weight: 600; transition: color .3s; }
.cta-phone:hover { color: var(--aqua); }

/* ---------- 17. Pie de página ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-950); color: #93a6c1; padding-top: 88px; }
.footer-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 420px; margin-left: -450px; border-radius: 50%; background: rgba(6, 163, 218, .14); filter: blur(90px); }
.site-footer .container { position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr 1.1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 20px; max-width: 340px; font-size: .95rem; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #dce7f5; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: translateY(-3px); }
.footer-col h3 { font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: var(--aqua); }
.footer-contact { display: grid; align-content: start; gap: 14px; }
.footer-contact h3 { margin-bottom: 6px; }
.footer-contact a, .footer-contact p { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.footer-contact .icon { margin-top: 3px; color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 84px 32px 0; font-size: .86rem; color: #6b7f9c; }

/* ---------- 18. Flotantes ---------- */
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; display: flex; align-items: center; }
.whatsapp-float img { width: 60px; height: 60px; filter: drop-shadow(0 10px 20px rgba(37, 211, 102, .45)); transition: transform .35s var(--ease); }
.whatsapp-float::before { content: ""; position: absolute; right: 4px; width: 52px; height: 52px; border-radius: 50%; background: rgba(37, 211, 102, .45); animation: pulse 2.4s var(--ease) infinite; }
.whatsapp-float:hover img { transform: scale(1.08) rotate(-6deg); }
.whatsapp-tip {
  position: absolute; right: 74px; white-space: nowrap; padding: 8px 14px; border-radius: 12px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateX(10px); transition: all .35s var(--ease); pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tip { opacity: 1; transform: none; }
.back-to-top {
  position: fixed; right: 28px; bottom: 96px; z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .4s var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--cyan); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 150; max-width: calc(100% - 32px);
  padding: 14px 22px; border-radius: 14px; font-weight: 600; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: all .45s var(--ease);
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--ok { background: #0f766e; }
.toast--error { background: #b91c1c; }

/* ---------- 19. Hero de páginas internas ---------- */
.page-hero, .article-hero {
  position: relative; overflow: hidden; color: #c9d7ea;
  padding: calc(var(--header-h) + 72px) 0 clamp(64px, 8vw, 100px);
  background: var(--navy-950);
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 10% 0%, rgba(6, 163, 218, .35), transparent 70%),
    linear-gradient(100deg, rgba(4, 12, 28, .96) 0%, rgba(9, 30, 62, .88) 45%, rgba(9, 30, 62, .55) 100%);
}
.page-hero-inner, .article-hero-inner { position: relative; z-index: 1; }
.page-hero-inner > *, .article-hero-inner > * { opacity: 0; animation: rise 1s var(--ease) forwards; }
.page-hero-inner > :nth-child(2) { animation-delay: .08s; }
.page-hero-inner > :nth-child(3) { animation-delay: .16s; }
.page-hero-inner > :nth-child(4) { animation-delay: .24s; }
.page-hero-inner > :nth-child(5) { animation-delay: .32s; }
.page-hero-inner > :nth-child(6) { animation-delay: .4s; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 26px; font-size: .88rem; font-weight: 600; color: #8fa5c4; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current] { color: var(--aqua); }
.page-hero-title { margin-top: 22px; max-width: 860px; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.page-hero-text { margin-top: 20px; max-width: 640px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: #b4c5dc; }
.hero-metrics { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-metric { padding: 14px 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-metric strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.02rem; }
.hero-metric span { display: block; font-size: .8rem; color: #8fa5c4; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- 20. Portafolio de servicios ---------- */
.service-list { display: grid; gap: clamp(56px, 8vw, 96px); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-row.is-reversed .service-row-media { order: 2; }
.service-row-media { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.service-row-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 50%, color-mix(in srgb, var(--accent-from) 45%, transparent)); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.service-row:hover .service-row-media img { transform: scale(1.05); }
.service-row-num { position: absolute; z-index: 1; left: 24px; bottom: 16px; font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: rgba(255, 255, 255, .9); text-shadow: 0 8px 30px rgba(0, 0, 0, .3); }
.service-row-copy .service-card-top { justify-content: flex-start; align-items: center; }
.service-row-copy .service-icon { box-shadow: 0 12px 26px -10px var(--accent-from); }
.service-row-copy h2 { margin-top: 22px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.service-row-copy h2 a:hover { color: var(--cyan-600); }
.service-row-copy > p { margin-top: 14px; font-size: 1.06rem; color: var(--muted); }
.service-row-copy .check-list { margin: 24px 0 30px; }

.priority { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.priority .section-head { margin-bottom: 0; }
.priority-list { display: grid; gap: 14px; counter-reset: p; }
.priority-list li { display: flex; gap: 20px; align-items: flex-start; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.priority-list h3 { font-size: 1.12rem; }
.priority-list p { margin-top: 6px; color: var(--muted); }
.priority-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; font-family: var(--font-display); font-weight: 800; color: #fff; background: var(--grad-brand); }

/* ---------- 21. Página de servicio ---------- */
.overview { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; align-items: start; }
.capabilities { display: grid; gap: 16px; }
.capability {
  position: relative; display: flex; gap: 22px; padding: 26px; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.capability:hover { --lift: -4px; box-shadow: var(--shadow); border-color: transparent; }
.capability-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.capability h3 { font-size: 1.2rem; }
.capability p { margin-top: 8px; color: var(--muted); }
.overview-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.solve-card, .reasons {
  position: relative; overflow: hidden; padding: 34px; border-radius: var(--radius-xl);
  background: var(--grad-dark); box-shadow: var(--shadow-lg);
}
.solve-card::before, .reasons::before { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; top: -100px; border-radius: 50%; background: rgba(6, 163, 218, .3); filter: blur(60px); }
.solve-card > *, .reasons > * { position: relative; }
.solve-label { margin: 22px 0 18px; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-300); }
.reasons .solve-label { margin-top: 0; }
.solve-card .btn { margin-top: 28px; }

.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.deliverables-media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.deliverables-media img { width: 100%; height: 100%; object-fit: cover; }
.deliverable-list { display: grid; gap: 12px; }
.deliverable-list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.deliverable-list li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.deliverable-check { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; color: #fff; background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); }
.deliverable-check .icon { stroke-width: 3; }
.services-grid--compact .service-card-media { aspect-ratio: 16 / 9; }

/* ---------- 22. Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 24px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius); min-width: 0;
  position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line);
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
a.contact-card:hover { --lift: -4px; box-shadow: var(--shadow); border-color: #cdeaf8; }
.contact-card small { display: block; font-size: .8rem; color: var(--muted); }
.contact-card strong { display: block; margin-top: 2px; color: var(--ink); font-size: .95rem; overflow-wrap: anywhere; }
.contact-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: var(--grad-brand); }
.contact-card--wa .contact-ico { background: linear-gradient(135deg, #25d366, #128c7e); }

.form-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form-card h2 { margin-top: 14px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.form-intro { margin-top: 10px; color: var(--muted); }
.contact-form { display: grid; gap: 18px; margin-top: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; font: inherit; color: var(--ink);
  background: var(--bg-tint); border: 1.5px solid transparent; outline: none; resize: vertical;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 150px; }
.field label { position: absolute; left: 18px; top: 18px; color: var(--muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(6, 163, 218, .12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--cyan-600); font-weight: 600; }
.field-error { display: none; margin-top: 6px; font-size: .82rem; font-weight: 600; color: #dc2626; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #f87171; background: #fef2f2; }
.field.is-invalid .field-error { display: block; }
.topics { border: 0; margin: 0; padding: 0; }
.topics legend { margin-bottom: 12px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; }
.topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--text); background: var(--bg-tint); border: 1.5px solid transparent; cursor: pointer; transition: all .25s; user-select: none; }
.topic span:hover { border-color: #bfe4f5; }
.topic input:checked + span { color: #fff; background: var(--navy-900); }
.topic input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--cyan); flex-shrink: 0; }
.consent.is-invalid { color: #dc2626; }
.btn-submit .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-submit.is-loading { pointer-events: none; opacity: .85; }
.btn-submit.is-loading .spinner { display: block; }
.btn-submit.is-loading .icon { display: none; }
.alert { margin-top: 20px; padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.alert--ok { color: #0f766e; background: #ecfdf5; border: 1px solid #a7f3d0; }
.alert--error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }

.map-section { padding-bottom: clamp(72px, 10vw, 128px); }
.map-card { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); height: 420px; }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }

/* ---------- 23. Blog ---------- */
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.pill { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text); background: var(--bg-tint); border: 1px solid var(--line); transition: all .3s; }
.pill:hover { border-color: var(--cyan); color: var(--cyan-600); }
.pill.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.featured-post { display: grid; grid-template-columns: 1.2fr 1fr; margin-bottom: 40px; overflow: hidden; border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .4s, transform .4s var(--ease); }
.featured-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured-media { overflow: hidden; min-height: 320px; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.featured-post:hover .featured-media img { transform: scale(1.05); }
.featured-copy { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.featured-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.featured-copy > p { color: var(--muted); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px)); }
a.post-card:hover { --lift: -6px; box-shadow: var(--shadow-lg); }
.post-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.post-card:hover .post-card-media img { transform: scale(1.06); }
.post-card-media .chip { position: absolute; left: 16px; top: 16px; }
.post-card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 24px; }
.post-card-body h3 { font-size: 1.2rem; }
.post-card-body > p:not(.post-meta) { color: var(--muted); font-size: .96rem; flex: 1; }
.post-card .link-arrow { margin-top: 6px; }
a.post-card:hover .link-arrow .icon { transform: translateX(5px); }
.post-meta { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: var(--muted); }
.empty-state { text-align: center; padding: 64px 24px; border-radius: var(--radius-xl); background: var(--bg-tint); }
.empty-state .icon { margin: 0 auto; color: var(--cyan); }
.empty-state h2 { margin-top: 18px; font-size: 1.5rem; }
.empty-state p { margin: 8px 0 24px; color: var(--muted); }
.blog-note { margin-top: 40px; text-align: center; color: var(--muted); }
.blog-note a { color: var(--cyan-600); font-weight: 700; }

.article-hero-inner .page-hero-title { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.article-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-weight: 600; font-size: .9rem; color: #9fb3cf; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }

.prose { font-size: 1.1rem; line-height: 1.85; color: #2f3d55; }
.prose > * + * { margin-top: 1.3em; }
.prose h2 { margin-top: 2em; font-size: 1.8rem; }
.prose h3 { margin-top: 1.7em; font-size: 1.4rem; }
.prose a { color: var(--cyan-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--cyan); }
.prose blockquote { margin-inline: 0; padding: 20px 26px; border-left: 4px solid var(--cyan); border-radius: 0 16px 16px 0; background: var(--bg-tint); font-style: italic; color: var(--ink); }
.prose figure { margin-inline: 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--muted); }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-tint); font-size: .92em; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.article-share .btn { margin-left: auto; }

/* ---------- 24. 404 ---------- */
.not-found { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; text-align: center; background: radial-gradient(120% 80% at 50% 0%, #11366a 0%, var(--navy-900) 45%, var(--navy-950) 100%); color: #b4c5dc; padding: calc(var(--header-h) + 40px) 0 80px; }
.not-found-inner { position: relative; z-index: 1; }
.not-found-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); line-height: 1; letter-spacing: -.05em; }
.not-found h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.not-found p { margin-top: 14px; }
.not-found .hero-actions { justify-content: center; }

/* ---------- 25. Movimiento e interactividad ---------- */

/* Transición entre páginas */
.page-curtain {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; align-content: center; gap: 22px;
  background: radial-gradient(80% 60% at 50% 40%, #11366a, var(--navy-950));
  translate: 0 100%; pointer-events: none;
}
.page-curtain img { height: 46px; width: auto; opacity: 0; scale: .9; transition: opacity .4s .15s, scale .6s var(--ease) .15s; }
.curtain-bar { position: relative; width: 120px; height: 3px; border-radius: 3px; overflow: hidden; background: rgba(255, 255, 255, .12); }
.curtain-bar::after { content: ""; position: absolute; inset: 0; background: var(--grad-brand); transform-origin: left; animation: loadbar 1s var(--ease) infinite; }
@keyframes loadbar { from { transform: scaleX(0); } 70% { transform: scaleX(1); opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
.is-leaving .page-curtain { translate: 0 0; transition: translate .55s var(--ease); pointer-events: auto; }
.is-leaving .page-curtain img { opacity: 1; scale: 1; }
.is-entering .page-curtain { translate: 0 0; animation: curtainOut .8s var(--ease) .1s forwards; }
.is-entering .page-curtain img { opacity: 1; scale: 1; transition: none; }
@keyframes curtainOut { to { translate: 0 -100%; } }

/* Cursor interactivo */
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  border: 1.5px solid rgba(6, 163, 218, .6);
  display: grid; place-items: center;
  font: 700 .7rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #fff;
  opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .3s, border-color .3s, opacity .3s, scale .2s;
}
.cursor-ring.is-active { opacity: 1; }
.cursor-ring.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(6, 163, 218, .12); border-color: var(--cyan); }
.cursor-ring.is-label { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: var(--cyan); border-color: var(--cyan); box-shadow: var(--shadow-cyan); }
.cursor-ring.is-down { scale: .82; }

/* Ondas al hacer clic en botones */
.ripple { position: absolute; z-index: 0; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .45); transform: scale(0); animation: ripple .7s var(--ease) forwards; }
.btn-outline .ripple, .btn-light .ripple { background: rgba(6, 163, 218, .25); }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.btn > :not(.ripple) { position: relative; z-index: 1; }

/* Botones magnéticos */
[data-magnetic] { transition: translate .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s; }

/* Reflejo de luz en tarjetas inclinables */
.glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .35), transparent 60%);
  opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light;
}
.is-tilting .glare { opacity: 1; }

/* Borde de degradado giratorio */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.service-card::after, .capability::after, .featured-post::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--accent-from, var(--cyan)), var(--accent-to, var(--aqua)), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s; animation: spinAngle 3.5s linear infinite;
}
.featured-post { position: relative; }
.service-card:hover::after, .capability:hover::after, .featured-post:hover::after { opacity: 1; }
@keyframes spinAngle { to { --angle: 360deg; } }

/* Títulos que entran palabra por palabra */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .14em; margin: -.1em 0 -.14em; }
.sw-i { display: inline-block; translate: 0 110%; rotate: 4deg; transition: translate 1s var(--ease), rotate 1s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms); }
.is-visible .sw-i, .split-in .sw-i { translate: 0 0; rotate: 0deg; }
.section-title em.is-split { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: inherit; }
.section-title em.is-split .sw-i { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Imágenes que se revelan con cortina */
.wipe { clip-path: inset(0 0 100% 0 round var(--radius-xl)); transition: clip-path 1.3s var(--ease) .15s; }
.is-visible .wipe, .is-visible.wipe { clip-path: inset(0 0 0 0 round var(--radius-xl)); }
.no-js .wipe { clip-path: none; }

/* Parallax: las imágenes se agrandan un poco para no mostrar bordes al moverse */
img[data-parallax] { scale: 1.14; }
[data-parallax] { will-change: translate; }

/* Hero: luz y cuadrícula que siguen al cursor */
.hero { --mx: 70%; --my: 30%; }
.hero-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--mx) var(--my), rgba(6, 163, 218, .16), transparent 60%); }
.grid-lines--glow {
  background-image: linear-gradient(rgba(103, 211, 247, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 211, 247, .35) 1px, transparent 1px);
  mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000, transparent 70%);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx) var(--my), #000, transparent 70%);
}

/* Consola en vivo */
.live-value { display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); animation: blink 1.6s infinite; }
@keyframes blink { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 201, .7); } 70% { box-shadow: 0 0 0 7px rgba(46, 230, 201, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 201, 0); } }
.sparkline .spark-dot { fill: #fff; stroke: var(--aqua); stroke-width: 2; filter: drop-shadow(0 0 6px var(--aqua)); }
.console-list em { transition: color .3s, background-color .3s; }
.console-list em.scanning { color: #fcd34d; background: rgba(252, 211, 77, .12); }
.console-list em.scanning::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; vertical-align: -1px; animation: spin .8s linear infinite; }
.console-list li.flash { opacity: 1; animation: rowFlash 1s var(--ease); }
@keyframes rowFlash { 0% { background: rgba(46, 230, 201, .22); } 100% { background: rgba(255, 255, 255, .04); } }
.console-log { display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 10px 14px; border-radius: 12px; background: rgba(4, 12, 28, .55); border: 1px solid rgba(255, 255, 255, .06); font: 500 .8rem/1.3 ui-monospace, "Cascadia Code", Consolas, monospace; color: #9fe9d7; opacity: 0; animation: rise .8s var(--ease) 1.6s forwards; }
.log-prompt { color: var(--cyan-300); }
.log-caret { width: 7px; height: 14px; background: var(--aqua); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Línea de progreso del proceso */
.process-wrap { position: relative; }
.process::before { display: none; }
.process-track { position: absolute; top: 74px; left: 12%; right: 12%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); }
.process-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--grad-brand); box-shadow: 0 0 14px rgba(46, 230, 201, .7); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process-wrap[data-ready] .process-ico { transition: transform .6s var(--ease), box-shadow .6s, filter .6s; filter: grayscale(.7) brightness(.75); }
.process-wrap[data-ready] .process-step.is-lit .process-ico { filter: none; transform: scale(1.08); box-shadow: 0 0 0 10px rgba(6, 163, 218, .14), 0 0 40px rgba(46, 230, 201, .45); }
.process-step.is-lit { border-color: rgba(6, 163, 218, .35); }

/* Indicador deslizante del menú */
.main-nav ul { position: relative; }
.nav-indicator { position: absolute; left: 0; top: 0; height: 100%; border-radius: 999px; background: rgba(255, 255, 255, .12); opacity: 0; pointer-events: none; transition: translate .45s var(--ease), width .45s var(--ease), opacity .3s; }
.site-header.is-scrolled .nav-indicator { background: #e3f2fa; }
.main-nav.has-indicator .nav-link:hover, .main-nav.has-indicator .nav-link.is-active { background: transparent; }
.main-nav.has-indicator .nav-link { z-index: 1; }

/* Anillo de progreso en "volver arriba" */
.progress-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.progress-ring circle { fill: none; stroke: var(--aqua); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; }

/* Íconos con vida al pasar el mouse */
.pillar-ico, .contact-ico, .priority-num { transition: transform .5s var(--ease), background-color .4s; }
.pillar:hover .pillar-ico, a.contact-card:hover .contact-ico, .priority-list li:hover .priority-num { transform: rotate(-8deg) scale(1.1); }

/* ---------- 25b. Movimiento continuo (ambiente) ---------- */

/* Auroras de color que flotan en fondos oscuros */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; mix-blend-mode: screen; }
.aurora span:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -10%; top: -20%; background: radial-gradient(circle, #06a3da, transparent 65%); animation: aurora1 16s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -8%; top: 10%; background: radial-gradient(circle, #2ee6c9, transparent 65%); opacity: .38; animation: aurora2 20s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: 30%; bottom: -30%; background: radial-gradient(circle, #6366f1, transparent 65%); opacity: .35; animation: aurora3 24s ease-in-out infinite alternate; }
@keyframes aurora1 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(28vw, 18vh) scale(1.25); } 100% { transform: translate(10vw, 40vh) scale(.9); } }
@keyframes aurora2 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30vw, 20vh) scale(.85); } 100% { transform: translate(-12vw, -10vh) scale(1.2); } }
@keyframes aurora3 { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-20vw, -30vh) scale(1.3); } 100% { transform: translate(18vw, -14vh) scale(1); } }
.page-hero .aurora span, .process-section .aurora span, .testimonials-section .aurora span { opacity: .3; }

/* Manchas de luz que se desplazan en secciones claras */
.ambient { position: relative; overflow: hidden; overflow: clip; isolation: isolate; }
.ambient::before, .ambient::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none;
}
.ambient::before { width: 520px; height: 520px; left: -160px; top: 10%; background: rgba(6, 163, 218, .14); animation: drift1 18s ease-in-out infinite alternate; }
.ambient::after { width: 460px; height: 460px; right: -140px; bottom: 5%; background: rgba(46, 230, 201, .12); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(40vw, 30%) scale(1.3); } }
@keyframes drift2 { to { transform: translate(-35vw, -40%) scale(.8); } }

/* Íconos que orbitan la consola del hero */
.orbit-chip {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  color: #fff; background: linear-gradient(135deg, rgba(6, 163, 218, .9), rgba(46, 230, 201, .9));
  box-shadow: 0 14px 34px -10px rgba(6, 163, 218, .8), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.orbit-chip--1 { left: 30%; top: -44px; animation: orbitA 7s ease-in-out infinite; }
.orbit-chip--2 { right: -30px; top: 46%; background: linear-gradient(135deg, #10b981, #06a3da); animation: orbitB 8s ease-in-out infinite; }
.orbit-chip--3 { left: -30px; top: 30%; background: linear-gradient(135deg, #6366f1, #06b6d4); animation: orbitC 9s ease-in-out infinite; }
@keyframes orbitA { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(24px, -16px) rotate(8deg); } }
@keyframes orbitB { 0%, 100% { transform: translate(0, 0) rotate(6deg); } 50% { transform: translate(-14px, 26px) rotate(-10deg); } }
@keyframes orbitC { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(16px, -22px) rotate(12deg); } }

/* Titular con efecto máquina de escribir */
.rotator-word::after {
  content: ""; display: inline-block; width: .07em; height: .9em; margin-left: .08em; vertical-align: -.08em;
  background: var(--aqua); border-radius: 2px; animation: caret 1s steps(1) infinite;
}
.rotator-word.is-typing::after { animation: none; }

/* Franja cinética de palabras gigantes */
.kinetic { position: relative; overflow: hidden; padding: 30px 0 34px; background: var(--navy-950); }
.kinetic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-950), transparent 12%, transparent 88%, var(--navy-950)); z-index: 1; pointer-events: none; }
.kinetic-row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.kinetic-row span { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 6rem); line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; padding-right: .3em; }
.kinetic-row--outline span { color: transparent; -webkit-text-stroke: 1.5px rgba(103, 211, 247, .55); }
.kinetic-row--fill span { background: linear-gradient(90deg, var(--cyan), var(--aqua), #6366f1, var(--cyan)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }

/* Palabras en degradado que brillan constantemente */
.section-title em.is-split .sw-i, .section-title em:not(.is-split) {
  background: linear-gradient(100deg, var(--cyan), var(--aqua), #3b82f6, var(--cyan)); background-size: 300% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 6s linear infinite;
}

/* Íconos de servicio flotando y destellos periódicos en las tarjetas */
@keyframes bobT { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
.service-icon { animation: bobT 4.5s ease-in-out infinite; animation-delay: var(--d, 0ms); }
.service-card-media::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
  animation: sweep 7s ease-in-out infinite; animation-delay: var(--d, 0ms);
}
@keyframes sweep { 0%, 70% { left: -80%; } 100% { left: 140%; } }

/* Logos aliados meciéndose */
.partner img { animation: bobT 5s ease-in-out infinite; }
.partner:nth-child(2) img { animation-delay: -1.2s; }
.partner:nth-child(3) img { animation-delay: -2.4s; }
.partner:nth-child(4) img { animation-delay: -3.6s; }

/* Botones principales con pulso de luz */
.btn-glow, .site-header .btn-primary, .cta-actions .btn-light { animation: glowPulse 2.6s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(6, 163, 218, .55), var(--shadow-cyan); } 50% { box-shadow: 0 0 0 12px rgba(6, 163, 218, 0), var(--shadow-cyan); } }

/* Brillo que recorre la banda de estadísticas */
.stats::after { content: ""; position: absolute; top: 0; left: -40%; width: 30%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .12), transparent); transform: skewX(-20deg); animation: sweep 6s ease-in-out infinite; }

/* Pasos del proceso latiendo en secuencia */
.process-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid var(--aqua); opacity: 0; animation: stepPing 4s ease-out infinite; }
.process-step:nth-child(2) .process-ico::after { animation-delay: 1s; }
.process-step:nth-child(3) .process-ico::after { animation-delay: 2s; }
.process-step:nth-child(4) .process-ico::after { animation-delay: 3s; }
@keyframes stepPing { 0% { opacity: .9; transform: scale(1); } 40%, 100% { opacity: 0; transform: scale(1.5); } }

/* Orbes del CTA en movimiento y fondo que respira */
.cta-orb--1 { animation: float 9s ease-in-out infinite; }
.cta-orb--2 { animation: float 12s ease-in-out infinite reverse; }
.cta-card { background-size: 200% 200%; animation: bgShift 12s ease-in-out infinite alternate; }
@keyframes bgShift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* Línea animada sobre el pie de página */
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--aqua), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: lineRun 5s linear infinite; }
@keyframes lineRun { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* Entradas más amplias para que se noten */
[data-reveal] { translate: 0 60px; transition-duration: 1.1s, 1.1s, 1.1s, .5s, .5s, .4s, .4s; }
[data-reveal="left"] { translate: -90px 0; }
[data-reveal="right"] { translate: 90px 0; }
[data-reveal="zoom"] { translate: 0 30px; scale: .88; }

@media (max-width: 760px) {
  .orbit-chip { display: none; }
  .kinetic { padding: 18px 0 22px; }
}

/* ---------- 26. Responsivo ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 40px; }
  .float-card--a { left: -16px; }
  .float-card--b { right: -8px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-top: 16px; }
  .services-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .about, .faq-layout, .priority, .overview, .deliverables, .contact-layout, .cta-card { grid-template-columns: 1fr; }
  .about { gap: 56px; }
  .about-media { max-width: 560px; }
  .faq-layout > div:first-child, .overview-aside { position: static; }
  .process { grid-template-columns: 1fr 1fr; }
  .process::before { display: none; }
  .process-track { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .showcase-panel { grid-template-columns: 1fr; gap: 28px; padding: 20px 8px 12px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 760px) {
  .container { padding-inline: 18px; }
  .split-head { flex-direction: column; align-items: flex-start; }
  .services-grid, .post-grid, .process, .contact-cards, .form-row { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row.is-reversed .service-row-media { order: 0; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .partner { height: 96px; }
  .showcase { padding: 8px; }
  .showcase-tabs { grid-template-columns: 1fr 1fr; }
  .showcase-tab { padding: 12px 8px; font-size: .88rem; }
  .float-card { display: none; }
  .console { transform: none !important; }
  .about-badge { left: 12px; bottom: 16px; }
  .about-ring { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 16px; }
  .stat:nth-child(odd)::before { display: none; }
  .stat:nth-child(even)::before { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
  .hero { padding-bottom: 80px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
  .testimonial figcaption { flex-direction: column; text-align: center; }
  .whatsapp-float { right: 16px; bottom: 16px; }
  .whatsapp-float img { width: 54px; height: 54px; }
  .back-to-top { right: 19px; bottom: 82px; }
  .article-share .btn { margin-left: 0; }
  .map-card { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  /* Modo suave: se conservan fundidos y animaciones ambientales; se quitan desplazamientos bruscos */
  html { scroll-behavior: auto; }
  [data-reveal], [data-reveal="left"], [data-reveal="right"], [data-reveal="zoom"] { translate: none; scale: none; }
  .page-hero-bg { animation: none; transform: none; }
  .page-curtain { display: none !important; }
  .console { transform: none !important; }
}

/* ---------- 27. Rendimiento ----------
   Reemplaza desenfoques y efectos de cristal (muy costosos para la tarjeta gráfica)
   por degradados radiales que se ven igual, y evita repintados continuos. */
.hero-glow, .cta-orb, .footer-glow, .solve-card::before, .reasons::before,
.aurora span, .ambient::before, .ambient::after { filter: none; mix-blend-mode: normal; }
.hero-glow--1 { background: radial-gradient(circle, rgba(6, 163, 218, .38), transparent 68%); }
.hero-glow--2 { background: radial-gradient(circle, rgba(46, 230, 201, .2), transparent 68%); }
.cta-orb--1 { background: radial-gradient(circle, rgba(6, 163, 218, .5), transparent 68%); }
.cta-orb--2 { background: radial-gradient(circle, rgba(46, 230, 201, .26), transparent 68%); }
.footer-glow { background: radial-gradient(ellipse, rgba(6, 163, 218, .16), transparent 70%); }
.solve-card::before, .reasons::before { background: radial-gradient(circle, rgba(6, 163, 218, .32), transparent 70%); }
.ambient::before { background: radial-gradient(circle, rgba(6, 163, 218, .14), transparent 70%); }
.ambient::after { background: radial-gradient(circle, rgba(46, 230, 201, .12), transparent 70%); }

.console { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(160deg, rgba(22, 52, 94, .92), rgba(9, 26, 54, .92)); }
.process-step, .testimonial, .hero-metric, .eyebrow--light, .btn-ghost-light, .chip--glass { backdrop-filter: none; -webkit-backdrop-filter: none; }
.testimonial { background: rgba(14, 42, 82, .6); }
.hero-metric { background: rgba(9, 30, 62, .55); }

/* Degradado de títulos: fijo (el brillo animado se deja solo en el hero y la franja cinética) */
.section-title em.is-split .sw-i, .section-title em:not(.is-split) { animation: none; background-size: 100% auto; }

/* El borde giratorio solo se anima mientras el mouse está encima */
.service-card::after, .capability::after, .featured-post::after { animation-play-state: paused; }
.service-card:hover::after, .capability:hover::after, .featured-post:hover::after { animation-play-state: running; }

/* Destellos con transform (no provocan relayout) */
.service-card-media::before { left: 0; transform: translateX(-160%) skewX(-20deg); animation-name: sweepT; }
.stats::after { left: 0; transform: translateX(-140%) skewX(-20deg); animation-name: sweepS; }
@keyframes sweepT { 0%, 70% { transform: translateX(-160%) skewX(-20deg); } 100% { transform: translateX(320%) skewX(-20deg); } }
@keyframes sweepS { 0%, 70% { transform: translateX(-140%) skewX(-20deg); } 100% { transform: translateX(460%) skewX(-20deg); } }

.cta-card { animation: none; background-size: auto; }
[data-parallax] { will-change: auto; }
.glare { mix-blend-mode: normal; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), transparent 60%); }

/* ---------- 28. Aviso del sitio de pruebas ---------- */
.staging-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 160; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #1f1300;
  background: #fcd34d; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); pointer-events: none;
}
.staging-dot { width: 8px; height: 8px; border-radius: 50%; background: #b45309; animation: blink 1.6s infinite; }

/* ---------- 29. Logos a color y sección de clientes ---------- */
.marquee-item img, .partner img { filter: none; opacity: 1; }
.marquee-item:hover img, .partner:hover img { transform: scale(1.06); }

.clients-section { background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.client-card {
  position: relative; display: grid; place-items: center; height: 140px; padding: 22px 26px; overflow: hidden;
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: opacity .9s var(--ease), translate .9s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s;
}
.client-card::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.client-card img { width: auto; max-width: 100%; max-height: 72px; object-fit: contain; transition: transform .5s var(--ease); }
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.client-card:hover::before { transform: scaleX(1); }
.client-card:hover img { transform: scale(1.07); }
@media (max-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .client-grid { grid-template-columns: 1fr 1fr; } .client-card { height: 110px; padding: 16px; } }

/* ---------- 30. Tarjetas de servicio: diseño más limpio (se conservan los efectos) ---------- */
.services-grid { gap: 32px; }
.service-card { padding: 12px; border-radius: 28px; border-color: #e8eef5; }
.service-card-media { border-radius: 20px; aspect-ratio: 16 / 10; }
.service-card-media::after { background: linear-gradient(180deg, transparent 55%, rgba(9, 30, 62, .35)); }
.service-card-icon {
  position: absolute; z-index: 2; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 13px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.service-card:hover .service-card-icon { transform: rotate(-6deg) scale(1.08); }
.service-card-body { padding: 22px 14px 14px; }
.service-card-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-from, var(--cyan)); }
.service-card h3 { margin-top: 8px; font-size: 1.25rem; }
.service-card p { margin-top: 10px; font-size: .95rem; line-height: 1.7; color: #64748b; }
.service-card .link-arrow { margin-top: 20px; }

/* ---------- 31. "Cómo trabajamos" más compacta ---------- */
.process-section { padding-block: clamp(56px, 7vw, 88px); }
.process-section .section-head { margin-bottom: 36px; }
.process-section .section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.process-section .section-text { margin-top: 12px; font-size: 1rem; }
.process { gap: 16px; }
.process-step { padding: 22px 18px; border-radius: 22px; }
.process-ico { width: 54px; height: 54px; margin-bottom: 14px; border-radius: 16px; }
.process-ico .icon { width: 20px; height: 20px; }
.process-ico::after { border-radius: 20px; }
.process-step h3 { font-size: 1.05rem; }
.process-step p { margin-top: 6px; font-size: .88rem; line-height: 1.55; }
.process-num { top: 14px; right: 16px; font-size: .75rem; }
.process-track { top: 49px; }
.signals { margin-top: 32px; gap: 10px; }
.signal { padding: 8px 14px; font-size: .84rem; }

/* ---------- 32. Escala general más contenida ---------- */
/* Espaciado y títulos de sección */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.section-title { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-text { margin-top: 14px; font-size: 1rem; }
.split-head { margin-bottom: clamp(28px, 4vw, 44px); }

/* Portada */
.hero { padding: calc(var(--header-h) + 32px) 0 72px; }
.hero-title { margin-top: 20px; font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
.hero-text { margin-top: 18px; font-size: clamp(1rem, 1.2vw, 1.08rem); }
.hero-actions { margin-top: 28px; }
.console-body { padding: 16px; gap: 14px; }
.sparkline { height: 76px; }

/* Encabezados de páginas internas */
.page-hero, .article-hero { padding: calc(var(--header-h) + 52px) 0 clamp(48px, 6vw, 76px); }
.page-hero-title { margin-top: 18px; font-size: clamp(2rem, 4vw, 3.1rem); }
.page-hero-text { margin-top: 16px; font-size: clamp(.98rem, 1.2vw, 1.08rem); }
.hero-metrics { margin-top: 26px; }
.hero-metric { padding: 12px 16px; }

/* Botones grandes */
.btn-lg { --btn-pad: 15px 26px; font-size: .97rem; }

/* Nosotros y estadísticas */
.about { gap: 56px; }
.about-img { aspect-ratio: 5 / 4; }
.pillar { padding: 18px; }
.pillar-ico { width: 44px; height: 44px; border-radius: 14px; }
.stats { margin-top: clamp(48px, 6vw, 72px); }
.stat { padding: 30px 22px; }
.stat strong { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.stat > span { font-size: .88rem; }

/* Logos y clientes */
.marquee-section { padding: 34px 0; }
.marquee-label { margin-bottom: 20px; }
.marquee-item { width: 160px; height: 72px; }
.marquee-item img { max-height: 40px; }
.client-card { height: 120px; }
.client-card img { max-height: 62px; }

/* Testimonios, FAQ y CTA */
.testimonial { padding: clamp(28px, 4vw, 44px); }
.testimonial-quote-icon { width: 38px; height: 38px; }
.testimonial blockquote { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.testimonial figcaption { margin-top: 24px; }
.faq-layout { gap: 48px; }
.faq-item summary { padding: 18px 22px; font-size: 1rem; }
.faq-answer { padding: 0 22px 18px; font-size: .95rem; }
.cta-card { gap: 36px; padding: clamp(32px, 4.5vw, 56px); }
.cta-content h2 { margin-top: 16px; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.cta-content p { font-size: 1rem; }

/* Página de servicios */
.service-list { gap: clamp(44px, 6vw, 72px); }
.service-row { gap: clamp(28px, 5vw, 64px); }
.service-row-num { font-size: 3.4rem; }
.service-row-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-row-copy > p { font-size: 1rem; }
.capability { padding: 22px; }
.capability-num { font-size: 1.6rem; }
.solve-card, .reasons { padding: 28px; }

/* Contacto y blog */
.form-card { padding: clamp(24px, 3.5vw, 40px); }
.form-card h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); }
.featured-copy h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.prose { font-size: 1.04rem; }

/* Pie de página y menú móvil */
.site-footer { padding-top: 64px; }
.footer-top { padding-bottom: 44px; }
.mobile-link { font-size: 1.45rem; padding: 15px 4px; }
.section.process-section { padding-block: clamp(52px, 6vw, 80px); }

/* ---------- 33. Página "Quiénes somos" ---------- */
.about-copy .check-list { margin-top: 4px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card {
  position: relative; overflow: hidden; padding: clamp(28px, 4vw, 40px); border-radius: var(--radius-xl);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: opacity .9s var(--ease), translate .9s var(--ease), transform .45s var(--ease), box-shadow .45s;
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mv-card h3 { margin-top: 18px; font-size: 1.4rem; }
.mv-card p { margin-top: 12px; font-size: 1.02rem; line-height: 1.75; color: var(--muted); }
.mv-card--dark { background: var(--grad-dark); border-color: transparent; }
.mv-card--dark::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(6, 163, 218, .35), transparent 70%); pointer-events: none; }
.mv-card--dark h3 { color: #fff; }
.mv-card--dark p { color: #b4c5dc; }
.mv-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-cyan); animation: bobT 4.5s ease-in-out infinite; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { flex-direction: column; gap: 0; padding: 26px 22px; }
.value-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--cyan-600); background: #e3f2fa; transition: background .4s, color .4s, transform .5s var(--ease); }
.value-card:hover .value-ico { color: #fff; background: var(--grad-brand); transform: rotate(-8deg) scale(1.08); }
.value-card h3 { margin-top: 16px; font-size: 1.1rem; }
.value-card p { margin-top: 8px; font-size: .93rem; }

@media (max-width: 1024px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .mv-grid, .values-grid { grid-template-columns: 1fr; } }

/* ---------- 34. Encabezado con foto más visible (Quiénes somos) ---------- */
.page-hero--light .page-hero-overlay {
  background:
    linear-gradient(100deg, rgba(4, 12, 28, .82) 0%, rgba(9, 30, 62, .55) 38%, rgba(9, 30, 62, .12) 70%, rgba(9, 30, 62, .05) 100%),
    linear-gradient(0deg, rgba(4, 12, 28, .45) 0%, transparent 35%);
}
.page-hero--light .grid-lines { opacity: .35; }
.page-hero--light .aurora { opacity: .35; }
.page-hero--light .page-hero-title, .page-hero--light .page-hero-text { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.page-hero--light .page-hero-text { color: #e2ecf7; }
@media (max-width: 760px) {
  .page-hero--light .page-hero-overlay { background: linear-gradient(180deg, rgba(4, 12, 28, .55), rgba(9, 30, 62, .75)); }
}

/* ---------- 35. Misión y visión con el mismo estilo claro ---------- */
.mv-card { background: linear-gradient(160deg, #ffffff 0%, #f3faff 100%); }
.mv-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 1;
  background: var(--grad-brand);
}
.mv-card::after {
  content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 163, 218, .14), transparent 70%); pointer-events: none;
}
.mv-card p { color: #5b6b84; }
.mv-card::before { opacity: 1; bottom: auto; border-radius: 0; }

/* Franja de marcas: tarjetas que se adaptan al ancho de cada logo */
.marquee-item { width: auto; min-width: 160px; padding: 16px 28px; }
.marquee-item img { width: auto; max-width: 150px; max-height: 40px; }

/* ---------- 36. Servicios: tarjetas horizontales, sutiles y profesionales ---------- */
.service-card {
  flex-direction: row; align-items: stretch; justify-content: flex-start; min-height: 0;
  padding: 14px; border: 1px solid #e6edf5; border-radius: 26px; background: #fff; color: inherit;
  box-shadow: 0 1px 2px rgba(9, 30, 62, .04);
}
.service-card:hover { --lift: -4px; border-color: transparent; box-shadow: 0 22px 50px -26px rgba(9, 30, 62, .28); }
.service-card-media { position: relative; flex: 0 0 40%; min-height: 230px; aspect-ratio: auto; border-radius: 18px; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card-media::after { display: block; background: linear-gradient(200deg, transparent 55%, rgba(9, 30, 62, .3)); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 10px 10px 6px 24px; }
.service-card-head { display: flex; align-items: center; gap: 10px; }
.service-card-icon { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 6px 16px -8px var(--accent-from, var(--cyan)); }
.service-card-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-from, var(--cyan)); }
.service-card h3 { margin-top: 14px; font-size: 1.2rem; color: var(--ink); }
.service-card p { flex: 1; margin-top: 8px; font-size: .92rem; line-height: 1.65; color: #64748b; }
.service-card .link-arrow {
  width: 100%; justify-content: space-between; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid #eef2f7; color: var(--ink);
}
.service-card:hover .link-arrow { color: var(--accent-from, var(--cyan-600)); }

/* Portada: dos columnas */
.services-grid--list { grid-template-columns: 1fr 1fr; gap: 24px; }

/* Páginas de servicio ("Servicios complementarios"): tres columnas, foto arriba */
.services-grid--compact .service-card { flex-direction: column; }
.services-grid--compact .service-card-media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
.services-grid--compact .service-card-body { padding: 20px 8px 6px; }

@media (max-width: 900px) {
  .services-grid--list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .service-card { flex-direction: column; }
  .service-card-media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .service-card-body { padding: 20px 8px 6px; }
}

/* ---------- 37. Páginas de servicio: casos de uso ---------- */
.usecase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usecase {
  position: relative; overflow: hidden; padding: 26px 22px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.usecase::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.usecase:hover { --lift: -6px; box-shadow: var(--shadow-lg); border-color: transparent; }
.usecase:hover::after { transform: scaleX(1); }
.usecase-top { display: flex; align-items: flex-start; justify-content: space-between; }
.usecase-ico {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  box-shadow: 0 10px 22px -10px var(--accent-from); animation: bobT 4.5s ease-in-out infinite; animation-delay: var(--d, 0ms);
}
.usecase-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: #e3ebf4; }
.usecase h3 { margin-top: 18px; font-size: 1.08rem; }
.usecase p { margin-top: 8px; font-size: .93rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 1024px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .usecase-grid { grid-template-columns: 1fr; } }

/* ---------- 38. Entregables sin imagen: introducción + tarjetas ---------- */
.deliverables-v2 { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.deliverables-intro .section-head { margin-bottom: 26px; }
.deliverables-note {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 20px 16px 16px; border-radius: 18px;
  background: var(--bg-tint); border: 1px solid var(--line);
}
.deliverables-note strong { display: block; color: var(--ink); font-size: .95rem; }
.deliverables-note small { display: block; color: var(--muted); font-size: .85rem; }
.deliverables-note-ico {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
}
.deliverable-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.deliverable-card {
  position: relative; overflow: hidden; padding: 24px 22px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: opacity .9s var(--ease), translate .9s var(--ease), transform .45s var(--ease), box-shadow .45s, border-color .4s;
}
.deliverable-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
}
.deliverable-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.deliverable-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.deliverable-card-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); box-shadow: 0 8px 18px -8px var(--accent-from);
}
.deliverable-card-ico .icon { stroke-width: 3; }
.deliverable-card-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; color: #e3ebf4; }
.deliverable-card p { margin-top: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; }
@media (max-width: 1024px) { .deliverables-v2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .deliverable-cards { grid-template-columns: 1fr; } }

/* ---------- 39. Portafolio de servicios: tarjetas compactas en dos columnas ---------- */
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.portfolio-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; background: #fff; border: 1px solid #e6edf5; box-shadow: 0 1px 2px rgba(9, 30, 62, .04);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
}
.portfolio-card:hover { --lift: -6px; border-color: transparent; box-shadow: 0 26px 56px -28px rgba(9, 30, 62, .32); }
.portfolio-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 3;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.portfolio-card:hover::after { transform: scaleX(1); }
.portfolio-media { position: relative; aspect-ratio: 21 / 9; overflow: hidden; background: var(--navy-900); }
.portfolio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.portfolio-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9, 30, 62, .45)); }
.portfolio-card:hover .portfolio-media img { transform: scale(1.06); }
.portfolio-body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 0 26px 22px; }
.portfolio-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-top: -27px; border-radius: 16px; position: relative; z-index: 2;
  color: #fff; background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  box-shadow: 0 0 0 5px #fff, 0 12px 26px -10px var(--accent-from);
  transition: transform .5s var(--ease);
}
.portfolio-card:hover .portfolio-icon { transform: rotate(-6deg) scale(1.06); }
.portfolio-kicker { margin-top: 16px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-from); }
.portfolio-body h2 { margin-top: 6px; font-size: 1.3rem; }
.portfolio-body > p { margin-top: 8px; font-size: .93rem; line-height: 1.65; color: #64748b; }
.portfolio-points { display: grid; gap: 8px; margin: 16px 0 0; }
.portfolio-points li { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; font-weight: 500; color: var(--text); }
.portfolio-points .icon {
  width: 18px; height: 18px; padding: 3px; margin-top: 1px; border-radius: 50%; stroke-width: 3; color: #fff;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
}
.portfolio-link {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px;
  border-top: 1px solid #eef2f7; font-weight: 700; font-size: .92rem; color: var(--ink); transition: color .3s;
}
.portfolio-points + .portfolio-link { margin-top: 20px; }
.portfolio-link .icon { transition: transform .35s var(--ease); }
.portfolio-card:hover .portfolio-link { color: var(--accent-from); }
.portfolio-card:hover .portfolio-link .icon { transform: translateX(5px); }
@media (max-width: 860px) { .portfolio-grid { grid-template-columns: 1fr; } }

/* ---------- 40. Crédito del desarrollador ---------- */
.footer-credit strong { color: #9fb3cf; font-weight: 600; }

/* ---------- 41. "Ingeniería documentada": debajo de la foto y resaltado ---------- */
.about-media .about-badge {
  position: relative; left: auto; bottom: auto; z-index: 2;
  display: flex; width: fit-content; max-width: 100%; margin: 18px auto 0;
  padding: 16px 24px 16px 16px; border-radius: 20px;
  background: linear-gradient(120deg, var(--cyan) 0%, var(--aqua) 100%);
  box-shadow: 0 18px 40px -16px rgba(6, 163, 218, .7);
  animation: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.about-media .about-badge:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -16px rgba(6, 163, 218, .8); }
.about-media .about-badge strong { color: #fff; }
.about-media .about-badge small { color: rgba(255, 255, 255, .9); }
.about-media .about-badge-ico { background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
