/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* ===== TOKENS — We Know The Ropes (Plate Trade) brand system ===== */
/* Editorial-financiera náutica: casi monocromo (blanco/ink), el rojo es
   señal (nodo activo, kicker, palabra clave) — nunca relleno. */
:root {
  --white: #FFFFFF;
  --snow: #F7F7F8;
  --ink: #18181B;
  --body-c: #3F3F46;
  --muted-c: #71717A;
  --label-c: #A1A1AA;

  --bg: #FFFFFF;
  --bg-alt: #F7F7F8;
  --bg-ink: #18181B;
  --text: #18181B;
  --ink-dim: #71717A;
  --line: rgba(0,0,0,.10);
  --line-2: rgba(0,0,0,.05);
  --line-strong: rgba(0,0,0,.18);

  --accent: #D42030;
  --accent-deep: #A8192A;
  --accent-soft: #E8434F;
  /* legacy alias kept so untouched rules referencing --gold still read as the accent */
  --gold: var(--accent);
  --gold-soft: rgba(212,32,48,.12);
  --sea-1: #18181B;
  --sea-2: #1E2D42;

  --radius: 2px;
  --ease: cubic-bezier(.16,1,.3,1);

  --f-display: "Sora", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION BACKGROUND IMAGES ===== */
/* Reusable atmosphere layer: a photo sits behind the section content with
   a strong dark overlay so it reads as texture/mood, never competing with
   the text. A subtle parallax (see initAllParallax) keeps it feeling
   alive without drawing attention to itself. */
.section-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.section-bg-img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  opacity: .55;
  filter: grayscale(.9) contrast(1.05);
  will-change: transform;
}
.section-bg-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 10%, transparent 88%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent 14%, transparent 86%, var(--bg) 100%);
}
.has-section-bg { position: relative; }
.has-section-bg > .container { position: relative; z-index: 2; }

/* Thin per-section fades: every new section gets a small top wash so
   the page reads as one continuous surface instead of stacked hard
   cuts. Dark/image transitions use their dedicated seam element below. */
main > section { position: relative; }
main > section > .container { position: relative; z-index: 2; }
main > section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--section-edge-bottom-height, 0px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--section-edge-bottom-start, rgba(255,255,255,0)) 0%,
    var(--section-edge-bottom-mid, rgba(255,255,255,.42)) 58%,
    var(--section-edge-bottom-end, var(--bg)) 100%
  );
}
main > section + section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: var(--section-divider-height, 34px);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    var(--section-divider-start, rgba(24,24,27,.035)) 0%,
    var(--section-divider-mid, rgba(24,24,27,.012)) 46%,
    rgba(24,24,27,0) 100%
  );
}
main > section.has-section-bg::before,
.cta-w::before,
.faq-w::before {
  content: none;
}

/* Dedicated section seam for image/dark blocks, kept thin so it blends
   without becoming a visible bar. */
.section-seam {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: block;
  height: var(--section-seam-height, 36px);
  z-index: 1;
  background: linear-gradient(
    to bottom,
    var(--section-seam-start, rgba(24,24,27,.16)) 0%,
    var(--section-seam-mid, rgba(24,24,27,.045)) 45%,
    rgba(24,24,27,0) 100%
  );
  pointer-events: none;
}
.section-seam-to-ink {
  background: linear-gradient(
    to bottom,
    var(--section-seam-start, rgba(255,255,255,.34)) 0%,
    var(--section-seam-mid, rgba(255,255,255,.10)) 48%,
    rgba(255,255,255,0) 100%
  );
}
@media (max-width: 767px) {
  main > section + section::before { height: var(--section-divider-height-mobile, 24px); }
  main > section::after { height: var(--section-edge-bottom-height-mobile, var(--section-edge-bottom-height, 0px)); }
  .section-seam { height: var(--section-seam-height-mobile, 28px); }
}


/* ===== TYPE ===== */
.eyebrow, .section-label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
}

.hero_title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 14px;
}

.h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 20px;
  max-width: 720px;
  visibility: hidden;
}
.h2-big { max-width: none; }

