/* ═══════════════════════════════════════════════════════════
   HAZE Core — Landing Page Styles
   Tipografía: Inter (UI/body) · Bebas Neue (display) · JetBrains Mono (data)
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  --bg:           #070707;
  --deep:         #0f1010;
  --surface:      #252525;
  --elevated:     #2C2C2C;
  --border:       #343434;
  --text:         #D4D4D4;
  --text-sec:     #9B9B9B;
  --muted:        #6F6F6F;
  --amber:        #e8e8e4;
  --amber-rgba:   rgba(232, 232, 228, 0.07);
  --violet:       #c8c8c8;
  --violet-hover: #ffffff;
  --violet-dim:   rgba(255, 255, 255, 0.07);
  --violet-glow:  rgba(255, 255, 255, 0.03);
  --green:        #9b9b9b;
  --font:         "Inter", "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --mono:         "Inter", "SF Pro Display", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --data:         'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── BACKGROUND LAYERS ───────────────────────────────────── */
.topo-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 35%, rgba(232,232,228,0.015) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* ─── ANNOUNCE BAR ─────────────────────────────────────────── */
.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(232,232,228,0.65);
  white-space: nowrap;
  overflow: hidden;
}
.announce-link {
  color: rgba(232,232,228,0.9);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}
.announce-link:hover { opacity: 0.75; }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 42px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 64px;
  border-bottom: none;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.nav.scrolled {
  background: rgba(15, 16, 16, 0.94);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.nav-brand-boxed {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 14px 8px 10px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s, background 0.2s;
}
.nav-brand-boxed:hover {
  border-color: rgba(196,152,46,0.35);
  background: rgba(196,152,46,0.04);
}
.nav-brand-divider {
  width: 1px;
  height: 28px;
  background: rgba(196,152,46,0.22);
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; justify-content: center; }
.nav-brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
  text-transform: uppercase;
}
.nav-brand-sub {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-sec);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.nav-cta:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.2); transform: translateY(-1px); }

/* ─── NAV DROPDOWN ────────────────────────────────────────── */
.nav-item-dropdown { position: static; }

.nav-dropdown-trigger {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-sec);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  padding: 0;
  font-family: var(--font);
  transition: color 0.18s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] { color: var(--text); }

.nav-dropdown-panel {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 760px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.nav-dropdown-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

.nav-dd-card {
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.nav-dd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px;
  gap: 3px;
}

.nav-dd-module {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}
.nav-dd-module:hover { background: rgba(255,255,255,0.045); }
.nav-dd-module:hover .nav-dd-module-icon { color: #fff; }

.nav-dd-module-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #D3D3D3;
  transition: color 0.2s;
  margin-top: 1px;
}

.nav-dd-module-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-dd-module-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.nav-dd-module-desc {
  font-size: 0.715rem;
  color: var(--muted);
  line-height: 1.4;
}

.nav-dd-footer {
  border-top: 1px solid rgba(52,52,52,0.7);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-dd-footer-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-dd-footer-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-dd-footer-link:hover { color: var(--text); }

/* ─── SERVICIOS DROPDOWN ──────────────────────────────────── */
.nav-svc-panel {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 860px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.nav-svc-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

.nav-svc-card {
  background: rgba(18, 18, 18, 0.98);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}

.nav-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
  gap: 6px;
}

.nav-svc-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 18px 16px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.nav-svc-item:hover {
  background: rgba(255,255,255,0.032);
  border-color: rgba(255,255,255,0.14);
}

.nav-svc-deco {
  position: absolute;
  top: 14px;
  right: 14px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-svc-item:hover .nav-svc-deco { opacity: 1; }

.nav-svc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.nav-svc-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D3D3D3;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.nav-svc-item:hover .nav-svc-icon { color: #fff; background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.nav-svc-item:hover .nav-svc-icon-web { color: #fff; background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.nav-svc-item:hover .nav-svc-icon-ai  { color: #fff; background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }

.nav-svc-badge {
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.nav-svc-badge-core { background: rgba(255,255,255,0.07); color: var(--text-sec); }
.nav-svc-badge-web  { background: rgba(255,255,255,0.07); color: var(--text-sec); }
.nav-svc-badge-ai   { background: rgba(255,255,255,0.07); color: var(--text-sec); }

.nav-svc-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.018em;
  line-height: 1.2;
}

.nav-svc-desc {
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.58;
  flex: 1;
}

.nav-svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.nav-svc-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  color: rgba(155,155,155,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.055);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.nav-svc-arrow {
  position: absolute;
  bottom: 14px;
  right: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.nav-svc-item:hover .nav-svc-arrow { opacity: 1; transform: translateX(0); }

.nav-svc-footer {
  border-top: 1px solid rgba(52,52,52,0.7);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ─── HERO LOGO ANIMATION ─────────────────────────────────── */
.hero-logo-stage {
  position: relative;
  width: min(320px, 52vw);
  aspect-ratio: 1;
  transform: translateY(80px);
  opacity: 0;
  animation: heroLogoRise 1700ms cubic-bezier(.22,.61,.36,1) 350ms forwards;
  will-change: transform, opacity;
  margin-bottom: 52px;
  flex-shrink: 0;
}

.logo-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.logo-base { position: relative; }

.logo-glow {
  opacity: 0;
  pointer-events: none;
  will-change: opacity, filter;
}

.logo-glow-l1 { animation: lineGlow 7.2s ease-in-out 2100ms infinite; }
.logo-glow-l2 { animation: lineGlow 7.2s ease-in-out 3900ms infinite; }
.logo-glow-l3 { animation: lineGlow 7.2s ease-in-out 5700ms infinite; }
.logo-glow-l4 { animation: lineGlow 7.2s ease-in-out 7500ms infinite; }

@keyframes heroLogoRise {
  0%   { transform: translateY(80px); opacity: 0; filter: blur(4px); }
  55%  { opacity: 1; }
  100% { transform: translateY(0);    opacity: 1; filter: blur(0); }
}

@keyframes lineGlow {
  0%        { opacity: 0; filter: drop-shadow(0 0 0 rgba(255,250,235,0)); }
  18%       { opacity: .9; filter: drop-shadow(0 0 10px rgba(255,250,235,.55)) drop-shadow(0 0 22px rgba(255,250,235,.25)); }
  34%       { opacity: .5; filter: drop-shadow(0 0 6px rgba(255,250,235,.30)) drop-shadow(0 0 14px rgba(255,250,235,.12)); }
  55%, 100% { opacity: 0; filter: drop-shadow(0 0 0 rgba(255,250,235,0)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-stage { transform: none; opacity: 1; animation: none; }
  .logo-glow { animation: none; opacity: 0; }
}

/* ─── HERO MORPH TEXT ─────────────────────────────────────── */
.hero-morph-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-morph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: url(#hazeThreshold);
}
.hero-morph__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: "Geist", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
  text-align: center;
  white-space: nowrap;
  will-change: filter, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .hero-morph { filter: none; }
  .hero-morph__text { filter: none !important; opacity: 1 !important; }
  .hero-morph__text:nth-child(2) { display: none; }
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 200px 52px 80px;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 3;
  pointer-events: none;
}

.hero-rings-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 58% 55% at 50% 48%, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 58% 55% at 50% 48%, black 25%, transparent 72%);
}
.hero-rings-bg svg {
  width: min(780px, 95vw);
  height: min(780px, 95vw);
  opacity: 0.13;
}
.hero-violet-glow {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--text-sec);
  text-transform: uppercase;
  margin-bottom: 30px;
  animation: fadeUp 0.65s ease 0.1s both;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.875rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 30px;
  max-width: 600px;
  animation: fadeUp 0.65s ease 0.2s both;
}
.hero-title em {
  font-style: normal;
  color: var(--text-sec);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-sec);
  max-width: 480px;
  line-height: 1.55;
  margin-bottom: 52px;
  animation: fadeUp 0.65s ease 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.65s ease 0.42s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255,255,255,0.07);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  letter-spacing: 0.02em;
  transition: color 0.18s, border-color 0.18s;
}
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }

.hero-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.65s ease 0.7s both;
}
.hero-scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}
.hero-scroll-text {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.11em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ─── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--deep);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 28px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.11em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ─── GENERIC SECTION HELPERS ─────────────────────────────── */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 52px;
}
.section-label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--text-sec);
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 22px;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-sec);
  max-width: 500px;
  line-height: 1.5;
}

/* ─── PILLARS ─────────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 64px;
}
.pillar {
  padding: 44px 38px;
  background: var(--surface);
  transition: background 0.22s;
}
.pillar:hover { background: var(--elevated); }
.pillar-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 26px;
}
.pillar-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pillar-body {
  font-size: 0.9rem;
  color: var(--text-sec);
  line-height: 1.5;
}

/* ─── MODULES ─────────────────────────────────────────────── */
.modules-section {
  background: var(--deep);
  border-top: 1px solid var(--border);
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 58px;
}
.mod-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 26px;
  transition: border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.mod-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: var(--elevated);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0,0,0,0.28);
}
.mod-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  margin-bottom: 20px;
  color: var(--text-sec);
}
.mod-name {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.mod-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}
.mod-card.mod-placeholder { border-style: dashed; opacity: 0.45; }
.mod-card.mod-placeholder .mod-icon { background: transparent; }

