/* ============================================
   LABURO — Identidad visual
   Verde profundo · Lima eléctrico · Instrument Sans
   ============================================ */

:root {
  --ink: #032112;
  --ink-2: #052a18;
  --ink-3: #0a3a23;
  --ink-4: #0e4a2c;
  --lime: #C4FB2B;
  --lime-soft: rgba(196, 251, 43, 0.12);
  --yellow: #F9FF31;
  --bone: #EFEFE7;
  --bone-mute: #a8b8ad;
  --grid: rgba(196, 251, 43, 0.08);
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: 'Instrument Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

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

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

button { font-family: inherit; cursor: pointer; }

img { max-width: 100%; }

/* ================ Type scale ================ */

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--lime);
  display: inline-block;
}

.display {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-wrap: balance;
  font-size: clamp(44px, 7.5vw, 116px);
  margin: 0;
}

.h1 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(36px, 5.4vw, 78px);
  text-wrap: balance;
  margin: 0;
}

.h2 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  font-size: clamp(28px, 3.6vw, 48px);
  text-wrap: balance;
}

.body-l {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.5;
  color: var(--bone);
  margin: 0;
}

.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* ================ Layout helpers ================ */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(80px, 11vw, 160px);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--bone-mute);
  padding-top: 14px;
}

@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-head .num { padding-top: 0; }
}

/* ================ Logo mark ================ */

.logo-mark {
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: 26px;
  height: 26px;
}
.logo-mark span {
  border-radius: 2px;
  background: var(--lime);
  transition: transform 220ms ease, background 220ms ease;
}
.logo-mark .d { background: var(--bone); }

/* logo hover animation removed by request */

.logo-text {
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 26px;
  color: var(--bone);
}

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

/* ================ Buttons ================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--lime);
  color: var(--ink);
}
.btn.primary:hover { background: var(--yellow); box-shadow: 0 8px 24px -8px rgba(196, 251, 43, 0.6); }

.btn.yellow {
  background: var(--yellow);
  color: var(--ink);
}
.btn.yellow:hover { background: var(--lime); }

.btn.yellow-outline {
  background: transparent;
  color: var(--yellow);
  border: 1px solid var(--yellow);
}
.btn.yellow-outline:hover { background: var(--yellow); color: var(--ink); }

.btn.ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--ink-3);
}
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  transition: transform 200ms ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ================ Grid background ================ */

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

/* ================ Nav ================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 33, 18, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}
.nav.scrolled {
  border-bottom-color: var(--ink-3);
  background: rgba(3, 33, 18, 0.88);
}

.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav ul a {
  font-size: 14px;
  font-weight: 500;
  color: var(--bone-mute);
  transition: color 150ms ease;
  position: relative;
}
.nav ul a:hover { color: var(--bone); }
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.nav ul a:hover::after { transform: scaleX(1); }

.nav ul a .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--lime);
  margin-right: 6px;
  opacity: 0.8;
}

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

@media (max-width: 900px) {
  .nav ul { display: none; }
}

/* ================ Hero ================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1000px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: flex; justify-content: center; }
}

.hero-grow {
  color: var(--lime);
  font-style: italic;
  font-weight: 700;
}

.hero-lede {
  margin: 28px 0 0;
  max-width: 520px;
  color: var(--bone-mute);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-3);
}
.hero-stat .n {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--bone-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Ticker bottom of hero */
.ticker {
  border-top: 1px solid var(--ink-3);
  border-bottom: 1px solid var(--ink-3);
  overflow: hidden;
  background: var(--ink);
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
}
.ticker-track {
  display: flex;
  gap: 56px;
  padding: 14px 0;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker-item {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.ticker-item .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================ LABURO MATRIX (hero visual) ================ */

.lmatrix {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--ink-3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(196, 251, 43, 0.06), transparent 60%),
    var(--ink-2);
}

.lmatrix-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.lmatrix-brand { display: flex; align-items: baseline; gap: 10px; }
.lmatrix-wordmark {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--bone);
  line-height: 1;
}
.lmatrix-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--bone-mute);
  text-transform: uppercase;
}
.lmatrix-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--bone-mute);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lmatrix-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lime);
  position: relative;
}
.lmatrix-status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: pulse-out 2s ease-out infinite;
}

.lmatrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  aspect-ratio: 1 / 1;
  position: relative;
}

.lmatrix-cell {
  position: relative;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--ink);
  cursor: pointer;
  font-family: inherit;
  color: var(--bone);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  overflow: hidden;
  transition:
    background 260ms ease,
    border-color 260ms ease,
    transform 260ms ease,
    box-shadow 260ms ease;
}

.lmatrix-cell.lime {
  background: var(--lime);
  color: var(--ink);
}
.lmatrix-cell.dark {
  background: rgba(3, 33, 18, 0.6);
  border-color: var(--ink-3);
}

/* Random pulse animation */
.lmatrix-cell.pulse.dark {
  background: rgba(196, 251, 43, 0.08);
  border-color: var(--lime);
}
.lmatrix-cell.pulse.lime {
  background: var(--yellow);
  transform: scale(0.97);
}

/* Hover/focus state — CSS driven for instant feedback */
.lmatrix-cell:hover,
.lmatrix-cell:focus-visible,
.lmatrix-cell.active {
  transform: scale(1.05);
  z-index: 3;
  box-shadow: 0 8px 22px -8px rgba(0,0,0,0.55), 0 0 0 1px var(--lime);
}
.lmatrix-cell.dark:hover,
.lmatrix-cell.dark:focus-visible,
.lmatrix-cell.active.dark {
  background: var(--ink-2);
  border-color: var(--lime);
}
.lmatrix-cell.lime:hover,
.lmatrix-cell.lime:focus-visible,
.lmatrix-cell.active.lime {
  background: var(--yellow);
}
.lmatrix-cell:focus-visible { outline: none; }

.lmatrix-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  opacity: 0.85;
  position: absolute;
  top: 8px;
  left: 10px;
  font-weight: 500;
}
.lmatrix-cell.dark .lmatrix-num { color: var(--lime); }
.lmatrix-cell.lime .lmatrix-num { color: var(--ink); }

.lmatrix-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 240ms ease, transform 240ms ease;
}
.lmatrix-cell:hover .lmatrix-label,
.lmatrix-cell:focus-visible .lmatrix-label,
.lmatrix-cell.active .lmatrix-label {
  opacity: 1;
  transform: none;
}
.lmatrix-label-t {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}
.lmatrix-label-s {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 200ms ease 60ms, transform 200ms ease 60ms;
  line-height: 1.2;
}
.lmatrix-cell:hover .lmatrix-label-s,
.lmatrix-cell:focus-visible .lmatrix-label-s,
.lmatrix-cell.active .lmatrix-label-s {
  opacity: 0.7;
  transform: none;
}

.lmatrix-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--bone-mute);
  text-transform: uppercase;
  padding-top: 4px;
  border-top: 1px solid var(--ink-3);
}
.lmatrix-caption-val {
  color: var(--lime);
  font-weight: 500;
  transition: color 200ms ease;
}

@keyframes ping {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@media (max-width: 600px) {
  .lmatrix { max-width: 320px; padding: 18px; }
  .lmatrix-wordmark { font-size: 22px; }
}

/* ================ Vision ================ */

.vision {
  background: var(--ink-2);
  overflow: hidden;
}
.vision .grid-bg {
  mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 20%, transparent 75%);
}
.vision-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) {
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
}

