/* ========== TOKENS ========== */
:root {
  /* cube palette (semantic) */
  --c-red:    #E63946;
  --c-blue:   #2864E0;
  --c-green:  #2BB673;
  --c-yellow: #F4C430;
  --c-orange: #F08327;
  --c-white:  #FAFAFA;

  /* base palette (default = light, clean) */
  --bg:        #F5F2EC;
  --bg-2:      #ECE7DE;
  --bg-card:   #FFFFFF;
  --ink:       #0B0B0E;
  --ink-2:     #1B1B22;
  --muted:     #6B6B73;
  --line:      rgba(11,11,14,0.10);
  --line-2:    rgba(11,11,14,0.06);

  --accent:    #2864E0; /* default accent */
  --accent-ink: #FFFFFF;

  /* type */
  --f-display: "Chakra Petch", "Eurostile", system-ui, sans-serif;
  --f-body:    "Manrope", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* sizes & rhythm */
  --pad-x: clamp(20px, 4vw, 64px);
  --rad: 14px;

  /* motion intensity (controlled via tweaks) */
  --motion: 1;
}

[data-theme="dark"] {
  --bg:        #0A0A0C;
  --bg-2:      #111114;
  --bg-card:   #16161B;
  --ink:       #F6F5F0;
  --ink-2:     #E6E5E0;
  --muted:     #8A8A92;
  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.06);
  --accent-ink: #0A0A0C;
}

[data-palette="vibrant"] {
  --accent: var(--c-red);
}
[data-palette="minimal"] {
  --accent: #0B0B0E;
  --accent-ink: #F5F2EC;
}
[data-palette="vibrant"][data-theme="dark"] {
  --accent: var(--c-yellow);
  --accent-ink: #0A0A0C;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ========== CURSOR (default, no custom) ========== */

/* ========== TYPE ========== */
.display {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-stretch: 100%;
}
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1px; background: currentColor;
}

/* ========== LAYOUT ========== */
.wrap { padding: 0 var(--pad-x); width: 100%; }
section { padding: clamp(80px, 10vw, 160px) 0; position: relative; }

/* ========== NAV ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .3s, backdrop-filter .3s, border .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-logo .lockup { display: inline-flex; flex-direction: column; line-height: 1.05; }
.nav-logo .lockup-name { font-size: 16px; }
.nav-logo .lockup-sub { font-size: 10px; font-weight: 500; letter-spacing: 0.06em; opacity: 0.7; }
.nav-links { display: none; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--ink); transition: width .3s ease; }
.nav-links a:hover::after { width: 100%; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  border: none;
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.nav-cta:hover { transform: translateY(-1px); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  padding: 120px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
  }
}

.hero-left { position: relative; z-index: 2; }
.hero-meta {
  display: flex; gap: 18px; align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero-meta .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-green) 60%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c-green) 60%, transparent); }
  50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--c-green) 0%, transparent); }
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 148px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  color: var(--ink);
}
.hero-title .row { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; vertical-align: top; }
.hero-title .word.italic {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.hero-title .swap {
  display: inline-grid;
  vertical-align: baseline;
  position: relative;
  overflow: hidden;
  padding-bottom: 0.15em;     /* room for descenders (ó, p, q) */
  margin-bottom: -0.15em;     /* don't push following line */
  line-height: 0.92;
}
.hero-title .swap-item {
  grid-column: 1; grid-row: 1;     /* all items stacked, sized by widest */
  font-style: italic; color: var(--accent); font-weight: 500;
  white-space: nowrap;
  opacity: 0; transform: translateY(110%);
  transition: opacity .45s, transform .55s cubic-bezier(.2,.8,.2,1);
}