/* ─── IMPORT SECTION ──────────────────────────────────────── */
.import-section { border-top: 1px solid var(--border); }
.import-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}
.import-checklist {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 36px;
}
.import-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-sec);
}

.file-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.fm-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.fm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.fm-filename {
  font-family: var(--data);
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-left: 4px;
}
.fm-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--data);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--text-sec);
  background: rgba(255,255,255,0.06);
  padding: 3px 9px;
  border-radius: 4px;
  margin-left: auto;
}
.fm-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-sec);
}
.fm-body { padding: 18px; }
.fm-row {
  display: grid;
  grid-template-columns: 82px 1fr 72px;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(52,52,52,0.5);
}
.fm-row:last-child { border-bottom: none; }
.fm-cell {
  font-family: var(--data);
  font-size: 10px;
  color: var(--text-sec);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fm-row.fm-head .fm-cell {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.fm-cell.accent { color: var(--text); }
.fm-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}
.fm-meta-text {
  font-family: var(--data);
  font-size: 8.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ─── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--deep);
  overflow: hidden;
}
.cta-violet-glow {
  display: none;
}
.cta-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 130px 52px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.cta-sub {
  font-size: 1rem;
  color: var(--text-sec);
  margin-bottom: 52px;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--deep);
}
.footer-top {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 52px 56px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.footer-brand-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.footer-brand-wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--text);
  line-height: 1;
  text-transform: uppercase;
}
.footer-brand-tagline {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 28px;
}
.footer-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.footer-badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--text-sec);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col-links a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col-links a:hover { color: var(--text-sec); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 52px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1px;
  color: var(--muted);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-legal a:hover { color: var(--text-sec); }

/* ─── HERO PREVIEW ───────────────────────────────────────── */
.hero-preview {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1080px;
  align-self: center;
  animation: fadeUp 0.85s ease 0.72s both;
}

.hero-preview::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 360px;
  background: radial-gradient(ellipse at 50% 10%,
    rgba(99,99,138,0.32) 0%,
    rgba(196,152,46,0.06) 45%,
    transparent 72%
  );
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

.hero-preview::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 200px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.10) 0%,
    rgba(255, 255, 255, 0.04) 35%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ─── APP WINDOW MOCKUP ───────────────────────────────────── */
.app-window {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(52,52,52,0.85);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 -12px 80px rgba(99,99,138,0.16),
    0 40px 80px rgba(0, 0, 0, 0.55);
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #0a0a0c;
  border-bottom: 1px solid rgba(52,52,52,0.85);
  flex-shrink: 0;
}

.chrome-dots { display: flex; gap: 5px; flex-shrink: 0; }

.chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.chrome-title {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin: 0 auto;
  text-transform: uppercase;
}

.chrome-version {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--amber);
  padding: 2px 7px;
  background: rgba(196,152,46,0.1);
  border-radius: 3px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.app-layout {
  display: grid;
  grid-template-columns: 172px 1fr;
  height: 356px;
  overflow: hidden;
}

.app-sidebar {
  background: #070707;
  border-right: 1px solid rgba(52,52,52,0.65);
  padding: 14px 0;
  overflow: hidden;
}

.app-sb-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 14px;
  border-bottom: 1px solid rgba(52,52,52,0.5);
  margin-bottom: 8px;
}

.app-sb-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--text);
  line-height: 1;
}

.app-sb-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px;
}

.app-sb-item {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 10px;
  border-radius: 5px;
  text-align: left;
  letter-spacing: 0.01em;
}

.app-sb-active {
  background: rgba(99,99,138,0.16);
  color: var(--text-sec);
}

.app-main {
  background: #0f1010;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-main-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(52,52,52,0.5);
  flex-shrink: 0;
}

.app-main-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.app-main-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-chip {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid rgba(52,52,52,0.9);
  border-radius: 4px;
}

.app-btn-sm {
  font-size: 10px;
  font-weight: 600;
  color: #d4d4d4;
  background: rgba(99,99,138,0.22);
  padding: 4px 10px;
  border-radius: 4px;
}

.app-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(52,52,52,0.35);
  border-bottom: 1px solid rgba(52,52,52,0.5);
  flex-shrink: 0;
}

.app-stat-card {
  background: #0f1010;
  padding: 11px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-stat-n {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
}

.app-stat-l {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

.app-stat-amber { color: var(--amber); }
.app-stat-green { color: #4f9668; }

.app-table { flex: 1; overflow: hidden; }

.app-table-header {
  display: grid;
  grid-template-columns: 76px 1fr 100px 46px 62px;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid rgba(52,52,52,0.4);
}

.app-table-header span {
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: 1.5px;
  color: var(--muted);
  text-transform: uppercase;
}

.app-table-row {
  display: grid;
  grid-template-columns: 76px 1fr 100px 46px 62px;
  gap: 12px;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(52,52,52,0.28);
  align-items: center;
  transition: background 0.12s;
}
.app-table-row:hover { background: rgba(255,255,255,0.02); }

.app-table-row span {
  font-size: 10.5px;
  color: var(--text-sec);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-code {
  font-family: var(--mono) !important;
  font-size: 9.5px !important;
  color: var(--amber) !important;
  letter-spacing: 0.5px;
}

.app-muted-cell { color: var(--muted) !important; }
.app-amber-text { color: var(--amber) !important; }

.app-badge-ok,
.app-badge-low {
  font-family: var(--mono);
  font-size: 8px !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
}

.app-badge-ok  { color: #4f9668; background: rgba(79,150,104,0.13); }
.app-badge-low { color: var(--amber); background: rgba(196,152,46,0.13); }

/* Sequential reveal — each app section appears after the window fades in */
.app-sidebar   { animation: fadeReveal 0.4s ease 1.00s both; }
.app-main-bar  { animation: fadeReveal 0.4s ease 1.10s both; }
.app-stats-row { animation: fadeReveal 0.35s ease 1.20s both; }
.app-table-header { animation: fadeReveal 0.35s ease 1.30s both; }
.app-table .app-table-row:nth-child(1) { animation: fadeReveal 0.3s ease 1.40s both; }
.app-table .app-table-row:nth-child(2) { animation: fadeReveal 0.3s ease 1.50s both; }
.app-table .app-table-row:nth-child(3) { animation: fadeReveal 0.3s ease 1.60s both; }
.app-table .app-table-row:nth-child(4) { animation: fadeReveal 0.3s ease 1.70s both; }

/* ─── SISTEMA — MODULE CARDS ──────────────────────────────── */
.modules-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 56px;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
}
.module-card:hover {
  border-color: rgba(99,99,138,0.42);
  background: var(--elevated);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.24);
}
.module-card:hover .module-card-icon { color: var(--violet); }

.module-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D3D3D3;
  transition: color 0.22s;
}

.module-card-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.module-card-desc {
  font-size: 0.825rem;
  color: var(--text-sec);
  line-height: 1.55;
  flex: 1;
}

.mega-grid-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 14px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.mega-grid-footer-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--muted);
  text-transform: uppercase;
}

.mega-grid-footer-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.15s;
}
.mega-grid-footer-link:hover { color: var(--text); }

/* ─── CONVERSACIONES ──────────────────────────────────────── */
.conv-section { border-top: 1px solid var(--border); }

.conv-mockup {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  margin-top: 56px;
  height: 380px;
}

.conv-thread {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.conv-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.012);
}

.conv-thread-header span:first-child {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-sec);
}

.conv-thread-header span:last-child {
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--muted);
}

.conv-messages {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.conv-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.conv-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--violet-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 700;
  color: var(--text-sec);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.conv-msg-author {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-sec);
  margin-bottom: 4px;
}

.conv-msg-text {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.conv-composer-wrap { padding: 0 12px 12px; }

.conv-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(99,99,138,0.28);
  border-radius: 6px;
  background: rgba(99,99,138,0.04);
}

.conv-composer-text {
  font-size: 10.5px;
  color: var(--text-sec);
  flex: 1;
}

.conv-composer-send {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--violet);
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conv-board {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.conv-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
}

.conv-board-header span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-sec);
}

.conv-board-actions { color: var(--muted); letter-spacing: 2px; }

.conv-board-cards {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow: hidden;
}

.conv-card {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.15s;
}
.conv-card:hover { border-color: rgba(99,99,138,0.35); }
.conv-card.conv-card-dim { opacity: 0.48; }

.conv-card-id {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1px;
  color: var(--amber);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.conv-card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
}

.conv-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.conv-tag {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 2px 7px;
  border: 1px solid rgba(52,52,52,0.9);
  border-radius: 3px;
}
.conv-tag.conv-tag-red {
  color: #BE524B;
  border-color: rgba(190,82,75,0.3);
  background: rgba(190,82,75,0.08);
}

/* ─── SERVICIOS — PROCESS BENTO ──────────────────────────── */
.servicios-section {
  border-top: 1px solid var(--border);
  background: var(--deep);
}

.process-bento {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 56px;
}

/* Base card */
.pb-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.022) 0%, rgba(255,255,255,0) 55%), var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.034);
}
.pb-card:hover {
  border-color: rgba(99,99,138,0.35);
  box-shadow: 0 22px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Hero card — FASE 01 */
.pb-hero-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 400px;
}

