/* ============================================================
   TEKT. — Design & Engineering Studio
   ============================================================ */

:root {
  --void:     #0A0A0F;
  --carbon:   #14141E;
  --graphite: #1E1E28;
  --slate:    #2A2A36;
  --lime:     #F5EF84;
  --bone:     #E8E6E1;
  --muted:    #6B6860;
  --alert:    #FF4D4D;

  --lime-glow: rgba(245, 239, 132, 0.2);
  --lime-wash: rgba(245, 239, 132, 0.03);

  --font-display: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --max: 1280px;
  --pad: 32px;
  --shell: 90vw;
  --shell-inset: calc((100vw - var(--shell)) / 2);
  --edge-bottom: 40px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--void);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* -------- Layout helpers -------- */
.container {
  width: var(--shell);
  max-width: none;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

.section {
  padding: clamp(80px, 12vw, 160px) 0;
  border-top: 1px solid var(--graphite);
}

/* -------- Skip link -------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--lime);
  color: var(--void);
  padding: 10px 18px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* -------- Shared type -------- */
.mono-label {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lime);
}

.section__head { margin-bottom: clamp(48px, 6vw, 80px); }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 20px;
  max-width: 16ch;
}

.dot {
  display: inline-block;
  width: 0.34em;
  height: 0.34em;
  border-radius: 50%;
  background: var(--lime);
  margin-left: 0.06em;
  vertical-align: baseline;
}
.dot--big { width: 0.16em; height: 0.16em; margin-left: 0.02em; }

/* -------- Logo mark -------- */
.mark-square { fill: none; stroke: var(--bone); stroke-width: 2; }
.mark-diag { stroke: var(--lime); stroke-width: 2; }
.mark-aux { stroke: var(--bone); stroke-width: 1; opacity: 0.35; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.2px;
  padding: 14px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
              border-color 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn--lime { background: var(--lime); color: var(--void); }
.btn--lime:hover { transform: translateY(-2px); opacity: 0.9; }
.btn--ghost { border-color: var(--slate); color: var(--bone); }
.btn--ghost:hover { border-color: var(--lime); transform: translateY(-2px); }
.btn--block { width: 100%; padding: 16px; }

/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand__mark { display: inline-flex; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.site-header__bar {
  width: var(--shell);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* --- Brand: hidden until the hero logo finishes morphing in --- */
.site-header__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--bone);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-scrolled .site-header__brand { opacity: 1; pointer-events: auto; }

/* --- Nav wrapper --- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

/* --- Pill of links (hero state = fixed bottom-right) --- */
.site-nav__pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-nav__pill a {
  position: relative;
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--bone);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.site-nav__pill a:hover { color: var(--lime); }
.site-nav__pill a.is-active { color: var(--lime); }
.site-nav__pill a.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 1px;
  background: var(--lime);
}

/* Hero state: pill anchored bottom-right, controls hidden */
.site-nav__contact,
.site-nav__toggle { display: none; }

.site-header:not(.is-scrolled) .site-nav {
  position: fixed;
  right: var(--shell-inset);
  bottom: var(--edge-bottom);
  transform: translateY(calc(var(--nav-lift, 0px) * -1));
}

/* --- Contact pill button (scrolled state) --- */
.site-nav__contact {
  align-items: center;
  padding: 11px 22px;
  border: 1px solid var(--graphite);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.site-nav__contact:hover { border-color: var(--lime); color: var(--lime); }

/* --- Hamburger circle (scrolled state) --- */
.site-nav__toggle {
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
  background: var(--bone);
}
.site-nav__toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--void);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* --- Scrolled state: show controls, collapse pill --- */
.site-header.is-scrolled .site-nav__contact {
  display: inline-flex;
  overflow: hidden;
  max-width: 200px;
  opacity: 1;
  transition: max-width 0.3s var(--ease), opacity 0.25s var(--ease),
              padding 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), margin 0.3s var(--ease);
}
.site-header.is-scrolled .site-nav__toggle { display: inline-flex; }

/* When the menu expands, drop the standalone Contacto (it lives inside the pill) */
.site-header.is-scrolled.is-open .site-nav__contact {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin: 0;
  border-color: transparent;
  opacity: 0;
  pointer-events: none;
}

