@media (hover: hover) and (pointer: fine) {
  * { cursor: none !important; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --dark:    #0F1117;
  --dark-2:  #161820;
  --dark-3:  #1D2030;
  --dark-4:  #252840;
  --gray:    #4A4A52;
  --gray-2:  #9A9A9F;
  --coral:   #BB442A;
  --coral-h: #D04F30;
  --coral-d: #962B18;
  --cr2:     rgba(187,68,42,0.10);
  --cr3:     rgba(187,68,42,0.22);
  --ivory:   #F8F7F4;
  --iv2:     rgba(248,247,244,0.65);
  --iv3:     rgba(248,247,244,0.30);
  --iv4:     rgba(248,247,244,0.10);
  --iv5:     rgba(248,247,244,0.05);
  --border:  rgba(248,247,244,0.07);
  --border2: rgba(248,247,244,0.13);
  --r:       6px;
  --rl:      12px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--ivory);
  overflow-x: hidden;
  line-height: 1.6;
}

img, video { max-width: 100%; height: auto; display: block; }
* { overflow-wrap: break-word; word-break: break-word; }

/* ─── LOGO SVG ─── */
.logo-svg { display: block; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 320;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 68px;
  background: rgba(15,17,23,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--iv3); text-decoration: none; transition: color .2s; letter-spacing:.01em; }
.nav-links a:hover { color: var(--ivory); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--coral); color: var(--ivory);
  font-size: 13px; font-weight: 500; padding: 10px 22px;
  border-radius: var(--r); text-decoration: none;
  transition: background .2s;
}
.nav-cta:hover { background: var(--coral-h); }

/* ─── NAV HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ─── NAV DRAWER ─── */
.nav-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: 280px;
  background: #0F1117;
  border-left: 0.5px solid rgba(255,255,255,0.08);
  z-index: 310;
  display: flex; flex-direction: column;
  padding: 80px 28px 40px;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  font-family: 'Sora', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--ivory); text-decoration: none;
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--coral); }
.nav-drawer .btn-coral {
  font-size: 14px; font-weight: 500;
  margin-top: auto; justify-content: center; text-align: center;
}

/* ─── NAV OVERLAY ─── */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 305;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 140px 60px 80px;
  position: relative; overflow: hidden;
}

/* dot grid */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(248,247,244,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, black 20%, transparent 80%);
}

/* network lines accent */
.hero-net {
  position: absolute; right: 0; top: 0; bottom: 0; width: 50%;
  opacity: .18; pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--cr2); border: 0.5px solid var(--cr3);
  border-radius: 100px; padding: 5px 16px; margin-bottom: 36px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--coral);
}
.hero-eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

.hero-h1 {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 5.5vw, 80px);
  letter-spacing: -0.045em; line-height: .95;
  color: var(--ivory); margin-bottom: 32px;
  white-space: nowrap;
}
.hero-h1 .dim { color: var(--iv3); }
.hero-h1 .accent { color: var(--coral); }

.hero-sub {
  font-size: 17px; font-weight: 300; color: var(--iv2);
  line-height: 1.65; max-width: 500px; margin-bottom: 48px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── HERO ANIMATED SUBTITLE ─── */
.hero-sub-animated {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(18px, 2vw, 28px);
  color: var(--coral);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 24px;
  min-height: 36px;
}

#animated-word {
  display: inline-block;
  border-right: 2px solid var(--coral);
  padding-right: 4px;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: var(--coral); }
  50% { border-color: transparent; }
}

.btn-coral {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--coral); color: var(--ivory);
  font-size: 14px; font-weight: 500; padding: 15px 28px;
  border-radius: var(--r); text-decoration: none;
  transition: background .2s, transform .15s;
}
.btn-coral:hover { background: var(--coral-h); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: var(--iv2);
  font-size: 14px; font-weight: 400; padding: 15px 28px;
  border-radius: var(--r); border: 0.5px solid var(--border2);
  text-decoration: none; transition: all .2s;
}
.btn-ghost:hover { color: var(--ivory); border-color: var(--iv3); }