/* Visual zone */
.pb-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: hidden;
  background: rgba(0,0,0,0.16);
}
.pb-visual-hero {
  border-right: 1px solid var(--border);
}
.pb-visual-col {
  border-bottom: 1px solid var(--border);
  min-height: 195px;
}

/* Grid background texture */
.pb-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* SVG fills visual zone */
.pb-svg-net,
.pb-svg-blueprint {
  width: 100%;
  height: 100%;
  max-height: 220px;
}

/* Content zone */
.pb-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.pb-content-col {
  padding: 28px 30px;
  gap: 13px;
}
.pb-content-horiz {
  padding: 28px 30px;
  gap: 12px;
  justify-content: flex-start;
}

/* Phase label + chip */
.pb-phase-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pb-phase-num {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.11em;
  color: var(--amber);
  text-transform: uppercase;
}
.pb-chip {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.pb-chip-ongoing {
  color: var(--violet);
  border-color: rgba(99,99,138,0.35);
  background: rgba(99,99,138,0.08);
}

.pb-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.pb-desc {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.55;
  max-width: 400px;
}

.pb-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.pb-list li {
  font-size: 0.825rem;
  color: var(--text-sec);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.pb-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 5px;
  opacity: 0.6;
}

/* Middle row — 2 columns */
.pb-row-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pb-row-mid .pb-card {
  display: flex;
  flex-direction: column;
}

/* Bottom row — 2 columns */
.pb-row-bot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Horizontal card — FASE 04 & 05 */
.pb-card-horiz {
  display: flex;
  align-items: stretch;
}
.pb-horiz-icon {
  flex-shrink: 0;
  width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.14);
  border-right: 1px solid var(--border);
  color: #BCBCBC;
  transition: color 0.25s ease;
}
.pb-card-horiz:hover .pb-horiz-icon { color: var(--violet); }

.pb-horiz-icon-ongoing { color: rgba(99,99,138,0.7); }
.pb-card-horiz:hover .pb-horiz-icon-ongoing { color: var(--violet-hover); }

/* Ongoing card */
.pb-card-ongoing {
  border-color: rgba(99,99,138,0.18);
}
.pb-card-ongoing:hover {
  border-color: rgba(99,99,138,0.52);
}

/* ─── SVG NETWORK ANIMATIONS ──────────────────────────────── */
.pb-dash { animation: pbDash 8s linear infinite; }
.pb-dash-1 { animation-delay: 0s; }
.pb-dash-2 { animation-delay: -2s; }
.pb-dash-3 { animation-delay: -4s; }
.pb-dash-4 { animation-delay: -6s; }

@keyframes pbDash {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -48; }
}

/* Pulsing outer ring on center HAZE node */
.pb-pulse-outer {
  transform-box: fill-box;
  transform-origin: center;
  animation: pbPulseRing 3.2s ease-out infinite;
}
@keyframes pbPulseRing {
  0%   { transform: scale(1);    opacity: 0.4; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ─── BUILD BARS (FASE 03) ────────────────────────────────── */
.pb-build-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 0 6px;
}
.pb-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pb-bar-label {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.5px;
  color: var(--muted);
  width: 88px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.pb-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.055);
  border-radius: 4px;
  overflow: hidden;
}
.pb-bar-fill {
  height: 100%;
  width: var(--fill-w);
  background: var(--fill-c);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pb-bar-pulse { animation: pbBarPulse 2.4s ease-in-out infinite; }
@keyframes pbBarPulse {
  0%, 100% { opacity: 0.65; }
  50%       { opacity: 1; }
}

/* Bars fill when card enters viewport */
.reveal-card.in-view .pb-bar-fill { transform: scaleX(1); }
.pb-bar-row:nth-child(1) .pb-bar-fill { transition-delay: 0.12s; }
.pb-bar-row:nth-child(2) .pb-bar-fill { transition-delay: 0.32s; }
.pb-bar-row:nth-child(3) .pb-bar-fill { transition-delay: 0.52s; }
.pb-bar-row:nth-child(4) .pb-bar-fill { transition-delay: 0.72s; }

.pb-bar-status {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  width: 26px;
  text-align: right;
  flex-shrink: 0;
}
.pb-bar-done { color: var(--green); }
.pb-bar-live {
  color: var(--amber);
  animation: pbLivePulse 1.6s ease-in-out infinite;
}
@keyframes pbLivePulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 1; }
}

.pb-demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 11px;
  border-top: 1px solid rgba(52,52,52,0.55);
}
.pb-demo-badge {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: var(--amber);
  padding: 3px 9px;
  background: rgba(196,152,46,0.07);
  border: 1px solid rgba(196,152,46,0.22);
  border-radius: 4px;
  text-transform: uppercase;
}
.pb-demo-date {
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--muted);
}

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ─── PAGE BREADCRUMB ─────────────────────────────────────── */
.page-breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 108px 48px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.page-back-link:hover { color: var(--text-sec); }
.page-breadcrumb-sep { font-size: 0.8rem; color: var(--muted); opacity: 0.35; }
.page-breadcrumb-current { font-size: 0.8rem; color: var(--text-sec); }
.page-section-top { padding-top: 40px !important; border-top: none !important; }

/* ─── DESARROLLO WEB ──────────────────────────────────────── */
.web-section {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
  border-top: 1px solid rgba(52,52,52,0.55);
}
.web-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.web-header { max-width: 680px; }
.web-sub {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.65;
  max-width: 560px;
}
.web-col-label {
  display: block;
  font-family: var(--data);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.web-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.web-col-text { display: flex; flex-direction: column; gap: 40px; }

/* Deliverables list */
.web-deliver-list { display: flex; flex-direction: column; }
.web-deliver-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(52,52,52,0.6);
}
.web-deliver-list .web-deliver-item:first-child { border-top: 1px solid rgba(52,52,52,0.6); }
.web-deliver-name { font-size: 0.875rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.web-deliver-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }

/* Types */
.web-type-list { display: flex; flex-direction: column; gap: 6px; }
.web-type-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(255,255,255,0.012) 0%, transparent 60%), var(--surface);
  transition: border-color 0.2s;
}
.web-type-item:hover { border-color: rgba(99,99,138,0.28); }
.web-type-name { font-size: 0.83rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.web-type-desc { font-size: 0.77rem; color: var(--muted); line-height: 1.5; }

/* Browser mockup */
.web-col-visual { position: relative; padding-bottom: 28px; }
.web-browser {
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
}
.web-browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--elevated);
  border-bottom: 1px solid var(--border);
}
.web-browser-dots { display: flex; gap: 5px; }
.web-browser-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.web-browser-bar {
  flex: 1;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.055);
  font-family: var(--data);
  font-size: 10px;
  color: var(--muted);
}
.web-mock-hero {
  padding: 28px 24px 24px;
  background: linear-gradient(130deg, rgba(99,99,138,0.1) 0%, rgba(7,7,7,0.8) 55%);
  border-bottom: 1px solid var(--border);
}
.web-mock-bar {
  height: 13px;
  width: 68%;
  border-radius: 6px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 9px;
  animation: webSkeletonPulse 2.2s ease-in-out infinite;
}
.web-mock-bar-short { width: 46%; animation-delay: 0.35s; }
.web-mock-cta-row { display: flex; gap: 10px; margin-top: 18px; }
.web-mock-btn-fill { height: 26px; width: 88px; border-radius: 5px; background: rgba(99,99,138,0.45); }
.web-mock-btn-ghost { height: 26px; width: 76px; border-radius: 5px; border: 1px solid rgba(255,255,255,0.11); }
.web-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.web-mock-card {
  height: 78px;
  background: var(--surface);
  animation: webSkeletonPulse 2.2s ease-in-out infinite;
}
.web-mock-card:nth-child(2) { animation-delay: 0.45s; }
.web-mock-card:nth-child(3) { animation-delay: 0.9s; }
@keyframes webSkeletonPulse {
  0%, 100% { opacity: 0.28; }
  50%       { opacity: 0.65; }
}

/* Floating stats */
.web-stat {
  position: absolute;
  bottom: 0;
  background: rgba(15,16,16,0.94);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.web-stat-left  { left: 0; }
.web-stat-right { right: 0; }
.web-stat-val { font-family: var(--data); font-size: 1.05rem; font-weight: 500; color: var(--amber); letter-spacing: -0.02em; }
.web-stat-label { font-family: var(--data); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* Web process steps */
.web-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 0;
}
.web-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(255,255,255,0.01) 0%, transparent 60%), var(--surface);
  transition: border-color 0.2s;
}
.web-step:hover { border-color: rgba(99,99,138,0.28); }
.web-step-line {
  width: 20px;
  height: 1px;
  background: rgba(52,52,52,0.8);
  flex-shrink: 0;
}
.web-step-num { font-family: var(--data); font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.06em; }
.web-step-name { font-size: 0.875rem; font-weight: 600; color: var(--text); letter-spacing: -0.012em; }
.web-step-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.5; }

/* Shared CTA strip */
.svc-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 32px;
  border-radius: 12px;
  border: 1px solid rgba(52,52,52,0.7);
  background: linear-gradient(130deg, rgba(99,99,138,0.04) 0%, transparent 60%);
}
.svc-cta-text { font-size: 0.975rem; font-weight: 500; color: var(--text-sec); }

