/* ============================================================
   ZIPPYTTECH v2 — MOCKUP DESKTOP
   "Editorial Tech Noir"
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-base: #1a1a1f;
  --bg-deep: #0f0f12;
  --bg-card: rgba(15, 15, 18, 0.85);
  --bg-card-solid: #15151a;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-faint: rgba(255, 255, 255, 0.30);

  /* Mega type */
  --text-bg-mega: rgba(255, 255, 255, 0.05);
  --text-bg-accent: rgba(182, 255, 60, 0.18);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-card: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  /* SINGLE accent */
  --lime: #b6ff3c;
  --lime-glow: rgba(182, 255, 60, 0.4);
  --lime-soft: rgba(182, 255, 60, 0.15);

  /* Fonts */
  --font-display: 'Bebas Neue', 'Anton', system-ui, sans-serif;
  --font-headline: 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* ============================================================
   BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--lime);
  color: var(--bg-base);
}

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

ul {
  list-style: none;
}

/* ============================================================
   PRIMITIVES
   ============================================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eyebrow-lime {
  color: var(--lime);
}

.eyebrow-faint {
  color: var(--text-faint);
}

.eyebrow-dark {
  color: rgba(0, 0, 0, 0.7);
}

.eyebrow-section {
  margin-bottom: 16px;
  display: inline-flex;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.pulse-lime {
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

.muted {
  color: var(--text-muted);
}

.muted-sm {
  color: var(--text-muted);
  font-size: 12px;
}

.num-lime {
  color: var(--lime);
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
}

.lime-text {
  color: var(--lime);
}

.glass-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-card);
  border-radius: 14px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
}

.vertical-text-left {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: rotate(180deg) translateY(50%);
  z-index: 5;
}

.section {
  padding: 140px 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: end;
}

.section-head-center {
  text-align: center;
  display: block;
  margin-bottom: 80px;
}

.section-head-center .eyebrow {
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 16px;
}

.section-head-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 12px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.link-more:hover {
  border-bottom-color: var(--lime);
}

/* ============================================================
   MOCKUP JUMPER (dev nav, bottom-left, collapsible)
   Click toggle to expand/collapse. Doesn't block hero composition.
   ============================================================ */

.mockup-jumper {
  position: fixed;
  bottom: 20px;
  left: 60px;
  z-index: 100;
  font-size: 11px;
}