.site-header.is-scrolled .site-nav { order: 0; }
.site-header.is-scrolled .site-nav__pill {
  order: -1;
  overflow: hidden;
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
  border-color: transparent;
  opacity: 0;
  transform-origin: right center;
  transition: max-width 0.32s var(--ease), opacity 0.25s var(--ease),
              padding 0.25s var(--ease), margin 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-header.is-scrolled.is-open .site-nav__pill {
  max-width: 640px;
  padding: 6px 10px;
  margin-right: 4px;
  border-color: var(--graphite);
  opacity: 1;
}

/* Staggered link reveal on expand */
.site-header.is-scrolled .site-nav__pill a {
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), color 0.3s var(--ease);
}
.site-header.is-scrolled.is-open .site-nav__pill a {
  opacity: 1;
  transform: none;
  transition-delay: var(--link-delay, 0s);
}

/* --- Inverted header over light sections (#servicios) --- */
.site-header.is-on-light .site-header__brand { color: var(--void); }
.site-header.is-on-light .site-header__brand .dot { background: var(--void); }
.site-header.is-on-light .site-nav__contact {
  color: var(--void);
  border-color: rgba(10, 10, 15, 0.25);
}
.site-header.is-on-light .site-nav__contact:hover {
  color: var(--void);
  border-color: var(--void);
}
.site-header.is-on-light .site-nav__toggle {
  background: var(--void);
}
.site-header.is-on-light .site-nav__toggle span {
  background: var(--bone);
}
.site-header.is-on-light .site-nav__pill {
  background: rgba(243, 243, 243, 0.85);
  border-color: rgba(10, 10, 15, 0.15);
}
.site-header.is-on-light.is-scrolled.is-open .site-nav__pill {
  border-color: rgba(10, 10, 15, 0.2);
}
.site-header.is-on-light .site-nav__pill a { color: var(--void); }
.site-header.is-on-light .site-nav__pill a:hover,
.site-header.is-on-light .site-nav__pill a.is-active { color: var(--void); }
.site-header.is-on-light .site-nav__pill a.is-active::after {
  background: var(--void);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 140px 0 var(--edge-bottom);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("../images/hero-grid.svg?v=2") center / cover no-repeat;
  opacity: 0.32;
  mask-image: radial-gradient(ellipse 80% 70% at 42% 40%, #000 8%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 42% 40%, #000 8%, transparent 78%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin-left: auto;
  margin-right: auto;
  min-height: calc(100svh - 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__headline {
  max-width: none;
  align-self: stretch;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: -0.03em;
  transform-origin: left top;
  transform: translate(var(--logo-tx, 0px), var(--logo-ty, 0px)) scale(var(--logo-scale, 1));
  will-change: transform;
  opacity: 0;
  animation: hero-brand-in 0.9s var(--ease) 0.1s forwards;
  margin-bottom: clamp(12px, 1.5vw, 20px);
}
@keyframes hero-brand-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.dot--hero {
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.04em;
  vertical-align: baseline;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(42px, 9.5vw, 143px);
  line-height: 1.0056; /* 143.8 / 143 */
  letter-spacing: -1.4px;
  color: var(--bone);
  max-width: none;
  text-wrap: balance;
}
.hero__nl { display: none; }
.hero__subtitle em {
  font-style: italic;
  font-weight: 300;
  font-synthesis: none;
}

.hero__actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 64px);
  width: 100%;
  margin-top: clamp(32px, 4vw, 48px);
}

.hero__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 400px));
  gap: clamp(28px, 3vw, 40px);
  margin: 0 clamp(24px, 5vw, 80px) 0 0;
  width: max-content;
  max-width: min(840px, 72%);
  flex: 0 1 auto;
  text-align: left;
}
.hero__columns p {
  font-weight: 300;
  font-size: clamp(15px, 1.15vw, 16px);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  min-width: 0;
}