/* ─── AUTOMATIZACIONES IA ──────────────────────────────────── */
.ia-section {
  position: relative;
  z-index: 1;
  padding: 100px 0 60px;
  border-top: 1px solid rgba(52,52,52,0.55);
}
.ia-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.ia-header { max-width: 680px; }

/* App cards */
.ia-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ia-app-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 22px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0) 55%), var(--surface);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.034);
  transition: border-color 0.28s, box-shadow 0.28s;
}
.ia-app-card:hover {
  border-color: rgba(99,99,138,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.ia-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(99,99,138,0.08);
  border: 1px solid rgba(99,99,138,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  transition: background 0.2s, border-color 0.2s;
}
.ia-app-card:hover .ia-app-icon { background: rgba(99,99,138,0.14); border-color: rgba(99,99,138,0.32); }
.ia-app-name { font-size: 0.9rem; font-weight: 600; color: var(--text); letter-spacing: -0.014em; }
.ia-app-desc { font-size: 0.79rem; color: var(--muted); line-height: 1.6; flex: 1; }

/* Scan animation (docs card) */
.ia-scan-anim {
  position: relative;
  height: 32px;
  border: 1px solid rgba(99,99,138,0.18);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(99,99,138,0.04);
  margin-top: 4px;
}
.ia-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,99,138,0.7), transparent);
  animation: iaScan 2.4s ease-in-out infinite;
}
@keyframes iaScan { 0% { top: 0; opacity: 1; } 90% { top: 100%; opacity: 0.5; } 100% { top: 100%; opacity: 0; } }

/* Typing dots (chatbot card) */
.ia-dots-anim {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: rgba(99,99,138,0.06);
  border: 1px solid rgba(99,99,138,0.12);
  border-radius: 20px;
  width: fit-content;
  margin-top: 4px;
}
.ia-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
  opacity: 0.35;
  animation: iaDot 1.5s ease-in-out infinite;
}
.ia-dot:nth-child(2) { animation-delay: 0.25s; }
.ia-dot:nth-child(3) { animation-delay: 0.5s; }
@keyframes iaDot { 0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); } 40% { opacity: 0.9; transform: scale(1.1); } }

/* Rising bars (analysis card) */
.ia-bars-anim {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 32px;
  margin-top: 4px;
}
.ia-bar {
  flex: 1;
  height: var(--h);
  border-radius: 2px 2px 0 0;
  background: rgba(99,99,138,0.35);
  animation: iaBarRise 2s ease-out infinite alternate;
}
.ia-bar:nth-child(2) { animation-delay: 0.15s; }
.ia-bar:nth-child(3) { animation-delay: 0.3s; }
.ia-bar:nth-child(4) { animation-delay: 0.45s; }
.ia-bar:nth-child(5) { animation-delay: 0.6s; }
@keyframes iaBarRise { from { opacity: 0.25; } to { opacity: 0.7; } }

/* IA process steps grid */
.ia-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 0;
}
.ia-step {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: linear-gradient(140deg, rgba(255,255,255,0.01) 0%, transparent 60%), var(--surface);
  transition: border-color 0.2s;
}
.ia-step:hover { border-color: rgba(99,99,138,0.28); }
.ia-step-num { font-family: var(--data); font-size: 10px; font-weight: 500; color: var(--violet); opacity: 0.75; letter-spacing: 0.05em; }
.ia-step-name { font-size: 0.875rem; font-weight: 600; color: var(--text); letter-spacing: -0.012em; }
.ia-step-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.55; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-dropdown-panel { display: none; }
  .nav-svc-panel { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-panel { display: block; }
  .hero { padding: 162px 24px 60px; }
  .hero-inner { padding: 0 24px; max-width: none; }
  .hero-preview { display: none; }
  .modules-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .conv-mockup { grid-template-columns: 1fr; height: auto; }
  .conv-board { display: none; }
  .pb-hero-card { grid-template-columns: 1fr; }
  .pb-visual-hero { border-right: none; border-bottom: 1px solid var(--border); min-height: 200px; }
  .pb-svg-net, .pb-svg-blueprint { max-height: 170px; }
  .pb-row-mid, .pb-row-bot { grid-template-columns: 1fr; }
  .pb-card-horiz { flex-direction: column; }
  .pb-horiz-icon { width: 100%; height: 60px; border-right: none; border-bottom: 1px solid var(--border); }
  .section-inner,
  .import-inner,
  .cta-inner { padding-left: 28px; padding-right: 28px; }
  .import-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 48px 24px 36px; gap: 36px; }
  .footer-bottom { padding: 18px 24px; flex-direction: column; gap: 12px; text-align: center; }
  /* Web + IA sections */
  .web-inner, .ia-inner { padding: 0 24px; gap: 40px; }
  .web-body { grid-template-columns: 1fr; gap: 36px; }
  .web-col-visual { display: none; }
  .web-steps { flex-direction: column; gap: 6px; }
  .web-step-line { display: none; }
  .ia-apps { grid-template-columns: 1fr; gap: 8px; }
  .ia-steps { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .svc-cta-row { flex-direction: column; gap: 20px; align-items: flex-start; }
}
@media (max-width: 620px) {
  .hero { padding: 142px 24px 90px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .modules-cards-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 24px 28px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 10px; }
}