.mockup-jumper-toggle {
  background: rgba(15, 15, 18, 0.92);
  border: 0.5px solid var(--border-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  transition: all 0.2s;
}

.mockup-jumper-toggle:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.mockup-jumper-toggle-icon {
  font-size: 14px;
  line-height: 1;
  color: var(--lime);
}

.mockup-jumper-list {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: rgba(15, 15, 18, 0.92);
  border: 0.5px solid var(--border-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
}

.mockup-jumper.is-open .mockup-jumper-list {
  display: flex;
}

.mockup-jumper-list a {
  display: block;
  padding: 6px 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  border-radius: 6px;
  transition: all 0.15s;
}

.mockup-jumper-list a:hover {
  color: var(--lime);
  background: var(--lime-soft);
}

/* ============================================================
   01 — HERO POSTER
   ============================================================ */

.hero {
  min-height: 100vh;
  position: relative;
  padding: 32px 48px 80px;
  overflow: hidden;
}

.hero-mega {
  position: absolute;
  top: 80px;
  left: 32px;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.82;
  color: var(--text-bg-mega);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.hero-mega span {
  display: block;
  font-size: clamp(120px, 17vw, 260px);
}

.hero-mega-sub {
  font-size: clamp(60px, 8vw, 130px) !important;
  margin-top: -0.05em;
  margin-left: 1.5em;
}

/* Top bar */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 10;
  padding: 8px 0;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.logo-link:hover {
  opacity: 0.85;
}

.logo-mark {
  width: auto;
  height: 38px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* Footer logo slightly larger */
.footer-brand .logo-mark {
  height: 52px;
}

.topbar-nav {
  display: flex;
  gap: 28px;
  justify-self: center;
}

.topbar-nav a {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.15s;
}

.topbar-nav a:hover {
  color: var(--lime);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-self: end;
}

.lang-switch {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.lang-active {
  color: var(--lime);
  font-weight: 700;
}

.lang-sep {
  color: var(--text-faint);
  margin: 0 4px;
}

.lang-inactive {
  color: var(--text-muted);
}

/* Tagline */
.hero-tagline {
  position: absolute;
  top: 100px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  z-index: 5;
}

/* Hero stage */
.hero-stage {
  position: relative;
  height: calc(100vh - 200px);
  min-height: 800px;
  margin-top: 60px;
}

/* Robot stage (center) */
.robot-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 580px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.robot-glow {
  position: absolute;
  inset: -100px;
  background: radial-gradient(circle, var(--lime-soft), transparent 60%);
  z-index: -1;
  opacity: 0.5;
}

.robot-placeholder {
  position: relative;
  width: 180px;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.robot-head {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #2a2a32, #1c1c22);
  border: 0.5px solid var(--border-strong);
  border-radius: 12px;
  position: relative;
  display: grid;
  place-items: center;
}

.robot-visor {
  width: 50px;
  height: 14px;
  background: var(--lime);
  border-radius: 2px;
  box-shadow: 0 0 16px var(--lime-glow);
}

.robot-antenna {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: var(--text-faint);
}

.robot-antenna::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

.robot-neck {
  width: 24px;
  height: 12px;
  background: #1c1c22;
  border: 0.5px solid var(--border-card);
  margin-top: -2px;
}

.robot-torso {
  width: 130px;
  height: 160px;
  background: linear-gradient(180deg, #2a2a32, #1c1c22);
  border: 0.5px solid var(--border-strong);
  border-radius: 14px;
  margin-top: -2px;
  position: relative;
  display: grid;
  place-items: center;
}

.robot-core {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 24px var(--lime-glow), inset 0 0 12px rgba(255,255,255,0.2);
  position: relative;
  z-index: 2;
}

.robot-stripe {
  position: absolute;
  width: 60%;
  height: 2px;
  background: var(--lime);
  opacity: 0.4;
}

.robot-stripe:nth-child(2) {
  top: 30%;
}
.robot-stripe:nth-child(3) {
  bottom: 25%;
}

.robot-arms {
  position: absolute;
  top: 110px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.robot-arm {
  width: 24px;
  height: 130px;
  background: linear-gradient(180deg, #232329, #15151a);
  border: 0.5px solid var(--border-strong);
  border-radius: 10px;
  position: relative;
}

.robot-arm::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 2px;
  background: var(--lime);
  opacity: 0.3;
}

.robot-arm-left {
  margin-left: -12px;
  transform: rotate(-3deg);
}

.robot-arm-right {
  margin-right: -12px;
  transform: rotate(3deg);
}

.robot-arm-pointing {
  transform: rotate(-50deg) translateY(-30px);
  height: 110px;
}

.robot-legs {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.robot-leg {
  width: 36px;
  height: 180px;
  background: linear-gradient(180deg, #232329, #15151a);
  border: 0.5px solid var(--border-strong);
  border-radius: 10px;
  position: relative;
}

.robot-leg::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 2px;
  background: var(--lime);
  opacity: 0.3;
}

.robot-leg-left {
  transform: rotate(-2deg);
}

.robot-leg-right {
  transform: rotate(2deg);
}

.robot-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 14px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.5), transparent 70%);
  border-radius: 50%;
}

.robot-tag {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  white-space: nowrap;
}

/* Hero cards positioning */
.card-creative {
  position: absolute;
  top: 40px;
  left: 24px;
  width: 320px;
  z-index: 4;
}

.card-services {
  position: absolute;
  top: 40px;
  right: 24px;
  width: 240px;
  z-index: 4;
}

/* PROYECTOS: stacked under SERVICIOS in the right column */
.card-products {
  position: absolute;
  top: 280px;
  right: 24px;
  width: 280px;
  z-index: 4;
}

.card-cta-projects {
  position: absolute;
  top: 260px;
  left: 160px;
  width: 220px;
  z-index: 4;
  display: block;
  cursor: pointer;
  transition: all 0.2s;
}

.card-cta-projects:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}

/* CONTACTO card removed in v8 — WhatsApp now occupies its position */

/* Card content */
.card-bio {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 14px;
}

.stats-inline {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 0.5px solid var(--border-card);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}

.stat-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 4px;
}

.card-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}

.card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-faint);
}

.card-list-bullet-lime li::before {
  color: var(--lime);
  font-weight: 700;
}

/* Twoline list — name + small inline description */
.card-list-twoline {
  gap: 10px;
}

.card-list-twoline li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.3;
}