.vision-title {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.9;
  font-size: clamp(52px, 7vw, 104px);
  margin: 20px 0 0;
}
.vision-lede {
  margin: 28px 0 0;
  max-width: 440px;
  color: var(--bone-mute);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.vision-cards {
  display: grid;
  gap: 16px;
}
.vision-card {
  border: 1px solid var(--ink-3);
  border-radius: 12px;
  padding: 32px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  transition: border-color 240ms ease, transform 240ms ease;
}
.vision-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(196, 251, 43, 0.08), transparent 55%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.vision-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.vision-card:hover::before { opacity: 1; }
.vision-card:hover h3 { color: var(--lime); }

.vision-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.vision-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--lime);
  border-radius: 6px;
  padding: 3px 8px;
}
.vision-card h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  transition: color 220ms ease;
}
.vision-card p {
  font-size: 15px;
  color: var(--bone-mute);
  line-height: 1.55;
  margin: 0;
}

/* ================ Pillars ================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-3);
  border: 1px solid var(--ink-3);
  border-radius: 6px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  background: var(--ink);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  position: relative;
  transition: background 250ms ease;
  cursor: default;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(196, 251, 43, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.pillar:hover { background: var(--ink-2); }
.pillar:hover::before { opacity: 1; }
.pillar:hover h3 { color: var(--lime); }
.pillar:hover .pillar-arrow { transform: translate(4px, -4px); color: var(--lime); }

.pillar .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pillar .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-mute);
}
.pillar h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  transition: color 200ms ease;
}
.pillar p {
  color: var(--bone-mute);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.pillar .tag-list {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
}
.pillar .tag-list span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  color: var(--bone);
  transition: border-color 200ms ease, color 200ms ease;
}
.pillar:hover .tag-list span { border-color: var(--lime); color: var(--lime); }

/* Clean list of capability points inside each pillar */
.pillar-points {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-3);
}
.pillar-points li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 6px;
  align-items: baseline;
  font-size: 13.5px;
  color: var(--bone);
  line-height: 1.4;
}
.pillar-points li::before {
  content: "→";
  font-family: 'JetBrains Mono', monospace;
  color: var(--lime);
  font-size: 12px;
  line-height: 1;
  transform: translateY(1px);
  transition: transform 220ms ease;
}
.pillar:hover .pillar-points li::before { transform: translate(2px, 1px); }

.pillar-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--bone-mute);
  transition: transform 220ms ease, color 220ms ease;
}

/* Pulse dot — replaces the icon, more brand-aligned */
.pulse-dot {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pulse-dot::before, .pulse-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--lime);
  animation: pulse-out 2s ease-out infinite;
}
.pulse-dot::after { animation-delay: 1s; }
@keyframes pulse-out {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(3.5); opacity: 0; }
}
.pulse-dot span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* ================ Process timeline ================ */

.process {
  display: grid;
  gap: 16px;
}
.phase {
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 28px;
  align-items: start;
  background: var(--ink);
  transition: border-color 240ms ease, background 240ms ease, transform 240ms ease;
  position: relative;
  overflow: hidden;
}
.phase::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms ease;
}
.phase:hover {
  border-color: var(--lime);
  background: var(--ink-2);
}
.phase:hover::after { transform: scaleY(1); }
.phase:hover .when-dot { background: var(--yellow); }

.phase .when {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--lime);
  text-transform: uppercase;
  padding-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.when-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  transition: background 220ms ease;
}
.phase .title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.phase .title small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--bone-mute);
  margin-top: 8px;
  letter-spacing: 0;
}
.phase ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--bone);
  line-height: 1.45;
}
.phase ul li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.phase ul li::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  transform: translateY(-2px);
}
@media (max-width: 800px) {
  .phase { grid-template-columns: 1fr; gap: 16px; }
}

/* ================ Stack ================ */

.stack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1000px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .stack { grid-template-columns: 1fr; } }

.stack-card {
  border: 1px solid var(--ink-3);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.stack-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(196, 251, 43, 0.06), transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.stack-card:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
}
.stack-card:hover::before { opacity: 1; }
.stack-card:hover h4 { color: var(--lime); }
.stack-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stack-card .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}
.stack-card h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  transition: color 220ms ease;
}
.stack-card p {
  font-size: 14px;
  color: var(--bone-mute);
  margin: 0;
  line-height: 1.5;
}
.platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