.hero-title .swap-item.in  { opacity: 1; transform: translateY(0); }
.hero-title .swap-item.out { opacity: 0; transform: translateY(-110%); }

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 40px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600; font-size: 15px; letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn .arrow {
  display: inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arrow { transform: translateX(4px); }

/* hero scroll cue */
.scroll-cue {
  position: absolute; bottom: 30px; left: var(--pad-x);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.scroll-cue .line {
  width: 60px; height: 1px; background: var(--muted); position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: ""; position: absolute; left: -30%; top: 0; height: 100%; width: 30%;
  background: var(--ink);
  animation: scrollLine 2.4s infinite cubic-bezier(.45,0,.55,1);
}
@keyframes scrollLine {
  0% { left: -30%; }
  100% { left: 100%; }
}

/* ========== HERO REVEAL GRID ========== */
.reveal-grid {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
}
.reveal-grid.done { display: none; }
.reveal-grid .cell {
  background: var(--bg);
  transform-origin: center;
  animation: revealFlip 1.4s forwards cubic-bezier(.85,.05,.6,.95);
}
.reveal-grid .cell.c-red    { background: var(--c-red); }
.reveal-grid .cell.c-blue   { background: var(--c-blue); }
.reveal-grid .cell.c-green  { background: var(--c-green); }
.reveal-grid .cell.c-yellow { background: var(--c-yellow); }
.reveal-grid .cell.c-orange { background: var(--c-orange); }
.reveal-grid .cell.c-white  { background: var(--c-white); }
.reveal-grid .cell.c-ink    { background: var(--ink); }
@keyframes revealFlip {
  0%   { transform: scale(1); opacity: 1; }
  60%  { transform: scale(1); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

/* ========== CUBE STAGE ========== */
.cube-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  margin: 0 auto;
  perspective: 1400px;
  perspective-origin: 50% 45%;
  display: flex; align-items: center; justify-content: center;
}
.cube-stage::before {
  content: "";
  position: absolute;
  width: 75%; height: 18%;
  bottom: 4%; left: 12.5%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.18) 0%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
}
[data-theme="dark"] .cube-stage::before {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 70%);
}

.cube-3d {
  position: relative;
  width: var(--cube-size, 280px);
  height: var(--cube-size, 280px);
  transform-style: preserve-3d;
  transform: rotateX(-22deg) rotateY(var(--spin, 0deg));
  will-change: transform;
}

.cubie {
  position: absolute;
  width: var(--cubie, 90px);
  height: var(--cubie, 90px);
  top: 50%; left: 50%;
  margin: calc(var(--cubie) / -2) 0 0 calc(var(--cubie) / -2);
  transform-style: preserve-3d;
  /* Posición inicial (fallback antes de que el JS tome el control). El giro de capas
     lo maneja cube.jsx por requestAnimationFrame, por eso NO hay transition aquí. */
  transform:
    translate3d(calc(var(--x) * var(--cubie) * 1.02), calc(var(--y) * var(--cubie) * 1.02), calc(var(--z) * var(--cubie) * 1.02));
}

.face {
  position: absolute; inset: 0;
  border-radius: 6px;
  background: #1a1a1a;
  border: 2px solid #0a0a0a;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.face::after {
  content: ""; position: absolute; inset: 7%;
  background: var(--sticker, transparent);
  border-radius: 4px;
  box-shadow:
    inset 0 -3px 6px rgba(0,0,0,0.18),
    inset 0 2px 4px rgba(255,255,255,0.3);
}
.face.f-front  { transform: translateZ(calc(var(--cubie) / 2)); }
.face.f-back   { transform: rotateY(180deg) translateZ(calc(var(--cubie) / 2)); }
.face.f-right  { transform: rotateY(90deg) translateZ(calc(var(--cubie) / 2)); }
.face.f-left   { transform: rotateY(-90deg) translateZ(calc(var(--cubie) / 2)); }
.face.f-top    { transform: rotateX(90deg) translateZ(calc(var(--cubie) / 2)); }
.face.f-bottom { transform: rotateX(-90deg) translateZ(calc(var(--cubie) / 2)); }

.s-red    { --sticker: var(--c-red); }
.s-blue   { --sticker: var(--c-blue); }
.s-green  { --sticker: var(--c-green); }
.s-yellow { --sticker: var(--c-yellow); }
.s-orange { --sticker: var(--c-orange); }
.s-white  { --sticker: var(--c-white); }

/* cube floating chips */
.cube-chips {
  position: absolute; inset: 0;
  pointer-events: none;
}
.cube-chip {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite;
}
.cube-chip.c1 { top: 8%; left: -8%;  animation-delay: 0s; }
.cube-chip.c2 { top: 26%; right: -10%; animation-delay: -2s; }
.cube-chip.c3 { bottom: 18%; left: -4%; animation-delay: -4s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ========== MARQUEE ========== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: scrollX 38s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 60px;
  color: var(--ink);
}
.marquee-item .sep {
  width: 14px; height: 14px;
  border-radius: 3px;
  display: inline-block;
}
.marquee-item .sep.s1 { background: var(--c-red); }
.marquee-item .sep.s2 { background: var(--c-blue); }
.marquee-item .sep.s3 { background: var(--c-green); }
.marquee-item .sep.s4 { background: var(--c-yellow); }
.marquee-item .sep.s5 { background: var(--c-orange); }
@keyframes scrollX {
  to { transform: translateX(-50%); }
}

/* ========== STATS ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: 50px var(--pad-x);
  background: var(--bg);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  transition: background .3s;
}
.stat:hover { background: var(--bg-2); }
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(54px, 6vw, 92px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  display: flex; align-items: baseline; gap: 4px;
}
.stat .num .unit { font-size: 0.45em; color: var(--muted); font-weight: 500; }
.stat .label {
  font-size: 14px; color: var(--muted);
  line-height: 1.4;
  max-width: 26ch;
}

/* ========== SECTION HEADER ========== */
.sect-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 80px);
  align-items: end;
}
@media (min-width: 900px) {
  .sect-head { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.sect-head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  font-weight: 600;
}
.sect-head h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
.sect-head .sect-blurb {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 48ch;
}

/* ========== SERVICES ========== */
.services {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  overflow: hidden;
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }

.svc {
  background: var(--bg-card);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 320px;
  transition: background .35s ease;
}
.svc:hover { background: var(--ink); color: var(--bg); }
.svc:hover .svc-num,
.svc:hover .svc-desc { color: var(--bg); opacity: 0.7; }
.svc:hover .svc-cube { transform: rotate(45deg) scale(1.15); }
.svc .svc-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
  display: flex; justify-content: space-between; align-items: center;
}
.svc h3 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 16px;
}
.svc .svc-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 24px;
  flex: 1;
}
.svc .svc-cube {
  width: 32px; height: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.svc .svc-cube .sq { border-radius: 2px; }
.svc .svc-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.svc .svc-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.svc:hover .svc-tags span { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }

/* ========== PROCESS ========== */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.proc-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  position: relative;
  transition: padding-left .35s cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 900px) {
  .proc-row { grid-template-columns: 120px 280px 1fr 220px; gap: 40px; align-items: center; padding: 48px 0; }
}
.proc-row:last-child { border-bottom: 1px solid var(--line); }
.proc-row:hover { padding-left: 20px; }
.proc-row .proc-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.proc-row h4 {
  font-family: var(--f-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}
.proc-row p {
  margin: 0; color: var(--muted);
  font-size: 15px; line-height: 1.55;
  max-width: 55ch;
}
.proc-row .proc-meta {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}

/* ========== APPLY ========== */
.apply {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--rad);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) { .apply { grid-template-columns: 1fr 1.4fr; gap: 80px; } }

.apply .apply-info h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92; letter-spacing: -0.03em;
  margin: 16px 0 24px;
}
.apply .apply-info h2 em { font-style: italic; color: var(--c-yellow); font-weight: 500; }
.apply .apply-info p { color: rgba(255,255,255,0.7); font-size: 16px; max-width: 38ch; }
.apply .apply-info .eyebrow { color: rgba(255,255,255,0.5); }
.apply .apply-info .perks {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.apply .apply-info .perks li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.apply .apply-info .perks li::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px;
  background: var(--c-green);
}
.apply .apply-info .perks li:nth-child(2)::before { background: var(--c-blue); }
.apply .apply-info .perks li:nth-child(3)::before { background: var(--c-orange); }
.apply .apply-info .perks li:nth-child(4)::before { background: var(--c-yellow); }