.card-list-twoline .item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-list-twoline .item-desc {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-cta-title {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 14px;
  line-height: 1;
}

.card-cta-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* WhatsApp CTA — solid lime */
.card-whatsapp {
  position: absolute;
  /* Sits directly under PROYECTOS in the right column (where CONTACTO was) */
  top: 660px;
  right: 24px;
  width: 280px;
  z-index: 4;
  background: var(--lime);
  color: var(--bg-base);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 0 0 0 var(--lime-glow);
}

.card-whatsapp:hover {
  box-shadow: 0 0 24px var(--lime-glow);
  transform: translateY(-2px);
}

.card-whatsapp-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.card-whatsapp-text {
  flex: 1;
}

.card-whatsapp-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.card-whatsapp-arrow {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 600;
}

/* Decorative — circle text & arrow */
.circle-text {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.6;
}

.hero-arrow {
  position: absolute;
  top: 220px;
  left: 360px;
  width: 100px;
  height: 70px;
  z-index: 5;
  opacity: 0.85;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  z-index: 5;
}

.scroll-hint-line {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, var(--lime), transparent);
}

/* ============================================================
   02 — LOGO MARQUEE
   ============================================================ */

.marquee-section {
  padding: 60px 0 80px;
  border-top: 0.5px solid var(--border-subtle);
  border-bottom: 0.5px solid var(--border-subtle);
  background: var(--bg-deep);
}

.marquee-track {
  margin-top: 24px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-row {
  display: flex;
  gap: 56px;
  align-items: center;
  white-space: nowrap;
  padding: 8px 48px;
}

.logo-pill {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: color 0.2s;
  font-feature-settings: 'ss01' 1;
}

.logo-pill:hover {
  color: var(--lime);
}

/* ============================================================
   03 — SERVICIOS
   ============================================================ */

.section-services {
  background: var(--bg-base);
}

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

.service-card {
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}

.service-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--lime);
  margin-bottom: 6px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.service-tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 0.5px solid var(--border-card);
  border-radius: 10px;
  color: var(--text-secondary);
}

/* === Featured service card (IA) — subtle lime emphasis === */
.service-card-featured {
  border-color: rgba(182, 255, 60, 0.25);
  background: linear-gradient(180deg, rgba(182, 255, 60, 0.04), var(--bg-card));
}

.service-card-featured .service-icon {
  color: var(--lime);
  filter: drop-shadow(0 0 8px var(--lime-glow));
}

.service-card-featured:hover {
  border-color: var(--lime);
  box-shadow: 0 0 30px rgba(182, 255, 60, 0.08);
}

.service-badge {
  position: absolute;
  top: 18px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 4px 8px;
  border: 0.5px solid rgba(182, 255, 60, 0.3);
  border-radius: 100px;
  background: rgba(182, 255, 60, 0.06);
}

.service-card-featured .service-icon {
  margin-top: 28px;
}

/* === CTA service card (last slot, "¿Necesitas algo distinto?") === */
.service-card-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  background: var(--bg-card-solid);
  border-style: dashed;
  border-color: var(--border-card);
}

