/* ============================================
   CLOUDINF — Tokens
   ============================================ */
:root {
  --bg: #05060a;
  --bg-soft: #0a0c14;
  --surface: #10121b;
  --surface-2: #151827;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f5fa;
  --text-muted: #9497ad;
  --text-dim: #62647a;

  --cyan: #18d9ff;
  --blue: #4a6dff;
  --violet: #9b3bff;
  --magenta: #ef3bf0;

  --gradient: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 38%, var(--violet) 68%, var(--magenta) 100%);
  --gradient-soft: linear-gradient(135deg, rgba(24, 217, 255, 0.14), rgba(239, 59, 240, 0.14));
  --accent: #7c5cff;

  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;

  --container: 1200px;

  --font-display: "Bricolage Grotesque", "Manrope", sans-serif;
  --font-body: "Manrope", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Un solo lenguaje de movimiento para todo el sitio */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-reveal: 900ms;
}

/* ============================================
   Reset
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

svg { width: 100%; height: 100%; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: rgba(155, 59, 255, 0.45); color: #fff; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 200;
  background: var(--gradient);
  transform-origin: left;
  transform: scaleX(0);
  pointer-events: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 6px var(--cyan); }
  50% { box-shadow: 0 0 14px var(--cyan); }
}

.eyebrow--center { justify-content: center; display: flex; }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
}

.section-title--center { text-align: center; }

.section-lead {
  color: var(--text-muted);
  max-width: 480px;
  margin-top: 14px;
}

.section-lead--center { margin-inline: auto; text-align: center; max-width: 560px; }

.section-head { margin-bottom: 56px; }

/* ============================================
   Buttons
   ============================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

.btn__arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--gradient {
  background: var(--gradient);
  color: #05060a;
}

.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(155, 59, 255, 0.6);
}

/* Brillo que cruza el botón al pasar el mouse */
.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn--shine:hover::after { transform: translateX(120%); }

.btn--outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline:hover {
  border-color: var(--cyan);
  background: rgba(24, 217, 255, 0.06);
  transform: translateY(-2px);
}

.btn--sm { padding: 10px 20px; font-size: 14px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.icon-btn:hover { color: var(--text); border-color: var(--magenta); transform: translateY(-2px); }

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 18px;
  transition: padding var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  padding-block: 12px;
  background: rgba(5, 6, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__actions { display: flex; align-items: center; gap: 12px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand__logo { width: 30px; height: 30px; transition: transform 0.6s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.08); }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a { position: relative; transition: color var(--dur-fast); padding-block: 4px; }

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 120px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(122, 60, 255, 0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 14s ease-in-out infinite alternate;
}

@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-6%, 8%) scale(1.12); }
}

/* Luz que sigue al mouse */
.hero__spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(24, 217, 255, 0.08), transparent 60%);
  transition: opacity var(--dur) var(--ease);
}

/* Grilla de fondo que se desvanece hacia los bordes */
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__title {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin-bottom: 24px;
}

.hero__title .line { display: block; }

/* Entrada palabra por palabra */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40%);
  filter: blur(10px);
  animation: wordIn 1s var(--ease) forwards;
  animation-delay: calc(var(--d) * 80ms + 150ms);
}

@keyframes wordIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}

.intro {
  opacity: 0;
  transform: translateY(18px);
  animation: introIn 1s var(--ease) forwards;
  animation-delay: calc(var(--d) * 80ms + 150ms);
}

.intro--visual { transform: scale(0.92); }

@keyframes introIn {
  to { opacity: 1; transform: none; }
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.orbit-stage {
  position: relative;
  width: min(82vw, 500px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Capas con parallax del mouse (JS escribe --px / --py) */
[data-depth] {
  translate: calc(var(--px, 0) * var(--depth-x, 0px)) calc(var(--py, 0) * var(--depth-y, 0px));
  transition: translate 0.6s var(--ease);
}

.orbit {
  position: relative;
  width: 78%;
  aspect-ratio: 1;
  z-index: 2;
}

.glass-panel {
  position: absolute;
  width: 36%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 3;
  display: flex;
  flex-direction: column;
  animation: floatCard 8s ease-in-out infinite;
}

.glass-panel__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.glass-panel__bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.glass-panel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px;
}

.glass-panel__line {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(24, 217, 255, 0.4), rgba(155, 59, 255, 0.4));
}

.glass-panel__line--short { width: 55%; }

.glass-panel--a {
  --tilt: -6deg;
  --depth-x: -22px;
  --depth-y: -16px;
  top: 4%;
  left: -2%;
}

.glass-panel--b {
  --tilt: 5deg;
  --depth-x: 30px;
  --depth-y: 22px;
  bottom: 6%;
  right: -4%;
  width: 30%;
  animation-delay: 1.6s;
}

.orbit { --depth-x: 10px; --depth-y: 8px; }

@keyframes floatCard {
  0%, 100% { transform: rotate(var(--tilt)) translateY(0); }
  50% { transform: rotate(var(--tilt)) translateY(-14px); }
}

.orbit__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.orbit__ring--outer {
  border: 1px dashed rgba(255, 255, 255, 0.14);
  animation: spin 40s linear infinite;
}

/* Anillo con borde degradé que respeta el círculo */
.orbit__ring--inner {
  inset: 14%;
  background: conic-gradient(from 0deg, var(--cyan), var(--blue), var(--violet), var(--magenta), transparent 75%, var(--cyan));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  opacity: 0.7;
  animation: spin 18s linear infinite;
}

.orbit__dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 18px 2px rgba(24, 217, 255, 0.6);
  top: 50%;
  left: 50%;
  animation: orbit 22s linear infinite;
}