/* ─── PROPUESTA DE VALOR ──────────────────────────────────── */
.value {
  position: relative;
  padding: 8rem 5vw 10rem;
  max-width: 1400px;
  margin: 0 auto;
  isolation: isolate;
}
.value__bg {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse 40% 30% at var(--mx, 50%) var(--my, 35%),
    rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
  pointer-events: none;
  z-index: -1;
  transition: background 400ms ease;
}
.value .head {
  text-align: center;
  margin: 0 auto 5rem;
  max-width: 880px;
}
.value .overline {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.value .overline::before, .value .overline::after {
  content: "";
  width: 1.8em; height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.value h2.title {
  margin: 1.4rem 0 1.2rem;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 300;
  color: var(--text);
  font-family: var(--font);
}
.value h2.title em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, #e8e8e4 0%, #e8e8e4 30%, #8a8a8a 50%, #e8e8e4 70%, #e8e8e4 100%);
  background-size: 220% 100%;
  background-position: 100% 50%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: pvShimmer 10s ease-in-out infinite;
}
@keyframes pvShimmer {
  0%, 100% { background-position: 100% 50%; }
  50%       { background-position: 0% 50%; }
}
.value .head__sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 auto;
}
.value .bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.value .card {
  position: relative;
  background: rgba(255,255,255,0.022);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 2.2rem;
  overflow: hidden;
  isolation: isolate;
  transition: background-color 500ms ease, border-color 500ms ease, transform 600ms cubic-bezier(.22,.61,.36,1);
  opacity: 0;
  transform: translateY(28px);
}
.value .card.in { opacity: 1; transform: none; }
.value .card:hover {
  background-color: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.22);
}
.value .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
  transform: translateX(-100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
.value .card:hover::after { opacity: 1; animation: pvCardSweep 1.5s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes pvCardSweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.value .card__label {
  position: absolute;
  top: 1.4rem; right: 1.4rem;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  z-index: 3;
}
.value .card__title {
  margin: 0 0 0.7rem;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}
.value .card__body {
  margin: 0;
  color: var(--text-sec);
  font-size: 14px;
  line-height: 1.65;
  max-width: 42ch;
}
.value .card--a { grid-column: span 2; min-height: 360px; display: flex; flex-direction: column; }
.value .card--b { grid-column: span 4; min-height: 360px; display: flex; flex-direction: column; }
.value .card--c { grid-column: span 6; min-height: 320px; }
.value .card.in:nth-child(1) { transition-delay: 0ms; }
.value .card.in:nth-child(2) { transition-delay: 120ms; }
.value .card.in:nth-child(3) { transition-delay: 240ms; }
.value .card--a .blob {
  position: relative;
  width: 100%;
  aspect-ratio: 254 / 104;
  margin: 1rem 0 1.5rem;
  display: grid;
  place-items: center;
}
.value .card--a .blob__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.value .card--a .blob__outline path {
  fill: rgba(255,255,255,0.08);
  stroke: rgba(255,255,255,0.32);
  stroke-width: 1;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1800ms cubic-bezier(.22,.61,.36,1) 300ms;
}
.value .card--a.in .blob__outline path { stroke-dashoffset: 0; }
.value .card--a .blob__num {
  position: relative;
  font-size: clamp(40px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-shadow: 0 0 24px rgba(255,255,255,0.18);
}
.value .card--a .ticker {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 1.6em;
  text-align: right;
}
.value .card--a .ticks { display: flex; gap: 4px; margin-bottom: auto; }
.value .card--a .ticks span { width: 6px; height: 1px; background: rgba(255,255,255,0.22); }
.value .card--a .ticks span:nth-child(1),
.value .card--a .ticks span:nth-child(2),
.value .card--a .ticks span:nth-child(3) { background: var(--text); }
.value .card--b__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.value .card--b__legend {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.value .card--b__legend i {
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--text);
  vertical-align: middle;
  margin-right: 0.5em;
}
.value .card--b__legend i.dim { background: var(--muted); }
.value .chart { position: relative; flex: 1; width: 100%; margin: 1rem 0 1.2rem; min-height: 130px; }
.value .chart svg { width: 100%; height: 100%; overflow: visible; }
.value .chart__grid line { stroke: rgba(255,255,255,0.06); stroke-width: 1; }
.value .chart__fill {
  fill: url(#pvWhiteFade);
  opacity: 0;
  transition: opacity 900ms ease 800ms;
}
.value .card--b.in .chart__fill { opacity: 1; }
.value .chart__line {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  transition: stroke-dashoffset 2400ms cubic-bezier(.22,.61,.36,1) 300ms;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
}
.value .card--b.in .chart__line { stroke-dashoffset: 0; }
.value .chart__dot {
  r: 4;
  fill: var(--text);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.75));
  opacity: 0;
  transition: opacity 400ms ease 2400ms;
}
.value .card--b.in .chart__dot { opacity: 1; animation: pvDotPulse 2.2s ease-in-out 2700ms infinite; }
@keyframes pvDotPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(255,255,255,.55)); }
  50%       { filter: drop-shadow(0 0 14px rgba(255,255,255,1)); }
}
.value .chart__axis {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.value .card--c { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.value .card--c__text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: space-between;
  padding: 0.4rem 0;
}
.value .icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--text);
}
.value .icon-circle::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.09);
}
.value .icon-circle svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.value .card--c__stats { display: flex; gap: 2rem; margin-top: 0.6rem; }
.value .stat { display: flex; flex-direction: column; gap: 0.25rem; }
.value .stat__num {
  font-family: 'Bebas Neue', var(--font);
  font-style: normal;
  font-size: 42px;
  line-height: 1;
  color: var(--text);
  letter-spacing: 0.04em;
}
.value .stat__lbl {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.value .chat {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(255,255,255,0.04), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0));
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
}
.value .chat::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.09);
  transform: translateX(-50%);
}
.value .msg {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.22,.61,.36,1);
}
.value .card--c.in .msg:nth-child(1) { transition-delay: 600ms;  opacity: 1; transform: none; }
.value .card--c.in .msg:nth-child(2) { transition-delay: 1000ms; opacity: 1; transform: none; }
.value .card--c.in .msg:nth-child(3) { transition-delay: 1400ms; opacity: 1; transform: none; }
.value .card--c.in .msg:nth-child(4) { transition-delay: 1800ms; opacity: 1; transform: none; }
.value .msg--right { justify-content: flex-end; }
.value .msg--left  { justify-content: flex-start; }
.value .bubble {
  font-size: 12.5px;
  padding: 0.55em 0.9em;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(0,0,0,0.5);
}
.value .msg--right .bubble { background: rgba(255,255,255,0.92); color: #070707; border-color: rgba(255,255,255,0.8); }
.value .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  letter-spacing: 0.04em;
  font-weight: 600;
  background: linear-gradient(180deg, #2a2a2e, #1a1a1d);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text);
  box-shadow: 0 0 0 3px var(--bg);
  flex-shrink: 0;
}
.value .avatar--light { background: linear-gradient(180deg, #eaeaea, #c0c0c0); color: #070707; border-color: #fff; }
.value .typing {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding: 0.7em 0.9em;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}
.value .typing i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.4;
  animation: pvTyping 1.4s ease-in-out infinite;
}
.value .typing i:nth-child(2) { animation-delay: 0.18s; }
.value .typing i:nth-child(3) { animation-delay: 0.36s; }
@keyframes pvTyping {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50%       { opacity: 1;    transform: translateY(-2px); }
}
@media (max-width: 980px) {
  .value .bento { grid-template-columns: 1fr; }
  .value .card--a, .value .card--b, .value .card--c { grid-column: span 1; }
  .value .card--c { grid-template-columns: 1fr; }
  .value .chat::before { display: none; }
  .value .card { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .value .card, .value h2.title em, .value .msg, .value .chart__line,
  .value .blob__outline path, .value .chart__fill, .value .chart__dot {
    animation: none !important; transition: none !important;
  }
  .value .card { opacity: 1; transform: none; }
  .value .card--c .msg { opacity: 1; transform: none; }
  .value .chart__line { stroke-dashoffset: 0; }
  .value .chart__fill { opacity: 1; }
  .value .blob__outline path { stroke-dashoffset: 0; }
}

/* ─── CUATRO CAPAS ────────────────────────────────────────── */
:root {
  --capas-line1: #e8e8e4;
  --capas-line2: #b8b4ad;
  --capas-line3: #6e6c67;
  --capas-line4: #3a3936;
}
.capas { position: relative; z-index: 2; border-top: 1px solid var(--border); }
.capas-shell { max-width: 1480px; margin: 0 auto; padding: 0 clamp(24px,5vw,80px); }
.capas-hero {
  position: relative;
  padding: clamp(80px,12vh,160px) 0 clamp(60px,10vh,120px);
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  gap: clamp(40px,6vw,100px);
  align-items: end;
}
.capas-kicker {
  font-family: var(--data); font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 14px; margin-bottom: 36px;
}
.capas-kicker-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(232,232,228,0.6); }
.capas-kicker-rule { flex: 1; height: 1px; background: var(--border); max-width: 120px; }
.capas-h1 {
  font-family: 'Bebas Neue', var(--font); font-weight: 400;
  font-size: clamp(52px,9vw,140px); line-height: 0.92; letter-spacing: -0.005em; color: var(--text);
}
.capas-h1 .capas-h1-line2 {
  display: block;
  background: linear-gradient(90deg, var(--muted) 0%, var(--text) 70%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.capas-intro { font-size: clamp(16px,1.35vw,19px); line-height: 1.6; color: var(--text-sec); max-width: 52ch; }
.capas-intro strong { color: var(--text); font-weight: 500; }

.capas-stage { position: relative; padding: clamp(40px,8vh,120px) 0 clamp(80px,12vh,160px); }
.capas-rail {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 1;
}
.capas-rail-inner { width: clamp(160px,18vw,280px); aspect-ratio: 1; position: relative; }
.capas-rail-inner svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.capas-layers { position: relative; margin-top: -100vh; z-index: 2; }
.capas-layer {
  min-height: 100vh;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(20px,4vw,80px); align-items: center;
  padding: clamp(60px,10vh,120px) 0; position: relative;
}
.capas-layer-left { position: relative; align-self: center; height: 100%; display: flex; align-items: center; }
.capas-num {
  font-family: 'Bebas Neue', var(--font); font-size: clamp(120px,22vw,360px);
  line-height: 0.85; color: rgba(232,232,228,0.04); letter-spacing: -0.02em; user-select: none; pointer-events: none;
}
.capas-layer-right { position: relative; padding: clamp(16px,3vh,40px) 0; }
.capas-meta {
  font-family: var(--data); font-size: 11px; letter-spacing: 0.32em;
  color: var(--muted); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; text-transform: uppercase;
}
.capas-meta-num { color: var(--text); }
.capas-meta-dash { color: var(--border); }
.capas-meta-name { color: var(--amber); letter-spacing: 0.36em; }
.capas-layer-title {
  font-family: 'Bebas Neue', var(--font); font-size: clamp(38px,5.4vw,82px);
  line-height: 1.0; font-weight: 400; color: var(--text); margin-bottom: 28px; max-width: 14ch;
}
.capas-layer-body { font-size: clamp(15px,1.15vw,17px); line-height: 1.65; color: var(--text-sec); max-width: 46ch; margin-bottom: 20px; }
.capas-layer-body + .capas-layer-body { color: var(--text); }
.capas-pulse {
  margin-top: 28px; width: 100%; max-width: 260px; height: 24px;
  opacity: 0; transform: translateY(8px);
  transition: opacity 800ms ease 200ms, transform 800ms ease 200ms;
}
.capas-layer.is-active .capas-pulse { opacity: 1; transform: translateY(0); }
.capas-pulse svg { width: 100%; height: 100%; display: block; overflow: visible; }

.capas-rail .crl {
  fill: none; stroke-linecap: round; stroke-width: 14;
  stroke-dasharray: var(--len,1000); stroke-dashoffset: var(--len,1000);
  transition: stroke-dashoffset 1400ms cubic-bezier(0.22,1,0.36,1), stroke 900ms ease, filter 900ms ease, opacity 900ms ease;
  opacity: 0.18;
}
.capas-rail .crl.drawn { stroke-dashoffset: 0; opacity: 1; }
.capas-rail .crl-01.drawn { stroke: var(--capas-line4); filter: blur(0.4px); }
.capas-rail .crl-02.drawn { stroke: var(--capas-line3); }
.capas-rail .crl-03.drawn { stroke: var(--capas-line2); }
.capas-rail .crl-04.drawn { stroke: var(--capas-line1); filter: drop-shadow(0 0 14px rgba(232,232,228,0.45)); }
.capas-rail .crl.active { filter: drop-shadow(0 0 18px rgba(232,232,228,0.6)) !important; }
.capas-rail .crl-ghost { fill: none; stroke: rgba(232,232,228,0.06); stroke-width: 1; stroke-dasharray: 2 6; }

.capas-pulse .pl {
  fill: none; stroke-linecap: round; stroke-width: 4;
  stroke-dasharray: 600; stroke-dashoffset: 600;
  transition: stroke-dashoffset 1600ms cubic-bezier(0.22,1,0.36,1);
}
.capas-layer.is-active .capas-pulse .pl { stroke-dashoffset: 0; }
.capas-layer[data-layer="01"] .pl { stroke: var(--capas-line4); }
.capas-layer[data-layer="02"] .pl { stroke: var(--capas-line3); }
.capas-layer[data-layer="03"] .pl { stroke: var(--capas-line2); }
.capas-layer[data-layer="04"] .pl { stroke: var(--capas-line1); filter: drop-shadow(0 0 8px rgba(232,232,228,0.5)); }

.capas-layer-haze {
  position: absolute; inset: -10% -20%; pointer-events: none; z-index: -1;
  opacity: 0; transition: opacity 1400ms ease;
  background: radial-gradient(60% 50% at 30% 50%, rgba(232,232,228,0.04), transparent 70%);
  filter: blur(40px);
}
.capas-layer.is-active .capas-layer-haze { opacity: 1; }

.capas-closing { position: relative; padding: clamp(60px,10vh,140px) 0 clamp(80px,12vh,160px); text-align: center; z-index: 2; }
.capas-divider { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--border), transparent); margin: 0 auto; }
.capas-closing-kicker {
  font-family: var(--data); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 40px 0 36px;
}
.capas-closing-title {
  font-family: 'Bebas Neue', var(--font); font-size: clamp(38px,5.6vw,86px);
  line-height: 1.0; max-width: 18ch; margin: 0 auto 24px; color: var(--text);
}
.capas-closing-sub { color: var(--text-sec); max-width: 46ch; margin: 0 auto; font-size: clamp(15px,1.15vw,17px); line-height: 1.65; }
.capas-closing-logo {
  width: clamp(80px,10vw,140px); margin: 56px auto 0;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1200ms ease, transform 1200ms ease;
}
.capas-closing-logo.in { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .capas-hero { grid-template-columns: 1fr; gap: 48px; }
  .capas-layer { grid-template-columns: 1fr; gap: 24px; min-height: auto; padding: 80px 0; }
  .capas-rail { display: none; }
  .capas-layers { margin-top: 0; }
  .capas-num { display: block; }
}
@media (min-width: 981px) { .capas-num { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .capas-rail .crl { stroke-dashoffset: 0 !important; opacity: 1 !important; transition: none !important; }
  .capas-pulse .pl { stroke-dashoffset: 0 !important; transition: none !important; }
  .capas-pulse { opacity: 1 !important; transform: none !important; transition: none !important; }
  .capas-closing-logo { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── SOPORTE CONTINUO (sección standalone) ───────────────── */
.soporte-section { position: relative; padding: clamp(60px,10vh,120px) clamp(24px,5vw,80px); border-top: 1px solid var(--border); }
.soporte-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(32px,5vw,72px); align-items: start;
  border: 1px solid var(--border); border-radius: 16px;
  padding: clamp(36px,5vh,64px); background: rgba(255,255,255,0.01);
}
.soporte-text { display: flex; flex-direction: column; gap: 24px; }
.soporte-label { font-family: var(--data); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.soporte-icon { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-sec); flex-shrink: 0; }
.soporte-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.soporte-h3 { font-family: 'Bebas Neue', var(--font); font-size: clamp(32px,4vw,56px); line-height: 1.0; font-weight: 400; color: var(--text); }
.soporte-body { font-size: clamp(14px,1.1vw,16px); line-height: 1.65; color: var(--text-sec); max-width: 42ch; }
.soporte-stats { display: flex; gap: 32px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.soporte-stat-num { font-family: 'Bebas Neue', var(--font); font-size: 42px; color: var(--text); line-height: 1; display: block; }
.soporte-stat-lbl { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--data); display: block; }
.soporte-chat { display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--deep); border-radius: 12px; border: 1px solid var(--border); }
.soporte-msg { display: flex; align-items: flex-end; gap: 8px; }
.soporte-msg--right { flex-direction: row-reverse; }
.soporte-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--data); font-size: 9px; color: var(--muted); flex-shrink: 0; }
.soporte-avatar--light { background: rgba(232,232,228,0.08); }
.soporte-bubble { padding: 9px 14px; border-radius: 10px; font-size: 13.5px; line-height: 1.45; max-width: 72%; }
.soporte-msg--right .soporte-bubble { background: rgba(232,232,228,0.08); color: var(--text); border-radius: 10px 10px 2px 10px; }
.soporte-msg--left  .soporte-bubble { background: var(--surface); color: var(--text-sec); border-radius: 10px 10px 10px 2px; }
.soporte-typing { display: flex; gap: 4px; align-items: center; padding: 9px 14px; background: var(--surface); border-radius: 10px 10px 10px 2px; }
.soporte-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: sptTyping 1.2s ease-in-out infinite; }
.soporte-typing i:nth-child(2) { animation-delay: 0.2s; }
.soporte-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes sptTyping { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 720px) { .soporte-inner { grid-template-columns: 1fr; } }