/* Platform marks */
.pmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--bone);
  transition: border-color 200ms ease, background 200ms ease;
}
.pmark:hover { border-color: var(--lime); background: var(--lime-soft); }
.pmark-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0;
  flex-shrink: 0;
}
.pmark-name {
  font-family: 'Instrument Sans', sans-serif;
  letter-spacing: -0.01em;
}

/* ================ Credit / services ================ */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 0;
}
.checklist li {
  list-style: none;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink-3);
  transition: border-color 200ms ease, padding 200ms ease;
}
.checklist li:hover { border-color: var(--lime); padding-left: 8px; }
.checklist li:hover .n { color: var(--yellow); }
.checklist li .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--lime);
  letter-spacing: 0.05em;
  padding-top: 2px;
  transition: color 200ms ease;
}
.checklist li .text strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.checklist li .text span {
  font-size: 13px;
  color: var(--bone-mute);
  line-height: 1.45;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.platforms .p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink-3);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--bone);
  transition: border-color 200ms ease, color 200ms ease;
}
.platforms .p::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--lime);
  border-radius: 50%;
  transition: background 200ms ease;
}
.platforms .p:hover { border-color: var(--lime); color: var(--lime); }
.platforms .p:hover::before { background: var(--yellow); }

/* ================ Cases ================ */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.case {
  border: 1px solid var(--ink-3);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 340px;
  transition: border-color 240ms ease, transform 240ms ease, background 240ms ease;
  position: relative;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
}
.case::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(196, 251, 43, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.case:hover {
  border-color: var(--lime);
  transform: translateY(-3px);
  background: var(--ink-2);
}
.case:hover::before { opacity: 1; }
.case:hover .case-title { color: var(--lime); }
.case:hover .case-cta { color: var(--lime); }
.case:hover .case-cta .arrow { transform: translateX(4px); }
.case:hover .case-logo-img { transform: scale(1.04); filter: brightness(1.15); }

.case-feat { min-height: 460px; }

@media (max-width: 900px) {
  .cases-grid > .case { grid-column: span 12 !important; min-height: 320px; }
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.case .client {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bone-mute);
  text-transform: uppercase;
}
.case .pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  padding: 4px 10px;
  color: var(--ink);
  border-radius: 999px;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.case-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 80px;
  padding: 16px 0;
}
.case-logo-img {
  object-fit: contain;
  object-position: left center;
  transition: transform 300ms ease, filter 300ms ease;
}

.case-wordmark {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--bone);
}
.case-wordmark .we-line {
  font-size: clamp(28px, 3vw, 40px);
  font-style: italic;
}
.case-wordmark .we-line-2 {
  color: var(--lime);
}
.case-wordmark .we-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bone-mute);
  margin-top: 6px;
  font-style: normal;
  font-weight: 500;
}

.case-body { display: flex; flex-direction: column; gap: 12px; }

.case-title {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  transition: color 220ms ease;
}
.case-feat .case-title { font-size: clamp(24px, 2.4vw, 34px); }

.case-desc {
  font-size: 14px;
  color: var(--bone-mute);
  line-height: 1.55;
  margin: 0;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px dashed var(--ink-3);
}
.metric .v {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lime);
}
.metric .l {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--bone-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.case-cta {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color 220ms ease;
}
.case-cta .arrow { transition: transform 220ms ease; }

/* ============ Motos combined card ============ */
.motos-dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: 100%;
  padding: 8px 0;
}
.motos-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--bone);
}
.motos-brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--bone-mute);
  text-transform: uppercase;
}
.motos-divider {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--lime), transparent);
  opacity: 0.6;
}
@media (max-width: 600px) {
  .motos-dual { grid-template-columns: 1fr; gap: 18px; }
  .motos-divider { width: 64px; height: 1px; background: linear-gradient(to right, transparent, var(--lime), transparent); }
}