/* form */
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 12px 0 10px;
  font: inherit;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
.field select option { background: #16161B; color: #fff; }

.cv-drop {
  grid-column: 1 / -1;
  border: 1.5px dashed rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.cv-drop:hover, .cv-drop.dragging { border-color: var(--c-yellow); background: rgba(244, 196, 48, 0.06); }
.cv-drop .icon {
  width: 36px; height: 36px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  margin-bottom: 6px;
}
.cv-drop .icon span { border-radius: 2px; }
.cv-drop .label { font-size: 15px; font-weight: 500; color: #fff; }
.cv-drop .hint { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.cv-drop input { display: none; }
.cv-drop.filled .label { color: var(--c-green); }

.form-submit { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; gap: 14px; flex-wrap: wrap; }
.form-submit .note { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.form-submit button {
  background: var(--c-yellow); color: #0a0a0a;
  padding: 18px 32px; border-radius: 999px;
  border: none; font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s;
}
.form-submit button:hover { background: #fff; }

/* success state */
.apply.success .form-fields { display: none; }
.apply-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.apply.success .apply-success { display: block; }
.apply-success .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-green);
  display: grid; place-items: center; margin: 0 auto 20px;
  font-size: 30px; color: #0a0a0a;
}
.apply-success h3 { font-family: var(--f-display); font-size: 32px; margin: 0 0 8px; }
.apply-success p { color: rgba(255,255,255,0.6); margin: 0; }

/* ========== FOOTER ========== */
footer {
  background: var(--bg-2);
  padding: 80px var(--pad-x) 40px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid li, .footer-grid a { font-size: 14px; color: var(--ink); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .display {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 600; line-height: 0.95; letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.footer-brand .display em { font-style: italic; color: var(--accent); font-weight: 500; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 38ch; margin: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 30px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  flex-wrap: wrap; gap: 14px;
}
.footer-social {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
}
.footer-social .social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--bg-card);
  transition: color .25s, border-color .25s, background .25s, transform .25s cubic-bezier(.2,.8,.2,1);
}
.footer-social .social-link svg { width: 20px; height: 20px; }
.footer-social .social-link:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ========== WHATSAPP FLOAT ========== */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px;
  background: #25D366; color: #0a0a0a;
  border-radius: 999px;
  border: none;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  font-family: var(--f-body);
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0,0,0,0.1);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(37, 211, 102, 0.6); }
.wa-float .wa-icon {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
}
.wa-float .wa-icon svg { width: 18px; height: 18px; }
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 520px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 12px; }
}

/* ========== UTILS ========== */
.swatch {
  display: inline-block; width: 12px; height: 12px; border-radius: 3px;
  vertical-align: middle; margin: 0 2px;
}

/* ========== PAGE HERO (internal pages) ========== */
.page-hero {
  padding: 160px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1000px) {
  .page-hero { grid-template-columns: 1.4fr 1fr; gap: 80px; padding-bottom: 100px; }
}
.page-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.page-hero p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 50ch;
  margin: 0;
}
.page-hero .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
}
.page-hero .crumbs .here { color: var(--ink); }
.page-hero .deco {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
}
.page-hero .deco .sq {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.25);
}

/* ========== SERVICES DETAIL (services.html) ========== */
.svc-detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.svc-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc-detail:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 1000px) {
  .svc-detail {
    grid-template-columns: 90px 1fr 1.4fr;
    gap: 60px;
    padding: 80px 0;
  }
}
.svc-detail .svc-detail-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.svc-detail h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.svc-detail .svc-detail-side {
  display: flex; flex-direction: column; gap: 18px;
}
.svc-detail .svc-detail-side .swatches {
  display: flex; gap: 4px; margin-top: 10px;
}
.svc-detail .svc-detail-side .swatches span {
  width: 22px; height: 22px; border-radius: 4px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
}
.svc-detail-body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.svc-detail-body p { margin: 0 0 16px; }
.svc-detail-body ul {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-detail-body ul li {
  display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start;
  font-size: 15px; color: var(--muted);
}
.svc-detail-body ul li::before {
  content: "";
  width: 10px; height: 10px; border-radius: 2px;
  background: var(--bullet, var(--ink));
  margin-top: 8px;
}
.svc-detail-body strong { color: var(--ink); font-weight: 600; }

/* ========== ABOUT (nosotros.html) ========== */
.about-intro {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 22ch;
  margin: 0;
}
.about-intro em { font-style: italic; color: var(--accent); }
.about-body {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.65;
  max-width: 60ch;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  overflow: hidden;
}
@media (min-width: 900px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-card {
  background: var(--bg-card);
  padding: 50px 44px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
}
.mv-card .mv-label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}
.mv-card h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 14px 0 18px;
  line-height: 1;
}
.mv-card p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}
.mv-card .mv-mark {
  width: 64px; height: 64px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
}
.mv-card .mv-mark span {
  border-radius: 4px;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.15), inset 0 1px 4px rgba(255,255,255,0.3);
}

.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value {
  background: var(--bg);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background .3s;
}
.value:hover { background: var(--bg-2); }
.value .value-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.value h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 6px 0 8px;
}
.value p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.55; }