/* --- Interactive Hover Button (Magic UI style) --- */
.ihb {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  flex-shrink: 0;
  padding: 18px 42px 18px 22px;
  border: 1.5px solid var(--lime);
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
  width: fit-content;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bone);
  box-shadow: 0 0 0 0 rgba(245, 239, 132, 0);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
              color 0.3s var(--ease), box-shadow 0.35s var(--ease), transform 0.3s var(--ease);
}
.ihb:hover,
.ihb:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--void);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(245, 239, 132, 0.28);
}
/* On light backgrounds (e.g. Proceso): keep same shape/interaction, dark idle text */
.ihb--on-light { color: var(--void); }
.ihb--block { width: 100%; justify-content: center; padding: 20px 28px; }
.ihb__idle {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ihb__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease);
}
.ihb__active {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--void);
  opacity: 0;
  transform: translateX(24px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.ihb__arrow {
  flex-shrink: 0;
  display: inline-block;
  margin-left: 2px;
  font-size: 1.15em;
  line-height: 1;
  font-weight: 400;
}
.ihb:hover .ihb__idle,
.ihb:focus-visible .ihb__idle {
  opacity: 0;
  transform: translateX(32px);
}
.ihb:hover .ihb__dot,
.ihb:focus-visible .ihb__dot {
  transform: scale(95);
  background: var(--lime);
}
.ihb:hover .ihb__active,
.ihb:focus-visible .ihb__active {
  opacity: 1;
  transform: translateX(0);
  color: var(--void);
}

.hero__clock {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.clock__time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 32px;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.clock__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  padding: 20px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee__track--reverse { animation-direction: reverse; }
.marquee__content {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICIOS — section reveal on scroll (GSAP ScrollTrigger)
   ============================================================ */
.services-reveal {
  position: relative;
  margin-top: clamp(48px, 8vh, 80px);
  background: transparent;
  transition: filter 0.35s var(--ease);
}
.services-reveal:has(.has-preview-hover) {
  filter: blur(4px);
}
.services-reveal__shell {
  width: 90vw;
  margin-inline: auto;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
  background: #f3f3f3;
  opacity: 1;
  isolation: isolate;
  will-change: width, border-radius;
  color: var(--void);
}
.services-reveal__inner {
  padding-top: clamp(80px, 12vw, 160px);
  padding-bottom: clamp(80px, 12vw, 160px);
}

/* --- Header: large title left + lead right --- */
.services-reveal__head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  margin-bottom: clamp(56px, 8vw, 100px);
}
.services-reveal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--void);
  max-width: 14ch;
}
.services-reveal__lead {
  justify-self: end;
  max-width: 30ch;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pp-muted);
  margin: 0;
  padding-top: 0.35em;
}

/* --- Service list: process step title typography --- */
.services { border-top: 1px solid #d3d3d3; }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 34%);
  gap: clamp(48px, 10vw, 160px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  margin: 0;
  border-bottom: 1px solid #d3d3d3;
  border-radius: 0;
}
.service__main {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.2vw, 16px);
}
.service__num {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1vw, 16px);
  color: #6f6f6f;
}
.service__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--void);
}
.service__desc {
  max-width: 50ch;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pp-muted, #6f6f6f);
  padding-top: 0;
  margin: 0;
}

/* --- Hover: sibling dimming --- */
.services.has-preview-hover .service {
  opacity: 0.15;
  transition: opacity 0.35s var(--ease);
}
.services.has-preview-hover .service.is-preview-active {
  opacity: 1;
}

