/* ============================================================
   KISEKI — 奇跡 — Strategy Execution System
   Concept: "The Path" — chaos converging into one luminous line.
   Ink-navy night → ivory daylight. Orange thread throughout.
   ============================================================ */

:root {
  /* Color */
  --ink: #070a16;
  --bg: #0a0e1f;
  --bg-2: #0e1329;
  --navy: #1b2342;
  --navy-soft: #232c52;
  --cream: #f2efe6;
  --cream-60: rgba(242, 239, 230, 0.6);
  --cream-40: rgba(242, 239, 230, 0.55); /* min 4.5:1 on ink for small text */
  --cream-40-deco: rgba(242, 239, 230, 0.4); /* decorative only, never body text */
  --cream-12: rgba(242, 239, 230, 0.12);
  --cream-08: rgba(242, 239, 230, 0.08);
  --accent: #EE6B4D; /* brand orange */
  --accent-bright: #FF7E5E;
  --accent-deep: #C94F33;
  --accent-text-on-paper: #A23C24; /* small text on light surfaces, ≥4.5:1 */
  --accent-12: rgba(238, 107, 77, 0.12);
  --accent-16: rgba(238, 107, 77, 0.16);
  --accent-24: rgba(238, 107, 77, 0.24);

  /* Light section tokens */
  --paper: #F7F8FA; /* deck --paper-bright */
  --paper-2: #E9EBF1;
  --paper-card: #FFFFFF;
  --ink-on-paper: #161c38;
  --ink-on-paper-60: rgba(22, 28, 56, 0.64);
  --ink-on-paper-40: rgba(22, 28, 56, 0.4);
  --ink-line: rgba(22, 28, 56, 0.14);

  /* Spacing rhythm */
  --space-section: clamp(80px, 12vh, 150px);
  --space-section-lg: clamp(110px, 18vh, 190px);
  --space-section-sm: clamp(60px, 10vh, 120px);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-jp: "Zen Old Mincho", serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --nav-h: 76px;
  --radius: 10px;
  --radius-lg: 22px;
  --radius-cap: 28px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3 { font-weight: 400; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.section--light :focus-visible { outline-color: var(--accent-deep); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-60);
  margin-bottom: clamp(28px, 5vh, 56px);
}
.label--center { justify-content: center; }
.label--hero { margin-bottom: clamp(22px, 4vh, 38px); }
.tick {
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--accent);
  flex: none;
}
.section--light .label { color: var(--ink-on-paper-60); }

.source {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--cream-40);
}
.section--light .source { color: var(--ink-on-paper-60); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.45s var(--ease-out), background-color 0.35s, color 0.35s, border-color 0.35s;
  overflow: hidden;
  isolation: isolate;
}
.btn__arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { color: var(--ink); }

.btn--ghost {
  border: 1px solid var(--cream-12);
  color: var(--cream);
  background: rgba(242, 239, 230, 0.02);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-bright); }

.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 21px 42px; font-size: 17px; }

/* ---------- Grain ---------- */
.grain {
  position: fixed;
  inset: -100px;
  z-index: 70;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; z-index: 90; pointer-events: none; top: 0; left: 0; }
  .cursor__dot {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cursor__ring {
    position: absolute;
    width: 36px; height: 36px;
    border: 1px solid var(--accent-24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s, background-color 0.3s;
  }
  .cursor.is-hover .cursor__ring {
    width: 56px; height: 56px;
    border-color: var(--accent);
    background: rgba(238, 107, 77, 0.07);
  }
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: none;
  place-items: center;
  clip-path: inset(0 0 0 0);
}
.js .preloader { display: grid; }
.preloader__inner { text-align: center; }
.preloader__logo {
  display: block;
  height: clamp(40px, 6vw, 58px);
  width: auto;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}
.preloader__meaning {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-40);
  opacity: 0;
}

/* Shared navigation, footer and FAQ keep their colors on every page. */
.nav, .menu, .footer, .modal { color: var(--cream); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  transition: transform 0.5s var(--ease-out), background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 10, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--cream-08);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__logo { flex: none; position: relative; }
.nav__logo-img { height: 26px; width: auto; }
.nav__logo-img--dark { display: none; }
.nav__links { display: flex; gap: 34px; margin-left: 12px; }
.nav__link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cream-60);
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav__lang {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.nav__lang-link { color: var(--cream-40); transition: color 0.3s; }
.nav__lang-link:hover, .nav__lang-link.is-active { color: var(--cream); }
.nav__lang-sep { color: var(--cream-12); }
.nav__login { font-size: 14.5px; font-weight: 500; color: var(--cream-60); transition: color 0.3s; }
.nav__login:hover { color: var(--cream); }
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--cream);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.nav__burger.is-open span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Nav over light sections */
.nav.on-light.is-scrolled { background: rgba(247, 248, 250, 0.88); border-bottom-color: var(--ink-line); }
.nav.on-light .nav__link, .nav.on-light .nav__login { color: var(--ink-on-paper-60); }
.nav.on-light .nav__link:hover, .nav.on-light .nav__login:hover { color: var(--ink-on-paper); }
.nav.on-light .nav__lang-link { color: var(--ink-on-paper-60); }
.nav.on-light .nav__lang-link.is-active, .nav.on-light .nav__lang-link:hover { color: var(--ink-on-paper); }
.nav.on-light .nav__logo-img--light { display: none; }
.nav.on-light .nav__logo-img--dark { display: block; }
.nav.on-light .nav__burger span { background: var(--ink-on-paper); }
.nav.on-light .btn--primary::before { background: var(--ink-on-paper); }
.nav.on-light .btn--primary:hover { color: var(--cream); }

/* Nav over the open (dark) mobile menu: force dark polarity regardless of scroll state */
.nav.menu-open,
.nav.on-light.is-scrolled.menu-open {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav.menu-open .nav__logo-img--light { display: block; }
.nav.menu-open .nav__logo-img--dark { display: none; }
.nav.menu-open .nav__burger span { background: var(--cream); }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: var(--ink);
  display: grid;
  align-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-inout), visibility 0s 0.7s;
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-inout), visibility 0s;
}
.menu__inner { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.menu__links { display: flex; flex-direction: column; gap: 8px; margin-bottom: 48px; }
.menu__link {
  font-family: var(--font-display);
  font-size: clamp(38px, 9vw, 56px);
  font-weight: 350;
  line-height: 1.15;
  color: var(--cream);
  opacity: 0;
  transform: translateY(24px);
  transition: color 0.3s;
}
.menu__link:hover { color: var(--accent); }
.menu__link--minor { font-size: clamp(24px, 6vw, 32px); color: var(--cream-60); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link { transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), color 0.3s; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.18s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.26s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.34s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.42s; }
.menu__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.menu__lang { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 14px; color: var(--cream-40); }
.menu__lang .is-active { color: var(--cream); }

/* Short (landscape-phone) viewports: scroll the menu instead of clipping it */
@media (max-height: 480px) {
  .menu {
    overflow-y: auto;
    align-content: start;
    padding-top: calc(var(--nav-h) + 16px);
    padding-bottom: 24px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(120% 90% at 70% 20%, var(--bg-2) 0%, var(--ink) 62%);
}
.hero__canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  /* above section backgrounds, below lifted section content (63) */
  z-index: 61;
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero__canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: auto;
    opacity: 0.5;
  }
}
.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 22, 0.65) 0%, transparent 22%),
    linear-gradient(0deg, var(--ink) 0%, transparent 26%),
    radial-gradient(90% 60% at 18% 58%, rgba(7, 10, 22, 0.6) 0%, transparent 70%);
}
.hero__content {
  position: relative;
  z-index: 73;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 6vh) var(--gutter) 12vh;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.2vw, 112px);
  font-weight: 340;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--cream);
  max-width: 13em;
}
.hero__title em {
  font-style: italic;
  font-weight: 380;
  color: var(--accent);
}
.hero__line { display: block; overflow: hidden; padding-block: 0.06em; margin-block: -0.06em; }
.hero__line-inner { display: inline-block; will-change: transform; }
.hero__sub {
  margin-top: clamp(26px, 4.5vh, 42px);
  max-width: 470px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.65;
  color: var(--cream-60);
  font-weight: 400;
}
.hero__ctas {
  margin-top: clamp(30px, 5vh, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero__kanji {
  position: absolute;
  z-index: 73;
  right: clamp(16px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.55em;
  color: var(--cream-40-deco);
}
.hero__kanji::after {
  content: "";
  display: block;
  width: 1px;
  height: 84px;
  background: linear-gradient(var(--accent), transparent);
  margin: 22px auto 0;
}
.hero__scroll {
  position: absolute;
  z-index: 73;
  left: var(--gutter);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-40);
}
.hero__scroll-line {
  position: relative;
  width: 64px; height: 1px;
  background: var(--cream-12);
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scrollSweep 2.2s var(--ease-inout) infinite;
}
@keyframes scrollSweep {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(102%); }
}

/* ---------- Clients marquee ---------- */
.clients {
  position: relative;
  padding: 34px 0;
  border-top: 1px solid var(--cream-08);
  border-bottom: 1px solid var(--cream-08);
  background: var(--ink);
  overflow: hidden;
}
.clients::before, .clients::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.clients::after { right: 0; background: linear-gradient(270deg, var(--ink), transparent); }
.clients__track { display: flex; width: max-content; }
.clients__group {
  display: flex;
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
  padding-right: clamp(56px, 7vw, 110px);
}
.clients__group img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.clients__group img.is-boxed {
  filter: grayscale(1) invert(1) brightness(1.6) contrast(1.1);
  mix-blend-mode: screen;
}
.clients__group img.is-dark-mark {
  filter: grayscale(1) brightness(1.5);
  mix-blend-mode: screen;
}
.clients__group img:hover { opacity: 0.95; }

/* ---------- Marquee pause/play (WCAG 2.2.2) ---------- */
.marquee-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cream-12);
  background: rgba(7, 10, 22, 0.72);
  color: var(--cream-60);
  font-size: 9px;
  display: grid;
  place-items: center;
  transition: color 0.3s, border-color 0.3s;
  flex: none;
}
.marquee-toggle:hover { color: var(--accent-bright); border-color: var(--accent-24); }
.marquee-toggle--clients {
  position: absolute;
  z-index: 3;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Causes ---------- */
.causes { padding: var(--space-section) 0; background: var(--ink); }
.causes__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: clamp(48px, 8vh, 90px);
  max-width: 16em;
}
.causes__title em { color: var(--accent); }
.causes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream-08);
  border: 1px solid var(--cream-08);
}
.causes__card {
  position: relative;
  background: var(--bg);
  padding: clamp(28px, 3.4vw, 48px);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: background-color 0.45s;
}
.causes__card:hover { background: var(--bg-2); }
.causes__card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.causes__card:hover::after { transform: scaleX(1); }
.causes__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: auto;
}
.causes__card h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 420;
  line-height: 1.25;
  margin-top: 56px;
}
.causes__closer {
  margin-top: clamp(36px, 6vh, 60px);
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
}
.causes__closer em { color: var(--accent); }