.p-lead {
  font-family: var(--f-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 0 8px;
  visibility: hidden;
}

.hero_subtitle {
  font-size: clamp(.95rem, 1.15vw, 1.05rem);
  color: var(--ink-dim);
  max-width: 480px;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.hero_desc {
  font-size: clamp(.85rem, 1.1vw, .95rem);
  color: var(--ink-dim);
  max-width: 520px;
  margin: 14px 0 32px;
  line-height: 1.5;
}

/* Hero text sits on a dark photograph regardless of the site's light
   theme — force the "ink block" palette (white body copy, red accent)
   from the board rather than inheriting the page's dark-on-light text. */
.hero_chapter { color: var(--snow); }
.hero_chapter .eyebrow { color: var(--accent-soft); }
.hero_chapter .hero_title { color: var(--snow); }
.hero_chapter .hero_subtitle,
.hero_chapter .hero_desc { color: rgba(247,247,248,.72); }

[data-reveal-text] { visibility: hidden; }
.line, .word, .char { will-change: transform, filter, opacity; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  visibility: hidden;
  backdrop-filter: blur(14px);
  /* Solid enough that nav text stays legible no matter what section
     (light or the ink-dark CTA/FAQ blocks) sits underneath — a light
     gradient here read fine over white but nearly disappeared over
     dark backgrounds. */
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header_inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.header_inner .logo { justify-self: start; }
.header_inner .nav { justify-self: center; }
.header_inner .btn-cta { justify-self: end; }

@media (max-width: 1100px) {
  .header_inner {
    display: flex;
    justify-content: space-between;
  }
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.logo_mark {
  display: block;
  width: clamp(52px, 4.2vw, 66px);
  flex: 0 0 auto;
  height: auto;
}
.logo_type {
  display: grid;
  gap: 3px;
  min-width: max-content;
  color: #444c4a;
  line-height: 1;
  text-transform: uppercase;
}
.logo_name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .12em;
}
.logo_rule {
  display: block;
  width: 100%;
  height: 2px;
  background: #777f7d;
}
.logo_tagline {
  font-family: var(--f-body);
  font-size: clamp(.46rem, .55vw, .68rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .48em;
  color: var(--accent);
}
.nav { display: flex; gap: 32px; }
.nav_link { font-size: 14px; color: var(--ink-dim); overflow: hidden; position: relative; }
.nav_link-inner { display: block; position: relative; height: 1.2em; overflow: hidden; }
.nav_link-inner span { display: block; }
.nav_link-inner span:nth-child(2) { position: absolute; top: 100%; left: 0; opacity: 0; color: var(--ink); }

.btn-cta {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.btn-cta_c {
  position: relative;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header_inner {
    position: relative;
    gap: 10px;
    min-height: 58px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav { display: none; }
  .logo {
    flex: 0 1 calc(100% - 136px);
    width: calc(100% - 136px);
    min-width: 0;
    max-width: calc(100% - 154px);
    gap: 6px;
    overflow: hidden;
  }
  .logo_mark { width: clamp(30px, 8vw, 36px); }
  .logo_type {
    gap: 2px;
    min-width: 0;
    overflow: hidden;
  }
  .logo_name {
    font-size: clamp(.76rem, 3vw, .88rem);
    letter-spacing: .03em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .logo_rule { height: 1px; }
  .logo_tagline {
    display: none;
  }
  .btn-cta {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    flex: none;
    margin-left: 0;
    min-width: 126px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .btn-cta_c {
    min-width: max-content;
  }
}

/* ===== PRELOADER (ink block, as the board's "impact" frames) ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.preloader_bg {
  position: absolute;
  inset: 0;
  background: var(--bg-ink);
  --mask-size: 100% 200%;
  --mask-y: 0%;
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 50%);
  -webkit-mask-size: var(--mask-size);
  -webkit-mask-position: 0 var(--mask-y);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 50%);
  mask-size: var(--mask-size);
  mask-position: 0 var(--mask-y);
}
.preloader_content {
  position: relative;
  z-index: 2;
}
.preloader_title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--snow);
  visibility: hidden;
}
.preloader_title .char { display: inline-block; }

/* the "porthole/window" that closes upward like a hatch */
.preloader_window {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  transform-origin: bottom center;
}
.preloader_window-panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-ink) 55%);
}
.preloader_knob {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 64px;
  height: 64px;
  margin-left: -32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader_knob-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
}
.preloader_front-over {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--bg-ink);
  pointer-events: none;
}

/* ===== HERO ===== */
.hero_scroll-area {
  --section-edge-bottom-height: 48px;
  --section-edge-bottom-height-mobile: 34px;
  --section-edge-bottom-start: rgba(24,24,27,0);
  --section-edge-bottom-mid: rgba(24,24,27,.34);
  --section-edge-bottom-end: var(--bg-ink);
  position: relative;
  height: 320vh;
}
.hero-w {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1000px;
}
.hero-w_bg {
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, var(--sea-2) 0%, transparent 65%),
    linear-gradient(to bottom, var(--bg-ink), var(--bg-ink));
  will-change: transform;
}
.sky-bg_hero {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(212,32,48,.06), transparent 40%);
  will-change: transform;
}
.hero_overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: calc(100% - 240px);
  display: flex;
  align-items: flex-end;
  padding-bottom: 40px;
  overflow: hidden;
}
.hero_overlay .container { position: relative; min-height: 1px; }

/* Chapters stack on top of each other and crossfade as the scroll-
   scrubbed video advances — each one owns a slice of the scroll range
   instead of the whole hero text only appearing once the video ends. */
.hero_chapter {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  max-width: 760px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
}
.hero_chapter.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s linear 0s;
}
.hero_content { max-width: 760px; }

@media (max-width: 767px) {
  .hero_overlay { height: calc(100% - 300px); padding-bottom: 24px; }
}