/* --- Floating poster card (cursor-following, polaroid) --- */
.floating-preview {
  position: fixed;
  inset: 0;
  z-index: 55;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  transition: opacity 0.25s var(--ease);
}
.floating-preview.is-visible {
  opacity: 1;
}
.floating-preview__blur {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}
.floating-preview__stage {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
.floating-preview__card {
  width: clamp(336px, 38vw, 528px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 36px);
  background: color-mix(in srgb, var(--lime) 38%, #fff);
  border-radius: 24px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  transform: rotate(3deg) scale(0.3);
  transform-origin: center center;
  transition: transform 0.35s var(--ease);
  color: #0a0a0f;
}
.floating-preview.is-visible .floating-preview__card {
  transform: rotate(3deg) scale(1);
}
.floating-preview__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(42px, 6.5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  white-space: pre-line;
}
.floating-preview__sub {
  margin: 14px 0 0;
  width: 100%;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.4;
  color: #1a1a1a;
}
.floating-preview__footer {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.floating-preview__keys {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
}
.floating-preview__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.8;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .floating-preview { display: none; }
  .services.has-preview-hover .service { opacity: 1; }
  .services-reveal:has(.has-preview-hover) { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-preview { display: none; }
  .services.has-preview-hover .service { opacity: 1; transition: none; }
  .services-reveal:has(.has-preview-hover) { filter: none; }
}

/* ============================================================
   CASOS — metric cards (shell-aligned, half-scale)
   ============================================================ */
.cases-section {
  /* Stay above the yellow manifesto while both are on screen */
  --cases-gap: clamp(12px, 1.5vw, 20px);
  --cases-card-w: calc((80vw - 3 * var(--cases-gap)) / 4);
  --cases-card-half: calc(var(--cases-card-w) * 3.08 / 6);
  position: relative;
  z-index: 3;
  width: 100%;
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--void);
  border-top: none;
  color: #fff;
}
.cases-section.is-aligning {
  padding-bottom: calc(clamp(100px, 16vh, 200px) + var(--cases-card-half));
}
.cases-section__inner {
  width: var(--shell);
  max-width: none;
  margin: 0 auto;
}
.cases-section__head {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.cases-section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(44px, 6.8vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 14ch;
}

.cases {
  width: 80vw;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--cases-gap);
  align-items: start;
}
.cases__col {
  will-change: transform;
}

.case {
  background: #fff;
  color: #0a0a0f;
  border: none;
  border-radius: 0;
  padding: clamp(14px, 1.4vw, 20px);
  display: flex;
  flex-direction: column;
  aspect-ratio: 3 / 3.08; /* 70% of prior 3/4.4 height */
  min-height: 126px;
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.4s var(--ease), opacity 0.7s var(--ease);
}
.case.is-in {
  opacity: 1;
  transform: translateY(0);
}
.case.is-in:hover,
.case.is-in:focus-visible,
.case.is-in.is-active {
  transform: translateY(-4px);
}
/* Zigzag: even cols offset by ~half card height */
.cases__col[data-parallax-group="b"] {
  margin-top: calc(50% * 3.08 / 3);
}
/* When GSAP parallax owns the offset, clear CSS margin */
.cases.is-parallax-ready .cases__col[data-parallax-group="b"] {
  margin-top: 0;
}
.case__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pp-muted, #6f6f6f);
  padding-top: 0;
  margin: 0;
  flex-shrink: 0;
}
.case__icon {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #0a0a0f;
}
/* Spacer pushes metric block to the bottom */
.case__label + .case__value {
  margin-top: auto;
}
.case__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #0a0a0f;
  margin: 0;
  padding: 0 0 8px;
  flex-shrink: 0;
}
.case__rule {
  border: none;
  border-top: 1px solid #d8d8d8;
  margin: 0 0 10px;
  width: 100%;
  flex-shrink: 0;
}
.case__foot {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(11px, 0.8vw, 13px);
  line-height: 1.45;
  color: #6f6f6f;
  max-width: 22ch;
  flex-shrink: 0;
}

/* Shared tag utility (used outside Casos) */
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--slate);
  border-radius: 100px;
  padding: 5px 11px;
}

/* ============================================================
   MANIFIESTO
   ============================================================ */
.manifesto {
  position: relative;
  z-index: 1;
  background: var(--void);
  color: var(--void);
}
.manifesto ::selection { background: var(--void); color: var(--lime); }
.manifesto__scroll {
  position: relative;
  /* Pin spacing is applied by ScrollTrigger on the pin node */
  height: auto;
}
.manifesto__pin {
  position: relative;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.manifesto__panel {
  width: 98vw;
  height: 98vh;
  border-radius: 48px;
  overflow: hidden;
  background: var(--lime);
  position: relative;
}
.manifesto__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.manifesto__slides {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* --- Scroll-driven split phrases (opposite Y vectors) --- */
.manifesto__split-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.manifesto__phrase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4em, 2.5vw, 0.85em);
  padding: 0 clamp(16px, 3vw, 48px);
  pointer-events: none;
  will-change: opacity;
}
.manifesto__half {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 8.5vw, 120px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--void);
  white-space: nowrap;
  will-change: transform;
}
.manifesto__half--left {
  text-align: right;
}
.manifesto__half--right {
  text-align: left;
}