/* ---------- Cost ---------- */
.cost {
  padding: var(--space-section) 0 0;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(27, 35, 66, 0.55) 0%, transparent 70%),
    var(--ink);
  border-top: 1px solid var(--cream-08);
}
.cost__title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: clamp(48px, 8vh, 90px);
  max-width: 16em;
}
.cost__title em { color: var(--accent); }
.cost__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 60px);
}
.cost__item {
  border-top: 1px solid var(--cream-12);
  padding-top: 26px;
}
.cost__value {
  font-family: var(--font-display);
  font-weight: 320;
  font-size: clamp(64px, 7.5vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.cost__unit {
  font-size: 1em;
  color: var(--accent);
  margin-left: 0.08em;
}
.cost__item h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.cost__desc { color: var(--cream-60); font-size: 15px; margin-top: 4px; }

/* ---------- Calculator ---------- */
.calc { padding: clamp(48px, 8vh, 90px) 0 var(--space-section); background: var(--ink); }
.calc__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  border: 1px solid var(--cream-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg) 60%);
}
.calc__left { padding: clamp(30px, 4vw, 60px); }
.calc__left .label { margin-bottom: 22px; }
.calc__title {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.14;
  margin-bottom: 12px;
}
.calc__title em { color: var(--accent); }
.calc__sub { color: var(--cream-60); font-size: 15.5px; margin-bottom: clamp(28px, 4vh, 44px); }
.calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 480px; align-items: stretch; }
/* labels of unequal length must not push one input below the other */
.field { display: flex; flex-direction: column; }
.field input { margin-top: auto; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-60);
  margin-bottom: 10px;
}
.field input {
  width: 100%;
  background: rgba(242, 239, 230, 0.04);
  border: 1px solid var(--cream-12);
  border-radius: var(--radius);
  padding: 15px 16px;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--cream);
  transition: border-color 0.3s, background-color 0.3s;
  appearance: textfield;
  -moz-appearance: textfield;
}
.field input::-webkit-outer-spin-button, .field input::-webkit-inner-spin-button { -webkit-appearance: none; }
.field input:focus {
  border-color: var(--accent);
  background: rgba(238, 107, 77, 0.06);
}
.field input:focus:not(:focus-visible) { outline: none; }
.field input::placeholder { color: var(--cream-40); }
.calc__right {
  position: relative;
  padding: clamp(30px, 4vw, 60px);
  background:
    radial-gradient(120% 120% at 100% 0%, var(--accent-16) 0%, transparent 60%),
    rgba(238, 107, 77, 0.05);
  border-left: 1px solid var(--cream-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc__result-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-60);
  margin-bottom: 16px;
}
.calc__result {
  font-family: var(--font-display);
  font-weight: 330;
  font-size: clamp(52px, 5.6vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  min-height: 1em;
  overflow-wrap: anywhere;
}
.calc__anchor {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-12);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cream);
}
.calc__note {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--cream-40);
}

/* ---------- Light sections base ---------- */
.section--light {
  background:
    radial-gradient(1300px 800px at 88% -14%, rgba(238, 107, 77, 0.10), transparent 58%),
    radial-gradient(1100px 760px at -8% 116%, rgba(126, 134, 163, 0.13), transparent 62%),
    linear-gradient(170deg, #FBFCFD 0%, var(--paper) 55%, var(--paper-2) 100%);
  color: var(--ink-on-paper);
}

/* ---------- Methodology ---------- */
.method {
  padding: var(--space-section) 0 var(--space-section-sm);
  border-radius: var(--radius-cap) var(--radius-cap) 0 0;
}
.method__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(40px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.method__title sup { font-size: 0.32em; font-weight: 500; }
.method__title em { color: var(--accent-deep); }
.method__steps {
  margin-top: clamp(48px, 8vh, 90px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.method__step {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 42px);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.method__step:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -24px rgba(22, 28, 56, 0.28);
}
.method__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent-text-on-paper);
}
.method__step h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 420;
  margin: auto 0 12px;
  padding-top: 48px;
}
.method__step p { color: var(--ink-on-paper-60); font-size: 15.5px; max-width: 30em; }

/* ---------- Platform ---------- */
.platform { padding: var(--space-section-sm) 0 var(--space-section); }
.platform__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.platform__title em { color: var(--accent-deep); }
/* ---------- Experts ---------- */
.experts { overflow: hidden; padding-bottom: clamp(48px, 9vh, 110px); }
.experts__pin { padding: clamp(36px, 5vh, 56px) 0; }
.experts__header { margin-bottom: clamp(24px, 3.5vh, 40px); }
.experts__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.05;
}
.experts__title em { color: var(--accent-deep); font-style: italic; }
.experts__sub { margin-top: 12px; color: var(--ink-on-paper-60); font-size: clamp(15.5px, 1.3vw, 18px); }
.experts__rail {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  width: max-content;
  will-change: transform;
}
.expert-card {
  width: clamp(270px, 22vw, 320px);
  flex: none;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.expert-card__photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.expert-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.7s var(--ease-out);
}
.expert-card:hover .expert-card__photo img { transform: scale(1.045); }
.expert-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.expert-card__badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-text-on-paper);
  border: 1px solid rgba(238, 107, 77, 0.4);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.expert-card__body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 440;
}
.expert-card__tag {
  font-size: 13px;
  color: var(--accent-text-on-paper);
  font-style: italic;
  font-family: var(--font-display);
  margin: 3px 0 12px;
  min-height: 2.7em;
}
.expert-card__body ul { display: grid; gap: 7px; margin-top: 0; }
.expert-card__body li {
  position: relative;
  padding-left: 16px;
  font-size: 12.8px;
  line-height: 1.45;
  color: var(--ink-on-paper-60);
}
.expert-card__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.expert-card--closing {
  background: var(--navy);
  color: var(--cream);
  border-color: transparent;
  justify-content: center;
}
.expert-card--closing .expert-card__body { padding: 40px 34px; }
.expert-card--closing h3 {
  color: var(--cream);
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.expert-card--closing .expert-card__tag { color: var(--accent-bright); margin-bottom: 26px; }

/* ---------- Case study ---------- */
.case {
  padding: var(--space-section) 0;
  border-radius: var(--radius-cap) var(--radius-cap) 0 0;
  margin-top: calc(var(--radius-cap) * -1);
  position: relative;
  z-index: 2;
}
.case__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.08;
  max-width: 16em;
}
.case__title em { color: var(--accent); }
/* ---------- Outcomes ---------- */
.outcomes {
  padding: var(--space-section-sm) 0;
  background: var(--ink);
  border-top: 1px solid var(--cream-08);
}
.outcomes__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
}
.outcomes__list li {
  position: relative;
  border-top: 1px solid var(--cream-12);
  padding-top: clamp(20px, 3vh, 30px);
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
}
.outcomes__mark {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5em;
  color: var(--accent);
  margin-bottom: 12px;
}
.outcomes__list em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(14.5px, 1.2vw, 17px);
  color: var(--cream-60);
  margin-top: 10px;
  line-height: 1.5;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: var(--space-section-lg) 0 clamp(110px, 18vh, 220px);
  background: var(--ink);
  text-align: center;
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 42% at 50% 62%, var(--accent-16) 0%, transparent 70%),
    radial-gradient(70% 60% at 50% 100%, rgba(27, 35, 66, 0.8) 0%, transparent 70%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 13em;
  margin-inline: auto;
}
.cta__title em { color: var(--accent); }
.cta__sub {
  margin-top: 22px;
  color: var(--cream-60);
  font-size: clamp(16px, 1.4vw, 19px);
}
.cta__action { margin-top: clamp(34px, 6vh, 54px); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--cream-08);
  padding: clamp(50px, 8vh, 90px) 0 36px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  padding-bottom: clamp(40px, 7vh, 70px);
}
.footer__logo { height: 30px; width: auto; margin-bottom: 22px; }
.footer__news { color: var(--cream-60); font-size: 15px; margin-bottom: 18px; }
.footer__subscribe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-24);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.footer__subscribe:hover { color: var(--accent-bright); border-color: var(--accent); gap: 16px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-40);
  margin-bottom: 6px;
}
.footer__col a { font-size: 14.5px; color: var(--cream-60); transition: color 0.3s; width: fit-content; }
.footer__col a:hover { color: var(--accent-bright); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--cream-08);
  padding-top: 26px;
  font-size: 13px;
  color: var(--cream-40);
}
.footer__bottom a { transition: color 0.3s; }
.footer__bottom a:hover { color: var(--accent-bright); }

/* ---------- Reveal defaults (JS toggles) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-hero-fade] { opacity: 0; }
.js .hero__line-inner { transform: translateY(108%); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__lang, .nav__login { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: flex; margin-left: 0; }

}

@media (max-width: 860px) {
  .causes__grid { grid-template-columns: 1fr; }
  .causes__card { min-height: 0; }
  .causes__card h3 { margin-top: 34px; }
  .cost__grid { grid-template-columns: 1fr; gap: 34px; }
  .calc__panel { grid-template-columns: 1fr; }
  .calc__right { border-left: 0; border-top: 1px solid var(--cream-12); }
  .method__steps { grid-template-columns: 1fr; }
  .method__step { min-height: 0; }
  .method__step h3 { padding-top: 40px; }
  .platform__features { grid-template-columns: 1fr; gap: 30px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }


  /* Experts: natural horizontal scroll */
  .experts__rail {
    width: auto;
    overflow-x: auto;
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .experts__rail::-webkit-scrollbar { display: none; }
  .expert-card { scroll-snap-align: start; width: min(82vw, 340px); }

  .outcomes__list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav__actions { display: none; }
  .nav__burger { margin-left: auto; }
}

@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__logo-img { height: 22px; }
  .label--hero { font-size: 10px; letter-spacing: 0.22em; }
  .label--hero .tick { width: 22px; }
  .calc__fields { grid-template-columns: 1fr; }
  .calc__result { font-size: clamp(36px, 12vw, 52px); }
  .btn { padding: 15px 24px; font-size: 14.5px; }
  .btn--lg { padding: 18px 32px; font-size: 15.5px; }
  .hero__content { padding-top: calc(var(--nav-h) + 6vh); padding-bottom: 16vh; }
  .hero__title { font-size: clamp(40px, 11.4vw, 54px); }
  .hero__sub { font-size: 15.5px; }
  .hero__kanji { display: none; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .clients__group img { height: 22px; }
  .label { letter-spacing: 0.22em; }
  .quote-card { width: 84vw; padding: 24px; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .js [data-reveal], .js [data-hero-fade] { opacity: 1; transform: none; }
  .js .hero__line-inner { transform: none; }
  .js .preloader { display: none; }

  /* Static, fully reachable fallbacks for motion-driven layouts */
  .clients__track {
    width: auto;
    overflow-x: auto;
    transform: none !important;
  }
  .clients__group[aria-hidden="true"] { display: none; }
  .clients::before, .clients::after { display: none; }
  .marquee-toggle { display: none; }

  .experts__rail {
    width: auto;
    overflow-x: auto;
    padding-inline: var(--gutter);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
  }
  .experts__rail::-webkit-scrollbar { display: none; }
}

/* ---------- No-JS fallbacks (GSAP/CDN failure or scripts disabled) ---------- */
html:not(.js) .clients__track {
  width: auto;
  overflow-x: auto;
}
html:not(.js) .clients__group[aria-hidden="true"] { display: none; }
html:not(.js) .clients::before,
html:not(.js) .clients::after { display: none; }
html:not(.js) .marquee-toggle { display: none; }
html:not(.js) .experts__rail {
  width: auto;
  overflow-x: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   V2 sections
   ============================================================ */

/* anchored sections clear the fixed nav on native hash jumps */
section[id], main[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

/* ---------- Constellation weaves behind content ----------
   Canvas sits at z 61, traveling dot at 62; every section's content is
   lifted to 63 so particles pass behind text and cards, over backgrounds. */
@media (min-width: 860.02px) {
  section:not(.hero) > :not(.cta__glow):not(.marquee-toggle),
  footer > .container {
    position: relative;
    z-index: 63;
  }
  section:not(.hero) > .marquee-toggle {
    z-index: 63;   /* already absolutely positioned — raise only the layer */
  }
}

/* ---------- Diagnosis ---------- */
.diagnosis {
  padding: var(--space-section) 0;
  background: var(--ink);
  border-top: 1px solid var(--cream-08);
}
.diagnosis__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: clamp(40px, 6vh, 64px);
  max-width: 16em;
}
.diagnosis__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1060px;
}
.chip {
  border: 1px solid var(--cream-12);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  color: var(--cream-60);
  background: rgba(242, 239, 230, 0.02);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out);
}
.chip:hover { border-color: var(--accent); color: var(--cream); transform: translateY(-1px); }
.chip[aria-pressed="true"],
.chip.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.diagnosis__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px 40px;
  margin-top: clamp(36px, 6vh, 56px);
}
.diagnosis__closer {
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--cream);
}
.diagnosis__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent-24);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.diagnosis__link:hover { color: var(--accent-bright); border-color: var(--accent); gap: 15px; }