/* ─── CINCO FASES — sistemas.html ────────────────────────── */
.fases-section {
  position: relative;
  padding: 9rem clamp(24px,5vw,80px) 10rem;
  max-width: 1440px;
  margin: 0 auto;
  isolation: isolate;
}
.fases-bg {
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(ellipse 60% 35% at var(--mx,50%) 18%, rgba(232,232,228,0.04) 0%, rgba(232,232,228,0) 60%),
    linear-gradient(rgba(232,232,228,0.02) 1px, transparent 1px) 0 0 / 100% 96px,
    linear-gradient(90deg, rgba(232,232,228,0.02) 1px, transparent 1px) 0 0 / 96px 100%;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 85%);
  pointer-events: none;
  z-index: -1;
}
.fases-mark {
  position: absolute;
  top: 8rem; right: 6vw;
  width: 120px; height: 110px;
  opacity: 0.18;
  pointer-events: none;
}
.fases-mark path { fill: none; stroke: rgba(232,232,228,0.5); stroke-width: 3.5; stroke-linecap: round; }
.fases-head { max-width: 720px; position: relative; }
.fases-overline {
  display: inline-flex; align-items: center; gap: 0.8em;
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.fases-overline::before { content: ""; width: 1.6em; height: 1px; background: currentColor; }
.fases-h1 {
  margin: 1.4rem 0 1.6rem;
  font-family: 'Bebas Neue', var(--font);
  font-size: clamp(52px,8vw,110px);
  line-height: 0.95; letter-spacing: 0.02em; font-weight: 400; color: var(--text);
}
.fases-h1 em { font-style: normal; color: var(--text-sec); }
.fases-lede { max-width: 48ch; color: var(--muted); font-size: clamp(15px,1.15vw,17px); line-height: 1.6; margin: 0; }

/* Spine */
.fases-timeline { position: relative; margin-top: 7rem; }
.fases-spine {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent 0, rgba(232,232,228,0.07) 4%, rgba(232,232,228,0.07) 96%, transparent 100%);
}
.fases-spine__lit {
  position: absolute; left: 50%; top: 0;
  transform: translateX(-50%); width: 1px;
  height: var(--progress,0%);
  background: linear-gradient(to bottom, rgba(232,232,228,0) 0%, rgba(232,232,228,0.75) 12%, rgba(232,232,228,0.45) 100%);
  box-shadow: 0 0 12px rgba(232,232,228,0.25);
  transition: height 220ms cubic-bezier(.22,.61,.36,1);
}
.fases-spine__pulse {
  position: absolute; left: 50%; top: var(--progress,0%);
  width: 9px; height: 9px; border-radius: 50%;
  background: #e8e8e4; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 1px rgba(232,232,228,0.4), 0 0 14px 2px rgba(232,232,228,0.35), 0 0 36px 4px rgba(232,232,228,0.12);
  transition: top 220ms cubic-bezier(.22,.61,.36,1);
}
.fases-spine__pulse::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(232,232,228,0.3);
  animation: fasePulseRing 2.4s ease-out infinite;
}
@keyframes fasePulseRing {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}
.fases-spine__cap {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 56px; height: 16px; pointer-events: none;
}
.fases-spine__cap--top { top: -28px; }
.fases-spine__cap--end { bottom: -28px; }
.fases-spine__cap path { fill: none; stroke: rgba(232,232,228,0.3); stroke-width: 2; stroke-linecap: round; }