/* ========== CONTACT (contacto.html) ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 100px; } }
.contact-info h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.95; letter-spacing: -0.03em;
  font-weight: 600;
  margin: 16px 0 24px;
}
.contact-info h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
.contact-info > p { color: var(--muted); font-size: 16px; max-width: 36ch; margin: 0 0 36px; line-height: 1.6; }
.contact-block {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
}
.contact-block:last-child { border-bottom: 1px solid var(--line); }
.contact-block .lbl {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.contact-block .val {
  font-size: 16px; color: var(--ink); font-weight: 500;
  line-height: 1.5;
}
.contact-block .val a { color: inherit; }
.contact-block .val a:hover { color: var(--accent); }
.contact-block .val small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form .form {
  grid-template-columns: 1fr 1fr;
}
.contact-form .field label { color: var(--muted); }
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus { border-bottom-color: var(--ink); }
.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.contact-form .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23222' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); }
.contact-form .field select option { background: var(--bg-card); color: var(--ink); }
.contact-form .form-submit .note { color: var(--muted); }
.contact-form .form-submit button { background: var(--ink); color: var(--bg); }
.contact-form .form-submit button:hover { background: var(--accent); color: var(--accent-ink); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--ink); color: var(--bg);
  border-radius: var(--rad);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) {
  .cta-banner { grid-template-columns: 1.6fr 1fr; gap: 60px; }
}
.cta-banner h2 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.cta-banner h2 em { font-style: italic; color: var(--c-yellow); font-weight: 500; }
.cta-banner .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-banner .btn-primary { background: var(--c-yellow); color: #0a0a0a; }
.cta-banner .btn-primary:hover { background: #fff; color: #0a0a0a; }
.cta-banner .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-banner .btn-ghost:hover { background: #fff; color: #0a0a0a; border-color: #fff; }

/* ========== NAV ACTIVE STATE ========== */
.nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"]::after { width: 100%; background: var(--accent); }

/* =====================================================
   SERVICIOS HERO V2 — shuffling grid + kinetic ticker
   ===================================================== */
.svc-hero {
  padding: 140px var(--pad-x) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
@media (min-width: 1000px) {
  .svc-hero { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; padding-top: 130px; min-height: calc(100vh - 70px); }
}
.svc-hero .left { padding-bottom: 60px; }
.svc-hero .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center;
}
.svc-hero .crumbs .here { color: var(--ink); }
.svc-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(54px, 8.5vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 24px 0 28px;
}
.svc-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.svc-hero h1 .row { display: block; overflow: hidden; }
.svc-hero h1 .row span {
  display: inline-block;
  animation: heroLift .8s cubic-bezier(.2,.8,.2,1) backwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroLift {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
.svc-hero .lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 48ch; margin: 0 0 32px; }
.svc-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.svc-hero-grid {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  align-self: stretch;
  padding: 30px 0 60px;
}
@media (min-width: 1000px) {
  .svc-hero-grid { padding: 0; max-width: 720px; margin-left: auto; aspect-ratio: 3 / 2.2; }
}
.svc-hero-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.svc-tile {
  position: absolute;
  width: calc((100% - 24px) / 3);
  height: calc((100% - 12px) / 2);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  overflow: hidden;
  box-shadow:
    inset 0 -4px 8px rgba(0,0,0,0.15),
    inset 0 2px 5px rgba(255,255,255,0.3),
    0 8px 24px -10px rgba(0,0,0,0.3);
  transition: transform .7s cubic-bezier(.5,0,.2,1), box-shadow .35s, filter .35s;
  will-change: transform;
  cursor: pointer;
}
.svc-tile:hover {
  filter: brightness(1.05) saturate(1.1);
  box-shadow:
    inset 0 -4px 8px rgba(0,0,0,0.15),
    inset 0 2px 5px rgba(255,255,255,0.3),
    0 14px 36px -10px rgba(0,0,0,0.45);
}
.svc-tile .t-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}
.svc-tile.dark .t-head { color: rgba(255,255,255,0.7); }
.svc-tile .t-head .arr {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  display: grid; place-items: center;
  font-size: 14px;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), background .25s;
}
.svc-tile.dark .t-head .arr { background: rgba(255,255,255,0.18); color: #fff; }
.svc-tile:hover .t-head .arr { transform: translate(2px, -2px); background: rgba(0,0,0,0.25); }
.svc-tile.dark:hover .t-head .arr { background: rgba(255,255,255,0.28); }
.svc-tile .t-name {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
  color: rgba(0,0,0,0.85);
}
.svc-tile.dark .t-name { color: #fff; }
.svc-tile .t-sticker {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 24%; aspect-ratio: 1;
  background: rgba(255,255,255,0.16);
  border-radius: 12%;
  pointer-events: none;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.35);
}
.svc-tile.dark .t-sticker { background: rgba(255,255,255,0.08); }

/* Float chips behind the grid */
.svc-hero-grid .chip {
  position: absolute;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--ink);
  white-space: nowrap;
  z-index: 2;
  animation: chipFloat 6s ease-in-out infinite;
}

/* Ticker */
.svc-ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 28px 0;
  background: var(--bg-2);
}
.svc-ticker-track {
  display: flex; gap: 60px;
  white-space: nowrap;
  animation: scrollX 42s linear infinite;
  width: max-content;
}
.svc-ticker-track:hover { animation-play-state: paused; }
.svc-ticker-item {
  display: inline-flex; gap: 24px; align-items: center;
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color .3s, font-style .3s;
}
.svc-ticker-item .num {
  font-family: var(--f-mono); font-size: 0.22em;
  letter-spacing: 0.18em; color: var(--muted);
  font-weight: 500;
  align-self: flex-start; margin-top: 0.18em;
}
.svc-ticker-item .chip {
  width: 22px; height: 22px;
  border-radius: 5px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
}
.svc-ticker-item:hover { color: var(--accent); font-style: italic; }

/* =====================================================
   POSTULA HERO V2 — vertical candidate marquee
   ===================================================== */