/* ---------- Methodology pillars (expand) ---------- */
.method__closer {
  margin-top: clamp(36px, 6vh, 60px);
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
}
.method__closer em { color: var(--accent-deep); }
.pillar { min-height: 0; }
.pillar h3 { margin: 44px 0 10px; padding-top: 0; }
.pillar > p { margin-bottom: 20px; }
.pillar__toggle {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(22, 28, 56, 0.2);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-on-paper);
  background: rgba(238, 107, 77, 0.07);
  transition: border-color 0.3s, background-color 0.3s;
  text-align: left;
}
.pillar__toggle:hover { border-color: var(--accent-deep); }
.pillar__chev { transition: transform 0.35s var(--ease-out); flex: none; }
.pillar__toggle[aria-expanded="true"] .pillar__chev,
.pillar__toggle.is-open .pillar__chev { transform: rotate(180deg); }
.pillar__panel { padding-top: 18px; }
.pillar__panel-sub {
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 12px;
  color: var(--ink-on-paper);
}
.pillar__panel ul { display: grid; gap: 10px; }
.pillar__panel li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-on-paper-60);
}
.pillar__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.pillar__panel-closer {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15.5px;
  color: var(--accent-text-on-paper);
}
.pillar__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text-on-paper);
  border-bottom: 1px solid rgba(238, 107, 77, 0.4);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s;
}
.pillar__link:hover { color: var(--accent-deep); border-color: var(--accent-deep); }


/* ---------- Phases ---------- */
.phases {
  padding: var(--space-section) 0;
  background: var(--ink);
  border-top: 1px solid var(--cream-08);
}
.phases__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
}
.phases__title em { color: var(--accent); }
.phases__list { margin-top: clamp(44px, 7vh, 76px); }
.phases__item {
  display: grid;
  grid-template-columns: clamp(72px, 8vw, 120px) 1fr;
  gap: clamp(18px, 3vw, 44px);
  padding: clamp(28px, 4.5vh, 44px) 0;
  border-top: 1px solid var(--cream-08);
}
.phases__item:last-child { border-bottom: 1px solid var(--cream-08); }
.phases__num {
  font-family: var(--font-display);
  font-weight: 320;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 0.9;
  color: var(--accent);
}
.phases__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 2.2vw, 28px);
  margin-bottom: 14px;
}
.phases__bullets { display: grid; gap: 8px; }
.phases__bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--cream-60);
}
.phases__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.phases__duration {
  margin-top: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cream-40);
}

/* ---------- Promise heading + Parachute Guarantee ---------- */
.outcomes__heading {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.outcomes__heading em { color: var(--accent); }
.guarantee {
  margin-top: clamp(40px, 7vh, 70px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  border: 1px solid var(--accent-24);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.4vw, 48px);
  background:
    radial-gradient(80% 120% at 0% 0%, var(--accent-16) 0%, transparent 60%),
    var(--bg);
}
.guarantee__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 8px;
}
.guarantee__text {
  color: var(--cream-60);
  font-size: 16px;
  line-height: 1.6;
  max-width: 44em;
}

/* ---------- Promise closer (kept from objections) ---------- */
.outcomes__closer {
  margin-top: clamp(28px, 4.5vh, 44px);
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.35;
}
.outcomes__closer em { color: var(--accent); }

/* ---------- V2 responsive ---------- */
@media (max-width: 560px) {
  .chip { padding: 11px 16px; font-size: 13.5px; }
  .diagnosis__foot { flex-direction: column; align-items: flex-start; }
  .phases__item { grid-template-columns: 1fr; gap: 12px; }
  .guarantee { flex-direction: column; align-items: flex-start; }
}

/* authored display would defeat the hidden attribute — restore it explicitly */
.case-card__panel[hidden],
.pillar__panel[hidden] { display: none; }

/* ---------- V2 no-JS fallbacks ---------- */
html:not(.js) .pillar__panel[hidden],
html:not(.js) .case-card__panel[hidden] { display: grid; }
html:not(.js) .pillar__toggle .pillar__chev,
html:not(.js) .case-card__toggle .case-card__chev { display: none; }

/* ============================================================
   V3 sections
   ============================================================ */

/* ---------- Calculator sources ---------- */
.calc__sources { margin-top: 22px; }

/* ---------- Platform: list left, floating screens right ---------- */
.platform__grid {
  margin-top: clamp(40px, 6vh, 70px);
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.platform__list { display: flex; flex-direction: column; }
.platform__item {
  position: relative;
  text-align: left;
  padding: clamp(16px, 2.2vh, 22px) 18px clamp(16px, 2.2vh, 22px) 24px;
  border-top: 1px solid rgba(22, 28, 56, 0.14);
  border-left: 2px solid transparent;
  transition: background-color 0.3s, border-left-color 0.3s;
}
.platform__item:last-child { border-bottom: 1px solid rgba(22, 28, 56, 0.14); }
.platform__item h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 440;
  transition: color 0.3s;
}
.platform__item p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-on-paper-60);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s var(--ease-out), opacity 0.35s;
}
.platform__item:hover { background: rgba(238, 107, 77, 0.05); }
.platform__item.is-active {
  border-left-color: var(--accent);
  background: rgba(238, 107, 77, 0.06);
}
.platform__item.is-active h3 { color: var(--accent-deep); }
.platform__item.is-active p { max-height: 6em; opacity: 1; }
.platform__stage {
  position: relative;
  aspect-ratio: 3 / 2.15;
  min-height: 0;
}
.platform__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* subtle lift off the paper: dark blue, 15%, wide and soft */
  filter: drop-shadow(0 26px 55px rgba(27, 35, 66, 0.15));
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.platform__screen.is-active {
  opacity: 1;
  transform: none;
}

/* ---------- Track record: deck credibility (dark) ---------- */
.track {
  padding: var(--space-section) 0;
  background: var(--ink);
  border-radius: var(--radius-cap) var(--radius-cap) 0 0;
  margin-top: calc(var(--radius-cap) * -1);
  position: relative;
  z-index: 2;
  color: var(--cream);
  overflow: hidden;
}
.track__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.track__title em { color: var(--accent); }
.track__item {
  border: 1px solid var(--cream-08);
  background: rgba(35, 44, 82, 0.45);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vh, 30px) clamp(24px, 2.6vw, 40px);
}
.track__value {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.015em;
  background: linear-gradient(178deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.track__fix { font-size: 1em; }
.track__label { margin-top: 8px; font-size: 16.5px; color: rgba(242, 239, 230, 0.85); }
.track__line {
  margin-top: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--accent-bright);
}

/* ---------- Success stories + voices (light, deck style) ---------- */
.case__title em { color: var(--accent-deep); }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(27, 35, 66, 0.05), 0 22px 48px rgba(27, 35, 66, 0.09);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(19, 26, 51, 0.12), 0 40px 90px rgba(19, 26, 51, 0.22);
}
.case-card.is-hidden { display: none; }
.case-card__media {
  position: relative;
  height: clamp(150px, 16vw, 200px);
  overflow: hidden;
}
.case-card__media > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 35, 66, 0.28), transparent 45%);
}
.case-card__logo {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 16px;
  height: 56px;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 15px 16px;
  box-shadow: 0 10px 26px rgba(19, 26, 51, 0.22);
}
.case-card__logo.is-boxed {
  padding: 6px;
}
.case-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(22px, 2.6vw, 34px);
}
.case-card__headline {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--navy);
  /* two-line slot so client names align across the rail */
  min-height: 2.32em;
}
.case-card__secondary {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--accent-12);
  border: 1px solid var(--accent-24);
  border-radius: var(--radius);
  padding: 9px 16px;
}
.case-card__secondary.is-empty {
  visibility: hidden;
}
.case-card__quote-group {
  /* fixed offset so client names align; the toggle absorbs the slack */
  margin-top: 0;
  padding-top: 22px;
  padding-bottom: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.case-card__portrait {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  outline: 1.5px solid var(--accent-24);
  box-shadow: 0 10px 24px rgba(19, 26, 51, 0.2);
  background: #fff;
}
.case-card__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: 15.5px;
  line-height: 1.45;
  color: rgba(22, 28, 56, 0.78);
}
.case-card__person {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-paper-60);
}
.case-card__toggle {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-paper-60);
  transition: color 0.3s;
  text-align: left;
}
.case-card__toggle:hover { color: var(--accent-deep); }
.case-card__chev { transition: transform 0.35s var(--ease-out); }
.case-card__toggle[aria-expanded="true"] .case-card__chev,
.case-card__toggle.is-open .case-card__chev { transform: rotate(180deg); }
.case-card__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  padding-top: 20px;
}
.case-card__panel[hidden] { display: none; }
.case-card__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-line);
}
.case-card__problems li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 11px 0;
}
.case-card__problems li + li { border-top: 1px solid var(--ink-line); }
.case-card__problems li > span:first-child {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(22, 28, 56, 0.78);
}
.case-card__results { display: grid; gap: 10px; }
.case-card__results li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(22, 28, 56, 0.78);
}
.case-card__results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* department tags — pastel palette, deck convention (functional exception to brand) */
.dept-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-12);
  border: 1px solid var(--accent-24);
  border-radius: 999px;
  padding: 3px 10px;
}
.dept-tag--growth-sales,
.dept-tag--crecimiento-ventas { color: #1E7A41; background: #E3F1E7; border-color: rgba(30, 122, 65, 0.32); }
.dept-tag--human-resources,
.dept-tag--recursos-humanos { color: #B03571; background: #FAE6F0; border-color: rgba(176, 53, 113, 0.32); }
.dept-tag--operations,
.dept-tag--operaciones { color: #3A46A0; background: #E8EBFA; border-color: rgba(58, 70, 160, 0.32); }
.dept-tag--finance,
.dept-tag--finanzas { color: #07719A; background: #DEF0F7; border-color: rgba(7, 113, 154, 0.32); }
.dept-tag--strategy,
.dept-tag--estrategia { color: #8A4FB8; background: #F2E8F9; border-color: rgba(138, 79, 184, 0.32); }
.dept-tag--marketing { color: #964A10; background: #FCEEDF; border-color: rgba(150, 74, 16, 0.32); }
.dept-tag--product,
.dept-tag--producto { color: #B5382C; background: #FBE7E3; border-color: rgba(181, 56, 44, 0.32); }
.dept-tag--vision-mission,
.dept-tag--vision-y-mision { color: #7F6B04; background: #FAF2D0; border-color: rgba(127, 107, 4, 0.32); }

/* phases follows the light cases section */
.phases {
  border-radius: var(--radius-cap) var(--radius-cap) 0 0;
  margin-top: calc(var(--radius-cap) * -1);
  position: relative;
  z-index: 2;
  border-top: 0;
}

/* ---------- V3 responsive ---------- */
@media (max-width: 980px) {
  .platform__grid { grid-template-columns: 1fr; }
  .platform__stage { order: -1; }
}
@media (max-width: 860px) {
  .case-card__panel { grid-template-columns: 1fr; }
  .platform__item p { max-height: none; opacity: 1; }
  .platform__item { border-left-width: 2px; }
}
@media (max-width: 560px) {
  .case-card__quote-group { flex-direction: column; }
}

/* ============================================================
   V4 sections
   ============================================================ */

.container--wide { max-width: 1400px; }

/* ---------- Icon chips (deck style) ---------- */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-12);
  border: 1px solid var(--accent-24);
  color: var(--accent);
  flex: none;
}
.section--light .icon-chip { color: var(--accent-deep); }
.icon-chip svg { width: 28px; height: 28px; }

/* ---------- Causes with icons ---------- */
.causes__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: auto;
}
.causes__card h3 { margin-top: 40px; }

/* ---------- Pillar top row ---------- */
.pillar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

/* ---------- Modals (deck case-more style) ---------- */
.modal { position: fixed; inset: 0; z-index: 95; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 22, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal__panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px));
  max-height: min(84vh, 900px);
  overflow-y: auto;
  background: #fff;
  color: var(--ink-on-paper);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-cap);
  box-shadow: 0 6px 18px rgba(19, 26, 51, 0.12), 0 40px 90px rgba(19, 26, 51, 0.35);
  padding: clamp(28px, 4vw, 56px);
}
.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-24);
  background: var(--accent-12);
}
.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent-deep);
}
.modal__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.modal__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.modal__title {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.12;
  color: var(--navy);
  padding-right: 48px;
}
.modal__sub {
  margin-top: 10px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-on-paper-60);
}
.modal__list { display: grid; gap: 12px; margin-top: 22px; }
.modal__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(22, 28, 56, 0.78);
}
.modal__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}
.modal__closer {
  margin-top: 20px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16.5px;
  color: var(--accent-text-on-paper);
}
.modal__body { margin-top: 18px; }