/* scroll hint shown only on the clean opening frame, fades out immediately on scroll */
.hero_scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 13px;
  color: var(--ink-dim);
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: heroScrollHintPulse 2s ease-in-out infinite;
}
@keyframes heroScrollHintPulse {
  0%, 100% { opacity: .5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* ===== HERO VIDEO (AI-generated port scene) ===== */
.hero_video_wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero_video_el {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero_video_grad {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(to bottom, rgba(24,24,27,.35) 0%, rgba(24,24,27,.7) 55%, var(--bg-ink) 100%),
    linear-gradient(to top, rgba(24,24,27,.75) 0%, transparent 30%);
}
.hero_video_grad.is-visible { opacity: 1; }

@media (max-width: 767px) {
  .hero_video_wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(24,24,27,.26) 0%, rgba(24,24,27,.04) 36%, rgba(24,24,27,.68) 100%),
      linear-gradient(to right, rgba(24,24,27,.52) 0%, rgba(24,24,27,.20) 46%, transparent 82%);
  }

  .hero_chapter {
    left: 20px;
    right: 20px;
    text-shadow: 0 12px 34px rgba(0,0,0,.35);
  }

  .hero_chapter .hero_subtitle,
  .hero_chapter .hero_desc {
    color: rgba(247,247,248,.82);
  }

  .hero_scroll-hint {
    color: rgba(247,247,248,.72);
  }
}

/* ===== BUTTONS ===== */
/* Ink-first, per the board's rule: red is signal, never a fill. Primary
   CTA is solid ink with white type; hover sweeps to the accent red. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  isolation: isolate;
}
.btn-lg { padding: 20px 40px; font-size: 14px; }
.btn_bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: var(--radius);
  z-index: 0;
}
.btn_bg-hover { background: var(--accent); transform: translateX(100%); }
.btn_text {
  position: relative;
  z-index: 1;
  color: var(--white);
  display: block;
}
.btn_text + .btn_text { position: absolute; top: 0; left: 0; transform: translateX(150%); opacity: 0; width: 100%; text-align: center; }

/* ===== ABOUT ===== */
.about-w {
  --section-seam-height: 34px;
  --section-seam-height-mobile: 24px;
  --section-seam-start: rgba(24,24,27,.32);
  --section-seam-mid: rgba(24,24,27,.09);
  --section-edge-bottom-height: 82px;
  --section-edge-bottom-height-mobile: 56px;
  --section-edge-bottom-start: rgba(255,255,255,0);
  --section-edge-bottom-mid: rgba(255,255,255,.68);
  --section-edge-bottom-end: var(--bg);
  position: relative;
  padding: 220px 0;
  overflow: hidden;
  background: var(--bg-ink);
  min-height: 640px;
  display: flex;
  align-items: center;
}
/* Static (no parallax transform) so the image never drifts out of sync
   with the scrim sitting on top of it — a moving photo under a fixed
   gradient was showing a hard seam where the two edges crossed. */
.about-w .about-bg-img {
  inset: 0;
  height: 100%;
  opacity: 1;
  filter: contrast(1.05);
}
/* Soft scrim weighted to the left, right behind the copy column, so the
   photo still reads at full size across the rest of the section. */
.about-s {
  background: linear-gradient(100deg, rgba(24,24,27,.68) 0%, rgba(24,24,27,.42) 38%, transparent 68%);
}
.about-w .container { position: relative; z-index: 2; }

.about_grid { display: block; }
.about_text { max-width: 560px; }
.about-w .section-label { color: var(--accent-soft); }
.about-w .h2 { color: var(--snow); }
.about-w .p-lead { color: rgba(247,247,248,.78); }
@media (max-width: 900px) {
  .about-w { padding: 80px 0 140px; min-height: 0; }
  .about_text { max-width: none; }
  /* The diagonal scrim assumes a narrow text column with clear photo
     to its right — on a narrow viewport the text spans nearly the
     full width, so switch to a top-to-bottom scrim instead. It eases
     off again past the text block (rather than staying dark to the
     section's end) so a clear strip of the photo still reads at full
     strength, the same way it always does on desktop. */
  .about-s {
    background: linear-gradient(180deg, rgba(24,24,27,.56) 0%, rgba(24,24,27,.46) 54%, rgba(24,24,27,.16) 100%);
  }
}

/* ===== STATS ===== */
.stats-w {
  --section-divider-height: 32px;
  --section-divider-height-mobile: 22px;
  --section-divider-start: rgba(24,24,27,.055);
  --section-divider-mid: rgba(24,24,27,.014);
  padding: 60px 0 140px;
  border-top: 0;
  border-bottom: 0;
  background: var(--bg);
}
.stats_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 8px; visibility: hidden; }
.stat_num { font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; color: var(--accent); }
.stat_label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-c); }
@media (max-width: 767px) {
  .stats-w { padding: 48px 0 72px; }
  .stats_grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
}

/* ===== AUDIENCE SPLIT ===== */
/* Bifurcación B2C/B2B apenas termina el about: cada visitante sigue el
   camino que le habla a él en vez de leer una página que intenta las dos
   cosas a la vez. */