.service-card-cta:hover {
  border-color: var(--lime);
  border-style: solid;
  transform: translateY(-3px);
}

.service-cta-content {
  margin-top: 32px;
}

.service-card-cta .service-title {
  color: var(--text-primary);
}

.service-cta-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 0.5px solid var(--border-card);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.service-cta-arrow-icon {
  font-family: var(--font-headline);
  font-size: 24px;
  font-weight: 600;
  transition: transform 0.2s;
}

.service-card-cta:hover .service-cta-arrow-icon {
  transform: translateX(4px);
}

/* ============================================================
   04 — EN DESARROLLO / EN CURSO (timeline activity log)
   ============================================================ */

.section-log {
  background: var(--bg-deep);
  position: relative;
}

/* === Filters === */
.log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 0.5px solid var(--border-card);
}

.log-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 0.5px solid var(--border-card);
  border-radius: 100px;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}

.log-filter:hover {
  border-color: rgba(182, 255, 60, 0.4);
  color: var(--text-primary);
}

.log-filter.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg-base);
  font-weight: 600;
}

.log-filter-count {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.log-filter.is-active .log-filter-count {
  background: rgba(0, 0, 0, 0.15);
  color: var(--bg-base);
}

/* === Timeline === */
.log-timeline {
  display: flex;
  flex-direction: column;
}

.log-item {
  display: grid;
  grid-template-columns: 32px 200px 1fr 130px;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-top: 0.5px solid var(--border-card);
  position: relative;
  transition: background 0.2s;
}

.log-item:last-child {
  border-bottom: 0.5px solid var(--border-card);
}

.log-item:hover {
  background: rgba(182, 255, 60, 0.015);
}

.log-item.is-hidden {
  display: none;
}

/* Rail (vertical line + dot on left) */
.log-item-rail {
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  min-height: 80px;
}

.log-item-rail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border-card);
  transform: translateX(-50%);
}

.log-item:first-child .log-item-rail::before {
  top: 8px;
}

.log-item:last-child .log-item-rail::before {
  bottom: calc(100% - 16px);
}

.log-item-status {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 8px;
  border: 2px solid var(--bg-deep);
  box-sizing: content-box;
}

.status-en-curso {
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime-glow);
  animation: pulse-lime 2s ease-in-out infinite;
}

.status-continuo {
  background: var(--lime);
  box-shadow: 0 0 6px var(--lime-glow);
}

.status-completado {
  background: var(--text-faint);
}

/* Meta column (date + category) */
.log-item-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}

.log-item-date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.05em;
}

.log-item-cat {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 0.5px solid var(--border-card);
  border-radius: 100px;
  width: fit-content;
}

/* Body column (client + title + desc) */
.log-item-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 2px;
}

.log-item-client {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}

.log-item-title {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0;
}

.log-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 580px;
  margin: 0;
}

/* State pill column */
.log-item-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0.5px solid var(--border-card);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  width: fit-content;
  justify-self: end;
  margin-top: 4px;
}

.state-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.state-label {
  white-space: nowrap;
}

/* Footnote */
.log-footnote {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border-card);
  text-align: center;
}

.log-footnote-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

/* Clickable log item (for items with external link) */
.log-item-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.log-item-link:hover {
  background: rgba(182, 255, 60, 0.04);
}

.log-item-link:hover .log-item-title {
  color: var(--lime);
}

.log-item-link:hover .log-item-external {
  transform: translate(2px, -2px);
  opacity: 1;
}

.log-item-external {
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lime);
  opacity: 0.7;
  transition: transform 0.2s, opacity 0.2s;
}

/* ============================================================
   05 — STATS
   ============================================================ */

.section-stats {
  background: var(--bg-base);
  padding: 100px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border-card);
  border-bottom: 0.5px solid var(--border-card);
}

.stat-block {
  padding: 56px 32px;
  text-align: center;
  border-right: 0.5px solid var(--border-card);
  position: relative;
}