.orbit__dot--b { animation-duration: 32s; animation-direction: reverse; animation-delay: -9s; width: 8px; height: 8px; margin: -4px 0 0 -4px; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(min(32vw, 195px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(min(32vw, 195px)) rotate(-360deg); }
}

.orbit__logo {
  position: absolute;
  inset: 30%;
  width: 40%;
  height: 40%;
  margin: auto;
  filter: drop-shadow(0 0 40px rgba(122, 60, 255, 0.55));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  z-index: 2;
  transition: opacity var(--dur) var(--ease);
}

.scroll-cue__dot {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--gradient);
  animation: scrollcue 1.8s ease-in-out infinite;
}

@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============================================
   Marquee (se mueve con el scroll)
   ============================================ */
.marquee {
  position: relative;
  z-index: 2;
  padding-block: 28px;
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
  overflow: hidden;
  display: grid;
  gap: 6px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__row {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  will-change: transform;
}

.marquee__row i {
  font-style: normal;
  font-size: 0.5em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marquee__row--ghost {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.marquee__row--ghost i { -webkit-text-stroke: 0; }

/* ============================================
   About
   ============================================ */
.about { padding-block: 140px; }

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.browser-mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
  transform: perspective(1200px) rotateY(var(--ry, 8deg)) rotateX(var(--rx, 4deg));
  transition: transform 0.2s linear;
}

.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.browser-mock__bar > span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-strong);
}

.browser-mock__url {
  margin-left: 14px;
  flex: 1;
  max-width: 220px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.browser-mock__screen {
  padding: 28px;
  background: var(--bg-soft);
}

.browser-mock__block {
  height: 14px;
  border-radius: 6px;
  background: var(--gradient-soft);
  margin-bottom: 12px;
  transform-origin: left;
}

.browser-mock__block--wide { width: 80%; }
.browser-mock__block--short { width: 45%; margin-bottom: 28px; }

.browser-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.browser-mock__card {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(24, 217, 255, 0.08), rgba(239, 59, 240, 0.08));
}

.browser-mock__card:nth-child(2) { background: linear-gradient(160deg, rgba(74, 109, 255, 0.1), rgba(155, 59, 255, 0.1)); }
.browser-mock__card:nth-child(3) { background: linear-gradient(160deg, rgba(155, 59, 255, 0.1), rgba(239, 59, 240, 0.1)); }

/* El mock "se arma" cuando entra en pantalla */
.reveal .browser-mock__block,
.reveal .browser-mock__card {
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal .browser-mock__card { transform: translateY(16px) scale(0.9); }

.reveal.is-visible .browser-mock__block,
.reveal.is-visible .browser-mock__card { opacity: 1; transform: none; }

.reveal.is-visible .browser-mock__block--wide { transition-delay: 0.25s; }
.reveal.is-visible .browser-mock__block--short { transition-delay: 0.35s; }
.reveal.is-visible .browser-mock__card:nth-child(1) { transition-delay: 0.45s; }
.reveal.is-visible .browser-mock__card:nth-child(2) { transition-delay: 0.55s; }
.reveal.is-visible .browser-mock__card:nth-child(3) { transition-delay: 0.65s; }

.browser-mock__glow {
  position: absolute;
  width: 60%;
  height: 60%;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.22;
  bottom: -20%;
  left: -10%;
  z-index: -1;
}

.about__text {
  color: var(--text-muted);
  margin: 20px 0 24px;
  max-width: 480px;
}

.checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.checklist li { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.checklist__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-soft);
  border: 1px solid rgba(24, 217, 255, 0.25);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* ============================================
   Services
   ============================================ */
.services { padding-block: 100px; }

.section-head--center { text-align: center; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

/* Spotlight que sigue al mouse dentro de la tarjeta */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(320px circle at var(--cx, 50%) var(--cy, 0%), rgba(124, 92, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

/* Borde que se ilumina en la zona del mouse */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--cx, 50%) var(--cy, 0%), rgba(24, 217, 255, 0.7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}

.card:hover::before, .card:hover::after { opacity: 1; }

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
}

.card__num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gradient-soft);
  border: 1px solid rgba(24, 217, 255, 0.18);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  padding: 11px;
  margin-bottom: 20px;
  transition: transform var(--dur) var(--ease);
}