.split-w {
  --section-divider-height: 28px;
  --section-divider-height-mobile: 20px;
  padding: 96px 0 8px;
  background: var(--bg);
}
.split_label { display: block; text-align: center; margin-bottom: 28px; }
.split_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.split_card {
  position: relative;
  display: block;
  padding: 34px 84px 34px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  visibility: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.split_card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(24,24,27,.28);
}
.split_kicker {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.split_card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 12px 0 8px;
}
.split_card p { margin: 0; color: var(--ink-dim); font-size: .95rem; max-width: 380px; }
.split_arrow {
  position: absolute;
  top: 30px;
  right: 28px;
  font-size: 22px;
  color: var(--accent);
  transition: transform .35s var(--ease);
}
.split_card:hover .split_arrow { transform: translateX(6px); }
@media (max-width: 767px) {
  .split-w { padding: 56px 0 0; }
  .split_grid { grid-template-columns: 1fr; gap: 14px; }
  .split_card { padding: 24px 64px 24px 20px; }
}

/* ===== COSTO — la matemática del oficio (ink block) ===== */
.costo-w {
  --section-seam-height: 36px;
  --section-seam-height-mobile: 26px;
  --section-seam-start: rgba(247,247,248,.32);
  --section-seam-mid: rgba(247,247,248,.09);
  --section-edge-bottom-height: 82px;
  --section-edge-bottom-height-mobile: 56px;
  --section-edge-bottom-start: rgba(255,255,255,0);
  --section-edge-bottom-mid: rgba(255,255,255,.50);
  --section-edge-bottom-end: var(--bg);
  position: relative;
  padding: 150px 0 140px;
  background: var(--bg-ink);
  overflow: hidden;
}
.costo-w::before { content: none; }
.costo-w .section-label { color: var(--accent-soft); }
.costo-w .h2 { color: var(--snow); }
.costo-w .p-lead { color: rgba(247,247,248,.72); }
.costo_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.costo_card {
  border: 1px solid rgba(247,247,248,.14);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  background: rgba(247,247,248,.03);
  visibility: hidden;
}
.costo_kicker {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  font-weight: 500;
}
.costo_math {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 22px 0 10px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(247,247,248,.62);
}
.costo_num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--snow);
  margin-bottom: 14px;
}
.costo_num-loss { color: var(--accent-soft); }
.costo_note { margin: 0; color: rgba(247,247,248,.55); font-size: .92rem; max-width: 420px; }
.costo_foot {
  margin: 32px 0 0;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(247,247,248,.42);
  visibility: hidden;
}
@media (max-width: 767px) {
  .costo-w { padding: 90px 0 80px; }
  .costo_grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .costo_card { padding: 26px 20px 24px; }
}

/* ===== MÓDULOS — DEPTH CAROUSEL ===== */
/* Port a vanilla del DepthCarousel de ReactBits: las tarjetas se abren en
   abanico hacia el fondo (translateZ negativo + rotateY) a la derecha de la
   activa; brillo y blur caen con la profundidad. */
.modulos-w {
  --section-seam-height: 34px;
  --section-seam-height-mobile: 24px;
  --section-seam-start: rgba(24,24,27,.16);
  --section-seam-mid: rgba(24,24,27,.045);
  padding: 140px 0 110px;
  overflow: hidden;
}
.modulos-w::before { content: none; }
.dcar {
  position: relative;
  height: 500px;
  margin-top: 40px;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
}
.dcar:active { cursor: grabbing; }
.dcar:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 4px; }
.dcar_stage {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.dcar_card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 430px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -20px rgba(24,24,27,.45),
    0 8px 20px -10px rgba(24,24,27,.30);
  will-change: transform, opacity, filter;
  cursor: pointer;
}
.dcar_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.85) contrast(1.05);
  pointer-events: none;
  -webkit-user-drag: none;
}
/* mismo velo que tenían las fotos del accordion, para que las tarjetas
   sigan leyéndose dentro del sistema casi monocromo */
.dcar_card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(24,24,27,.06), rgba(24,24,27,.42) 78%);
  pointer-events: none;
}
.dcar_tint {
  position: absolute;
  inset: 0;
  background: var(--bg-ink);
  opacity: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 2;
}
.dcar_chip {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-display);
  font-size: .98rem;
  font-weight: 600;
  color: var(--snow);
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.dcar_chip-num {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-soft);
  letter-spacing: .08em;
}
.dcar_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3000;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.dcar_arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dcar_arrow:active { transform: translateY(-50%) scale(.94); }
.dcar_arrow-prev { left: max(16px, calc((100% - 1200px) / 2)); }
.dcar_arrow-next { right: max(16px, calc((100% - 1200px) / 2)); }
.dcar_dots {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  gap: 8px;
}
.dcar_dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(24,24,27,.22);
  transition: width .25s ease, background .25s ease;
}
.dcar_dot.is-active { width: 22px; background: var(--accent); }
/* Panel de texto del módulo activo: los items se apilan en la misma celda
   de grid y crossfadean — la altura del bloque es la del texto más alto,
   así el layout no salta entre módulos. */