/* hero stats row */
.hero-stats {
  display: flex; gap: 0; margin-top: 72px;
  border-top: 0.5px solid var(--border);
  padding-top: 36px;
}
.hstat {
  flex: 1; padding-right: 40px; border-right: 0.5px solid var(--border);
  margin-right: 40px;
}
.hstat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hstat-n {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 36px; letter-spacing: -0.04em; line-height: 1;
  color: var(--ivory); margin-bottom: 4px;
}
.hstat-n em { color: var(--coral); font-style: normal; }
.hstat-l { font-size: 11px; color: var(--iv3); font-weight: 300; }

/* ─── SECTION BASE ─── */
section { padding: 100px 60px; border-top: 0.5px solid var(--border); }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--coral); display: block; margin-bottom: 16px;
}
.sh2 {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.04em;
  line-height: 1.02; color: var(--ivory); margin-bottom: 14px;
}
.sh2 em { color: var(--coral); font-style: normal; }
.section-sub { font-size: 15px; font-weight: 300; color: var(--iv2); max-width: 460px; line-height: 1.65; }

/* ─── METRICS STRIP ─── */
.metrics {
  display: flex; border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--dark-2); padding: 0;
}
.metric {
  flex: 1; padding: 40px 0; text-align: center;
  border-right: 0.5px solid var(--border);
  transition: background .2s;
}
.metric:last-child { border-right: none; }
.metric:hover { background: var(--iv5); }
.metric-n {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: 44px; letter-spacing: -0.045em; line-height: 1;
  color: var(--ivory); margin-bottom: 6px;
}
.metric-n em { color: var(--coral); font-style: normal; }
.metric-l { font-size: 11px; color: var(--iv3); font-weight: 300; }

/* ─── LOGOS ─── */
.logos-strip {
  padding: 40px 60px; border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}
.logos-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--iv3); text-align: center; margin-bottom: 28px; }
.logos-row { display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap; }
.logo-item { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: -0.03em; color: var(--iv4); transition: color .2s; }
.logo-item:hover { color: var(--iv3); }

/* ─── CASOS ─── */
.casos-section { padding: 100px 60px; }
.casos-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }

/* Featured caso */
.caso-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--rl); overflow: hidden;
  border: 0.5px solid var(--border2); margin-bottom: 16px;
  cursor: pointer; transition: border-color .25s, box-shadow .25s;
}
.caso-featured:hover { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral), 0 24px 60px rgba(187,68,42,.12); }

.caso-visual {
  min-height: 400px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--dark-3);
}

/* floating mockup */
.fmock {
  width: 82%; border-radius: 10px;
  border: 0.5px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
  box-shadow: 28px 28px 64px rgba(0,0,0,.45);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: perspective(900px) rotateY(-8deg) rotateX(4deg) translateY(-9px); }
}
.fmock-bar {
  padding: 9px 12px; display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05); border-bottom: 0.5px solid rgba(255,255,255,.06);
}
.fmock-dot { width: 7px; height: 7px; border-radius: 50%; }
.fd1{background:#FF5F57;} .fd2{background:#FEBC2E;} .fd3{background:#28C840;}
.fmock-title { flex: 1; text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 8px; color: rgba(255,255,255,.25); letter-spacing: .1em; }
.fmock-body { padding: 14px; }
.fmock-row { display: flex; gap: 7px; margin-bottom: 7px; }
.fcard {
  flex: 1; background: rgba(255,255,255,.05); border: 0.5px solid rgba(255,255,255,.07);
  border-radius: 5px; padding: 9px 10px;
}
.fcard-l { font-family: 'JetBrains Mono', monospace; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.28); margin-bottom: 3px; }
.fcard-v { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 17px; letter-spacing: -0.03em; color: #fff; }
.fcard-v.coral { color: var(--coral); }
.fcard-v.green { color: #1D9E75; }
.fbar-chart { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 8px; }
.fbar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255,255,255,.1); animation: grow .8s ease both; }
.fbar.active { background: var(--coral); }
@keyframes grow { from{transform:scaleY(0);transform-origin:bottom} to{transform:scaleY(1);transform-origin:bottom} }
.flist-item { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 0.5px solid rgba(255,255,255,.05); }
.fav { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.fline { height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); flex: 1; }
.fbadge { font-family: 'JetBrains Mono', monospace; font-size: 7px; padding: 2px 6px; border-radius: 3px; background: rgba(29,158,117,.2); color: #1D9E75; }

.caso-info {
  background: var(--dark-2); padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.caso-tag {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 4px; margin-bottom: 20px; width: fit-content; font-weight: 400;
}
.tag-dev { background: rgba(24,95,165,.1); color: #4A9FE8; border: 0.5px solid rgba(24,95,165,.22); }
.tag-mkt { background: var(--cr2); color: var(--coral); border: 0.5px solid var(--cr3); }
.tag-sys { background: rgba(29,158,117,.1); color: #1D9E75; border: 0.5px solid rgba(29,158,117,.22); }

.caso-nombre { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -0.04em; color: var(--ivory); margin-bottom: 10px; line-height: 1; }
.caso-desc { font-size: 14px; font-weight: 300; color: var(--iv2); line-height: 1.65; margin-bottom: 28px; max-width: 360px; }

.caso-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.tech-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .07em;
  padding: 4px 10px; border-radius: 4px; background: var(--iv5);
  color: var(--iv3); border: 0.5px solid var(--border); text-transform: uppercase;
}

.caso-metrics { display: flex; gap: 28px; padding-top: 24px; border-top: 0.5px solid var(--border); }
.cm-n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.04em; color: var(--coral); line-height: 1; }
.cm-l { font-size: 11px; color: var(--iv3); margin-top: 3px; font-weight: 300; }

.click-hint {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--iv3); display: flex; align-items: center; gap: 6px; margin-top: 20px;
}
.click-hint-arrow { color: var(--coral); }

/* MINI CASOS GRID */
.casos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 14px;
}