.postula-hero-v2 {
  padding: 140px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 70px);
}
@media (min-width: 1000px) {
  .postula-hero-v2 { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; padding-bottom: 100px; }
}
.postula-hero-v2 .ph-left { padding-bottom: 20px; position: relative; z-index: 2; }
.postula-hero-v2 .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center;
}
.postula-hero-v2 .crumbs .here { color: var(--ink); }
.postula-hero-v2 h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
}
.postula-hero-v2 h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.postula-hero-v2 h1 .row { display: block; overflow: hidden; }
.postula-hero-v2 h1 .row span {
  display: inline-block;
  animation: heroLift .8s cubic-bezier(.2,.8,.2,1) backwards;
  animation-delay: var(--d, 0s);
}
.postula-hero-v2 .lead { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 44ch; margin: 0 0 28px; }
.postula-hero-v2 .perks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.postula-hero-v2 .perks li {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex; gap: 10px; align-items: center;
  color: var(--ink);
}
.postula-hero-v2 .perks li::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--c-green);
}
.postula-hero-v2 .perks li:nth-child(2)::before { background: var(--c-blue); }
.postula-hero-v2 .perks li:nth-child(3)::before { background: var(--c-orange); }
.postula-hero-v2 .perks li:nth-child(4)::before { background: var(--c-yellow); }
.postula-hero-v2 .hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* Right column: vertical marquee column */
.cand-stack {
  position: relative;
  /* Altura acotada: ventana tipo viewport para el scroll infinito.
     Antes era height:100% (sin tope) y la lista completa inflaba el hero,
     dejando un gran espacio en blanco junto al texto. */
  height: clamp(520px, calc(100vh - 200px), 760px);
  overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.cand-stack-inner {
  display: flex; flex-direction: column;
  gap: 14px;
  animation: candScroll 28s linear infinite;
}
@keyframes candScroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.cand-stack:hover .cand-stack-inner { animation-play-state: paused; }
.cand-badge {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: center;
  flex-shrink: 0;
  transform: rotate(var(--rot, 0deg));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 4px 12px -6px rgba(0,0,0,0.1);
}
.cand-badge:hover { transform: rotate(0deg) translateX(-6px); }
.cand-badge .avatar {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3px;
  padding: 5px;
}
.cand-badge .avatar span {
  border-radius: 3px;
  box-shadow: inset 0 -1px 2px rgba(0,0,0,0.2), inset 0 1px 2px rgba(255,255,255,0.25);
}
.cand-badge .body {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.cand-badge .meta {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.cand-badge .title {
  font-family: var(--f-display);
  font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cand-badge .tag {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--badge-color, var(--c-blue)) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--badge-color, var(--c-blue)) 30%, transparent);
  white-space: nowrap;
}
.cand-stack .you-badge {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.cand-stack .you-badge .meta { color: var(--c-yellow); }
.cand-stack .you-badge .title { color: #fff; }
.cand-stack .you-badge .tag {
  background: var(--c-yellow); color: #0a0a0a;
  border-color: var(--c-yellow);
}

.cand-stack-overlay {
  position: absolute;
  top: 50%; left: -8px; transform: translateY(-50%);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  display: flex; gap: 10px; align-items: center;
  z-index: 3;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.18);
}
.cand-stack-overlay::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-yellow);
  animation: pulse 1.8s infinite;
}

/* =====================================================
   CONTACTO HERO V2 — type-on title + live status panel
   ===================================================== */
.contact-hero-v2 {
  padding: 140px var(--pad-x) 60px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 70px);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-hero-v2 .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center; margin-bottom: 40px;
}
.contact-hero-v2 .crumbs .here { color: var(--ink); }

.contact-hero-v2 h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(64px, 13vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin: 0;
  position: relative;
  text-wrap: balance;
}
.contact-hero-v2 h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.contact-hero-v2 h1 .cursor-blink {
  display: inline-block;
  width: 0.06em;
  height: 0.85em;
  background: var(--accent);
  margin-left: 0.05em;
  vertical-align: -0.08em;
  animation: cursorBlink 0.85s steps(2) infinite;
}
@keyframes cursorBlink { 50% { opacity: 0; } }

.contact-hero-v2 .ch-bottom {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  margin-top: 60px;
  align-items: end;
}
@media (min-width: 900px) {
  .contact-hero-v2 .ch-bottom { grid-template-columns: 1fr 380px; gap: 60px; }
}
.contact-hero-v2 .ch-bottom > p {
  color: var(--muted); font-size: 17px; line-height: 1.6;
  max-width: 50ch; margin: 0;
}
.status-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: var(--bg-card);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.status-card .sc-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.status-card .sc-head .live {
  color: var(--c-green);
  display: inline-flex; align-items: center; gap: 8px;
}
.status-card .sc-head .live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-green);
  animation: pulse 2s infinite;
}
.status-card .sc-clock {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.status-card .sc-clock .sec { color: var(--accent); }
.status-card .sc-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.status-card .sc-meta .item {
  display: flex; flex-direction: column; gap: 4px;
}
.status-card .sc-meta .k {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.status-card .sc-meta .v {
  font-family: var(--f-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.01em;
}

/* Floating cubes behind */
.contact-hero-v2 .floaters {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.contact-hero-v2 .floater {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 10px;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.15), inset 0 2px 6px rgba(255,255,255,0.3);
  animation: floaterMove 14s ease-in-out infinite;
  opacity: 0.75;
}

/* legacy contact-hero kept as fallback */


/* =====================================================
   SERVICIOS — sticky split with scroll-driven active state
   ===================================================== */
.svc-page-hero {
  padding: 140px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1000px) {
  .svc-page-hero { grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; padding-bottom: 80px; }
}
.svc-page-hero .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center;
}
.svc-page-hero .crumbs .here { color: var(--ink); }
.svc-page-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 20px 0 0;
}
.svc-page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.svc-jump {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.svc-jump li { border-bottom: 1px solid var(--line); }
.svc-jump a {
  display: grid; grid-template-columns: 50px 1fr 30px;
  align-items: center; gap: 14px;
  padding: 14px 0;
  font-size: 15px; font-weight: 500;
  position: relative;
  transition: padding-left .3s ease, color .25s;
}
.svc-jump a:hover { padding-left: 12px; color: var(--accent); }
.svc-jump a .n {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--muted);
}
.svc-jump a .arr {
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .25s;
  font-family: var(--f-mono); font-size: 12px;
}
.svc-jump a:hover .arr { opacity: 1; transform: translateX(0); }

.svc-sticky-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 var(--pad-x);
  position: relative;
}
@media (min-width: 1000px) {
  .svc-sticky-wrap { grid-template-columns: 1fr 1.4fr; gap: 80px; }
}