.dcar_info {
  display: grid;
  max-width: 640px;
  margin: 44px auto 0;
  text-align: center;
}
.dcar_info-item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.dcar_info-item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.dcar_info-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--accent);
  font-weight: 500;
}
.dcar_info-title {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 8px 0 10px;
}
.dcar_info-desc { margin: 0; color: var(--ink-dim); font-size: .97rem; }
@media (max-width: 767px) {
  .modulos-w { padding: 72px 0 64px; }
  .dcar { height: 420px; margin-top: 24px; }
  .dcar_card { width: 300px; height: 380px; }
  .dcar_arrow { width: 38px; height: 38px; }
  .dcar_info { margin-top: 32px; }
}

/* ===== VACA MUERTA (ink block con foto) ===== */
.vm-w {
  --section-seam-height: 36px;
  --section-seam-height-mobile: 26px;
  --section-seam-start: rgba(247,247,248,.30);
  --section-seam-mid: rgba(247,247,248,.08);
  --section-edge-bottom-height: 82px;
  --section-edge-bottom-height-mobile: 56px;
  --section-edge-bottom-start: rgba(255,255,255,0);
  --section-edge-bottom-mid: rgba(255,255,255,.50);
  --section-edge-bottom-end: var(--bg);
  position: relative;
  padding: 160px 0 150px;
  background: var(--bg-ink);
  overflow: hidden;
}
.vm-w::before { content: none; }
.vm-w .section-bg-img { opacity: .9; filter: grayscale(.9) contrast(1.05); }
.vm_grad {
  background:
    linear-gradient(to bottom, rgba(24,24,27,.86) 0%, rgba(24,24,27,.62) 40%, rgba(24,24,27,.86) 100%),
    linear-gradient(to right, rgba(24,24,27,.72) 0%, rgba(24,24,27,.28) 60%, rgba(24,24,27,.6) 100%);
}
.vm-w .section-label { color: var(--accent-soft); }
.vm-w .h2 { color: var(--snow); max-width: 860px; }
.vm-w .p-lead { color: rgba(247,247,248,.76); }
.vm_timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 4px;
  border-top: 1px solid rgba(247,247,248,.16);
}
.vm_ti { padding-top: 20px; visibility: hidden; }
.vm_ti-year {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--accent-soft);
  font-weight: 500;
}
.vm_ti-val {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 700;
  color: var(--snow);
  margin: 8px 0 6px;
  letter-spacing: -.01em;
}
.vm_ti-label { display: block; font-size: .84rem; color: rgba(247,247,248,.58); }
.vm_case {
  margin-top: 72px;
  max-width: 760px;
  padding: 34px 34px 30px;
  border: 1px solid rgba(247,247,248,.16);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(24,24,27,.62);
  backdrop-filter: blur(4px);
  visibility: hidden;
}
.vm_case h3 {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--snow);
  margin: 12px 0 12px;
}
.vm_case p { margin: 0; color: rgba(247,247,248,.72); }
@media (max-width: 767px) {
  .vm-w { padding: 90px 0 84px; }
  .vm_timeline { grid-template-columns: 1fr 1fr; gap: 28px 18px; margin-top: 36px; }
  .vm_case { margin-top: 44px; padding: 24px 20px 22px; }
}

/* ===== CAREER — mapa de carrera ===== */
.career-w {
  --section-seam-height: 34px;
  --section-seam-height-mobile: 24px;
  --section-seam-start: rgba(24,24,27,.16);
  --section-seam-mid: rgba(24,24,27,.045);
  padding: 140px 0;
  background: var(--bg);
}
.career-w::before { content: none; }
.career_steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.career_step {
  border-top: 2px solid var(--ink);
  padding-top: 22px;
  visibility: hidden;
}
.career_step-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.career_step h3 {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 10px 0 8px;
}
.career_step p { margin: 0; color: var(--ink-dim); font-size: .95rem; }
.career_roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  visibility: hidden;
}
.career_chip {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--body-c);
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
@media (max-width: 767px) {
  .career-w { padding: 72px 0; }
  .career_steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .career_roles { margin-top: 36px; }
}

/* ===== EMPRESAS (B2B) ===== */
.empresas-w {
  --section-divider-height: 30px;
  --section-divider-height-mobile: 22px;
  padding: 140px 0;
  background: var(--bg-alt);
}
.empresas_grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.empresas_feats { border-top: 1px solid var(--line-strong); }
.empresas_feat {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  visibility: hidden;
}
.empresas_feat-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  padding-top: 4px;
}
.empresas_feat h3 {
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.empresas_feat p { margin: 0; color: var(--ink-dim); font-size: .9rem; }
.empresas_aside {
  position: sticky;
  top: 120px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  visibility: hidden;
}
.empresas_aside-lead {
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
  margin: 0 0 24px;
}
.empresas_aside .btn { width: 100%; }
.empresas_forward {
  display: block;
  margin-top: 18px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--body-c);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 15px 12px;
  transition: color .25s ease, border-color .25s ease;
}
.empresas_forward:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) {
  .empresas-w { padding: 72px 0; }
  .empresas_grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .empresas_aside { position: static; }
}