.caso-mini {
  background: var(--dark-2); border: 0.5px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  cursor: pointer; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.caso-mini:hover {
  border-color: var(--coral); transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--coral), 0 16px 48px rgba(187,68,42,.1);
}

.mini-visual {
  height: 170px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

/* project-specific bg */
.bg-trama  { background: linear-gradient(135deg, #0f1117 0%, #1a2035 100%); }
.bg-flex   { background: linear-gradient(135deg, #0f1117 0%, #0d1e2e 100%); }
.bg-prop   { background: linear-gradient(135deg, #0f1117 0%, #1a0d26 100%); }
.bg-dom    { background: linear-gradient(135deg, #0f1117 0%, #131f14 100%); }
.bg-circ   { background: linear-gradient(135deg, #0f1117 0%, #221408 100%); }
.bg-cisa   { background: linear-gradient(135deg, #0f1117 0%, #081726 100%); }
.bg-zano   { background: linear-gradient(135deg, #0f1117 0%, #261010 100%); }
.bg-claud  { background: linear-gradient(135deg, #0f1117 0%, #26190a 100%); }

.mini-mock {
  width: 76%; border-radius: 7px;
  border: 0.5px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04); overflow: hidden;
  transform: perspective(600px) rotateY(-5deg) rotateX(2deg);
  box-shadow: 16px 16px 40px rgba(0,0,0,.4);
  animation: floatMini 3.8s ease-in-out infinite;
}
@keyframes floatMini {
  0%,100% { transform: perspective(600px) rotateY(-5deg) rotateX(2deg) translateY(0); }
  50%      { transform: perspective(600px) rotateY(-5deg) rotateX(2deg) translateY(-5px); }
}
.mm-bar { padding: 6px 8px; display: flex; gap: 4px; background: rgba(255,255,255,.04); }
.mm-dot { width: 5px; height: 5px; border-radius: 50%; }
.mm-body { padding: 7px; }
.mm-row { display: flex; gap: 4px; margin-bottom: 4px; }
.mm-block { height: 8px; border-radius: 2px; flex: 1; background: rgba(255,255,255,.08); }
.mm-block.a  { background: var(--coral); opacity: .65; }
.mm-block.g  { background: #1D9E75; opacity: .5; }
.mm-block.b  { background: #185FA5; opacity: .5; }
.mm-block.am { background: #BA7517; opacity: .5; }
.mm-block.sm { flex: 0 0 20px; }
.mm-chart { display: flex; align-items: flex-end; gap: 3px; height: 24px; margin-top: 3px; }
.mm-b { flex: 1; border-radius: 2px 2px 0 0; background: rgba(255,255,255,.1); }
.mm-b.a { background: var(--coral); opacity: .65; }
.mm-tall { height: 16px; }

.mini-info { padding: 18px 20px; }
.mini-tipo { font-family: 'JetBrains Mono', monospace; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; color: var(--iv3); margin-bottom: 6px; }
.mini-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: -0.03em; color: var(--ivory); margin-bottom: 4px; }
.mini-desc { font-size: 12px; color: var(--iv3); font-weight: 300; line-height: 1.5; margin-bottom: 10px; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mt { font-family: 'JetBrains Mono', monospace; font-size: 8px; padding: 3px 7px; border-radius: 3px; background: var(--iv5); color: var(--iv3); border: 0.5px solid var(--border); text-transform: uppercase; letter-spacing: .06em; }

/* ─── SERVICIOS (2 cards) ─── */
.servicios-section { background: var(--dark-2); }

.sv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }

.sv-card {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: var(--rl); padding: 44px 40px;
  position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.sv-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.sv-card:hover::after { transform: scaleX(1); }
.sv-card:hover { border-color: var(--border2); box-shadow: 0 20px 60px rgba(0,0,0,.25); }

.sv-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .15em; color: var(--coral); margin-bottom: 20px; opacity: .7; }
.sv-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.04em; color: var(--ivory); margin-bottom: 8px; line-height: 1.1; }
.sv-sub { font-size: 14px; color: var(--iv2); font-weight: 300; line-height: 1.6; margin-bottom: 32px; max-width: 380px; }

.sv-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.sv-item { display: flex; align-items: flex-start; gap: 11px; font-size: 13px; color: var(--iv2); font-weight: 300; }
.sv-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); flex-shrink: 0; margin-top: 6px; }

.sv-price { padding-top: 24px; border-top: 0.5px solid var(--border); display: flex; align-items: baseline; gap: 12px; }
.sv-price-n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 32px; letter-spacing: -0.04em; color: var(--ivory); }
.sv-price-note { font-size: 12px; color: var(--iv3); font-weight: 300; }

.sv-examples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.sv-ex-tag {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; padding: 4px 10px;
  border-radius: 4px; border: 0.5px solid var(--border);
  color: var(--iv3); text-transform: uppercase; letter-spacing: .07em;
}

/* ─── METODOLOGÍA ─── */
.metodo-section {}
.metodo-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 52px; border: 0.5px solid var(--border); border-radius: var(--rl); overflow: hidden;
}
.metodo-step {
  padding: 36px 28px; border-right: 0.5px solid var(--border);
  transition: background .2s; cursor: default;
}
.metodo-step:last-child { border-right: none; }
.metodo-step:hover { background: var(--iv5); }
.ms-n { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .15em; color: var(--coral); margin-bottom: 18px; }
.ms-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; color: var(--ivory); margin-bottom: 10px; }
.ms-desc { font-size: 13px; color: var(--iv3); font-weight: 300; line-height: 1.6; }

/* ─── CTA ─── */
.cta-section {
  text-align: center; padding: 130px 60px;
  position: relative; overflow: hidden;
  background: var(--dark-2);
}
.cta-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(187,68,42,.13) 0%, transparent 70%);
  left: 50%; top: 50%; transform: translate(-50%,-50%); pointer-events: none;
}
.cta-h {
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -0.045em; line-height: 1;
  color: var(--ivory); margin-bottom: 20px; position: relative; z-index: 2;
}
.cta-h em { color: var(--coral); font-style: normal; }
.cta-sub { font-size: 16px; font-weight: 300; color: var(--iv3); margin-bottom: 48px; position: relative; z-index: 2; max-width:420px; margin-left:auto; margin-right:auto; line-height:1.65; }
.cta-btns { display: flex; gap: 12px; justify-content: center; position: relative; z-index: 2; }

.cta-h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 20px;
  position: relative; z-index: 2;
}
.cta-trama {
  color: var(--coral);
  font-style: italic;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #0a0c10;
  border-top: 0.5px solid rgba(248,247,244,0.07);
  padding: 64px 60px 32px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; }

.footer-tagline {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .06em;
  color: rgba(248,247,244,0.3);
  margin-top: 10px; display: block;
}

.footer-right {
  display: flex; flex-direction: column; gap: 28px;
}

.footer-nav {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: rgba(248,247,244,0.5);
  text-decoration: none; transition: color .2s;
}
.footer-nav a:hover { color: var(--coral); }

.footer-contact {
  display: flex; flex-direction: column; gap: 12px;
}
.footer-contact-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; color: rgba(248,247,244,0.45);
  text-decoration: none; transition: color .2s;
}
.footer-contact-item:hover { color: rgba(248,247,244,0.85); }

.footer-bottom {
  border-top: 0.5px solid rgba(248,247,244,0.05);
  padding-top: 24px; text-align: center;
}
.footer-bottom span {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: rgba(248,247,244,0.2);
}

/* ─── POPUP MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px); z-index: 500;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
  padding: 40px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--dark-2); border: 0.5px solid var(--border2);
  border-radius: var(--rl); max-width: 820px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  transform: translateY(24px) scale(.97);
  transition: transform .35s ease, opacity .35s ease;
  opacity: 0;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }

.modal-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 36px 40px 28px; border-bottom: 0.5px solid var(--border);
}
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--iv5); border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background .2s;
  color: var(--iv3); font-size: 16px; line-height: 1;
}
.modal-close:hover { background: var(--iv4); color: var(--ivory); }

.modal-body { padding: 32px 40px 40px; }

.modal-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 32px; }
.mkpi {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: var(--r); padding: 20px 18px; text-align: center;
}
.mkpi-n { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 28px; letter-spacing: -0.04em; color: var(--coral); line-height: 1; margin-bottom: 4px; }
.mkpi-l { font-size: 11px; color: var(--iv3); font-weight: 300; }

.modal-section-title { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--iv3); margin-bottom: 12px; margin-top: 28px; }
.modal-desc { font-size: 14px; color: var(--iv2); font-weight: 300; line-height: 1.7; }
.modal-pills { display: flex; flex-wrap: wrap; gap: 7px; }
.modal-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; padding: 5px 11px;
  border-radius: 4px; background: var(--iv5); color: var(--iv3);
  border: 0.5px solid var(--border); text-transform: uppercase; letter-spacing: .07em;
}
.modal-highlights { display: flex; flex-direction: column; gap: 8px; }
.mhigh { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--iv2); font-weight: 300; }
.mhigh-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coral); flex-shrink: 0; margin-top: 5px; }

/* ─── BLOG ─── */
.blog-section { padding: 100px 60px; border-top: 0.5px solid var(--border); }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.blog-card {
  background: var(--dark-2); border: 0.5px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  cursor: pointer; transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  border-color: var(--border2); transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}

.blog-img {
  width: 100%; height: 200px; background: var(--dark);
  overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.blog-info { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }

.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.blog-date { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--iv3); }
.blog-read {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em; color: var(--iv3);
  padding-left: 12px; border-left: 0.5px solid var(--border2);
}

.blog-title {
  font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: -0.02em; color: var(--ivory);
  line-height: 1.35; margin-bottom: 16px; flex: 1;
}

.blog-tag {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; width: fit-content;
  background: var(--cr2); color: var(--coral); border: 0.5px solid var(--cr3);
}

/* ─── SCROLL REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }

/* ─── HERO ANIM ─── */
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
.hero-eyebrow { animation: fadeUp .6s ease .1s both; }
.hero-h1      { animation: fadeUp .6s ease .2s both; }
.hero-sub     { animation: fadeUp .6s ease .3s both; }
.hero-btns    { animation: fadeUp .6s ease .4s both; }
.hero-stats   { animation: fadeUp .6s ease .5s both; }

/* ─── HERO TWO-COLUMN LAYOUT ─── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-left { position: relative; overflow: hidden; min-width: 0; }

.hero-layout .hero-content { max-width: none; }

.hero-right {
  position: relative;
  height: 540px;
  border-radius: var(--rl);
  overflow: visible;
  min-width: 0;
  width: 100%;
}

.hero-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border-radius: var(--rl);
  border: 0.5px solid rgba(187,68,42,0.18);
}

@media (max-width: 768px) {
  /* ── nav ── */
  nav { padding: 0 16px; height: 60px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* ── hero ── */
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 20px; }
  .hero-right {
    order: -1;
    height: 280px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    border-radius: 0;
    padding: 0;
  }
  .hero-right::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, #0F1117 100%);
    pointer-events: none;
    z-index: 1;
  }
  .hero-canvas { border-radius: 0; border: none; }
  .hero-layout .hero-content { max-width: 100%; }
  .hero-h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.1; white-space: normal; }
  .hero-sub { font-size: 16px; max-width: 100%; margin-bottom: 32px; }
  .hero-btns { flex-direction: column; gap: 10px; align-items: stretch; }
  .btn-coral, .btn-ghost { width: 100%; justify-content: center; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 16px; margin-top: 36px; padding-top: 20px; }
  .hstat { flex: 0 0 45%; border-right: none; margin-right: 0; padding-right: 0; }
  .hstat-n { font-size: 28px; }

  /* ── sections base ── */
  section { padding: 60px 20px; }
  .logos-strip { padding: 24px 20px; }
  .logos-row { gap: 20px; }

  /* ── metrics strip ── */
  .metrics { flex-wrap: wrap; }
  .metric { flex: 0 0 50%; border-bottom: 0.5px solid var(--border); padding: 24px 0; }
  .metric:nth-child(even) { border-right: none; }
  .metric-n { font-size: 32px; }

  /* ── casos ── */
  .casos-section { padding: 60px 20px; }
  .casos-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-sub { max-width: 100%; }
  .caso-featured { grid-template-columns: 1fr; }
  .caso-visual { min-height: 220px; }
  .caso-info { padding: 28px 20px; }
  .caso-nombre { font-size: 24px; }
  .caso-metrics { flex-wrap: wrap; gap: 16px; }
  .casos-grid { grid-template-columns: 1fr; }
  .mini-visual { height: 160px; }

  /* ── servicios ── */
  .sv-grid { grid-template-columns: 1fr; }
  .sv-card { padding: 28px 20px; }
  .sv-name { white-space: normal; font-size: 24px; }
  .sv-item { font-size: 14px; }
  .sv-sub { max-width: 100%; }

  /* ── metodologia ── */
  .metodo-grid { grid-template-columns: 1fr; }
  .metodo-step { border-right: none; border-bottom: 0.5px solid var(--border); padding: 24px 20px; }
  .metodo-step:last-child { border-bottom: none; }
  .ms-n { font-size: 48px; margin-bottom: 12px; letter-spacing: -0.03em; }

  /* ── blog ── */
  .blog-section { padding: 60px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-img { height: 180px; }
  .blog-title { font-size: 18px; }

  /* ── cta ── */
  .cta-section { padding: 80px 20px; }
  .cta-h { font-size: clamp(28px, 8vw, 40px); }
  .cta-h2 { font-size: clamp(24px, 7vw, 36px); text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; gap: 10px; }
  .cta-btns .btn-coral,
  .cta-btns .btn-ghost { width: 100%; max-width: 340px; justify-content: center; }

  /* ── footer ── */
  .site-footer { padding: 48px 24px 24px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-right { align-items: center; }
  .footer-nav { justify-content: center; flex-direction: column; align-items: center; gap: 16px; }
  .footer-contact { align-items: center; }
  .footer-contact-item { justify-content: center; }

  /* ── modal ── */
  .modal-overlay { padding: 12px; }
  .modal-header { padding: 20px 16px 16px; }
  .modal-body { padding: 16px; }
  .modal-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mkpi-n { font-size: 22px; }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .hero-h1 {
    font-size: clamp(36px, 4vw, 56px);
    white-space: nowrap;
  }
}

/* ── BOTÓN MODAL MARKETING ── */
.btn-ver-incluye {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(248,247,244,0.12);
  background: transparent;
  color: rgba(248,247,244,0.6);
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  width: 100%;
}
.btn-ver-incluye:hover {
  border-color: #BB442A;
  color: #BB442A;
  background: rgba(187,68,42,0.08);
}