/* diagnosis modal case cards */
.dmodal-case {
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: var(--paper-card);
}
.dmodal-case + .dmodal-case { margin-top: 14px; }
.dmodal-case__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.dmodal-case__head img { height: 24px; width: auto; object-fit: contain; }
.dmodal-case__head img.is-boxed { height: 40px; }
.dmodal-case__go {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-24);
  background: var(--accent-12);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  transition: background-color 0.3s;
}
.dmodal-case__go:hover { background: var(--accent-24); }
.dmodal-case__go svg { width: 18px; height: 18px; }
.dmodal-match + .dmodal-match { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ink-line); }
.dmodal-match__problem {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(22, 28, 56, 0.78);
}
.dmodal-match__win {
  position: relative;
  margin-top: 8px;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.dmodal-match__win::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 12px;
  top: 0.15em;
}
.dmodal-empty { color: var(--ink-on-paper-60); font-size: 15px; }

/* ---------- Diagnosis chips with tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.chip .dept-tag { pointer-events: none; }
.chip[aria-pressed="true"] .dept-tag,
.chip.is-selected .dept-tag {
  background: rgba(255, 255, 255, 0.9);
}

/* ---------- Track: full-width map above stats row ---------- */
.track__map {
  margin-top: clamp(36px, 5vh, 56px);
  position: relative;
}
.track__map svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 46vh;
}
.track__row {
  margin-top: clamp(36px, 5vh, 56px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

/* ---------- Success stories: horizontal rail ---------- */
.case__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.case__nav { display: flex; gap: 10px; }
.case__arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 28, 56, 0.22);
  background: #fff;
  color: var(--navy);
  font-size: 18px;
  transition: border-color 0.3s, background-color 0.3s, opacity 0.3s, transform 0.3s var(--ease-out);
  box-shadow: 0 2px 6px rgba(27, 35, 66, 0.05), 0 12px 28px rgba(27, 35, 66, 0.09);
}
.case__arrow:hover { border-color: var(--accent-deep); transform: translateY(-2px); }
.case__arrow[disabled] { opacity: 0.35; pointer-events: none; }
.case__railwrap { overflow: visible; }
.case__rail {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(24px, 5vh, 52px);
  padding-top: 12px;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-bottom: 120px; /* hover shadows render inside the scrollport */
  margin-bottom: -60px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.case__rail::-webkit-scrollbar { display: none; }
.case__rail .case-card {
  flex: none;
  width: min(660px, 86vw);
  scroll-snap-align: center;
}
.case-card__client {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
}

/* ---------- V4 responsive ---------- */
@media (max-width: 980px) {
  .platform__grid { grid-template-columns: 1fr; }
  .track__row { grid-template-columns: 1fr; }
  .case__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .case__rail .case-card { width: 88vw; }
  .modal__panel { max-height: 90vh; border-radius: var(--radius-lg); }
  .case__arrow { width: 46px; height: 46px; }
}

/* cloned case logos inside the diagnosis modal lose their chip positioning */
.dmodal-case__head .case-card__logo {
  position: static;
  height: 28px;
  max-width: 150px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.dmodal-case__head .case-card__logo.is-boxed { height: 48px; }


/* ---------- Scroll comet (path fragment that follows the scroll) ---------- */
.scroll-comet {
  position: fixed;
  right: clamp(14px, 2vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  height: min(180px, 24vh);
  width: 14px;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.scroll-comet.is-visible { opacity: 1; }
.scroll-comet__track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(rgba(126, 134, 163, 0), rgba(126, 134, 163, 0.35) 20%, rgba(126, 134, 163, 0.35) 80%, rgba(126, 134, 163, 0));
}
.scroll-comet__knot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  margin-left: -7px;
}
.scroll-comet__knot::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(238, 107, 77, 0.85), 0 0 28px rgba(238, 107, 77, 0.45);
  animation: cometBreath 2.6s ease-in-out infinite;
}
.scroll-comet__knot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 3px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: linear-gradient(rgba(238, 107, 77, 0), rgba(238, 107, 77, 0.55));
}
@keyframes cometBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
@media (max-width: 860px) {
  .scroll-comet { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-comet { display: none; }
}


/* ---------- Traveling spark (Orata-style section-to-section dot) ---------- */
.label__spark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(238, 107, 77, 0.7);
  flex: none;
}
.label__spark--footer {
  display: inline-block;
  margin-bottom: 14px;
}
.traveling-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  z-index: 62;
  pointer-events: none;
  visibility: hidden;
  will-change: transform;
}
.traveling-dot-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%,
    #ffd2c2 0%,
    var(--accent-bright) 16%,
    var(--accent) 46%,
    rgba(238, 107, 77, 0.45) 62%,
    rgba(238, 107, 77, 0) 74%);
}
.traveling-dot-core::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 6px solid rgba(238, 107, 77, 0.5);
  animation: dotHalo 2.8s ease-out infinite;
}
@keyframes dotHalo {
  0% { transform: scale(0.55); opacity: 0.8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.traveling-dot.is-parked .traveling-dot-core {
  animation: dotPark 2.4s ease-in-out infinite;
}
@keyframes dotPark {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
/* arrival spark on the receiving label */
.label.is-sparked .tick {
  animation: tickFlash 0.8s var(--ease-out);
}
.label.is-sparked .label__spark {
  animation: sparkPing 0.8s var(--ease-out);
}
@keyframes tickFlash {
  0% { background: var(--accent-bright); box-shadow: 0 0 16px rgba(238, 107, 77, 0.9); }
  100% { box-shadow: 0 0 0 rgba(238, 107, 77, 0); }
}
@keyframes sparkPing {
  0% { transform: scale(1); box-shadow: 0 0 18px rgba(238, 107, 77, 1); }
  45% { transform: scale(1.9); }
  100% { transform: scale(1); box-shadow: 0 0 10px rgba(238, 107, 77, 0.7); }
}
@media (max-width: 860px) {
  .traveling-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .traveling-dot { display: none; }
}

/* ============================================================
   V5 sections — landing v14 (Notion "Web" brief, 2026-08-25)
   ============================================================ */

/* ---------- Shared: green check chip (reference style) ---------- */
.check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11.5px;
  font-weight: 700;
  background: rgba(111, 207, 151, 0.16);
  color: #6FCF97;
}
.section--light .check { background: #E3F1E7; color: #1E7A41; }

/* ---------- Nav CTA: hidden until the reader passes the hero CTA ---------- */
.nav__cta { transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s; }
.js .nav__cta.is-waiting {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s 0.4s;
}

/* ---------- Clients marquee: real auto-scroll + uniform logo size ---------- */
.clients--marquee .clients__track {
  animation: clientsScroll 38s linear infinite;
}
@keyframes clientsScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.clients--marquee.is-paused .clients__track { animation-play-state: paused; }
.clients--marquee .clients__group img {
  height: 28px;
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
  opacity: 0.55;
}
@media (prefers-reduced-motion: reduce) {
  .clients--marquee .clients__track { animation: none; }
}

/* ---------- Problemas ---------- */
.problems {
  padding: var(--space-section) 0;
  background: var(--ink);
}
.problems__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 21em;
}
.problems__title em { color: var(--accent); }
.problems__sub {
  margin-top: 20px;
  max-width: 44em;
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--cream-60);
}
.problems__intro {
  margin-top: clamp(34px, 5vh, 52px);
  font-weight: 600;
  font-size: 16px;
  color: var(--cream);
}
.problems__list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.problems__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.4vh, 26px) clamp(20px, 2.6vw, 34px);
  background: rgba(242, 239, 230, 0.03);
  border: 1px solid var(--cream-08);
  border-radius: 14px;
  transition: background-color 0.3s, border-color 0.3s;
}
.problems__item:hover { background: rgba(242, 239, 230, 0.055); border-color: var(--cream-12); }
.problems__quote {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  color: var(--cream);
}
.ptag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--cream-12);
  color: var(--cream-60);
  background: rgba(242, 239, 230, 0.05);
}
.ptag--crecimiento-sin-estructura,
.ptag--growth-without-structure { color: #8FB4FF; background: rgba(96, 140, 255, 0.12); border-color: rgba(96, 140, 255, 0.3); }
.ptag--profesionalizacion,
.ptag--professionalization { color: #C6A9FF; background: rgba(154, 110, 255, 0.13); border-color: rgba(154, 110, 255, 0.3); }
.ptag--falta-de-estructura,
.ptag--lack-of-structure { color: #FF9EC4; background: rgba(255, 110, 170, 0.12); border-color: rgba(255, 110, 170, 0.3); }
.ptag--falta-de-visibilidad,
.ptag--lack-of-visibility { color: #7FD8CE; background: rgba(70, 200, 185, 0.12); border-color: rgba(70, 200, 185, 0.3); }
.ptag--cuello-de-botella,
.ptag--bottleneck { color: #E8C56A; background: rgba(220, 180, 80, 0.13); border-color: rgba(220, 180, 80, 0.3); }

/* ---------- La causa: 90% execution gap ---------- */
.gap {
  padding: var(--space-section) 0 var(--space-section-lg);
  background:
    radial-gradient(110% 90% at 50% 10%, rgba(27, 35, 66, 0.75) 0%, transparent 75%),
    var(--ink);
  border-top: 1px solid var(--cream-08);
}
.gap__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 21em;
}
.gap__title em { color: var(--accent); }
.gap__stage {
  margin-top: clamp(48px, 9vh, 100px);
  text-align: center;
}
.gap__number {
  font-family: var(--font-display);
  font-weight: 330;
  font-size: clamp(110px, 21vw, 280px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.gap__unit { font-size: 0.82em; margin-left: 0.03em; }
.gap__line {
  margin: clamp(18px, 3vh, 30px) auto 0;
  max-width: 21em;
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.35;
  color: var(--cream);
}
.gap__source {
  display: inline-block;
  margin-top: clamp(24px, 4vh, 40px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-40);
  border: 1px solid var(--cream-12);
  border-radius: 999px;
  padding: 10px 22px;
}

/* ---------- Calculator: slider fields ---------- */
.calc__fields--sliders {
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 520px;
}
.cfield__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cfield__head label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-60);
  line-height: 1.5;
}
.cfield__head input {
  flex: none;
  width: 112px;
  text-align: right;
  background: rgba(242, 239, 230, 0.04);
  border: 1px solid var(--cream-12);
  border-radius: var(--radius);
  padding: 11px 13px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--cream);
  transition: border-color 0.3s, background-color 0.3s;
  appearance: textfield;
  -moz-appearance: textfield;
}
.cfield__head input::-webkit-outer-spin-button,
.cfield__head input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cfield__head input:focus { border-color: var(--accent); background: rgba(238, 107, 77, 0.06); }
.cfield__head input:focus:not(:focus-visible) { outline: none; }
.cfield input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 22px;
  margin-top: 12px;
  background: transparent;
  cursor: pointer;
}
.cfield input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) var(--p, 50%), var(--cream-12) var(--p, 50%));
}
.cfield input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--accent);
  border: 0;
  box-shadow: 0 0 0 4px rgba(238, 107, 77, 0.18);
  transition: box-shadow 0.25s;
}
.cfield input[type="range"]:active::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(238, 107, 77, 0.24); }
.cfield input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 999px;
  background: var(--cream-12);
}
.cfield input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}
.cfield input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(238, 107, 77, 0.18);
}
.calc__per { color: var(--cream); font-variant-numeric: tabular-nums; }