/* Phase rows */
.fases-phase {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 5rem; align-items: center; padding: 4rem 0;
}
.fases-phase + .fases-phase { padding-top: 3rem; }
.fases-phase__meta { display: flex; flex-direction: column; gap: 1.4rem; }
.fases-phase__num {
  font-family: 'Bebas Neue', var(--font);
  font-size: clamp(96px,11vw,156px); line-height: 0.9; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(232,232,228,0.12); display: inline-block;
  transition: -webkit-text-stroke-color 600ms ease, color 600ms ease;
}
.fases-phase.in .fases-phase__num { color: rgba(232,232,228,0.06); -webkit-text-stroke-color: rgba(232,232,228,0.32); }
.fases-phase__pill {
  display: inline-flex; align-items: center; gap: 0.6em; align-self: flex-start;
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(232,232,228,0.7); padding: 0.7em 1.1em;
  border: 1px solid rgba(232,232,228,0.15); border-radius: 999px; background: rgba(232,232,228,0.03);
}
.fases-phase__pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #e8e8e4; box-shadow: 0 0 6px rgba(232,232,228,0.5); }
.fases-phase__tag { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.fases-phase__card {
  position: relative; padding: 2.2rem 2.4rem;
  background: linear-gradient(180deg, rgba(232,232,228,0.028), rgba(232,232,228,0.005));
  border: 1px solid rgba(232,232,228,0.07); border-radius: 8px;
  transition: transform 500ms cubic-bezier(.22,.61,.36,1), border-color 500ms ease, box-shadow 500ms ease;
}
.fases-phase__card::before {
  content: ""; position: absolute; top: -1px; width: 28px; height: 1px;
  background: rgba(232,232,228,0.4); transition: width 500ms cubic-bezier(.22,.61,.36,1);
}
.fases-phase__card:hover { transform: translateY(-3px); border-color: rgba(232,232,228,0.14); box-shadow: 0 18px 60px -22px rgba(232,232,228,0.1), 0 4px 14px -6px rgba(0,0,0,0.5); }
.fases-phase__card:hover::before { width: 64px; }
.fases-phase__card h2 { font-size: clamp(18px,1.7vw,24px); font-weight: 500; letter-spacing: -0.02em; margin: 0 0 0.9rem; color: var(--text); }
.fases-phase__card p { color: var(--text-sec); font-size: 14.5px; line-height: 1.65; margin: 0 0 1.6rem; }
.fases-phase__card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.fases-phase__card li { position: relative; padding-left: 1.6em; font-size: 13.5px; color: var(--text); }
.fases-phase__card li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 0.95em; height: 1px; background: rgba(232,232,228,0.35); transition: width 400ms ease; }
.fases-phase__card:hover li::before { width: 1.2em; background: rgba(232,232,228,0.7); }

/* Alternation */
.fases-phase--left  .fases-phase__meta { grid-area: 1 / 1; justify-self: end; text-align: right; align-items: flex-end; }
.fases-phase--left  .fases-phase__card { grid-area: 1 / 2; max-width: 540px; }
.fases-phase--left  .fases-phase__card::before { left: 2.4rem; }
.fases-phase--right .fases-phase__meta { grid-area: 1 / 2; justify-self: start; text-align: left; }
.fases-phase--right .fases-phase__card { grid-area: 1 / 1; max-width: 540px; justify-self: end; }
.fases-phase--right .fases-phase__card::before { right: 2.4rem; }

/* Spine node */
.fases-phase__node {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px;
  border-radius: 50%; border: 1px solid rgba(232,232,228,0.18);
  background: var(--bg); transform: translate(-50%,-50%);
  transition: all 700ms cubic-bezier(.22,.61,.36,1); z-index: 2;
}
.fases-phase__node::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: transparent; transition: all 700ms cubic-bezier(.22,.61,.36,1); }
.fases-phase.in .fases-phase__node { border-color: rgba(232,232,228,0.7); box-shadow: 0 0 0 4px rgba(232,232,228,0.04), 0 0 18px rgba(232,232,228,0.25); }
.fases-phase.in .fases-phase__node::after { background: #e8e8e4; box-shadow: 0 0 8px rgba(232,232,228,0.5); }

/* Connector */
.fases-phase__connector { position: absolute; top: 50%; height: 1px; transform: translateY(-50%); z-index: 1; }
.fases-phase--left  .fases-phase__connector { left: 50%; right: auto; width: 0; background: linear-gradient(90deg, rgba(232,232,228,0.4), rgba(232,232,228,0)); transition: width 900ms cubic-bezier(.22,.61,.36,1) 200ms; }
.fases-phase--right .fases-phase__connector { right: 50%; left: auto; width: 0; background: linear-gradient(270deg, rgba(232,232,228,0.4), rgba(232,232,228,0)); transition: width 900ms cubic-bezier(.22,.61,.36,1) 200ms; }
.fases-phase.in .fases-phase__connector { width: 22%; }

/* Reveal */
.fases-phase { opacity: 0; transform: translateY(40px); transition: opacity 900ms cubic-bezier(.22,.61,.36,1), transform 900ms cubic-bezier(.22,.61,.36,1); }
.fases-phase--left  { transform: translate(-24px,40px); }
.fases-phase--right { transform: translate(24px,40px); }
.fases-phase.in { opacity: 1; transform: translate(0,0); }

/* CTA */
.fases-cta-row { margin-top: 6rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.fases-cta-text { color: var(--text-sec); font-size: 1rem; }

/* Responsive */
@media (max-width: 880px) {
  .fases-section { padding: 5rem clamp(20px,5vw,40px) 7rem; }
  .fases-timeline { margin-top: 4rem; }
  .fases-spine, .fases-spine__lit, .fases-spine__pulse, .fases-spine__cap { left: 20px; }
  .fases-phase { grid-template-columns: 1fr; padding-left: 48px; padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .fases-phase__meta,
  .fases-phase--left  .fases-phase__meta,
  .fases-phase--right .fases-phase__meta { grid-area: auto; justify-self: start; text-align: left; align-items: flex-start; margin-bottom: 1.2rem; }
  .fases-phase__card,
  .fases-phase--left  .fases-phase__card,
  .fases-phase--right .fases-phase__card { grid-area: auto; max-width: none; justify-self: stretch; }
  .fases-phase--left  .fases-phase__card::before,
  .fases-phase--right .fases-phase__card::before { left: 2.4rem; right: auto; }
  .fases-phase__node { left: 20px; top: 2.5rem; transform: translate(-50%,0); }
  .fases-phase__connector { display: none; }
  .fases-phase__num { font-size: 88px; }
  .fases-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fases-phase, .fases-phase.in, .fases-phase--left, .fases-phase--right,
  .fases-phase__num, .fases-phase__card, .fases-phase__connector { transition: none !important; }
  .fases-phase { opacity: 1; transform: none !important; }
  .fases-phase.in .fases-phase__connector { width: 22%; }
  .fases-spine__pulse::after { animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   HAZE Solutions — ia.html
   ═══════════════════════════════════════════════════════════ */

.sol-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px 8rem;
  position: relative;
  z-index: 1;
}

.sol-hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 5rem;
}

.sol-hero-overline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 20px;
}

.sol-hero-title {
  font-family: 'Bebas Neue', var(--font);
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 24px;
}

.sol-hero-sub {
  font-size: 1.05rem;
  color: var(--text-sec);
  line-height: 1.65;
  max-width: 520px;
}

.sol-service-block { margin-bottom: 5.5rem; }

.sol-service-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.sol-service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
}

.sol-service-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.sol-service-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 2.5rem;
  align-items: start;
}

.sol-service-h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  text-transform: uppercase;
}

.sol-service-desc {
  font-size: 0.93rem;
  color: var(--text-sec);
  line-height: 1.7;
  padding-top: 4px;
}

.sol-feat-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 2.5rem;
}

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

.sol-feat-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 28px;
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
  position: relative;
  overflow: hidden;
}

.sol-feat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,232,228,0.12), transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.sol-feat-card:hover { border-color: rgba(232,232,228,0.16); background: rgba(255,255,255,0.04); transform: translateY(-2px); }
.sol-feat-card:hover::after { opacity: 1; }

.sol-feat-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232,232,228,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: rgba(232,232,228,0.65);
  flex-shrink: 0;
}

.sol-feat-name { font-size: 0.95rem; font-weight: 600; color: var(--text); display: block; margin-bottom: 10px; letter-spacing: -0.01em; }
.sol-feat-desc { font-size: 0.84rem; color: var(--text-sec); line-height: 1.65; }

.sol-process-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 16px;
}

.sol-process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sol-process-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s, background 0.22s;
}

.sol-process-card:hover { border-color: rgba(232,232,228,0.13); background: rgba(255,255,255,0.035); }

.sol-process-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 88px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232,232,228,0.09);
  position: absolute;
  bottom: 10px;
  right: 18px;
  pointer-events: none;
  user-select: none;
}

.sol-process-step-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 14px;
}

.sol-process-h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.sol-process-desc { font-size: 0.84rem; color: var(--text-sec); line-height: 1.65; }

.sol-cta-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 5rem;
  flex-wrap: wrap;
}

.sol-cta-text { font-size: 1.05rem; font-weight: 600; color: var(--text); flex: 1; min-width: 200px; }

@media (max-width: 900px) {
  .sol-section { padding: 0 24px 6rem; }
  .sol-service-header { grid-template-columns: 1fr; gap: 18px; }
  .sol-feat-grid-2 { grid-template-columns: 1fr; }
  .sol-feat-grid-3 { grid-template-columns: 1fr; }
  .sol-process-grid { grid-template-columns: 1fr; }
  .sol-cta-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ─── CONTACT FORM SECTION ─────────────────────────────────── */
.contact-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  border-top: 1px solid rgba(52,52,52,0.55);
  overflow: hidden;
}
.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact-sub {
  font-size: 1rem;
  color: var(--text);
  opacity: 0.72;
  line-height: 1.65;
  margin-bottom: 32px;
}
.contact-meta { display: flex; flex-direction: column; gap: 14px; }
.contact-meta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.15s;
}
.contact-meta-link:hover { color: var(--text); }