/* ===== STICKY MOBILE CTA ===== */
/* Solo phones: doble CTA fija abajo, aparece pasado el hero. */
.mcta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 480;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}
.mcta.is-visible { transform: none; }
.mcta_btn {
  flex: 1;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 14px 8px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.mcta_btn-primary { background: var(--ink); color: var(--white); }
.mcta_btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
@media (max-width: 767px) {
  .mcta { display: flex; }
}

/* ===== INSTRUCTOR ===== */
.instructor-w {
  --section-divider-height: 30px;
  --section-divider-height-mobile: 22px;
  --section-divider-start: rgba(24,24,27,.034);
  --section-divider-mid: rgba(24,24,27,.01);
  --section-edge-bottom-height: 56px;
  --section-edge-bottom-height-mobile: 38px;
  --section-edge-bottom-start: rgba(24,24,27,0);
  --section-edge-bottom-mid: rgba(24,24,27,.035);
  --section-edge-bottom-end: rgba(24,24,27,.10);
  position: relative;
  padding: 100px 0 160px;
  overflow: hidden;
  background: radial-gradient(ellipse 60% 50% at 100% 30%, var(--line-2) 0%, transparent 65%);
}
.instructor-w .container { position: relative; z-index: 2; }
.instructor_grid {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 64px;
  align-items: center;
}
.instructor_media {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center 15%;
  background-color: var(--snow);
  border: 1px solid var(--line);
  filter: grayscale(.4) contrast(1.02);
  visibility: hidden;
}
@media (max-width: 767px) {
  .instructor-w { padding: 56px 0 72px; }
  /* Photo centered on top, full-width text below — simpler and more
     legible on a narrow screen than squeezing photo+label+title into
     side-by-side columns. */
  .instructor_grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .instructor_media {
    aspect-ratio: 4/5;
    background-position: center top;
    max-width: 300px;
    margin: 0 auto;
    width: 100%;
    /* Bulletproof: this portrait is the section's anchor visual — never
       let a missed reveal trigger leave it invisible/blurred on phones.
       !important beats both the base visibility:hidden and any inline
       styles a stalled GSAP "from" state may have left behind. */
    visibility: visible !important;
    opacity: 1 !important;
    filter: grayscale(.4) contrast(1.02) !important;
  }
  .instructor-w .section-label { font-size: 11px; }
  .instructor-w .h2 { font-size: 1.6rem; }
  .instructor-w .p-lead {
    font-size: .92rem;
    line-height: 1.6;
    max-width: none;
    margin: 0 auto;
    text-align: left;
  }
}

/* ===== CTA — ink block, matching the board's "impact" frames ===== */
.cta-w {
  --section-seam-height: 36px;
  --section-seam-height-mobile: 26px;
  --section-seam-start: rgba(247,247,248,.32);
  --section-seam-mid: rgba(247,247,248,.09);
  --section-edge-bottom-height: 82px;
  --section-edge-bottom-height-mobile: 56px;
  --section-edge-bottom-start: rgba(255,255,255,0);
  --section-edge-bottom-mid: rgba(255,255,255,.50);
  --section-edge-bottom-end: var(--bg);
  position: relative;
  padding: 160px 0;
  text-align: center;
  background: var(--bg-ink);
  overflow: hidden;
}
.cta-w .container { position: relative; z-index: 2; }
.cta-w .section-bg-img { opacity: 1; filter: contrast(1.05); }
/* Photo runs full-bleed behind the whole block; only a soft radial
   scrim sits directly behind the centered copy so the text stays
   legible without a rectangular band cutting across the image. */
.cta-w .section-bg-grad {
  background: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(24,24,27,.78) 0%, rgba(24,24,27,.35) 55%, transparent 80%);
}
.cta-w .section-label { color: var(--accent-soft); }
.cta-w .h2, .cta-w .h2-big { color: var(--snow); }
.cta-w .p-lead { color: rgba(247,247,248,.72); }
.cta-w .btn_bg { background: var(--snow); }
.cta-w .btn_bg-hover { background: var(--accent); }
.cta-w .btn_text { color: var(--ink); }
.cta_content { display: flex; flex-direction: column; align-items: center; }
.cta_content .p-lead { text-align: center; }
@media (max-width: 767px) {
  .cta-w { padding: 96px 0; }
  .btn-lg { padding: 17px 28px; font-size: 13px; }
}