/* ---------- El sistema ---------- */
.system { padding: var(--space-section) 0; background: var(--ink); border-top: 1px solid var(--cream-08); }
.system__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.system__sub {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 350;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--accent);
}
.system__lead {
  margin-top: 22px;
  max-width: 40em;
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--cream-60);
}
.system__grid {
  margin-top: clamp(44px, 7vh, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.8vw, 24px);
}
.system__card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--cream-08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 40px);
  transition: border-color 0.4s, background-color 0.4s, transform 0.5s var(--ease-out);
}
.system__card:hover { transform: translateY(-6px); border-color: var(--cream-12); }
.system__card--accent {
  background: linear-gradient(165deg, rgba(238, 107, 77, 0.17) 0%, rgba(238, 107, 77, 0.05) 55%, var(--bg) 100%);
  border-color: var(--accent-24);
}
.system__card--accent:hover { border-color: rgba(238, 107, 77, 0.45); }
.system__cardtop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.system__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.system__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cream-60);
}
.system__card h3 {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 420;
  line-height: 1.22;
}
.system__text {
  margin-top: 12px;
  font-size: 14.8px;
  line-height: 1.6;
  color: var(--cream-60);
}
.system__result {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--cream-12);
}
.system__result-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.system__result p { font-size: 14.5px; font-weight: 600; color: var(--cream); line-height: 1.5; }
.system__closer {
  margin-top: clamp(36px, 6vh, 60px);
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.4;
  max-width: 30em;
}
.system__closer em { color: var(--accent); }

/* system cards: animated mini scenes (decorative) */
.sysillo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  margin: clamp(20px, 3vh, 30px) 0 clamp(18px, 2.6vh, 26px);
  min-height: 128px;
  justify-content: center;
}
.sysillo__say {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  background: rgba(242, 239, 230, 0.06);
  border: 1px solid var(--cream-12);
  border-radius: 10px;
  padding: 9px 14px;
}
.sysillo__arrow {
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  margin-left: 18px;
  animation: sysArrow 2.1s var(--ease-inout) infinite;
}
@keyframes sysArrow {
  0%, 100% { transform: translateY(0); opacity: 0.65; }
  50% { transform: translateY(4px); opacity: 1; }
}
.sysillo__cause {
  font-size: 13px;
  color: var(--cream);
  background: rgba(238, 107, 77, 0.08);
  border: 1px solid var(--accent-24);
  border-radius: 10px;
  padding: 9px 14px;
}
.sysillo--align { gap: 0; }
.sysillo__goal-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 8px;
}
.sysillo__goal {
  font-size: 13px;
  font-weight: 600;
  color: var(--cream);
  background: rgba(238, 107, 77, 0.08);
  border: 1px solid var(--accent-24);
  border-radius: 10px;
  padding: 10px 14px;
  max-width: 30ch;
}
.sysillo__bar {
  display: block;
  width: min(220px, 100%);
  height: 5px;
  border-radius: 999px;
  background: var(--cream-12);
  margin-top: 14px;
  overflow: hidden;
}
.sysillo__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  animation: sysBar 3.4s var(--ease-inout) infinite;
}
@keyframes sysBar {
  0% { width: 6%; }
  60% { width: 68%; }
  100% { width: 68%; }
}
.sysillo--execute { gap: 12px; }
.sysillo__avatars { display: flex; }
.sysillo__avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cream);
  background: var(--navy-soft);
  border: 1.5px solid var(--bg);
}
.sysillo__avatars span + span { margin-left: -8px; }
.sysillo__meeting {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(242, 239, 230, 0.06);
  border: 1px solid var(--cream-12);
  border-radius: 10px;
  padding: 10px 14px;
}
.sysillo__meeting-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream-60);
}
.sysillo__meeting-done {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.sysillo__meeting-done i {
  font-style: normal;
  color: #6FCF97;
  margin-right: 6px;
  display: inline-block;
  animation: sysCheck 2.8s var(--ease-out) infinite;
}
@keyframes sysCheck {
  0% { transform: scale(0); opacity: 0; }
  12% { transform: scale(1.3); opacity: 1; }
  22%, 88% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.4; }
}

/* ---------- El plan (light) ---------- */
.plan {
  padding: var(--space-section) 0;
  border-radius: var(--radius-cap) var(--radius-cap) 0 0;
}
.plan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.plan__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.plan__title em { color: var(--accent-deep); }
.plan__sub {
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--ink-on-paper-60);
}
.plan__bullets {
  margin-top: clamp(26px, 4vh, 40px);
  display: grid;
  gap: 20px;
}
.plan__bullets li { display: flex; gap: 14px; align-items: flex-start; }
.plan__bullets .check { margin-top: 2px; }
.plan__bullets h3 { font-family: var(--font-body); font-size: 16.5px; font-weight: 650; color: var(--ink-on-paper); }
.plan__bullets p { margin-top: 4px; font-size: 14.5px; line-height: 1.6; color: var(--ink-on-paper-60); }
.plan__cta { margin-top: clamp(30px, 4.5vh, 46px); }
.plan__chain { display: flex; flex-direction: column; }
.plan__step {
  position: relative;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: 0 2px 6px rgba(27, 35, 66, 0.04), 0 14px 34px rgba(27, 35, 66, 0.06);
}
.plan__step + .plan__step { margin-top: 30px; }
.plan__step + .plan__step::before {
  content: "↓";
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--accent);
  font-size: 14px;
  line-height: 22px;
}
.plan__step-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text-on-paper);
  margin-bottom: 7px;
}
.plan__step p { font-size: 15.5px; line-height: 1.6; color: rgba(22, 28, 56, 0.85); }
.plan__step p em { font-style: normal; color: #1E7A41; font-weight: 600; }
.plan__step--say { border-left: 3px solid var(--navy); background: #F4F5F8; }
.plan__step--say p { font-weight: 650; color: var(--navy); }
.plan__step--action { border-left: 3px solid #1E7A41; background: #F0F7F2; border-color: rgba(30, 122, 65, 0.28); }

/* ---------- La plataforma (dark, auto-switching) ---------- */
.platform2 { padding: var(--space-section) 0; background: var(--ink); }
.platform2__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.platform2__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.platform2__title em { color: var(--accent); }
.platform2__sub {
  margin-top: 18px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--cream-60);
}
.platform2__bullets { margin-top: clamp(26px, 4vh, 40px); display: grid; gap: 16px; }
.platform2__bullets li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 16px;
  font-weight: 550;
  color: var(--cream);
}
.platform2__frame {
  background: var(--bg-2);
  border: 1px solid var(--cream-12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px -20px rgba(3, 5, 14, 0.9);
}
.platform2__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: rgba(242, 239, 230, 0.045);
  border-bottom: 1px solid var(--cream-08);
}
.platform2__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-12);
}
.platform2__chrome em {
  margin-left: 12px;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--cream-60);
}
.platform2__stage {
  position: relative;
  aspect-ratio: 16 / 10.4;
  background: var(--bg);
}
.platform2__screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  pointer-events: none;
}
.platform2__screen.is-active { opacity: 1; transform: none; }
.platform2__dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
}
.platform2__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: var(--cream-12);
  transition: background-color 0.3s, width 0.35s var(--ease-out);
}
.platform2__dot:hover { background: var(--accent-24); }
.platform2__dot.is-active { width: 24px; background: var(--accent); }

/* ---------- Implementadores: header feature bullets ---------- */
.experts__features {
  margin-top: clamp(24px, 3.5vh, 38px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  max-width: 1020px;
}
.expfeat { display: flex; gap: 14px; align-items: flex-start; }
.expfeat .check { margin-top: 2px; }
.expfeat h3 { font-family: var(--font-body); font-size: 16px; font-weight: 650; color: var(--ink-on-paper); }
.expfeat p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-on-paper-60); }

/* ---------- Casos de éxito: one case at a time ---------- */
.case__logonav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 16px);
  margin: clamp(26px, 4vh, 42px) 0 clamp(20px, 3vh, 30px);
}
.case__logobtn {
  height: 56px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  opacity: 0.5;
  filter: grayscale(1);
  transition: opacity 0.3s, filter 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.case__logobtn img { height: 100%; width: auto; max-width: 116px; object-fit: contain; }
.case__logobtn:hover { opacity: 0.85; transform: translateY(-2px); }
.case__logobtn.is-active {
  opacity: 1;
  filter: none;
  border-color: var(--accent);
  box-shadow: 0 10px 26px -8px rgba(238, 107, 77, 0.35);
}
.case__viewport { position: relative; }
.case-slide {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(27, 35, 66, 0.05), 0 26px 60px rgba(27, 35, 66, 0.1);
}
.case-slide[hidden] { display: none; }
.js .case-slide.is-active { animation: caseIn 0.55s var(--ease-out); }
.js .case__viewport[data-dir="prev"] .case-slide.is-active { animation-name: caseInPrev; }
@keyframes caseIn {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: none; }
}
@keyframes caseInPrev {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: none; }
}
.case-slide__media {
  position: relative;
  min-height: clamp(320px, 33vw, 540px);
}
.case-slide__media > img:first-child {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 35, 66, 0.22), transparent 45%);
}
.case-slide__logo {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  height: 62px;
  max-width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 10px 26px rgba(19, 26, 51, 0.22);
}
.case-slide__logo.is-boxed { padding: 7px; }
.case-slide__body {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.2vw, 52px);
}
.case-slide__headline {
  font-family: var(--font-display);
  font-weight: 480;
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  color: var(--navy);
}
.case-slide__secondary {
  margin-top: 16px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--accent-12);
  border: 1px solid var(--accent-24);
  border-radius: var(--radius);
  padding: 9px 16px;
}
.case-slide__quote-group {
  margin-top: clamp(20px, 3vh, 30px);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.case-slide__portrait {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  outline: 1.5px solid var(--accent-24);
  box-shadow: 0 10px 24px rgba(19, 26, 51, 0.2);
  background: #fff;
}
.case-slide__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-slide__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(15.5px, 1.35vw, 18px);
  line-height: 1.5;
  color: rgba(22, 28, 56, 0.78);
}
.case-slide__person {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-paper-60);
}
.case-slide__toggle {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-on-paper-60);
  transition: color 0.3s;
  text-align: left;
}
.case-slide__toggle:hover { color: var(--accent-deep); }
.case-slide__chev { transition: transform 0.35s var(--ease-out); }
.case-slide__toggle[aria-expanded="true"] .case-slide__chev { transform: rotate(180deg); }
.case-slide__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 32px);
  padding-top: 20px;
}
.case-slide__panel[hidden] { display: none; }
.case-slide__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ink-line);
}
.case-slide__problems li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 11px 0;
}
.case-slide__problems li + li { border-top: 1px solid var(--ink-line); }
.case-slide__problems li > span:first-child {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(22, 28, 56, 0.78);
}
.case-slide__results { display: grid; gap: 10px; }
.case-slide__results li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(22, 28, 56, 0.78);
}
.case-slide__results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Por qué Kiseki ---------- */
.why { padding: var(--space-section) 0; }
.why__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.why__title em { color: var(--accent-deep); }
.why__sub {
  margin-top: 16px;
  max-width: 46em;
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.65;
  color: var(--ink-on-paper-60);
}
.why__grid {
  margin-top: clamp(40px, 6vh, 70px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
}
.why-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.8vw, 40px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px -24px rgba(22, 28, 56, 0.28);
}
.why-card--featured {
  background: linear-gradient(180deg, #FFF8F5 0%, var(--paper-card) 70%);
  border-color: var(--accent-24);
  box-shadow: 0 20px 55px -22px rgba(238, 107, 77, 0.3);
}
.why-card__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text-on-paper);
  margin-bottom: 18px;
}
.why-card__headline {
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.18;
  color: var(--ink-on-paper);
}
.why-card__text {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-on-paper-60);
}
.why-card__big {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(46px, 4.4vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}
.why-card__big em {
  font-style: normal;
  font-size: 0.4em;
  color: var(--ink-on-paper);
  margin-left: 4px;
}
.why-card__fix { font-size: 1em; }
.why-card__stat {
  margin-top: auto;
  padding-top: clamp(22px, 3vh, 32px);
}
.why-card__stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-on-paper-40);
  padding-top: 16px;
  border-top: 1px solid var(--ink-line);
  margin-bottom: 16px;
}
.why-row + .why-row { margin-top: 16px; }
.why-row__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
}
.why-row__head span { font-size: 12.5px; color: var(--ink-on-paper-60); }
.why-row__head strong { font-size: 14.5px; font-weight: 700; color: var(--ink-on-paper); white-space: nowrap; }
.why-row.is-accent .why-row__head strong { color: var(--accent-deep); }
.why-row__bar {
  height: 6px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.why-row__bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  border-radius: 999px;
  background: #9AA3BC;
}
.why-row.is-accent .why-row__bar i { background: var(--accent); }
.why-card__graph {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 108px;
}
.why-card__graph i {
  flex: 1;
  height: var(--h, 40%);
  background: var(--paper-2);
  border-radius: 6px 6px 2px 2px;
}
.why-card__graph i.is-accent { background: var(--accent); }
.why-card__caption {
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-on-paper);
}
.why-card__footnote { margin-top: 4px; font-size: 11.5px; color: var(--ink-on-paper-40); }