.contact-form {
  background: rgba(255,255,255,0.018);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field--full { grid-column: 1 / -1; }
.cf-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-sec);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.cf-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.88rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.cf-input::placeholder { color: var(--muted); opacity: 0.9; }
.cf-input:focus { border-color: rgba(232,232,228,0.3); background: rgba(0,0,0,0.45); }
.cf-textarea { resize: vertical; min-height: 96px; }
.cf-actions { display: flex; justify-content: flex-end; }
.cf-btn {
  font-size: 0.9rem;
  padding: 13px 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}
.cf-btn:disabled { opacity: 0.55; cursor: not-allowed; }
.cf-success, .cf-error {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 8px;
}
.cf-success { color: #9b9b9b; background: rgba(155,155,155,0.07); border: 1px solid rgba(155,155,155,0.16); }
.cf-error   { color: #b07070; background: rgba(160,80,80,0.07); border: 1px solid rgba(160,80,80,0.18); }

/* ─── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37,211,102,0.55), 0 2px 10px rgba(0,0,0,0.4);
}

/* ─── HAMBURGER + MOBILE NAV ──────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-panel {
  display: none;
  position: fixed;
  top: calc(42px + 64px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 106px);
  overflow-y: auto;
  background: rgba(7, 7, 7, 0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 98;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
.nav-mobile-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  padding: 8px 24px 32px;
}
.nav-mobile-section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono);
  padding: 18px 0 6px;
}
.nav-mobile-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.15s;
}
.nav-mobile-link:hover { color: var(--text); }
.nav-mobile-link--page {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
  border-bottom: none;
  padding: 10px 0;
}
.nav-mobile-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 8px 0;
}
.nav-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 16px;
  transition: background 0.2s, border-color 0.2s;
}
.nav-mobile-cta:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.24); }

/* ─── HAMBURGER OVERRIDE — base display:none se define arriba del 920px block,
   este segundo bloque lo restaura para que el cascade no lo cancele ────── */
@media (max-width: 920px) {
  .nav-hamburger { display: flex; }
  .nav-mobile-panel { display: block; }
}

/* ═══════════════════════════════════════════════════════════
   TABLET — Adaptaciones hasta 768px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 20px; }
  .announce-bar { font-size: 11px; padding: 8px 20px; gap: 8px; }

  /* Hero */
  .hero { padding: 140px 24px 64px; }
  .hero-inner { padding: 0; }
  .hero-kicker { font-size: 11px; }
  .hero-title { font-size: clamp(2.6rem, 9vw, 3.8rem); letter-spacing: -0.03em; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 360px; gap: 10px; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .hero-morph-stage { height: 56px; }
  .hero-morph__text { font-size: clamp(2rem, 7vw, 2.8rem); }

  /* Sections */
  .section-inner { padding-left: 24px; padding-right: 24px; }
  .section-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .section-sub { font-size: 15px; }

  /* Modules */
  .modules-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .module-card { padding: 22px 20px; }

  /* Capas */
  .capas-shell { padding: 0 24px; }
  .capas-hero { padding: 4.5rem 0 2.5rem; }
  .capas-closing-title { font-size: clamp(2rem, 7vw, 2.8rem); }

  /* Value */
  .value { padding: 5rem 24px 6rem; }
  .value .bento { grid-template-columns: 1fr; }
  .value .card--a, .value .card--b, .value .card--c { grid-column: span 1; }

  /* Soporte */
  .soporte-inner { grid-template-columns: 1fr; padding: 28px 24px; }

  /* Import */
  .import-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }

  /* CTA section */
  .cta-inner { padding: 56px 24px; }
  .cta-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .cta-actions { flex-direction: column; width: 100%; max-width: 360px; gap: 10px; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { justify-content: center; }

  /* Contact */
  .contact-section { padding: 72px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 24px; }
  .contact-title { font-size: clamp(2rem, 7vw, 3rem); }
  .cf-grid { grid-template-columns: 1fr; }
  .cf-field--full { grid-column: 1; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; padding: 44px 24px 32px; gap: 32px; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 10px; text-align: center; }
  .footer-brand-col { grid-column: span 2; }

  /* HAZE System (sistemas.html) */
  .fases-section { padding: 5rem 24px 7rem; }
  .fases-h1 { font-size: clamp(2.6rem, 8vw, 3.8rem); }
  .fases-lede { font-size: 15px; }
  .fases-phase { padding-left: 44px; }

  /* Web / IA pages */
  .sol-section { padding: 0 24px 5rem; }
  .sol-hero-title { font-size: clamp(2.8rem, 9vw, 4.4rem); }
  .web-inner, .ia-inner { padding: 0 24px; gap: 40px; }
  .ia-steps { grid-template-columns: 1fr; }
  .svc-cta-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — Overrides adicionales para pantallas ≤ 480px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Nav */
  .nav { padding: 0 16px; height: 56px; }
  .nav-brand-name { display: none; }
  .announce-bar { font-size: 10px; padding: 7px 16px; gap: 6px; }
  .announce-bar > svg { display: none; }
  .announce-link { display: none; }
  .nav-mobile-panel { top: calc(42px + 56px); max-height: calc(100vh - 98px); }

  /* Hero */
  .hero { padding: 120px 16px 60px; }
  .hero-kicker { font-size: 10px; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero-sub { font-size: 14px; }
  .hero-actions { max-width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; font-size: 13px; }
  .hero-morph-stage { height: 36px; margin-top: 20px; }
  .hero-morph__text { font-size: clamp(1.4rem, 7vw, 2rem); }

  /* Sections general */
  .section-inner { padding-left: 16px; padding-right: 16px; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .section-sub { font-size: 14px; }

  /* Modules / bento */
  .module-card { padding: 20px 16px; }

  /* Capas */
  .capas-shell { padding: 0 16px; }
  .capas-hero { padding: 4rem 0 2rem; }
  .capas-closing-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Conversaciones */
  .conv-section .section-inner { padding-left: 16px; padding-right: 16px; }

  /* Process bento */
  .pb-hero-card { grid-template-columns: 1fr; }
  .pb-row-mid, .pb-row-bot { grid-template-columns: 1fr; }

  /* Value */
  .value { padding: 5rem 16px 6rem; }

  /* Soporte */
  .soporte-inner { padding: 24px 16px; }

  /* Import */
  .import-inner { padding: 48px 16px; }

  /* CTA section */
  .cta-inner { padding: 48px 16px; }
  .cta-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .cta-actions { max-width: 100%; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost { width: 100%; }

  /* Contact */
  .contact-section { padding: 56px 0; }
  .contact-inner { padding: 0 16px; gap: 32px; }
  .contact-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; padding: 36px 16px 24px; gap: 28px; }
  .footer-bottom { padding: 14px 16px; gap: 8px; font-size: 11px; }
  .footer-brand-col { grid-column: span 1; }
  .footer-brand-tagline { font-size: 12px; }

  /* WhatsApp float */
  .wa-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }

  /* HAZE System (sistemas.html) */
  .fases-section { padding: 4rem 16px 6rem; }
  .fases-h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .fases-lede { font-size: 14px; }
  .fases-phase { padding-left: 40px; }

  /* Web / IA pages */
  .sol-section { padding: 0 16px 5rem; }
  .sol-hero-title { font-size: clamp(2.6rem, 10vw, 4rem); }
  .web-inner, .ia-inner { padding: 0 16px; }
}

/* ─── FOOTER — links desactivados (spans) ─────────────────── */
.footer-col-links span {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  cursor: default;
}

/* ─── FOOTER LEGAL BUTTONS ────────────────────────────────── */
.footer-legal button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0;
  transition: color 0.18s;
}
.footer-legal button:hover { color: var(--text-sec); }

/* ─── MODAL LEGAL ──────────────────────────────────────────── */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 9100;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  padding: 0;
}
.legal-modal.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}
.legal-modal-box {
  position: relative;
  background: #111213;
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 40px 28px 48px;
  transform: translateY(24px);
  transition: transform 0.25s ease;
}
.legal-modal.open .legal-modal-box { transform: translateY(0); }
.legal-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-sec);
  transition: background 0.15s;
}
.legal-modal-close:hover { background: rgba(255,255,255,0.1); }
.legal-modal-box h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.legal-modal-box .modal-date {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 28px;
  display: block;
  font-family: var(--mono);
  letter-spacing: 0.06em;
}
.legal-modal-box h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 22px;
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.legal-modal-box p {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 10px;
}
.legal-modal-box ul {
  list-style: disc;
  padding-left: 18px;
  margin-bottom: 10px;
}
.legal-modal-box ul li {
  font-size: 0.875rem;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 3px;
}
@media (min-width: 640px) {
  .legal-modal { align-items: center; padding: 24px; }
  .legal-modal-box { border-radius: 16px; max-height: 82vh; }
}

/* Capas layer — bullet list */
.capas-layer-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.capas-layer-list li {
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  padding-left: 14px;
  position: relative;
}
.capas-layer-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  opacity: 0.4;
}