.svc-rail { position: relative; padding: 60px 0; }
@media (min-width: 1000px) {
  .svc-rail { position: sticky; top: 110px; align-self: start; height: calc(100vh - 110px); display: flex; flex-direction: column; justify-content: center; padding: 0; }
}
.svc-rail .rail-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
  display: flex; gap: 14px; align-items: center;
}
.svc-rail .rail-num .pip {
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--rail-color, var(--accent));
  transition: background .35s;
}
.svc-rail h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 30px;
  position: relative;
  overflow: hidden;
}
.svc-rail h2 .rail-title-inner {
  display: inline-block;
  animation: railSlide .55s cubic-bezier(.2,.8,.2,1);
}
@keyframes railSlide {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.svc-rail .rail-cube {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  width: 100px;
  margin-top: 10px;
}
.svc-rail .rail-cube span {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.3);
  transition: background .35s;
}
.svc-rail .rail-progress {
  margin-top: 40px;
  display: flex; gap: 6px;
}
.svc-rail .rail-progress .pip {
  flex: 1; height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.svc-rail .rail-progress .pip.active {
  background: var(--rail-color, var(--accent));
}

.svc-stream { display: flex; flex-direction: column; padding: 30px 0 60px; }
.svc-card-long {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.svc-card-long:first-child { border-top: 0; padding-top: 30px; }
.svc-card-long .svc-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--rad);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  margin: 0 0 28px;
}
/* El arte SVG de respaldo sí puede recortar (es abstracto); las fotos reales
   se muestran completas con object-fit: contain para no cortar cabezas. */
.svc-card-long .svc-visual svg { width: 100%; height: 100%; display: block; object-fit: cover; }
.svc-card-long .svc-visual img { width: 100%; height: 100%; display: block; object-fit: contain; }
.svc-card-long .svc-card-num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 20px;
}
.svc-card-long .svc-card-num .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--card-color, var(--ink));
}
.svc-card-long h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 24px;
}
@media (min-width: 1000px) { .svc-card-long h3 { font-size: 24px; opacity: 0.6; } }
.svc-card-long .body p {
  font-size: 17px; line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 24px;
}
.svc-card-long .body ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.svc-card-long .body ul li {
  display: grid; grid-template-columns: 16px 1fr; gap: 14px;
  font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
  align-items: start;
}
.svc-card-long .body ul li::before {
  content: ""; width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--card-color, var(--ink));
  margin-top: 8px;
}
.svc-card-long .tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 30px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.svc-card-long .tags span {
  padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted);
}
.svc-card-long .svc-card-cta { margin-top: 24px; }
.svc-card-long .svc-card-cta .btn {
  background: var(--card-color, var(--ink));
  border-color: var(--card-color, var(--ink));
  color: #fff;
}
.svc-card-long .svc-card-cta .btn:hover { filter: brightness(1.08); }
.svc-card-long .svc-card-cta .btn span { transition: transform 0.25s ease; }
.svc-card-long .svc-card-cta .btn:hover span { transform: translateX(4px); }

/* =====================================================
   NOSOTROS — manifesto + tilted cards + values carousel
   ===================================================== */
.about-hero {
  position: relative;
  padding: 160px var(--pad-x) 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.about-hero .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center; margin-bottom: 40px;
}
.about-hero .crumbs .here { color: var(--ink); }
.about-hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 18ch;
  position: relative;
}
.about-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.about-hero .floaters {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about-hero h1, .about-hero .crumbs { position: relative; z-index: 1; }
.about-hero .floater {
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 10px;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,0.15), inset 0 2px 6px rgba(255,255,255,0.3);
  animation: floaterMove 12s ease-in-out infinite;
  opacity: 0.85;
}
@keyframes floaterMove {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(20px, -25px) rotate(8deg); }
  50% { transform: translate(-15px, 12px) rotate(-6deg); }
  75% { transform: translate(12px, 20px) rotate(4deg); }
}

.about-quote {
  padding: clamp(80px, 12vw, 160px) var(--pad-x);
  background: var(--ink); color: var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-quote .quote-mark {
  font-family: var(--f-display); font-size: 240px;
  line-height: 0.6; color: var(--c-yellow);
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%);
  opacity: 0.16;
  pointer-events: none;
}
.about-quote p {
  font-family: var(--f-display);
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 22ch;
  margin: 0 auto;
  position: relative;
}
.about-quote p em { font-style: italic; color: var(--c-yellow); }
.about-quote .sig {
  margin-top: 50px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.mv-flip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 var(--pad-x);
}
@media (min-width: 900px) { .mv-flip { grid-template-columns: 1fr 1fr; gap: 30px; } }
.mv-flip .mv-tilt {
  border-radius: var(--rad);
  padding: 48px 40px;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 30px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.mv-flip .mv-tilt:hover { transform: rotate(0deg) translateY(-4px); }
.mv-flip .mv-tilt.mision { background: var(--c-blue); color: #fff; --tilt: -1.5deg; }
.mv-flip .mv-tilt.vision { background: var(--c-yellow); color: #0a0a0a; --tilt: 1.5deg; }
.mv-flip .mv-tilt h3 {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 12px 0 18px;
}
.mv-flip .mv-tilt .mv-label {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  opacity: 0.7;
}
.mv-flip .mv-tilt p { font-size: 16px; line-height: 1.6; margin: 0; }
.mv-flip .mv-tilt .mv-mark {
  width: 80px; height: 80px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px;
}
.mv-flip .mv-tilt .mv-mark span {
  border-radius: 6px;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.2), inset 0 2px 4px rgba(255,255,255,0.3);
}

.values-rail {
  padding: clamp(80px, 10vw, 140px) 0 60px;
  overflow: hidden;
}
.values-rail .head {
  padding: 0 var(--pad-x);
  margin-bottom: 50px;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 900px) { .values-rail .head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 60px; } }
.values-rail .head h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 12px 0 0;
}
.values-rail .head h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
.values-rail .head p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 50ch; }
.values-track {
  display: flex; gap: 16px;
  padding: 20px var(--pad-x);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.values-track::-webkit-scrollbar { display: none; }
.value-card {
  flex: 0 0 min(82vw, 420px);
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 320px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s;
  position: relative;
}
.value-card:hover { transform: translateY(-6px); }
.value-card .num-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.value-card .num-row .swatch {
  width: 22px; height: 22px; border-radius: 5px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
}
.value-card h4 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 40px 0 0;
}
.value-card p {
  color: var(--muted); font-size: 15px; line-height: 1.55;
  margin: auto 0 0;
}
.values-controls {
  display: flex; gap: 10px; align-items: center;
  padding: 20px var(--pad-x) 0;
  justify-content: flex-end;
}
.values-controls button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
  font-size: 16px;
}
.values-controls button:hover { background: var(--ink); color: var(--bg); }