/* Hit zone over phrases — drives magnetic cursor + CTA */
.manifesto__hit {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(92%, 920px);
  height: clamp(120px, 28vh, 220px);
  transform: translate(-50%, -50%);
  border-radius: 20px;
  cursor: none;
  text-indent: -9999px;
  overflow: hidden;
  color: transparent;
}
.manifesto__hit.is-disabled {
  pointer-events: none;
}

/* Magnetic “Take control” cursor — big black / yellow type */
.manifesto__cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 2.4vw, 32px) clamp(36px, 4vw, 56px);
  border-radius: 999px;
  background: var(--void);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  transition: opacity 0.28s var(--ease);
  will-change: transform;
  box-shadow: 0 18px 40px rgba(10, 10, 15, 0.18);
}
.manifesto__cursor.is-visible {
  opacity: 1;
}

/* --- Final reveal (crossfade in place over last phrase) --- */
.manifesto__reveal {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.manifesto__sign {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.4vw, 16px);
  letter-spacing: 1px;
  color: rgba(10, 10, 15, 0.6);
}
.manifesto__sign .mark-square { stroke: rgba(10, 10, 15, 0.6); }
.manifesto__sign .mark-diag { stroke: rgba(10, 10, 15, 0.6); }

/* ============================================================
   PROCESO — premium interactive carousel (light theme, scoped)
   ============================================================ */
.process-premium {
  --pp-bg: #f3f3f3;
  --pp-ink: #0a0a0f;
  --pp-muted: #6f6f6f;
  --pp-line: #d3d3d3;
  --pp-cursor-bg: #1f2d2b;
  position: relative;
  z-index: 1;
  isolation: isolate;
  background: var(--pp-bg);
  color: var(--pp-ink);
  border-top: none;
}

/* Slides up over Proceso: negative margin + higher stacking */
.site-cover {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
  background: var(--void);
  box-shadow: 0 -32px 100px rgba(10, 10, 15, 0.35);
}
.site-cover .marquee {
  background: var(--void);
}
.process-premium__scroll {
  position: relative;
  /* Tall enough to finish horizontal pan before .site-cover's -100vh overlap */
  height: 400vh;
}
.process-premium__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(80px, 10vh, 120px) 0 clamp(40px, 7vh, 72px);
}

/* --- Top fixed block --- */
.process-premium__top {
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.process-premium__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--pp-ink);
}
.process-premium__cta {
  margin-top: clamp(28px, 4vw, 48px);
  background: var(--void);
  border-color: var(--void);
  color: var(--lime);
}
.process-premium__cta .ihb__dot {
  background: var(--lime);
}
.process-premium__cta:hover,
.process-premium__cta:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--void);
  box-shadow: 0 16px 48px rgba(10, 10, 15, 0.18);
}
.process-premium__cta:hover .ihb__active,
.process-premium__cta:focus-visible .ihb__active {
  color: var(--void);
}
.process-premium__note {
  justify-self: end;
  max-width: 30ch;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--pp-muted);
}
.process-premium__note a {
  color: var(--pp-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Horizontal carousel --- */
.process-premium__viewport {
  overflow: hidden;
  cursor: grab;
  width: 100%;
}
.process-premium__viewport.is-dragging { cursor: grabbing; }
.process-premium__track {
  display: flex;
  align-items: center;
  gap: clamp(56px, 8vw, 130px);
  width: max-content;
  padding: clamp(16px, 3vh, 40px) var(--shell-inset);
  will-change: transform;
}
.process-premium__step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  white-space: nowrap;
}
.process-premium__step-num {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1vw, 16px);
  color: var(--pp-muted);
  padding-top: 0.9em;
}
.process-premium__step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-synthesis: none;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--pp-ink);
  transition: opacity 0.3s var(--ease);
}
/* Dim siblings only when hovering a specific step option */
.process-premium__track:has(.process-premium__step:hover) .process-premium__step {
  opacity: 0.35;
  transition: opacity 0.3s var(--ease);
}
.process-premium__track:has(.process-premium__step:hover) .process-premium__step:hover {
  opacity: 1;
}