/* ===== FAQ ===== */
.faq-w {
  --section-seam-height: 34px;
  --section-seam-height-mobile: 24px;
  --section-seam-start: rgba(24,24,27,.085);
  --section-seam-mid: rgba(24,24,27,.022);
  position: relative;
  padding: 100px 0 160px;
  overflow: hidden;
  background: var(--bg);
}
.faq-w .container { position: relative; z-index: 2; }
.faq_list { display: flex; flex-direction: column; margin-top: 40px; }
.faq_item {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  visibility: hidden;
}
.faq_item h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; margin: 0 0 10px; }
.faq_item p { color: var(--body-c); max-width: 620px; margin: 0; }
@media (max-width: 767px) {
  .faq-w { padding: 64px 0 96px; }
  .faq_item { padding: 24px 0; }
  .faq_item h3 { font-size: 1.05rem; }
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  overflow: hidden;
  padding: 32px 0;
  border-top: 0;
  background: var(--bg);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(24,24,27,.028) 0%, rgba(24,24,27,.008) 48%, rgba(24,24,27,0) 100%);
}
.footer_inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--muted-c);
}

/* ===== CHARTERING FLOW — cortinas + carta náutica scrubbeada ===== */
/* La sección se pinnea (mismo patrón sticky del hero): dos cortinas del
   color del fondo se corren hacia los costados con el scroll y descubren
   la ruta enquiry → fixture. Después, el mismo scroll dibuja la ruta y
   mueve el buque nodo a nodo. */
.flow-w {
  position: relative;
  height: 340vh;
  background: var(--bg-ink);
}
.flow-w::before { content: none; }
.flow_pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.flow_stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 108px 0 44px;
  background:
    repeating-linear-gradient(to right, rgba(247,247,248,.025) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(to bottom, rgba(247,247,248,.025) 0 1px, transparent 1px 120px),
    var(--bg-ink);
}
.flow_head { position: relative; z-index: 2; }
.flow_head .section-label { color: var(--accent-soft); margin-bottom: 12px; }
.flow_title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--snow);
  margin: 0;
  max-width: 720px;
}
.flow_chart {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow_svg { width: min(1160px, 94vw); height: auto; max-height: 100%; }
.flow_path-ghost {
  stroke: rgba(247,247,248,.18);
  stroke-width: 1.5;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
}
.flow_path {
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(212,32,48,.5));
}
.flow_node { cursor: pointer; }
.flow_node-ring {
  fill: var(--bg-ink);
  stroke: rgba(247,247,248,.45);
  stroke-width: 1.5;
  transition: stroke .3s ease;
}
.flow_node-dot { fill: rgba(247,247,248,.35); transition: fill .3s ease; }
.flow_node text {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  fill: rgba(247,247,248,.5);
  transition: fill .3s ease;
}
.flow_node.is-active .flow_node-ring { stroke: var(--accent); }
.flow_node.is-active .flow_node-dot { fill: var(--accent); }
.flow_node.is-active text { fill: var(--snow); }
.flow_node:hover .flow_node-ring { stroke: var(--snow); }
.flow_ship path { fill: var(--accent); }
.flow_ship-pulse {
  fill: none;
  stroke: rgba(212,32,48,.55);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: flowPulse 2s ease-out infinite;
}
@keyframes flowPulse {
  0% { opacity: .9; transform: scale(.35); }
  100% { opacity: 0; transform: scale(1.4); }
}
.flow_readout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.flow_readout-num {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent-soft);
  font-weight: 500;
  padding-top: 10px;
  white-space: nowrap;
}
.flow_readout-body { display: flex; flex-direction: column; gap: 4px; }
.flow_readout-name {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--snow);
}
.flow_readout-desc { color: rgba(247,247,248,.62); max-width: 520px; font-size: .95rem; }
/* decor: coordenadas + anillos de radar girando */
.flow_decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.flow_coord {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(247,247,248,.28);
  white-space: nowrap;
}
.flow_coord-tl { top: 116px; right: 32px; }
.flow_coord-br { bottom: 48px; right: 32px; }
.flow_ring {
  position: absolute;
  border: 1px dashed rgba(247,247,248,.13);
  border-radius: 50%;
  animation: flowSpin 70s linear infinite;
}
.flow_ring-1 { width: 440px; height: 440px; right: -150px; top: -130px; }
.flow_ring-2 { width: 280px; height: 280px; left: -100px; bottom: -80px; animation-duration: 100s; animation-direction: reverse; }
@keyframes flowSpin { to { transform: rotate(360deg); } }
/* cortinas */
.flow_curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background: var(--bg);
  z-index: 5;
  will-change: transform;
}
.flow_curtain-l { left: 0; }
.flow_curtain-r { right: 0; }
.flow_curtain-l::after,
.flow_curtain-r::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
}
.flow_curtain-l::after { right: 0; background: linear-gradient(to left, rgba(24,24,27,.07), transparent); }
.flow_curtain-r::after { left: 0; background: linear-gradient(to right, rgba(24,24,27,.07), transparent); }
.flow_seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  pointer-events: none;
}
.flow_seam-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 8%, rgba(212,32,48,.55) 50%, transparent 92%);
}
.flow_seam-label {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-c);
  background: var(--bg);
  padding: 10px 14px;
}
/* riel vertical para phones */
.flow_list { display: none; }
@media (max-width: 767px) {
  .flow-w { height: 300vh; }
  /* extra bottom padding so the stage readout clears the sticky CTA bar */
  .flow_stage { padding: 88px 0 104px; }
  .flow_chart { display: none; }
  .flow_coord-tl { display: none; }
  .flow_coord-br { bottom: 20px; right: 16px; font-size: 9px; }
  .flow_list {
    display: block;
    position: relative;
    z-index: 2;
    /* auto height (not flex:1) so the rail spans exactly the stage items;
       the readout is pushed to the bottom with margin-top:auto instead */
    flex: none;
    margin: 22px 24px 10px;
    padding-left: 26px;
    overflow: hidden;
  }
  .flow_readout { margin-top: auto; }
  .flow_rail,
  .flow_rail-fill {
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 1px;
  }
  .flow_rail { background: rgba(247,247,248,.16); }
  .flow_rail-fill {
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
  }
  .flow_list li {
    position: relative;
    display: flex;
    align-items: center;
    padding: 9px 0;
    font-family: var(--f-mono);
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(247,247,248,.45);
    transition: color .3s ease;
  }
  .flow_list li.is-active { color: var(--snow); }
  .flow_item-dot {
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(247,247,248,.5);
    background: var(--bg-ink);
    transition: background .3s ease, border-color .3s ease;
  }
  .flow_list li.is-active .flow_item-dot { background: var(--accent); border-color: var(--accent); }
  .flow_readout { gap: 14px; }
  .flow_readout-num { font-size: 11px; padding-top: 6px; }
  .flow_readout-name { font-size: 1.25rem; }
  .flow_readout-desc { font-size: .85rem; }
}