/* ---------- FAQ ---------- */
.faq { padding: var(--space-section-sm) 0 var(--space-section); }
.faq__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.012em;
}
.faq__title em { color: var(--accent-deep); }
.faq__list {
  margin-top: clamp(34px, 5vh, 56px);
  max-width: 900px;
}
.faq__item { border-bottom: 1px solid var(--ink-line); }
.faq__item:first-child { border-top: 1px solid var(--ink-line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(18px, 2.6vh, 26px) 0;
  text-align: left;
  font-size: clamp(16.5px, 1.4vw, 19px);
  font-weight: 600;
  color: var(--ink-on-paper);
  transition: color 0.3s;
}
.faq__q:hover { color: var(--accent-deep); }
.faq__icon { position: relative; width: 20px; height: 20px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq__icon::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon::before { transform: translate(-50%, -50%) rotate(180deg); }
.faq__a { padding: 2px 0 26px; }
.faq__a[hidden] { display: none; }
.faq__a p {
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-on-paper-60);
}

/* ---------- Final CTA: long headline variant ---------- */
.cta__title--long {
  font-size: clamp(30px, 4.4vw, 62px);
  line-height: 1.14;
  max-width: 19em;
}

/* ---------- V5 responsive ---------- */
@media (max-width: 1024px) {
  .system__grid { grid-template-columns: 1fr; }
  .sysillo { min-height: 0; }
  .why__grid { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 980px) {
  .plan__grid { grid-template-columns: 1fr; gap: 48px; }
  .platform2__grid { grid-template-columns: 1fr; gap: 40px; }
  .case-slide { grid-template-columns: 1fr; }
  .case-slide__media { min-height: 0; height: clamp(220px, 40vw, 320px); }
  .experts__features { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .problems__item { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gap__number { font-size: clamp(90px, 26vw, 130px); }
  .case__logobtn { height: 44px; padding: 9px 12px; border-radius: 10px; }
  .case__logobtn img { max-width: 88px; }
  .case-slide__panel { grid-template-columns: 1fr; }
  .case-slide__quote-group { flex-direction: column; }
  .cfield__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cfield__head input { width: 100%; text-align: left; }
  .platform2__stage { aspect-ratio: 16 / 11; }
}

/* ---------- V5 reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sysillo__arrow, .sysillo__bar i, .sysillo__meeting-done i { animation: none; }
  .sysillo__bar i { width: 68%; }
  .js .case-slide.is-active { animation: none; }
}

/* ---------- V5 no-JS fallbacks ---------- */
html:not(.js) .clients--marquee .clients__track { animation: none; }
html:not(.js) .faq__a[hidden] { display: block; }
html:not(.js) .case-slide[hidden] { display: grid; }
html:not(.js) .case-slide + .case-slide { margin-top: 24px; }
html:not(.js) .case__logonav, html:not(.js) .case__nav { display: none; }
html:not(.js) .platform2__dots { display: none; }

/* ---------- V5 review fixes ---------- */
/* aria-disabled arrows keep keyboard focus at the carousel ends */
.case__arrow[aria-disabled="true"] {
  opacity: 0.35;
  border-color: rgba(22, 28, 56, 0.22);
  transform: none;
  cursor: default;
  box-shadow: 0 2px 6px rgba(27, 35, 66, 0.05);
}
/* without JS the expand toggle is inert — open every panel, hide the button */
html:not(.js) .case-slide__panel[hidden] { display: grid; }
html:not(.js) .case-slide__toggle { display: none; }
html:not(.js) .case-slide__body { padding-bottom: clamp(26px, 3.2vw, 52px); }

/* ============================================================
   V6 — Diego's review round (2026-08-25)
   ============================================================ */

/* ---------- Sistema: illustration below the text, rows aligned ---------- */
.system__card h3 { margin-top: 18px; }
.sysillo { margin: clamp(18px, 2.6vh, 26px) 0; }
@media (min-width: 1024.02px) {
  /* five shared rows (top, title, text, illo, result) align across cards */
  .system__card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    align-content: start;
  }
}

/* ---------- Plataforma: screens float directly on the background ---------- */
.platform2__stage {
  background: transparent;
  aspect-ratio: 3 / 2;
}
.platform2__screen {
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 36px 70px rgba(3, 5, 14, 0.85));
}

/* ---------- Implementadores: sales-deck expertGrid card ---------- */
.experts__rail { padding-top: 76px; } /* room for the overhanging photos */
.expert-card--deck {
  overflow: visible;
  align-items: center;
  text-align: center;
  padding: 0 22px 20px;
}
.expert-card--deck .expert-card__photo {
  width: 128px;
  height: 128px;
  aspect-ratio: 1 / 1;
  margin-top: -64px;
  border-radius: 50%;
  flex: none;
  border: 5px solid var(--paper);
  outline: 2px solid var(--accent-24);
  box-shadow: 0 18px 40px rgba(19, 26, 51, 0.22);
  background: #fff;
}
.expert-card--deck .expert-card__photo img { transform: none; }
.expert-card--deck:hover .expert-card__photo img { transform: scale(1.04); }
.expert-card--deck .expert-card__body {
  padding: 16px 0 0;
  align-items: center;
  width: 100%;
}
.expert-card--deck .expert-card__body h3 {
  font-weight: 520;
  color: var(--navy);
  font-size: 20px;
}
.expert-card--deck .expert-card__tag {
  margin: 6px 0 0;
  text-align: center;
  min-height: 2.7em;
}
.expert-card--deck .expert-card__body ul {
  text-align: left;
  align-self: stretch;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
  margin-bottom: 18px;
}
.expert-card--deck .expert-card__body li { padding-left: 18px; }
.expert-card--deck .expert-card__body li::before {
  width: 5px;
  height: 5px;
  background: transparent;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
  top: 0.42em;
  transform: rotate(45deg);
}
.expert-card__logos {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ink-line);
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.expert-card__logos img {
  height: 20px;
  width: auto;
  max-width: calc(25% - 9px);
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* ---------- Por qué: caption/footnote gone, rows aligned ---------- */
.why-card__graph { height: 84px; }
@media (min-width: 1024.02px) {
  /* four shared rows (tag, headline, text, stat) align across cards */
  .why-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    align-content: start;
  }
}

/* ---------- Footer: constellation lands on the logo symbol ---------- */
.footer__logomark {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}
.footer__logomark .footer__logo { margin-bottom: 0; }
.footer__dock {
  position: absolute;
  left: 9px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ---------- V7 — case-study quote group: double-size avatar ---------- */
.case-slide__quote-group { align-items: center; gap: 22px; }
.case-slide__portrait {
  width: 116px;
  height: 116px;
  border-width: 4px;
}
@media (max-width: 560px) {
  .case-slide__quote-group { flex-direction: row; }
  .case-slide__portrait { width: 84px; height: 84px; }
}

/* ============================================================
   V8 — landing v15 (Diego's batch, 2026-08-27)
   ============================================================ */

/* ---------- Hero: wider subtitle (3 lines), no scroll cue ---------- */
.hero__sub { max-width: 640px; }

/* ---------- Clients marquee: per-logo optical size ---------- */
.clients--marquee .clients__group img { height: 26px; }
.clients--marquee .clients__group img:nth-child(1) { height: 24px; } /* Tailor Store */
.clients--marquee .clients__group img:nth-child(2) { height: 34px; } /* ICARPA */
.clients--marquee .clients__group img:nth-child(3) { height: 21px; } /* StreetBond */
.clients--marquee .clients__group img:nth-child(4) { height: 27px; } /* E-Containers */
.clients--marquee .clients__group img:nth-child(5) { height: 25px; } /* Suricatta */
.clients--marquee .clients__group img:nth-child(6) { height: 30px; } /* Solé */
.clients--marquee .clients__group img:nth-child(7) { height: 28px; } /* Alquiequipos */

/* ---------- Problemas: auto-scrolling loop ---------- */
.problems__loop {
  position: relative;
  margin-top: 18px;
  height: min(430px, 62vh);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 52px, #000 calc(100% - 52px), transparent 100%);
}
.problems__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: problemsScroll 38s linear infinite;
}
.problems__list { display: grid; gap: 12px; padding-bottom: 12px; }
@keyframes problemsScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}
.problems__loop:hover .problems__track,
.problems__loop.is-paused .problems__track { animation-play-state: paused; }
.problems__toggle {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: 60px;
}
@media (prefers-reduced-motion: reduce) {
  .problems__track { animation: none; }
  .problems__loop { height: auto; -webkit-mask-image: none; mask-image: none; }
  .problems__list[aria-hidden="true"] { display: none; }
  .problems__toggle { display: none; }
}
html:not(.js) .problems__track { animation: none; }
html:not(.js) .problems__loop { height: auto; -webkit-mask-image: none; mask-image: none; }
html:not(.js) .problems__list[aria-hidden="true"] { display: none; }
html:not(.js) .problems__toggle { display: none; }

/* ---------- Calculator: currency switcher + formatted cost input ---------- */
.calc__currency {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}
.calc__cur {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--cream-12);
  color: var(--cream-60);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.calc__cur:hover { border-color: var(--accent-24); color: var(--cream); }
.calc__cur.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.cfield__cur { font-style: normal; letter-spacing: 0; color: var(--cream-40); text-transform: none; }
#calcMonthly { width: 150px; }
.calc__result {
  white-space: nowrap;
  overflow: hidden;
  overflow-wrap: normal;
}

/* ---------- Sistema: bold title tail + real faces ---------- */
.system__title { max-width: 17em; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.1; }
.system__title strong { font-weight: 600; }
.sysillo__avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--bg);
}
.sysillo__avatars img + img { margin-left: -9px; }