/* --- Floating magnetic cursor --- */
.process-premium__cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.7);
  transition: opacity 0.3s var(--ease);
  will-change: transform;
}
.process-premium__cursor.is-visible { opacity: 1; }
.process-premium__cursor-arrow { margin-left: 8px; }

/* --- Progress line --- */
.process-premium__progress {
  width: var(--shell);
  margin: 0 auto;
  height: 1px;
  background: var(--pp-line);
  position: relative;
}
.process-premium__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--pp-ink);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__text {
  font-weight: 300;
  color: var(--muted);
  max-width: 44ch;
  margin: 24px 0 32px;
}
.contact__email {
  display: inline-block;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--lime);
  letter-spacing: -0.01em;
  transition: opacity 0.3s var(--ease);
}
.contact__email:hover { opacity: 0.8; }
.contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.contact__social a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.contact__social a:hover { color: var(--lime); }

.contact__form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  background: var(--carbon);
  border: 1px solid var(--graphite);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--lime);
  background: var(--slate);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--alert); }

.form-status {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--lime);
  min-height: 1em;
}
.form-status.is-error { color: var(--alert); }

/* ============================================================
   FOOTER — black / yellow editorial panel (overlaps Proceso)
   ============================================================ */
.footer {
  --footer-bg: var(--void);
  --footer-ink: var(--lime);
  --footer-muted: rgba(245, 239, 132, 0.45);
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: none;
  /* Clear fixed navbar when landing on #contacto */
  scroll-margin-top: 96px;
  padding: clamp(88px, 12vh, 140px) 0 clamp(28px, 4vw, 48px);
}
.footer__shell {
  width: var(--shell);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  margin-bottom: clamp(48px, 8vw, 100px);
}
.footer__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  color: var(--footer-muted);
}
.footer__email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--footer-ink);
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}
.footer__email:hover { opacity: 0.55; }
.footer__menus {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
}
.footer__menu-label {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--footer-muted);
}
.footer__menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__menu a {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bone);
  text-decoration: none;
  transition: opacity 0.25s var(--ease);
}
.footer__menu a:hover { opacity: 0.45; }
.footer__mega {
  margin: auto 0 0;
  line-height: 0.86;
  user-select: none;
}
.footer__mega-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 14vw, 180px);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--footer-ink);
}
.footer__mega-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(72px, 22vw, 280px);
  letter-spacing: -0.055em;
  text-transform: uppercase;
  color: var(--footer-ink);
}
.footer__legal {
  margin: clamp(32px, 5vw, 56px) 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--footer-muted);
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 769px) {
  .hero {
    padding-top: 112px;
  }
  .hero__inner {
    min-height: calc(100svh - 152px);
    /* Extra bottom padding raises the centered copy above the clock + menu */
    padding-bottom: clamp(56px, 8vh, 96px);
  }
  .hero__columns {
    grid-template-columns: repeat(2, minmax(0, 400px));
    max-width: min(840px, 72%);
  }
}