/* =====================================================
   POSTULA — sticky candidate card preview + grouped form
   ===================================================== */
.postula-hero {
  padding: 140px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 1000px) {
  .postula-hero { grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; padding-bottom: 80px; }
}
.postula-hero .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center;
}
.postula-hero .crumbs .here { color: var(--ink); }
.postula-hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(54px, 9vw, 128px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin: 20px 0 0;
}
.postula-hero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.postula-hero .right-meta { display: flex; flex-direction: column; gap: 20px; }
.postula-hero .right-meta p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 38ch; margin: 0; }
.postula-hero .right-meta .perks {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2);
}
.postula-hero .right-meta .perks li { display: flex; gap: 12px; align-items: center; }
.postula-hero .right-meta .perks li::before {
  content: ""; width: 10px; height: 10px; border-radius: 2px;
  background: var(--c-green);
}
.postula-hero .right-meta .perks li:nth-child(2)::before { background: var(--c-blue); }
.postula-hero .right-meta .perks li:nth-child(3)::before { background: var(--c-orange); }
.postula-hero .right-meta .perks li:nth-child(4)::before { background: var(--c-yellow); }

.postula-split {
  display: grid; grid-template-columns: 1fr; gap: 60px;
  padding: 80px var(--pad-x) 100px;
}
@media (min-width: 1100px) {
  .postula-split { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
  .postula-split .col-card { order: 2; align-self: stretch; }
}

.candidate-card {
  position: relative;
  background: var(--ink); color: var(--bg);
  border-radius: var(--rad);
  padding: 32px;
  min-height: 480px;
  display: flex; flex-direction: column;
  gap: 22px;
  overflow: hidden;
}
@media (min-width: 1100px) { .candidate-card { position: sticky; top: 110px; } }
.candidate-card .cc-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.candidate-card .cc-id { color: var(--c-yellow); }
.candidate-card .cc-cube {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  width: 64px;
}
.candidate-card .cc-cube span {
  aspect-ratio: 1 / 1; border-radius: 3px;
  background: rgba(255,255,255,0.08);
  transition: background .4s, box-shadow .4s;
}
.candidate-card .cc-cube span.filled {
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2), inset 0 1px 3px rgba(255,255,255,0.3);
}
.candidate-card .cc-name {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  word-break: break-word;
  min-height: 1em;
}
.candidate-card .cc-name.empty { color: rgba(255,255,255,0.22); }
.candidate-card .cc-rows { display: flex; flex-direction: column; }
.candidate-card .cc-row {
  display: grid; grid-template-columns: 100px 1fr; gap: 14px;
  font-size: 13px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.candidate-card .cc-row .k {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding-top: 2px;
}
.candidate-card .cc-row .v { color: #fff; word-break: break-word; }
.candidate-card .cc-row .v.empty { color: rgba(255,255,255,0.22); }
.candidate-card .cc-progress {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 10px;
}
.candidate-card .cc-progress .label {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.candidate-card .cc-progress .label .pct { color: var(--c-yellow); }
.candidate-card .cc-progress .bar {
  width: 100%; height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.candidate-card .cc-progress .bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--c-red), var(--c-yellow), var(--c-green), var(--c-blue));
  transition: width .35s cubic-bezier(.2,.8,.2,1);
}

.postula-form { display: flex; flex-direction: column; gap: 36px; }
.fs {
  border: 0; padding: 0; margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.fs:first-of-type { border-top: 0; padding-top: 0; }
.fs legend {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
  width: 100%;
}
.fs legend .n {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--fs-color, var(--accent));
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: 13px; letter-spacing: 0;
}
.fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fs-grid .field { display: flex; flex-direction: column; gap: 8px; }
.fs-grid .field.full { grid-column: 1 / -1; }
.fs-grid .field label {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.fs-grid .field input,
.fs-grid .field select,
.fs-grid .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 0 10px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-bottom-color .25s;
}
.fs-grid .field input:focus,
.fs-grid .field select:focus,
.fs-grid .field textarea:focus { border-bottom-color: var(--ink); }
.fs-grid .field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
/* Select sin elegir → texto atenuado tipo placeholder (igual que los inputs), en vez de negro */
.fs-grid .field select:has(option[value=""]:checked) { color: var(--muted); }
.fs-grid .field select option { background: var(--bg-card); color: var(--ink); }

.postula-form .cv-drop {
  background: var(--bg-2);
  border-color: var(--line);
  color: var(--ink);
}
.postula-form .cv-drop .label { color: var(--ink); }
.postula-form .cv-drop .hint { color: var(--muted); }
.postula-form .cv-drop:hover, .postula-form .cv-drop.dragging {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-2));
}
.postula-form .cv-drop.filled .label { color: var(--c-green); }

.postula-form .form-submit { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.postula-form .form-submit button {
  background: var(--ink); color: var(--bg);
  padding: 18px 32px; border-radius: 999px; border: none;
  font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s, background .25s;
}
.postula-form .form-submit button:hover { background: var(--accent); color: var(--accent-ink); }
.postula-form .form-submit .note { color: var(--muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

/* Botón mientras envía + mensaje de error (ambos formularios) */
button:disabled { opacity: 0.6; cursor: progress; }
.form-error {
  color: var(--c-red);
  font-size: 14px;
  margin: 4px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c-red) 10%, transparent);
}

.postula-success { text-align: center; padding: 120px 0; }
.postula-success .check {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--c-green);
  color: #0a0a0a;
  display: grid; place-items: center;
  margin: 0 auto 32px;
  font-family: var(--f-display);
  font-size: 48px; font-weight: 700;
}
.postula-success h2 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.postula-success p { color: var(--muted); font-size: 17px; max-width: 38ch; margin: 0 auto; line-height: 1.6; }