.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); }

.card--service h3 { font-size: 18px; margin-bottom: 8px; }
.card--service p { color: var(--text-muted); font-size: 14.5px; }

/* ============================================
   Process
   ============================================ */
.process { padding-block: 100px; }

.process__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process__line {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.process__line-fill {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  transform-origin: left;
  transform: scaleX(var(--fill, 0));
}

.process__step { position: relative; padding-top: 36px; }

.process__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.process__step.is-reached .process__dot {
  border-color: var(--cyan);
  background: var(--violet);
  box-shadow: 0 0 0 5px rgba(24, 217, 255, 0.12), 0 0 18px rgba(24, 217, 255, 0.5);
}

.process__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.process__step h3 { font-size: 20px; margin-bottom: 8px; }
.process__step p { color: var(--text-muted); font-size: 14.5px; max-width: 260px; }

/* ============================================
   Contact CTA
   ============================================ */
.contact { padding-block: 120px; }

.contact__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 24px;
  border-radius: 32px;
  background: var(--bg-soft);
}

/* Borde degradé animado */
.contact__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), var(--cyan), var(--blue), var(--violet), var(--magenta), transparent 60%, var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rotateAngle 6s linear infinite;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateAngle {
  to { --angle: 360deg; }
}

.contact__glow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 50% 120%, rgba(122, 60, 255, 0.32), transparent 60%);
  pointer-events: none;
}

.contact__title {
  font-size: clamp(34px, 5.4vw, 64px);
  letter-spacing: -0.035em;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 72px;
  overflow: hidden;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 16px 0 20px;
  max-width: 280px;
}

.footer__socials { display: flex; gap: 10px; }

.footer__socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 9px;
  color: var(--text-muted);
  transition: border-color var(--dur-fast), color var(--dur-fast), transform var(--dur-fast) var(--ease);
}

.footer__socials a:hover { border-color: var(--cyan); color: var(--text); transform: translateY(-2px); }

.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.footer__col a, .footer__col span { color: var(--text-muted); transition: color var(--dur-fast); width: fit-content; }
.footer__col a:hover { color: var(--text); }

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 19vw, 270px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(155, 59, 255, 0.2), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  translate: 0 var(--wy, 30%);
  margin-top: 8px;
}

.footer__bottom {
  position: relative;
  border-top: 1px solid var(--border);
  padding-block: 24px;
  color: var(--text-dim);
  font-size: 13px;
  background: var(--bg);
}

/* ============================================
   Scroll reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease), filter var(--dur-reveal) var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Cuando ya apareció, la tarjeta vuelve a sus transiciones rápidas de hover */
.card.reveal.is-done { transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); transition-delay: 0s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process__line { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .scroll-cue { display: none; }

  .about { padding-block: 90px; }
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .browser-mock { transform: none; }

  .services__grid { grid-template-columns: 1fr; }

  /* Proceso como línea de tiempo vertical */
  .process__list { grid-template-columns: 1fr; row-gap: 32px; padding-left: 32px; }
  .process__line { display: block; top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .process__line-fill { transform-origin: top; transform: scaleY(var(--fill, 0)); }
  .process__step { padding-top: 0; }
  .process__dot { left: -32px; top: 2px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }

  .nav {
    position: fixed;
    top: 64px;
    left: 16px; right: 16px;
    background: rgba(10, 12, 20, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    font-size: 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
}

@media (max-width: 420px) {
  .footer__inner { grid-template-columns: 1fr; }
  .contact__actions .btn { width: 100%; }
}

/* ============================================
   Movimiento reducido
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .intro, .hero__title .word { opacity: 1; transform: none; filter: none; }
  .glass-panel { animation: none; transform: rotate(var(--tilt)); }
  .marquee__row, [data-depth] { transform: none; translate: none; }
}