.stat-block:last-child {
  border-right: none;
}

.stat-block-num {
  font-family: var(--font-mono);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px var(--lime-glow);
}

.num-suffix {
  color: rgba(182, 255, 60, 0.5);
}

.stat-block-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ============================================================
   06 — PROCESO · NUESTRO MÉTODO (flujo obligatorio del negocio)
   ============================================================ */

.section-process {
  background: #0a0a0d; /* slightly darker than bg-deep for distinction */
  position: relative;
  overflow: hidden;
  border-top: 0.5px solid rgba(182, 255, 60, 0.12);
  border-bottom: 0.5px solid rgba(182, 255, 60, 0.12);
}

/* Subtle grid pattern background to mark this as a "method" section */
.process-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(182, 255, 60, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 60, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  z-index: 0;
}

.section-process > .container {
  position: relative;
  z-index: 1;
}

/* Emphasized eyebrow + title for the "Método" framing */
.eyebrow-emphasized {
  font-size: 12px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border: 0.5px solid rgba(182, 255, 60, 0.3);
  border-radius: 100px;
  background: rgba(182, 255, 60, 0.05);
}

.section-title-emphasized {
  /* Already large but reaffirm */
  font-size: clamp(48px, 6vw, 80px);
}

.text-white {
  color: var(--text-primary);
  font-weight: 600;
}

/* Process track */
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  padding: 32px 24px 32px 0;
  position: relative;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.process-step-line {
  position: absolute;
  top: 18px;
  left: 30px;
  right: -4px;
  height: 1px;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime) 30%, var(--text-faint) 100%);
  opacity: 0.4;
}

.process-step-line::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 6px solid var(--text-faint);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0.6;
}

.process-step-title {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Deliverable card per phase */
.process-step-deliverable {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  margin-right: 24px;
  border: 0.5px solid var(--border-card);
  border-left: 2px solid var(--lime);
  border-radius: 4px;
  background: rgba(182, 255, 60, 0.025);
}

.process-step-deliverable-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--lime);
}

.process-step-deliverable-text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Bottom CTA — closes the method as an invitation */
.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 80px;
  padding: 32px 40px;
  border: 0.5px solid rgba(182, 255, 60, 0.25);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(182, 255, 60, 0.04), rgba(182, 255, 60, 0.01));
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.process-cta:hover {
  border-color: var(--lime);
  background: linear-gradient(90deg, rgba(182, 255, 60, 0.08), rgba(182, 255, 60, 0.02));
  transform: translateY(-2px);
}

.process-cta-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.process-cta-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.process-cta-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.process-cta-arrow {
  font-family: var(--font-headline);
  font-size: 48px;
  font-weight: 600;
  color: var(--lime);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.process-cta:hover .process-cta-arrow {
  transform: translateX(8px);
}

/* ============================================================
   07 — EQUIPO
   ============================================================ */

.section-team {
  background: var(--bg-base);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.team-member {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #1f1f24, #0f0f12);
  border: 0.5px solid var(--border-card);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

/* Real photo — B/N by default, color on hover with smooth transition */
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.team-member:hover .team-photo img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.03);
}

.team-member:hover .team-photo {
  border-color: rgba(182, 255, 60, 0.3);
}

/* Initials placeholder — for team members without photo yet */
.team-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #16161b, #0a0a0d);
}

.team-photo-placeholder::before {
  content: attr(data-initials);
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-faint);
  transition: color 0.3s ease;
}

.team-member:hover .team-photo-placeholder::before {
  color: var(--text-muted);
}

.team-name {
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.team-role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.team-member:hover .team-role {
  color: var(--lime);
}

/* ============================================================
   08 — TECH STACK
   ============================================================ */

.section-stack {
  background: var(--bg-deep);
}

.stack-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  border: 0.5px solid var(--border-card);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.01);
}