/* ============ Iso-only cards (Qüint, UCh) ============ */
.case.case-iso {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.case.case-iso .case-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 24px 0;
}
.iso-showcase {
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(196, 251, 43, 0.08), transparent 65%),
    repeating-linear-gradient(45deg, rgba(196, 251, 43, 0.03) 0 1px, transparent 1px 12px);
  border: 1px dashed rgba(196, 251, 43, 0.18);
  padding: 24px;
  transition: background 280ms ease, border-color 280ms ease;
}
.case.case-iso:hover .iso-showcase {
  border-color: var(--lime);
  background:
    radial-gradient(circle at 50% 50%, rgba(196, 251, 43, 0.14), transparent 60%),
    repeating-linear-gradient(45deg, rgba(196, 251, 43, 0.05) 0 1px, transparent 1px 12px);
}
.iso-showcase img {
  max-width: 75%;
  max-height: 100px;
  object-fit: contain;
  transition: transform 320ms ease, filter 320ms ease;
}
.case.case-iso:hover .iso-showcase img {
  transform: scale(1.06);
}

/* ============ UCH lockup (shield + wordmark) ============ */
.uch-lockup {
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
.uch-lockup .uch-shield {
  max-width: none;
  width: auto;
  height: 76px;
  flex-shrink: 0;
}
.case.case-iso:hover .uch-lockup .uch-shield {
  transform: scale(1.06);
}
.uch-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.98;
  text-align: left;
}
.uch-wordmark-1 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bone-mute);
}
.uch-wordmark-2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bone);
}

/* ============ LAB — fábrica de anuncios de performance ============ */
.lab-block {
  margin-top: 32px;
  border: 1px solid var(--ink-3);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 251, 43, 0.08), transparent 55%),
    var(--ink-2);
  overflow: hidden;
}
.lab-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
}
@media (max-width: 860px) { .lab-grid { grid-template-columns: 1fr; } }

.lab-left {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lab-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.lab-logo {
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--lime);
  padding: 4px 12px;
  border-radius: 6px;
  line-height: 1.1;
}
.lab-badge .ct-mono { color: var(--bone-mute); }

.lab-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin: 0 0 18px;
  color: var(--bone);
}
.lab-title em { font-style: italic; color: var(--lime); }

.lab-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--bone-mute);
  margin: 0 0 14px;
  max-width: 460px;
}
.lab-desc strong { color: var(--lime); font-weight: 600; }

.lab-cta { margin-top: 14px; }

.lab-right {
  padding: clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  border-left: 1px solid var(--ink-3);
  background: rgba(3, 33, 18, 0.4);
}
@media (max-width: 860px) {
  .lab-right { border-left: none; border-top: 1px solid var(--ink-3); }
}

.lab-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--ink-3);
  border-radius: 10px;
  background: var(--ink);
  transition: border-color 220ms ease, transform 220ms ease;
}
.lab-stat:hover { border-color: var(--lime); transform: translateX(3px); }

.lab-stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 251, 43, 0.1);
  color: var(--lime);
  flex-shrink: 0;
}
.lab-stat-hero {
  border-color: var(--lime);
  background:
    radial-gradient(circle at 0% 50%, rgba(196, 251, 43, 0.1), transparent 70%),
    var(--ink);
}
.lab-stat-hero .lab-stat-icon { background: var(--lime); color: var(--ink); }

.lab-stat-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--bone);
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}
.lab-stat-sub {
  font-size: 12.5px;
  color: var(--bone-mute);
  line-height: 1.35;
}

/* ================ Contact ================ */