/* ===== SPOTLIGHT CARDS (micro-interacción tipo ReactBits) ===== */
/* Un glow radial sigue el cursor dentro de la card; --mx/--my los setea
   el JS. Solo en dispositivos con hover real. */
[data-spotlight] { position: relative; overflow: hidden; }
[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s var(--ease);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(212,32,48,.07)), transparent 70%);
}
@media (hover: hover) and (pointer: fine) {
  [data-spotlight]:hover::after { opacity: 1; }
}
.costo_card, .vm_case { --spot: rgba(232,67,79,.13); }
.costo_card { transition: border-color .4s ease; }
.costo_card:hover { border-color: rgba(247,247,248,.30); }

/* ===== CAREER: conectores entre etapas ===== */
@media (min-width: 768px) {
  .career_step { position: relative; }
  .career_step:not(:last-child)::after {
    content: "\2192";
    position: absolute;
    top: 20px;
    right: -27px;
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
  }
}

/* ===== INSTRUCTOR: credenciales en dato, no en bio ===== */
.instructor_creds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  visibility: hidden;
}
.instructor_cred { display: flex; flex-direction: column; gap: 6px; }
.instructor_cred-num {
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--accent);
  line-height: 1;
}
.instructor_cred-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: .03em;
  color: var(--muted-c);
  line-height: 1.5;
}
@media (max-width: 767px) {
  .instructor_creds {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
    text-align: left;
  }
  .instructor_cred { flex-direction: row; align-items: baseline; gap: 12px; }
  .instructor_cred-num { min-width: 58px; font-size: 1.2rem; }
}

/* ===== LANGUAGE TOGGLE ===== */
/* Se ancla a la izquierda del CTA del header; el offset exacto lo calcula
   i18n.js porque el ancho del CTA cambia según el idioma. */
.lang-toggle {
  position: absolute;
  top: 50%;
  right: 200px; /* fallback; i18n.js lo ajusta al ancho real del CTA */
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-dim);
  transition: color .3s ease, border-color .3s ease;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--line-strong); }
@media (max-width: 1100px) {
  .lang-toggle { min-width: 40px; padding: 8px 9px; font-size: 11px; }
  /* make room for the toggle next to the CTA */
  .logo { max-width: calc(100% - 212px); }
}

/* ===== FAQ ACCORDION ===== */
.faq-w .h2 { margin-bottom: 8px; }
.faq_item { padding: 0; visibility: hidden; }
.faq_q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  text-align: left;
}
.faq_tag {
  flex: none;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-c);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
}
.faq_tag-b2b { color: var(--accent); border-color: rgba(212,32,48,.35); }
.faq_q-text {
  flex: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  transition: color .3s ease;
}
.faq_q:hover .faq_q-text { color: var(--accent-deep); }
.faq_icon {
  flex: none;
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  transition: transform .45s var(--ease);
}
.faq_item.is-open .faq_icon { transform: rotate(45deg); }
.faq_a { height: 0; overflow: hidden; }
.faq_a p { margin: 0; padding: 2px 0 26px; color: var(--body-c); max-width: 680px; }
@media (max-width: 767px) {
  .faq_q { padding: 18px 0; gap: 10px; }
  .faq_q-text { font-size: .95rem; }
  .faq_tag { font-size: 9px; padding: 3px 8px; }
  .faq_a p { padding-bottom: 20px; font-size: .9rem; }
}