/* ---------- Casos: unified logo sizes, "+" tile, button-like toggle ---------- */
.case__logobtn img { height: 24px; }
.case__logobtn--tailor-store img { height: 20px; }
.case__logobtn--icarpa img { height: 31px; }
.case__logobtn--streetbond img { height: 17px; }
.case__logobtn--e-containers img { height: 23px; }
.case__logobtn--suricatta img { height: 21px; }
.case__logobtn--sole img { height: 27px; }
.case__logobtn--alquiequipos img { height: 24px; }
.case__logobtn--more {
  opacity: 1;
  filter: none;
  width: 56px;
  padding: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  line-height: 1;
  color: var(--accent-deep);
  border-style: dashed;
  border-color: var(--accent-24);
}
.case__logobtn--more:hover {
  border-color: var(--accent);
  background: var(--accent-12);
  opacity: 1;
}
.case-slide__toggle {
  width: auto;
  align-self: flex-start;
  border: 1.5px solid rgba(22, 28, 56, 0.22);
  border-radius: 999px;
  padding: 13px 22px;
  background: #fff;
  gap: 14px;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.case-slide__toggle:hover {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  background: #FFF8F5;
}
.case-slide__panel { margin-top: 18px; }

/* ---------- Por qué Kiseki: one card open at a time ---------- */
.why { padding: var(--space-section-sm) 0 var(--space-section); }
.why__acc {
  margin-top: clamp(32px, 5vh, 52px);
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.why-acc {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper-card);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: flex-grow 0.65s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}
.why-acc.is-open {
  flex-grow: 2.4;
  border-color: var(--accent-24);
  box-shadow: 0 22px 60px -24px rgba(238, 107, 77, 0.3);
}
.why-acc__head {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: clamp(18px, 2vw, 24px);
  text-align: left;
}
.why-acc:not(.is-open) .why-acc__head { cursor: pointer; }
.why-acc__head .icon-chip { width: 44px; height: 44px; border-radius: 12px; }
.why-acc__head .icon-chip svg { width: 24px; height: 24px; }
.why-acc__tag {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text-on-paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.why-acc__plus { position: relative; width: 18px; height: 18px; flex: none; color: var(--ink-on-paper-60); }
.why-acc__plus::before, .why-acc__plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform 0.45s var(--ease-out);
}
.why-acc__plus::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.why-acc__plus::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.why-acc.is-open .why-acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.why-acc__bodywrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}
.why-acc.is-open .why-acc__bodywrap { grid-template-rows: 1fr; }
.why-acc__body {
  overflow: hidden;
  min-width: min(340px, 82vw);
  padding: 0 clamp(18px, 2vw, 26px);
  opacity: 0;
  transition: opacity 0.3s;
}
.why-acc.is-open .why-acc__body {
  opacity: 1;
  padding-bottom: clamp(20px, 2.4vw, 30px);
  transition: opacity 0.45s 0.18s;
}
.why-acc .why-card__stat { margin-top: 0; padding-top: clamp(16px, 2vh, 24px); }
/* bars animate in when the card opens */
.why-acc .why-row__bar i { width: 0; transition: width 0.8s var(--ease-out) 0.25s; }
.why-acc.is-open .why-row__bar i { width: var(--w, 50%); }
.why-card__graph { height: 104px; gap: 10px; }
.why-card__bar {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  text-align: center;
}
.why-card__bar i {
  display: block;
  height: 0;
  background: var(--paper-2);
  border-radius: 6px 6px 2px 2px;
  transition: height 0.7s var(--ease-out);
}
.why-acc.is-open .why-card__bar:nth-child(1) i { transition-delay: 0.2s; }
.why-acc.is-open .why-card__bar:nth-child(2) i { transition-delay: 0.28s; }
.why-acc.is-open .why-card__bar:nth-child(3) i { transition-delay: 0.36s; }
.why-acc.is-open .why-card__bar:nth-child(4) i { transition-delay: 0.44s; }
.why-acc.is-open .why-card__bar i { height: var(--h, 40%); }
.why-card__bar.is-accent i { background: var(--accent); }
.why-card__bar em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--ink-on-paper-40);
}
.why-card__disclaimer { margin-top: 6px; font-size: 12px; color: var(--ink-on-paper-40); }
@media (max-width: 900px) {
  .why__acc { flex-direction: column; }
  .why-acc.is-open { flex-grow: 1; }
  .why-acc__body { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .why-acc .why-row__bar i { width: var(--w, 50%); }
  .why-acc .why-card__bar i { height: var(--h, 40%); }
}
html:not(.js) .why-acc__bodywrap { grid-template-rows: 1fr; }
html:not(.js) .why-acc__body { opacity: 1; padding-bottom: 24px; }
html:not(.js) .why-acc .why-row__bar i { width: var(--w, 50%); }
html:not(.js) .why-acc .why-card__bar i { height: var(--h, 40%); }

/* ---------- FAQ modal ---------- */
.modal__panel--faq { width: min(860px, calc(100vw - 32px)); }
.modal__panel--faq .modal__title em { color: var(--accent-deep); font-style: italic; }
.modal__panel--faq .faq__list { margin-top: 26px; max-width: none; }

/* ---------- El siguiente paso: copy left, calendar right ---------- */
.cta--book { text-align: left; padding: var(--space-section) 0; }
.book__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.book__title {
  font-family: var(--font-display);
  font-weight: 340;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.14;
  letter-spacing: -0.012em;
  max-width: none;
  margin-inline: 0;
}
.book__title em { color: var(--accent); }
.book__sub {
  margin-top: 18px;
  max-width: 36em;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--cream-60);
}
.book__host {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex;
  align-items: center;
  gap: 16px;
}
.book__host-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(242, 239, 230, 0.16);
}
.book__host-name { font-weight: 700; font-size: 16.5px; }
.book__host-role { margin-top: 2px; font-size: 13.5px; color: var(--cream-60); }
.book__cal {
  background: #fff;
  border: 1px solid var(--cream-12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 34px 90px -28px rgba(0, 0, 0, 0.75);
}
.book__cal .calendly-inline-widget { height: 640px; }
@media (max-width: 980px) {
  .book__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Footer: FAQ opens the modal ---------- */
.footer__linkbtn {
  font-size: 14.5px;
  color: var(--cream-60);
  text-align: left;
  width: fit-content;
  padding: 0;
  transition: color 0.3s;
}
.footer__linkbtn:hover { color: var(--accent-bright); }
.menu__links button.menu__link { text-align: left; }

/* ---------- V8b — booking card (founderos-style, Diego's reference) ---------- */
.book__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); }
.book__card {
  width: 100%;
  background: #fff;
  color: var(--ink-on-paper);
  border-radius: 22px;
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: 0 34px 90px -28px rgba(0, 0, 0, 0.75);
}
.book__head { display: flex; align-items: center; gap: 14px; }
.book__avatar { position: relative; width: 56px; height: 56px; flex: none; }
.book__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.book__dot {
  position: absolute;
  right: 1px;
  top: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2FBF71;
  border: 2px solid #fff;
}
.book__host-name { font-weight: 700; font-size: 17px; color: var(--ink-on-paper); }
.book__host-role { margin-top: 1px; font-size: 13.5px; color: var(--ink-on-paper-60); }
.book__event {
  margin-top: 18px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink-on-paper);
}
.book__desc { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-on-paper-60); }
.book__note {
  position: relative;
  margin-top: 16px;
  background: var(--paper);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}
.book__note::before {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.book__note p { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink-on-paper); }
.book__days {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.book__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  color: var(--ink-on-paper-60);
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.book__day span { font-size: 12px; }
.book__day strong { font-size: 17px; color: var(--ink-on-paper); }
.book__day:hover { border-color: var(--accent-24); }
.book__day.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  background: #FFF8F5;
}
.book__btn {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}
.book__btn svg { width: 17px; height: 17px; flex: none; }
html:not(.js) .book__days { display: none; }

/* ============================================================
   V9 — review fixes (2026-08-27)
   ============================================================ */

/* ---------- Problems loop: GSAP drives the motion now ---------- */
/* the CSS animation would override GSAP's inline transform — disable it */
.problems__track { animation: none; }

/* ---------- Marquee: e-containers & suricatta up-sized ---------- */
.clients--marquee .clients__group img:nth-child(4) { height: 33px; } /* E-Containers */
.clients--marquee .clients__group img:nth-child(5) { height: 31px; } /* Suricatta */

/* ---------- Sistema: tighter title→lead gap + sequenced illo loops ---------- */
.system__lead { margin-top: 12px; }
@keyframes illoStep {
  0% { opacity: 0; transform: translateY(6px); }
  8% { opacity: 1; transform: none; }
  88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes illoFade {
  0% { opacity: 0; }
  10% { opacity: 1; }
  88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}
@keyframes illoPop {
  0% { opacity: 0; transform: scale(0.4); }
  8% { opacity: 1; transform: scale(1.15); }
  13% { transform: scale(1); }
  88% { opacity: 1; transform: scale(1); }
  96%, 100% { opacity: 0; }
}
.sysillo--diagnose .sysillo__say { animation: illoStep 5.5s var(--ease-out) infinite backwards; }
.sysillo--diagnose .sysillo__arrow {
  animation: sysArrow 2.1s var(--ease-inout) infinite, illoFade 5.5s linear infinite backwards;
  animation-delay: 0s, 0.3s;
}
.sysillo--diagnose .sysillo__cause { animation: illoStep 5.5s var(--ease-out) 0.55s infinite backwards; }
.sysillo--align .sysillo__goal-label { animation: illoStep 5.5s var(--ease-out) infinite backwards; }
.sysillo--align .sysillo__goal { animation: illoStep 5.5s var(--ease-out) 0.25s infinite backwards; }
.sysillo--align .sysillo__bar { animation: illoFade 5.5s linear 0.45s infinite backwards; }
.sysillo--align .sysillo__bar i { animation: sysBar 5.5s var(--ease-inout) infinite; }
@keyframes sysBar {
  0%, 14% { width: 6%; }
  55% { width: 68%; }
  100% { width: 68%; }
}
.sysillo--execute .sysillo__avatars img { animation: illoPop 5.5s var(--ease-out) infinite backwards; }
.sysillo--execute .sysillo__avatars img:nth-child(2) { animation-delay: 0.15s; }
.sysillo--execute .sysillo__avatars img:nth-child(3) { animation-delay: 0.3s; }
.sysillo--execute .sysillo__meeting { animation: illoStep 5.5s var(--ease-out) 0.5s infinite backwards; }
@media (prefers-reduced-motion: reduce) {
  .sysillo, .sysillo * { animation: none !important; opacity: 1 !important; }
  .sysillo__bar i { width: 68%; }
}

/* ---------- Casos: safe gap above the toggle + logo rebalance ---------- */
.case-slide__quote-group { margin-bottom: 26px; }
.case__logobtn--suricatta img { height: 27px; }
.case__logobtn--e-containers img { height: 26px; }
.case__logobtn--streetbond img { height: 15px; max-width: 96px; }

/* ---------- Por qué: real bar heights, progress bar, animated icons ---------- */
.why-card__bar i { flex: none; } /* the old .why-card__graph i { flex: 1 } stretched every bar equally */
.why-acc { position: relative; }
.why-acc__progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.why-acc.is-open .why-acc__progress { opacity: 1; }
.why-acc__progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.12s linear;
}
.why-acc.is-open .icon-chip svg { animation: whyIconPulse 2.4s ease-in-out 0.4s infinite; }
@keyframes whyIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}
.why-card__big { font-size: clamp(38px, 3.4vw, 54px); }
.why-card__graph { height: 92px; }
@media (prefers-reduced-motion: reduce) {
  .why-acc.is-open .icon-chip svg { animation: none; }
  .why-acc__progress { display: none; }
}

/* equalize the three open-card heights (row layout only) */
.why-card__graph { height: 78px; }
.why-card__disclaimer { margin-top: 2px; }
@media (min-width: 900.02px) {
  .why-acc__body { min-height: 300px; }
}

/* marquee optical pass 2 */
.clients--marquee .clients__group img:nth-child(1) { height: 27px; } /* Tailor Store */
.clients--marquee .clients__group img:nth-child(2) { height: 28px; } /* ICARPA */
.clients--marquee .clients__group img:nth-child(3) { height: 18px; } /* StreetBond */
.case__logobtn--icarpa img { height: 36px; }
.case__logobtn--sole img { height: 30px; }

/* ============================================================
   V10 — review round 3 (2026-08-27)
   ============================================================ */

/* ---------- Marquee: ICARPA up; toggle removed from markup ---------- */
.clients--marquee .clients__group img:nth-child(2) { height: 32px; } /* ICARPA */

/* ---------- Case logo bar: same optical sizes as the marquee ---------- */
.case__logobtn { height: 62px; }
.case__logobtn--tailor-store img { height: 27px; }
.case__logobtn--icarpa img { height: 32px; }
.case__logobtn--streetbond img { height: 18px; max-width: 120px; }
.case__logobtn--e-containers img { height: 33px; }
.case__logobtn--suricatta img { height: 31px; }
.case__logobtn--sole img { height: 30px; }
.case__logobtn--alquiequipos img { height: 28px; }
.case__logobtn--more { width: 62px; }

/* ---------- Problems: resolve-check styling ---------- */
.problems__item { transition: background-color 0.4s, border-color 0.4s; }
.problems__quote { flex: 1; min-width: 0; }
.problems__check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(111, 207, 151, 0.16);
  color: #6FCF97;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.problems__item.is-resolved { background: rgba(111, 207, 151, 0.05); border-color: rgba(111, 207, 151, 0.28); }
.problems__item.is-resolved .problems__check { opacity: 1; transform: scale(1); }
.problems__item.is-resolved .problems__quote {
  color: var(--cream-40);
  text-decoration: line-through;
  text-decoration-color: rgba(111, 207, 151, 0.55);
}
/* the loop's top card should not sit inside the fade */
.problems__loop {
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 64px), transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .problems__check { display: none; }
}
html:not(.js) .problems__check { display: none; }

/* ============================================================
   V11 — review round 4 (2026-08-27)
   ============================================================ */