.contact-shell {
  border: 1px solid var(--ink-3);
  border-radius: 12px;
  padding: clamp(32px, 5vw, 56px);
  background:
    radial-gradient(circle at 100% 0%, rgba(196, 251, 43, 0.08), transparent 60%),
    var(--ink-2);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 56px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Aside (left column) */
.contact-aside { display: flex; flex-direction: column; }

.urgency-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--lime);
  background: rgba(196, 251, 43, 0.08);
  border-radius: 10px;
}
.urgency-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 0 rgba(196, 251, 43, 0.6);
  animation: urgency-pulse 1.8s ease-out infinite;
}
@keyframes urgency-pulse {
  0% { box-shadow: 0 0 0 0 rgba(196, 251, 43, 0.5); }
  100% { box-shadow: 0 0 0 14px rgba(196, 251, 43, 0); }
}
.urgency-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.urgency-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--bone-mute);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.contact-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 10px;
}
.contact-bullets li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  font-size: 14px;
  color: var(--bone);
  line-height: 1.4;
}
.contact-bullets li span {
  color: var(--lime);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

.contact-trust {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 12px;
}
.contact-trust-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  font-size: 13px;
  color: var(--bone);
  padding-top: 12px;
  border-top: 1px solid var(--ink-3);
}
.ct-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--bone-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 2px;
}
.contact-trust-row a:hover { color: var(--lime); }

/* Form (right column) */
.form { display: grid; gap: 18px; }

.form-step-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 -6px;
}
.form-step-tag::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--lime);
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-mute);
}
.field label .req { color: var(--lime); margin-left: 4px; }

.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-3);
  padding: 10px 0;
  color: var(--bone);
  font-family: inherit;
  font-size: 16px;
  resize: none;
  transition: border-color 200ms ease;
  outline: none;
  border-radius: 0;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--lime); }
.field input::placeholder, .field textarea::placeholder { color: rgba(239, 239, 231, 0.35); }
.field input.error, .field textarea.error { border-bottom-color: #ff5a5a; }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' stroke='%23C4FB2B' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; cursor: pointer; }
.field select option { background: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  border: 1px solid var(--ink-3);
  background: transparent;
  color: var(--bone);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-family: inherit;
  transition: all 180ms ease;
}
.chip:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-1px); }
.chip.on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  font-weight: 600;
}

/* Timeline segmented control */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}
@media (max-width: 560px) { .timeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.timeline-opt {
  border: 1px solid var(--ink-3);
  background: transparent;
  color: var(--bone);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  cursor: pointer;
  transition: all 180ms ease;
}
.timeline-opt:hover { border-color: var(--lime); transform: translateY(-1px); }
.timeline-opt .t-l {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.timeline-opt .t-s {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--bone-mute);
  letter-spacing: 0.04em;
}
.timeline-opt.on {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.timeline-opt.on .t-s { color: var(--ink); opacity: 0.7; }

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--ink-3);
}
.form-foot .btn[disabled] { cursor: not-allowed; }
.form-foot .btn[disabled]:hover { transform: none; box-shadow: none; background: var(--lime); }

.form-fine {
  font-size: 11.5px;
  color: var(--bone-mute);
  line-height: 1.5;
  margin: 0;
}

.success-card {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.success-card .check {
  width: 64px; height: 64px;
  border-radius: 999px;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.success-card h3 {
  font-size: 28px; font-weight: 700;
  letter-spacing: -0.025em;
  margin: 8px 0 0;
}
.success-card p { color: var(--bone-mute); font-size: 15px; max-width: 380px; margin: 0; }

/* ================ Footer ================ */

.footer {
  border-top: 1px solid var(--ink-3);
  padding: 56px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }

.footer h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-mute);
  font-weight: 500;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--bone); transition: color 150ms ease; }
.footer ul a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--bone-mute);
  letter-spacing: 0.05em;
}

/* Subtle dot grid texture overlay */
.dotfield {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(196, 251, 43, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  opacity: 0.3;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

/* Fade-in scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .pulse-dot::before, .pulse-dot::after,
  .lmatrix-caption-tag::before { animation: none !important; }
}