.stack-tag {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 600;
  padding: 10px 18px;
  border: 0.5px solid var(--border-card);
  border-radius: 100px;
  color: var(--text-secondary);
  background: var(--bg-card);
  letter-spacing: -0.01em;
  transition: all 0.2s;
  cursor: default;
}

.stack-tag:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.stack-tag-md {
  font-size: 22px;
  padding: 12px 22px;
  color: var(--text-primary);
}

.stack-tag-lg {
  font-size: 28px;
  padding: 14px 28px;
  color: var(--text-primary);
  border-color: rgba(182, 255, 60, 0.35);
  background: rgba(182, 255, 60, 0.04);
  box-shadow: inset 0 0 0 0.5px rgba(182, 255, 60, 0.15), 0 0 24px rgba(182, 255, 60, 0.05);
  position: relative;
}

.stack-tag-lg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

.stack-tag-lg {
  padding-left: 32px;
}

.stack-tag-lg:hover {
  background: rgba(182, 255, 60, 0.08);
  border-color: var(--lime);
}

/* ============================================================
   09 — CTA FINAL
   ============================================================ */

.section-cta {
  background: var(--bg-base);
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
}

.cta-mega {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(160px, 22vw, 360px);
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--text-bg-mega);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

.container-cta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  min-height: 480px;
}

.cta-headline {
  font-family: var(--font-headline);
  font-size: clamp(56px, 7vw, 100px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-top: 24px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 24px;
  max-width: 480px;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: var(--font-body);
  transition: all 0.2s;
  cursor: pointer;
  border: 0;
}

.btn-lime {
  background: var(--lime);
  color: var(--bg-base);
}

.btn-lime:hover {
  box-shadow: 0 0 24px var(--lime-glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 0.5px solid var(--border-card);
  font-family: var(--font-mono);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.cta-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 0.5px solid var(--border-card);
}

.robot-stage-cta {
  position: relative;
  width: 100%;
  height: 480px;
  transform: none;
  left: 0;
  top: 0;
}

.robot-glow-cta {
  inset: -60px;
  opacity: 0.7;
}

/* ============================================================
   10 — FOOTER
   ============================================================ */

.footer {
  background: var(--bg-deep);
  padding: 80px 0 40px;
  border-top: 0.5px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-name {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-brand-tag {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.footer-col a {
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--lime);
}

.footer-mega {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(140px, 22vw, 320px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--text-bg-mega);
  text-align: center;
  user-select: none;
  pointer-events: none;
  margin: 40px 0;
  white-space: nowrap;
  overflow: hidden;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 0.5px solid var(--border-subtle);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   RESPONSIVE GUARDRAILS
   (mockup desktop-first; keep usable down to ~1100px)
   ============================================================ */

@media (max-width: 1200px) {
  .hero-mega span {
    font-size: 14vw;
  }
  .card-creative,
  .card-services,
  .card-products,
  .card-cta-projects,
  .card-whatsapp {
    width: 240px;
  }
  .hero-arrow {
    display: none;
  }
  /* Services: 4 cols → 2 cols on narrower screens */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Process: 5 cols → 2 cols, hide connecting horizontal lines */
  .process-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .process-step-line {
    display: none;
  }
  .process-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }
  .process-cta-arrow {
    align-self: flex-end;
    font-size: 36px;
  }
  /* Log timeline: meta column shrinks, state pill goes below */
  .log-item {
    grid-template-columns: 32px 160px 1fr;
    gap: 16px;
  }
  .log-item-state {
    grid-column: 2 / 4;
    justify-self: start;
    margin-top: 8px;
  }
  .log-filters {
    gap: 6px;
  }
  .log-filter {
    font-size: 11px;
    padding: 6px 12px;
  }
}

@media (max-width: 980px) {
  body::after {
    content: '⚠ Este mockup está optimizado para desktop (≥1100px). El mockup mobile vendrá en una segunda iteración.';
    position: fixed;
    bottom: 16px;
    left: 16px;
    background: var(--lime);
    color: var(--bg-base);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    z-index: 100;
    max-width: 320px;
  }
}