/* ---------- Problems: no strikethrough; every gap from one grid ---------- */
.problems__item.is-resolved .problems__quote {
  color: var(--cream-40);
  text-decoration: none;
}
/* single grid owns ALL spacing — including the loop seam — so every
   distance between cards is exactly the same 12px */
.problems__track {
  display: grid;
  gap: 12px;
}
.problems__list { display: contents; }

/* ---------- Case logo nav: tight-cropped marks, marquee-matched sizes ---------- */
.case__logobtn--icarpa img { height: 32px; }
.case__logobtn--sole img { height: 30px; }
.case__logobtn--alquiequipos img { height: 28px; }

/* ============================================================
   V12 — review round 5 (2026-08-27)
   ============================================================ */

/* ---------- Calculator closer line ---------- */
.calc__closer {
  margin-top: clamp(26px, 4vh, 40px);
  font-family: var(--font-display);
  font-weight: 350;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
  max-width: 32em;
}
.calc__closer em { color: var(--accent); font-style: italic; }

/* ---------- Why accordion: intro always visible, only the stat collapses ---------- */
.why-acc__intro {
  padding: 0 clamp(18px, 2vw, 26px) clamp(16px, 2vh, 22px);
}
.why-acc__intro .why-card__headline { font-size: clamp(19px, 1.7vw, 24px); }
.why-acc__intro .why-card__text { margin-top: 10px; font-size: 14px; }
.why-acc__intro .why-card__big { font-size: clamp(32px, 2.8vw, 44px); }
.why-acc__body { min-width: min(300px, 82vw); }
.why-acc.is-open { flex-grow: 2; }
@media (min-width: 900.02px) {
  .why-acc__body { min-height: 0; }
  .why-acc.is-open .why-acc__body { min-height: 150px; }
}

/* ---------- V13 — new problem tag palette (2026-08-27) ---------- */
.ptag--dinero-sobre-la-mesa,
.ptag--money-on-the-table { color: #E8C56A; background: rgba(220, 180, 80, 0.13); border-color: rgba(220, 180, 80, 0.3); }
.ptag--dependencia-del-ceo,
.ptag--ceo-dependence { color: #FF9EC4; background: rgba(255, 110, 170, 0.12); border-color: rgba(255, 110, 170, 0.3); }
.ptag--planes-sin-ejecutar,
.ptag--unexecuted-plans { color: #C6A9FF; background: rgba(154, 110, 255, 0.13); border-color: rgba(154, 110, 255, 0.3); }
.ptag--direccion-sin-datos,
.ptag--leading-without-data { color: #7FD8CE; background: rgba(70, 200, 185, 0.12); border-color: rgba(70, 200, 185, 0.3); }
.ptag--areas-desalineadas,
.ptag--misaligned-areas { color: #A9B6FF; background: rgba(130, 145, 255, 0.13); border-color: rgba(130, 145, 255, 0.3); }
.ptag--equipo-desaprovechado,
.ptag--underused-team { color: #A8D98A; background: rgba(130, 200, 100, 0.13); border-color: rgba(130, 200, 100, 0.3); }
.ptag--vision-en-solitario,
.ptag--lone-vision { color: #E2A9F5; background: rgba(200, 120, 235, 0.13); border-color: rgba(200, 120, 235, 0.3); }
.ptag--problemas-invisibles,
.ptag--invisible-problems { color: #FF9E8F; background: rgba(255, 120, 100, 0.13); border-color: rgba(255, 120, 100, 0.3); }

/* ============================================================
   V14 — review round 7 (2026-08-28)
   ============================================================ */

/* ---------- Scroll comet is a real, draggable scrollbar now ---------- */
.scroll-comet {
  pointer-events: auto;
  cursor: grab;
  /* widen the hit area without changing the visual */
  width: 26px;
  touch-action: none;
}
.scroll-comet.is-dragging { cursor: grabbing; }
.scroll-comet.is-dragging .scroll-comet__knot::before { animation: none; transform: scale(1.3); }

/* ---------- Why heads: icon + plus only (tags removed) ---------- */
.why-acc__head { justify-content: space-between; }

/* ---------- FAQ modal: subtitle + closing CTA ---------- */
.faq__sub {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-on-paper-60);
}
.faq__closing {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.faq__closing p { font-weight: 650; font-size: 16px; color: var(--ink-on-paper); }

/* ---------- Casos: ICARPA −20% ---------- */
.case__logobtn--icarpa img { height: 26px; }

/* ============================================================
   V15 — review round 9 (2026-08-28)
   ============================================================ */

/* ---------- Platform screens +50%: more column, taller stage, zoom ---------- */
.platform2__grid { grid-template-columns: minmax(280px, 0.75fr) 1.25fr; }
.platform2__stage { aspect-ratio: 5 / 4; }
.platform2__screen { transform: scale(1.26); }
.platform2__screen.is-active { transform: scale(1.28); }
@media (max-width: 980px) {
  .platform2__screen { transform: scale(1.02); }
  .platform2__screen.is-active { transform: scale(1.04); }
  .platform2__stage { aspect-ratio: 4 / 3; }
}

/* ============================================================
   V16 — platform screens: auto-rotate with float-through transition
   ============================================================ */
.platform2__screen {
  opacity: 0;
  transform: scale(1.26) translateY(30px);
  filter: blur(7px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out), filter 0.75s var(--ease-out);
  will-change: transform, opacity, filter;
}
.platform2__screen.is-active {
  opacity: 1;
  transform: scale(1.28) translateY(0);
  filter: blur(0);
}
.platform2__screen.is-leaving {
  opacity: 0;
  transform: scale(1.3) translateY(-26px);
  filter: blur(7px);
}
@media (max-width: 980px) {
  .platform2__screen { transform: scale(1.02) translateY(24px); }
  .platform2__screen.is-active { transform: scale(1.04) translateY(0); }
  .platform2__screen.is-leaving { transform: scale(1.06) translateY(-20px); }
}
@media (prefers-reduced-motion: reduce) {
  .platform2__screen { filter: none; transform: none; }
  .platform2__screen.is-active { transform: none; }
}

/* ============================================================
   V17 — platform: five final screens + rotating captions
   ============================================================ */
/* the new set is uniform 5:3 — match the stage so nothing letterboxes */
.platform2__stage { aspect-ratio: 5 / 3; }
.platform2__screen { transform: scale(1.1) translateY(30px); }
.platform2__screen.is-active { transform: scale(1.12) translateY(0); }
.platform2__screen.is-leaving { transform: scale(1.14) translateY(-26px); }
.platform2__captions {
  display: grid;
  margin-top: 20px;
}
.platform2__caption {
  grid-area: 1 / 1;
  text-align: center;
  max-width: 34em;
  justify-self: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cream-60);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.platform2__caption.is-active { opacity: 1; transform: none; }
.platform2__dots { margin-top: 14px; }
@media (max-width: 980px) {
  .platform2__stage { aspect-ratio: 5 / 3; }
  .platform2__screen { transform: scale(1) translateY(24px); }
  .platform2__screen.is-active { transform: scale(1.02) translateY(0); }
  .platform2__screen.is-leaving { transform: scale(1.04) translateY(-20px); }
}
html:not(.js) .platform2__caption { opacity: 0; }
html:not(.js) .platform2__caption.is-active { opacity: 1; }

/* ============================================================
   V18 — platform: overlay prev/next arrows
   ============================================================ */
.platform2__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--cream-12);
  background: rgba(7, 10, 22, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--cream);
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s, transform 0.3s var(--ease-out);
}
.platform2__arrow--prev { left: 10px; }
.platform2__arrow--next { right: 10px; }
.platform2__arrow:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  background: rgba(7, 10, 22, 0.75);
}
.platform2__arrow--prev:hover { transform: translateY(-50%) translateX(-2px); }
.platform2__arrow--next:hover { transform: translateY(-50%) translateX(2px); }
@media (max-width: 560px) {
  .platform2__arrow { width: 40px; height: 40px; }
  .platform2__arrow--prev { left: 4px; }
  .platform2__arrow--next { right: 4px; }
}
html:not(.js) .platform2__arrow { display: none; }

/* ============================================================
   V19 — platform arrows moved off the images (flank the dots)
   ============================================================ */
.platform2__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}
.platform2__dots { margin-top: 0; }
.platform2__arrow {
  position: static;
  transform: none;
  width: 40px;
  height: 40px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(242, 239, 230, 0.04);
  font-size: 15px;
}
.platform2__arrow:hover { background: rgba(242, 239, 230, 0.08); }
.platform2__arrow--prev:hover { transform: translateX(-2px); }
.platform2__arrow--next:hover { transform: translateX(2px); }

/* ============================================================
   V20 — hero dock: the constellation streams hero → first section
   ============================================================ */
.hero__dock {
  position: absolute;
  left: 8px;
  top: 42%;
  width: 10px;
  height: 10px;
  pointer-events: none;
}

/* ============================================================
   V21 — two-font system: Montserrat + Playfair Display
   (scoped to the main landing via body.fonts-v2 so /oferta/ keeps
   its original type until it migrates)
   ============================================================ */
.fonts-v2 {
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Montserrat", "Helvetica Neue", sans-serif;
  --font-mono: "Montserrat", "Helvetica Neue", sans-serif;
  --font-jp: serif;
  font-family: var(--font-body);
}
/* Playfair's variable range starts at 400 — the old 320-380 weights clamp
   up, so soften the biggest display sizes a touch */
.fonts-v2 .hero__title { font-variation-settings: normal; letter-spacing: -0.01em; }
/* mono-styled micro-labels read better with a little more weight in Montserrat */
.fonts-v2 .label,
.fonts-v2 .ptag,
.fonts-v2 .plan__step-label,
.fonts-v2 .why-acc__tag,
.fonts-v2 .why-card__tag,
.fonts-v2 .why-card__stat-label,
.fonts-v2 .system__num,
.fonts-v2 .system__tag,
.fonts-v2 .system__result-label,
.fonts-v2 .cfield__head label,
.fonts-v2 .calc__result-label { font-weight: 600; }
/* Montserrat runs wider than Hanken — tighten the nav so nothing wraps */
.fonts-v2 .nav__inner { gap: 26px; }
.fonts-v2 .nav__links { gap: 22px; margin-left: 6px; }
.fonts-v2 .nav__link, .fonts-v2 .nav__login { font-size: 13.5px; white-space: nowrap; }
.fonts-v2 .nav__actions { gap: 16px; }
.fonts-v2 .nav__cta { white-space: nowrap; }

/* ============================================================
   V22 — hero fit, system accent, 6/3 problem rows, mobile fixes
   ============================================================ */

/* hero: Playfair runs wide — size so line 2 stays on one line when it fits */
.fonts-v2 .hero__title { font-size: clamp(38px, 6.6vw, 86px); }

/* system title tail: orange, regular weight (matches other title accents) */
.system__title em { color: var(--accent); }

/* problems loop: six cards visible on desktop */
.problems__loop { height: min(540px, 74vh); }

/* nothing may pan the page sideways */
html, body { overflow-x: clip; }

@media (max-width: 980px) {
  /* later base rules were overriding these earlier media queries — restate
     them AFTER so mobile actually collapses to one column */
  .platform2__grid { grid-template-columns: 1fr; gap: 40px; }
  .book__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  /* flex-basis 0 inside a column flex container collapsed the cards to 0px */
  .why-acc { flex: none; }
}
@media (max-width: 560px) {
  /* three problem cards visible */
  .problems__loop { height: 452px; }
  /* case logos: one line with horizontal scroll */
  .case__logonav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .case__logonav::-webkit-scrollbar { display: none; }
  .case__logobtn { flex: none; }
}

/* V22b — compact mobile problem cards so three fit the loop */
@media (max-width: 560px) {
  .problems__item { padding: 14px 16px; gap: 10px; border-radius: 12px; }
  .problems__quote { font-size: 14.5px; line-height: 1.5; }
  .problems__check { width: 22px; height: 22px; font-size: 11px; }
  .ptag { font-size: 9px; padding: 5px 10px; }
  .problems__loop { height: 470px; }
}

/* V22c — Playfair digits have deep descenders: stop clipping the result */
.calc__result {
  line-height: 1.18;
  padding-bottom: 0.04em;
}