@media (max-width: 1024px) {
  .process-premium__top { grid-template-columns: 1fr; }
  .process-premium__note {
    justify-self: start;
    text-align: left;
    margin-top: 24px;
  }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  :root { --pad: 20px; }

  .hero {
    padding-top: 108px;
    padding-bottom: 40px;
    min-height: 100svh;
  }
  .hero__inner {
    min-height: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
  /* Header already shows the mark on mobile */
  .hero__brand { display: none; }
  .hero__subtitle {
    font-size: clamp(48px, 13.8vw, 68px);
    letter-spacing: -0.04em;
    line-height: 1.04;
  }
  .hero__nl { display: block; }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    margin-top: 28px;
  }
  .hero .ihb {
    padding: 16px 28px 16px 18px;
  }
  .hero__columns {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .hero__columns p {
    font-size: 14px;
    line-height: 1.6;
  }
  .hero__clock {
    position: static;
    margin-top: 36px;
  }
  .clock__time { font-size: 22px; }

  .site-nav__contact,
  .site-nav__toggle { display: inline-flex; }
  .site-header__brand { opacity: 1; pointer-events: auto; }

  /* Keep nav in the header bar (not a second fixed cluster) */
  .site-header:not(.is-scrolled) .site-nav {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .site-nav {
    position: relative;
    gap: 8px;
  }
  .site-nav__contact {
    padding: 10px 16px;
    font-size: 11px;
  }

  /* Dropdown panel instead of an expanding pill */
  .site-header .site-nav__pill,
  .site-header.is-scrolled .site-nav__pill,
  .site-header.is-open .site-nav__pill,
  .site-header.is-scrolled.is-open .site-nav__pill {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    order: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    width: min(260px, calc(100vw - 48px));
    max-width: none;
    margin: 0;
    padding: 10px 8px;
    border-radius: 22px;
    border-color: var(--graphite);
    overflow: hidden;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transform-origin: top right;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header.is-open .site-nav__pill,
  .site-header.is-scrolled.is-open .site-nav__pill {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header .site-nav__pill a,
  .site-header.is-scrolled .site-nav__pill a,
  .site-header.is-open .site-nav__pill a,
  .site-header.is-scrolled.is-open .site-nav__pill a {
    width: 100%;
    padding: 12px 16px;
    font-size: 17px;
    opacity: 1;
    transform: none;
    transition: color 0.3s var(--ease), background 0.2s var(--ease);
  }
  .site-header .site-nav__pill a:hover,
  .site-header .site-nav__pill a.is-active {
    background: rgba(245, 239, 132, 0.08);
  }

  /* Hide standalone Contacto while the menu is open (no duplicate) */
  .site-header.is-open .site-nav__contact {
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    border-color: transparent;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .services-reveal {
    margin-top: 40px;
  }
  .services-reveal__shell {
    border-radius: 28px 28px 0 0;
    width: 90vw;
  }
  .services-reveal__inner {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .services-reveal__head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .services-reveal__title {
    max-width: none;
  }
  .services-reveal__lead {
    justify-self: start;
    text-align: left;
    max-width: none;
    padding-top: 0;
    font-size: 11px;
    line-height: 1.65;
  }
  .service {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 28px 0;
    margin: 0;
  }
  .service__title {
    font-size: clamp(30px, 8.2vw, 40px);
    line-height: 1.08;
  }
  .service__desc {
    padding-top: 0;
    max-width: none;
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: 0.4px;
  }
  .service__num { font-size: 12px; }

  .cases-section__title { max-width: none; }
  .cases { grid-template-columns: 1fr; gap: 12px; }
  .cases__col { will-change: auto; transform: none !important; }
  .cases__col[data-parallax-group="b"] { margin-top: 0; }
  .case {
    aspect-ratio: auto;
    min-height: 126px;
    opacity: 1;
    transform: none;
  }
  .contact { grid-template-columns: 1fr; }

  /* No negative overlap: -40vh was covering the process steps */
  .site-cover {
    margin-top: 0;
    box-shadow: none;
  }
  .footer__top {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }
  .footer__menus {
    gap: 48px;
  }
  .footer__mega-line {
    font-size: clamp(48px, 18vw, 96px);
  }
  .footer__mega-brand {
    font-size: clamp(64px, 28vw, 140px);
  }

  /* Proceso: no pin, native swipe, titles sized to show ~1.2 steps */
  .process-premium__scroll { height: auto; }
  .process-premium__sticky {
    position: static;
    height: auto;
    gap: 48px;
    padding: 72px 0 56px;
  }
  .process-premium__headline {
    font-size: clamp(32px, 8.4vw, 44px);
    line-height: 1.06;
  }
  .process-premium__cta {
    margin-top: 24px;
    padding: 16px 28px 16px 18px;
    font-size: 11px;
    letter-spacing: 1.4px;
  }
  .process-premium__note {
    max-width: none;
    font-size: 11px;
    line-height: 1.7;
    margin-top: 20px;
  }
  .process-premium__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    cursor: default;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }
  .process-premium__viewport::-webkit-scrollbar { display: none; }
  .process-premium__track {
    transform: none !important;
    gap: 36px;
    padding: 8px var(--shell-inset) 16px;
  }
  .process-premium__step { scroll-snap-align: start; }
  .process-premium__step-title {
    font-size: clamp(44px, 12vw, 56px);
  }
  .process-premium__cursor { display: none; }
  .process-premium__track:has(.process-premium__step:hover) .process-premium__step { opacity: 1; }

  /* Manifiesto: pinned yellow stage, large phrases cycle on scroll */
  .manifesto.is-mobile-seq .manifesto__scroll { height: auto; }
  .manifesto.is-mobile-seq .manifesto__pin {
    position: relative;
    height: 100svh;
    width: 100%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .manifesto.is-mobile-seq .manifesto__panel {
    width: 92vw;
    height: 88svh;
    min-height: 0;
    margin: 0 auto;
    border-radius: 28px;
    padding: 0;
    overflow: hidden;
  }
  .manifesto.is-mobile-seq .manifesto__stage {
    height: 100%;
    min-height: 0;
    overflow: hidden;
    display: block;
  }
  .manifesto.is-mobile-seq .manifesto__slides {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .manifesto.is-mobile-seq .manifesto__split-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: block;
  }
  .manifesto.is-mobile-seq .manifesto__phrase {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    text-align: center;
  }
  .manifesto.is-mobile-seq .manifesto__half,
  .manifesto.is-mobile-seq .manifesto__half--left,
  .manifesto.is-mobile-seq .manifesto__half--right {
    font-size: clamp(42px, 12.5vw, 68px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    max-width: 12ch;
  }
  .manifesto.is-mobile-seq .manifesto__hit {
    position: absolute;
    left: 50%;
    top: auto;
    bottom: 28px;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100% - 32px);
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--void);
    color: var(--lime);
    text-indent: 0;
    overflow: visible;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    z-index: 6;
  }
  .manifesto.is-mobile-seq .manifesto__hit::after { content: "Take control"; }
  .manifesto.is-mobile-seq .manifesto__cursor { display: none; }
  .manifesto.is-mobile-seq .manifesto__reveal {
    position: absolute;
    inset: 0;
    margin: 0;
    justify-content: center;
    transform: none;
  }
  .manifesto.is-mobile-seq .manifesto__sign { font-size: 11px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .case { opacity: 1; transform: none; }
  .cases__col[data-parallax-group="b"] { margin-top: 0; }

  /* Servicios: skip reveal animation, land on final light full-width state */
  .services-reveal__shell {
    width: 100vw;
    border-radius: 0;
    background: #f3f3f3;
  }

  /* Proceso: no pin/scroll-driven; native horizontal scroll, cursor off */
  .process-premium__scroll { height: auto; }
  .process-premium__sticky {
    position: static;
    height: auto;
    gap: 40px;
  }
  .process-premium__viewport {
    overflow-x: auto;
    cursor: default;
  }
  .process-premium__track { transform: none !important; }
  .process-premium__cursor { display: none; }
  .process-premium__track:has(.process-premium__step:hover) .process-premium__step { opacity: 1; }

  /* Manifiesto: static, first phrase + sign, no pin */
  .manifesto__scroll { height: auto; }
  .manifesto__pin { position: static; height: auto; width: 100%; padding: clamp(24px, 4vw, 40px) 0; }
  .manifesto__panel {
    width: 98vw;
    height: auto;
    min-height: 50vh;
    margin: 0 auto;
    border-radius: 32px;
    padding: clamp(48px, 10vw, 80px) clamp(20px, 4vw, 40px);
  }
  .manifesto__stage { height: auto; min-height: 0; overflow: visible; }
  .manifesto__slides { position: static; display: block; overflow: visible; }
  .manifesto__split-stage { position: relative; inset: auto; overflow: visible; }
  .manifesto__phrase {
    position: static;
    display: none;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.25em;
    padding: 0;
    opacity: 1 !important;
  }
  .manifesto__phrase:first-child { display: flex; }
  .manifesto__half { transform: none !important; font-size: clamp(36px, 10vw, 64px); }
  .manifesto__cursor { display: none !important; }
  .manifesto__hit { cursor: pointer; }
  .manifesto__reveal { position: static; transform: none; margin-top: 40px; justify-content: flex-start; }
}