/* =====================================================
   CONTACTO — big type + expandable rows + conversational form
   ===================================================== */
.contact-hero {
  padding: 160px var(--pad-x) 60px;
  border-bottom: 1px solid var(--line);
}
.contact-hero .crumbs {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
  display: flex; gap: 10px; align-items: center; margin-bottom: 40px;
}
.contact-hero .crumbs .here { color: var(--ink); }
.contact-hero h1 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(80px, 14vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  margin: 0;
  text-wrap: balance;
}
.contact-hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.contact-hero .sub {
  display: grid; grid-template-columns: 1fr; gap: 30px;
  margin-top: 40px; align-items: end;
}
@media (min-width: 800px) {
  .contact-hero .sub { grid-template-columns: 1fr 1fr; gap: 60px; }
}
.contact-hero .sub p { color: var(--muted); font-size: 17px; line-height: 1.6; max-width: 50ch; margin: 0; }
.contact-hero .sub .meta {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
  display: flex; flex-direction: column; gap: 8px;
}
.contact-hero .sub .meta .live {
  color: var(--c-green);
  display: inline-flex; align-items: center; gap: 10px;
}
.contact-hero .sub .meta .live::before {
  content: ""; width: 8px; height: 8px;
  border-radius: 50%; background: var(--c-green);
  animation: pulse 2s infinite;
}

.contact-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 30px;
  padding: 28px var(--pad-x);
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: background .3s, padding-left .35s cubic-bezier(.2,.8,.2,1);
  text-decoration: none; color: inherit;
}
.contact-row:hover { background: var(--bg-2); padding-left: calc(var(--pad-x) + 16px); }
.contact-row .num {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.16em; color: var(--muted);
}
.contact-row .main { display: flex; flex-direction: column; gap: 4px; }
.contact-row .lbl {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.contact-row .val {
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  word-break: break-word;
}
.contact-row .swatch {
  width: 24px; height: 24px; border-radius: 6px;
  box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
  transition: transform .3s ease;
}
.contact-row:hover .swatch { transform: rotate(45deg) scale(1.1); }
@media (max-width: 600px) {
  .contact-row { grid-template-columns: 40px 1fr; gap: 16px; padding: 22px var(--pad-x); }
  .contact-row .swatch { display: none; }
}

.contact-talk {
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  background: var(--bg-2);
  position: relative;
}
.contact-talk h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 30px 0 40px;
  max-width: 24ch;
}
.contact-talk h2 em { font-style: italic; color: var(--accent); font-weight: 400; }

.conv-form {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: min(92vw, 50ch);
}
.conv-form input, .conv-form select {
  font: inherit;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  outline: none;
  padding: 0 4px;
  margin: 0 2px;
  color: var(--accent);
  font-style: italic;
  width: var(--w, auto);
  max-width: 100%;
  transition: border-color .25s;
}
.conv-form input:focus, .conv-form select:focus { border-bottom-color: var(--accent); }
.conv-form input::placeholder { color: color-mix(in srgb, var(--ink) 35%, transparent); font-style: italic; }
.conv-form select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232864E0' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; padding-right: 20px; }
.conv-form textarea {
  font: inherit;
  font-style: italic;
  color: var(--accent);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  outline: none;
  padding: 4px 0;
  width: 100%;
  max-width: 100%;
  resize: none;
  display: block;
  margin-top: 0.4em;
  min-height: 1.5em;
}
.conv-form textarea::placeholder { color: color-mix(in srgb, var(--ink) 35%, transparent); font-style: italic; }
.conv-actions {
  display: flex; gap: 16px; margin-top: 50px; align-items: center; flex-wrap: wrap;
}
.conv-actions .note {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}


/* =====================================================
   ADIESTRAMIENTO — catálogo de cursos
   ===================================================== */
.cursos-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  overflow: hidden;
}
.curso-row {
  background: var(--bg-card);
  display: flex; align-items: center; gap: 28px;
  padding: 26px 30px;
  position: relative;
  border-left: 3px solid var(--mod-color, var(--accent));
  transition: background .3s;
}
.curso-row:hover { background: var(--bg-2); }
.curso-main {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.curso-top {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.curso-top .curso-area { color: var(--muted); }
.curso-top .curso-mod  {
  color: var(--mod-color, var(--accent)); font-weight: 500;
  padding-left: 12px; position: relative;
}
.curso-top .curso-mod::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--mod-color, var(--accent)); transform: translateY(-50%);
}
.curso-row h3 {
  font-family: var(--f-display);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.1;
  margin: 0;
}
.curso-row p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; max-width: 62ch; }
.curso-side {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  text-align: right;
}
.curso-side .curso-dur {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.curso-side .curso-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--mod-color, var(--accent));
  background: transparent;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--mod-color, var(--accent));
  white-space: nowrap;
  transition: color .25s, background .25s, box-shadow .25s;
}
.curso-side .curso-cta span { transition: transform .25s; }
.curso-side .curso-cta:hover {
  color: #fff;
  background: var(--mod-color, var(--accent));
  box-shadow: 0 6px 18px -6px var(--mod-color, var(--accent));
}
.curso-side .curso-cta:hover span { transform: translateX(3px); }

@media (max-width: 720px) {
  .curso-row { flex-direction: column; align-items: stretch; gap: 18px; padding: 24px 22px; }
  .curso-side {
    flex-direction: row; align-items: center; justify-content: space-between;
    text-align: left;
    padding-top: 16px; border-top: 1px solid var(--line);
  }
}

/* count-up baseline (so it doesn't flash) */
[data-counter] { font-variant-numeric: tabular-nums; }

/* in-view animation baseline */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--d, 0s);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
