/* Nordik — homepage
   Paleta y tipografía de nordik.digital: negro #1a1a1a, crema #f4f1ec / #ede9e1, verde #0eeed4.
   Konkhmer Sleokchher (nombre), Bricolage Grotesque (titulares), Hanken Grotesk (texto), Roboto Mono (etiquetas).
   El verde se usa en acentos planos, sin brillos. */

:root {
  --black: #1a1a1a;
  --black-2: #212121;
  --cream: #f4f1ec;
  --cream-2: #ede9e1;
  --green: #0eeed4;
  --white: #ffffff;

  --on-dark: rgba(255, 255, 255, 0.66);
  --on-dark-soft: rgba(255, 255, 255, 0.42);
  --line-dark: rgba(255, 255, 255, 0.12);
  --on-light: rgba(26, 26, 26, 0.66);
  --line-light: rgba(26, 26, 26, 0.12);

  --f-impact: "Konkhmer Sleokchher", "Bricolage Grotesque", "Noto Sans Runic", ui-sans-serif, system-ui, sans-serif;
  --f-display: "Bricolage Grotesque", "Noto Sans Runic", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --f-mono: "Roboto Mono", ui-monospace, monospace;
  --f-rune: "Noto Sans Runic", "Segoe UI Historic", "Segoe UI Symbol", sans-serif;

  --m: clamp(20px, 3vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--black);
  color: var(--black);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--green); color: var(--black); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.skip {
  position: fixed; left: var(--m); top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--green); color: var(--black);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.is-rune { font-family: var(--f-rune) !important; display: inline-block; text-align: center; }

.h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1; letter-spacing: -0.035em;
  text-wrap: balance;
}

.caret {
  display: inline-block; width: 0.09em; height: 0.82em;
  margin-right: 0.28em; vertical-align: -0.06em;
  background: var(--green);
}
.chev {
  display: inline-block; width: 0.32em; height: 0.32em;
  margin-left: 0.3em; vertical-align: 0.12em;
  border-left: 0.07em solid var(--green); border-bottom: 0.07em solid var(--green);
  transform: rotate(45deg);
}

.k-ico { width: 9px; height: 12px; fill: none; stroke: currentColor; stroke-width: 26; }

/* ---------- píldoras ---------- */
.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; line-height: 1;
  transition: color 0.4s var(--ease), transform 0.2s var(--ease);
}
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.pill:hover::before { transform: none; }
.pill:active { transform: scale(0.97); }
.pill--solid { background: var(--green); color: var(--black); }
.pill--solid::before { background: var(--cream); }
.pill--line { border: 1.5px solid var(--green); color: var(--green); }
.pill--line::before { background: var(--green); }
.pill--line:hover { color: var(--black); }

/* ---------- navegación ---------- */
.nav {
  position: fixed; z-index: 90;
  top: 14px; left: var(--m); right: var(--m);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 58px; padding: 0 10px 0 22px;
  background: var(--black);
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__brand { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--green); justify-self: start; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--on-dark); transition: color 0.3s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta { justify-self: end; }
.nav__menu { display: none; justify-self: end; color: var(--white); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 12px; }

.menu {
  position: fixed; inset: 0; z-index: 80;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 40px;
  padding: 100px var(--m) 40px;
  background: var(--black); color: var(--white);
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 6px; }
.menu__links a { font-family: var(--f-display); font-weight: 700; font-size: 44px; letter-spacing: -0.035em; line-height: 1.1; }
.menu__mail { color: var(--green); font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- hero: montaña en oscuro con niebla que se mueve ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 100svh;
  padding: 120px var(--m) clamp(48px, 7svh, 80px);
  background: var(--black); color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__img {
  position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; max-width: none; object-fit: cover; object-position: 50% 55%;
  filter: brightness(0.9) contrast(1.08) saturate(0.85) hue-rotate(-8deg);
  will-change: transform;
}
/* estrellas que titilan sobre el cielo de la foto */
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
/* humo: tres texturas de niebla que se generan una vez y solo se desplazan */
.fog {
  position: absolute; left: -25%; width: 150%; top: 30%; height: 80%;
  background-size: 100% 100%; background-repeat: no-repeat;
  opacity: 0.85;
  will-change: transform, opacity;
}
.fog--b { top: 42%; }
.fog--c { top: 52%; height: 60%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,0.45) 0%, rgba(26,26,26,0) 25%, rgba(26,26,26,0.1) 55%, rgba(26,26,26,0.92) 100%), linear-gradient(90deg, rgba(26,26,26,0.55) 0%, rgba(26,26,26,0) 55%); } /* taste-skill-ignore: velo bajo el texto */
.hero__scroll {
  position: absolute; right: var(--m); bottom: clamp(48px, 7svh, 80px); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-dark);
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll .k-ico { width: 12px; height: 16px; stroke: var(--green); stroke-width: 30; transform: rotate(-90deg); }
.hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hero__name { font-weight: 400; }
.hero__word {
  display: block; width: fit-content;
  font-family: var(--f-impact);
  font-size: clamp(5rem, 15vw, 15.5rem); line-height: 0.9; letter-spacing: -0.03em;
  color: var(--cream);
  white-space: nowrap;
}
.hero__word .ch { display: inline-block; }
.hero__claim {
  position: relative;
  margin-top: clamp(16px, 2.6svh, 32px);
  padding-left: 0.42em;
  max-width: 29ch;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 3.3rem);
  line-height: 1.08; letter-spacing: -0.03em;
}
.hero__claim .caret { position: absolute; left: 0; top: 0.14em; margin: 0; }
.hero__claim .g { color: var(--green); font-style: normal; }
.hero__cta { margin-top: clamp(28px, 4svh, 44px); }

/* botón-píldora como el del pie, en tamaño normal */
.talk {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1.3em;
  border-radius: 999px;
  background: var(--black); color: var(--green);
  border: 2px solid rgba(244, 241, 236, 0.55);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1rem, 1.3vw, 1.25rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
  transition: background 0.4s, color 0.4s, border-color 0.4s, transform 0.2s var(--ease);
}
.talk .k-ico { width: 0.5em; height: 0.7em; stroke-width: 30; }
.talk:hover { background: var(--green); color: var(--black); border-color: var(--green); }
.talk:active { transform: scale(0.97); }

/* ---------- cinta ---------- */
.band {
  overflow: hidden;
  background: var(--green); color: var(--black);
  padding: 13px 0;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(18px, 1.7vw, 26px);
  letter-spacing: -0.02em; line-height: 1.2;
}
.band__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.band__track span { white-space: nowrap; }
.band__track i {
  display: inline-block; width: 0.38em; height: 0.38em; margin: 0 1.1em;
  border-left: 0.11em solid; border-bottom: 0.11em solid; transform: rotate(45deg);
}

/* ---------- manifiesto: escena fijada en tres tiempos ---------- */
.manifesto { background: var(--cream); }
.manifesto__pin { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 0 var(--m); overflow: hidden; }
.mf__intro { position: absolute; left: var(--m); right: var(--m); top: clamp(96px, 13svh, 140px); }
.mf__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase;
  font-size: clamp(2.5rem, 7.4vw, 8rem); line-height: 0.92; letter-spacing: 0.01em;
}
.mf__title span { display: block; white-space: nowrap; }
.mf__l2 { text-align: right; }
.mf__title .rn { font-style: normal; font-weight: 400; font-size: 0.92em; color: var(--green); -webkit-text-stroke: 0.02em var(--black); }
.mf__sub { margin-top: clamp(24px, 3vw, 44px); margin-left: 33%; max-width: 44ch; font-size: 15px; line-height: 1.45; color: var(--on-light); }
.mf__sub b { display: block; margin-bottom: 10px; font-size: 16px; }
.mf__sub b { color: var(--black); font-weight: 600; }
.manifesto__text {
  position: relative; z-index: 1;
  max-width: 26ch; text-align: center; text-wrap: balance;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.25rem, 4.8vw, 5rem);
  line-height: 1.1; letter-spacing: -0.04em;
}
.motion .manifesto__text .mword { opacity: 0; }
.manifesto__text .tag { position: relative; z-index: 2; will-change: transform; }
.mf__tiles { position: absolute; inset: 0; pointer-events: none; }
.mtile {
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: var(--tile, 240px); height: var(--tile, 240px);
  border-radius: 12%;
  font-family: var(--f-rune); font-size: calc(var(--tile, 240px) * 0.42); line-height: 1;
  rotate: 0deg;
}
.mtile.tag--round { border-radius: 50%; }
.mtile.tag--black { background: var(--black); color: var(--green); }
.mtile.tag--green { background: var(--green); color: var(--black); }
.mtile.tag--black.tag--round { color: var(--green); }
.tag {
  display: inline-grid; place-items: center;
  width: 1.5em; height: 1.5em; margin: 0 0.06em;
  vertical-align: middle; position: relative; top: -0.08em;
  border-radius: 0.24em;
  font-family: var(--f-rune); font-weight: 400; font-size: 0.62em; line-height: 1;
}
.tag--black { background: var(--black); color: var(--green); rotate: -6deg; }
.tag--green { background: var(--green); color: var(--black); rotate: 4deg; }
.tag--round { background: var(--black); color: var(--cream); border-radius: 50%; rotate: 8deg; }
.tag--sq { rotate: -8deg; }
.tag--black.tag--round { color: var(--green); rotate: 5deg; }
.logos { background: var(--cream); padding: 0 0 clamp(72px, 8vw, 120px); }
.logos__in {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logos__track { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); width: max-content; }
.logos img {
  height: 54px; width: auto; max-width: 180px; object-fit: contain;
  filter: grayscale(1); opacity: 0.5;
  transition: filter 0.4s, opacity 0.4s;
}
.logos img:hover { filter: none; opacity: 1; }

/* ---------- botones rectangulares ---------- */
.btn-solid {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 10px;
  background: var(--black); color: var(--white);
  font-weight: 500; line-height: 1;
  transition: background 0.3s, color 0.3s, transform 0.2s var(--ease);
}
.btn-solid:hover { background: var(--green); color: var(--black); }
.btn-solid:active { transform: scale(0.97); }
.btn-solid--green { background: var(--green); color: var(--black); }
.btn-solid--green:hover { background: var(--cream); }
.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 999px;
  border: 1.5px solid var(--black); color: var(--black);
  font-weight: 500; line-height: 1;
  transition: background 0.3s, color 0.3s;
}
.btn-line:hover { background: var(--black); color: var(--green); }

/* ---------- pilares: pestañas + imagen grande ---------- */
.pillars {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(32px, 4vw, 64px);
  background: var(--cream-2);
  padding: clamp(100px, 11vw, 160px) 0 clamp(100px, 11vw, 160px) var(--m);
}
.pillars__text { display: flex; flex-direction: column; align-items: flex-start; }
.tabs {
  position: relative; display: inline-flex; gap: 4px;
  margin-top: clamp(32px, 4vw, 48px); padding: 6px;
  background: rgba(26, 26, 26, 0.06); border-radius: 14px;
}
.tabs__btn { position: relative; z-index: 1; padding: 12px 18px; border-radius: 10px; font-weight: 500; color: var(--on-light); transition: color 0.3s; white-space: nowrap; }
.tabs__btn span { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; margin-right: 6px; }
.tabs__btn.is-active { color: var(--black); }
.tabs__ink { position: absolute; top: 6px; left: 6px; height: calc(100% - 12px); width: 100px; border-radius: 10px; background: var(--cream); }
.panels { position: relative; margin-top: clamp(48px, 7vh, 96px); min-height: 280px; width: 100%; max-width: 54ch; }
.panel[hidden] { display: none; }
.panel__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 2.6vw, 2.75rem); line-height: 1.05; letter-spacing: -0.035em; }
.panel__rune { display: inline-block; margin-right: 0.4em; font-family: var(--f-rune); font-weight: 400; color: var(--green); -webkit-text-stroke: 1px var(--black); }
.panel__myth { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--green); color: var(--on-light); font-size: 15px; line-height: 1.5; max-width: 46ch; }
.panel__text { margin-top: 18px; max-width: 46ch; }
.pillars__text .btn-solid { margin-top: 40px; }
.pillars__media { position: relative; min-height: 560px; border-radius: 22px 0 0 22px; overflow: hidden; background: var(--black); }
.pillars__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 0; transition: opacity 0.6s; }
.pillars__media img.is-active { opacity: 1; }

/* ---------- proyectos: abanico que gira con el scroll ---------- */
.work { background: var(--cream); }
.fan { position: relative; overflow: hidden; min-height: 100svh; padding: clamp(96px, 12svh, 140px) var(--m) 0; text-align: center; }
.fan__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 5.5rem); line-height: 1; letter-spacing: -0.04em; }
.fan__stage { position: relative; height: clamp(360px, 52svh, 560px); margin-top: clamp(32px, 5svh, 56px); }
.fan__ring { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
.fan__card {
  position: absolute; left: 0; top: 0;
  width: clamp(240px, 24vw, 360px); margin-left: calc(clamp(240px, 24vw, 360px) / -2);
  padding: 10px 10px 36px;
  background: var(--cream-2); border: 1px solid rgba(26, 26, 26, 0.12); border-radius: 14px;
  transform-origin: 50% 1300px;
  transition: filter 0.4s;
}
.fan__card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 8px; width: 100%; filter: grayscale(1); transition: filter 0.5s; }
.fan__card img.is-left { object-position: 0 0; }
.fan__card:hover img { filter: none; }
.fan__card span { position: absolute; left: 14px; bottom: 11px; font-size: 13px; color: var(--on-light); }
.fan__note { position: relative; z-index: 1; max-width: 46ch; margin: -24px auto 0; padding-bottom: clamp(56px, 8svh, 96px); color: var(--on-light); }

.plist { padding: clamp(32px, 4vw, 64px) var(--m) clamp(100px, 11vw, 160px); border-top: 1px solid var(--line-light); }
.plist__row { border-bottom: 1px solid var(--line-light); }
.plist__link {
  display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr) 40px 120px; align-items: center; column-gap: clamp(16px, 2.4vw, 40px);
  padding: 18px 0;
  transition: padding 0.4s var(--ease);
}
.plist__link:hover { padding-left: 12px; }
.plist__link h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1.8vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.1; }
.plist__tags { display: flex; gap: 6px; }
.plist__tags b { padding: 4px 8px; background: rgba(26, 26, 26, 0.07); border-radius: 4px; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }
.plist__sector { color: var(--on-light); font-size: 15px; }
.plist__k { width: 20px; height: auto; fill: none; stroke: var(--black); stroke-width: 20; justify-self: center; transform: scaleX(-1); transition: fill 0.3s, stroke 0.3s; }
.plist__link:hover .plist__k { fill: var(--green); stroke: var(--green); }
.plist__link img { width: 120px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 0; border-radius: 6px; filter: grayscale(1); transition: filter 0.4s; }
.plist__link img.is-left { object-position: 0 0; }
.plist__link:hover img { filter: none; }

/* ---------- testimonios: pantalla fija, tarjetas que pasan en vertical ---------- */
.testi { position: relative; overflow: hidden; background: var(--white); color: var(--black); }
.testi__pin { position: relative; display: grid; place-items: center; height: 100svh; padding: 0 var(--m); }
.testi__word {
  position: absolute; left: 50%; top: 50%; translate: -50% -56%;
  font-family: var(--f-impact); font-size: 14.2vw; line-height: 0.9; letter-spacing: -0.03em; text-align: center;
  white-space: nowrap; color: var(--black);
}
.deck { position: relative; width: min(560px, 90vw); height: 330px; }
.tcard {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--cream); border: 1px solid rgba(26, 26, 26, 0.1); border-radius: 12px;
  text-align: center;
  will-change: transform, opacity;
}
.tcard img { height: 36px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.tcard p { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.5; }
.tcard footer { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-light); }
.testi__foot { position: absolute; left: 0; right: 0; bottom: clamp(32px, 5svh, 56px); display: flex; justify-content: center; }

/* ---------- cómo empezar ---------- */
.start {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--cream); padding: clamp(100px, 11vw, 160px) var(--m);
}
.start__card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
  border-radius: 18px;
}
.start__card--dark { background: var(--black); color: var(--cream); }
.start__card--light { background: var(--cream-2); color: var(--black); }
.start__label { padding: 6px 12px; background: var(--green); color: var(--black); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.start__card h3 { margin-top: clamp(32px, 4vw, 56px); font-family: var(--f-display); font-weight: 700; font-size: clamp(2.5rem, 4.4vw, 4.5rem); letter-spacing: -0.04em; line-height: 1; }
.start__card--light h3 { margin-top: 0; }
.start__sub { width: 100%; margin-top: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; display: flex; align-items: center; gap: 16px; }
.start__sub::before, .start__sub::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.25; }
.start__badge { margin-top: clamp(40px, 5vw, 72px); padding: 14px 24px; background: var(--white); color: var(--black); border-radius: 8px; font-weight: 500; font-size: 19px; }
.start__mono { margin-top: 16px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }
.start__text { margin-top: clamp(32px, 4vw, 56px); max-width: 44ch; font-size: 18px; }
.start__card--dark .start__text { color: var(--on-dark); }
.start__plans .start__text[hidden] { display: none; }
.start__card .btn-solid { margin-top: clamp(32px, 4vw, 48px); }
.switch { position: relative; display: inline-flex; gap: 4px; margin-top: clamp(40px, 5vw, 72px); padding: 5px; background: rgba(26, 26, 26, 0.06); border-radius: 10px; border: 1px solid var(--line-light); }
.switch__btn { position: relative; z-index: 1; padding: 11px 18px; border-radius: 7px; font-weight: 500; font-size: 18px; color: var(--on-light); transition: color 0.3s; }
.switch__btn.is-active { color: var(--black); }
.switch__ink { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: 100px; border-radius: 7px; background: var(--cream); }

/* ---------- servicios: lista con la K como flecha ---------- */
.services { position: relative; background: var(--black); color: var(--white); padding: clamp(110px, 11vw, 170px) var(--m); }
.services__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.services__head .h2 { grid-column: 1 / 8; max-width: 13ch; }
.services__intro { grid-column: 9 / 13; color: var(--on-dark); }
.svc { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.svc__row { border-bottom: 1px solid var(--line-dark); }
.svc__link {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; column-gap: clamp(16px, 2vw, 32px);
  padding: clamp(18px, 2.2vw, 30px) 0;
}
.svc__rune {
  font-family: var(--f-rune); font-size: clamp(32px, 3.2vw, 46px); line-height: 1; text-align: center;
  color: transparent; -webkit-text-stroke: 1.5px var(--green);
  transition: color 0.4s;
}
.svc__title {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 5.25rem); line-height: 1; letter-spacing: -0.01em;
  transition: transform 0.6s var(--ease);
}
.svc__desc {
  grid-column: 2; grid-row: 2;
  margin-top: 8px; max-width: 48ch;
  color: var(--on-dark); font-size: 15px;
}
.svc__k {
  grid-column: 3; grid-row: 1 / 3;
  width: clamp(22px, 2.4vw, 34px); height: auto;
  fill: none; stroke: var(--green); stroke-width: 18;
  transform: scaleX(-1);
  transition: fill 0.35s, transform 0.6s var(--ease);
}
.svc__pics { position: absolute; right: clamp(120px, 14vw, 220px); top: 50%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.svc__pics img {
  position: absolute; left: 0; top: 0;
  width: clamp(150px, 13vw, 210px); max-width: none; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 0;
  border-radius: 8px; border: 2px solid var(--cream); box-shadow: 0 18px 40px rgba(0,0,0,0.45); /* taste-skill-ignore: tarjetas que flotan */
  opacity: 0; transform: translate(-50%, -50%) scale(0.7);
}
@media (hover: hover) and (min-width: 761px) {
  .svc__desc { opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s var(--ease); }
  .svc__link:hover .svc__desc, .svc__link:focus-visible .svc__desc { opacity: 1; transform: none; }
  .svc__link:hover .svc__title { transform: translateX(14px); }
  .svc__link:hover .svc__k, .svc__link:focus-visible .svc__k { fill: var(--green); transform: scaleX(-1) translateX(6px); }
  .svc__link:hover .svc__rune { color: var(--green); }
}

/* ---------- a medida: el claim y cuatro cambios ---------- */
.diff { background: var(--cream-2); padding: clamp(100px, 11vw, 160px) var(--m); }
.diff__claim {
  max-width: 21ch;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 6rem); line-height: 0.98; letter-spacing: -0.04em;
}
.diff__rows { margin-top: clamp(48px, 5vw, 80px); border-top: 1px solid var(--line-light); }
.row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: clamp(20px, 3vw, 48px);
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--f-display); font-size: clamp(1.375rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.03em;
}
.row__old { font-weight: 500; color: rgba(26, 26, 26, 0.42); }
.row__k { width: clamp(18px, 1.8vw, 26px); height: auto; stroke: var(--green); stroke-width: 22; fill: var(--green); transform: scaleX(-1); }
.row__new { font-weight: 700; }

/* ---------- proceso: cuatro etapas sobre una línea ---------- */
.process { display: flex; flex-direction: column; justify-content: center; min-height: 100svh; background: var(--cream); padding: clamp(96px, 12svh, 140px) var(--m) clamp(64px, 8svh, 96px); }
.process__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.process__head .h2 { grid-column: 1 / 8; max-width: 11ch; }
.process__intro { grid-column: 9 / 13; color: var(--on-light); }
.process__line { margin-top: clamp(56px, 6vw, 88px); height: 2px; background: var(--line-light); }
.process__line span { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: 0 50%; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 36px); }
.step { position: relative; padding-top: 28px; }
.step::before {
  content: ""; position: absolute; left: 0; top: -7px;
  width: 12px; height: 12px; background: var(--line-light);
  transition: background 0.4s;
}
.step__num {
  display: block; width: fit-content;
  font-family: var(--f-impact); font-size: clamp(4rem, 7vw, 7.5rem); line-height: 0.9; letter-spacing: -0.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--black);
  background: linear-gradient(90deg, var(--green) 0 calc(var(--fill, 0) * 100%), transparent calc(var(--fill, 0) * 100%) 100%); /* taste-skill-ignore: relleno progresivo, no degradado */
  -webkit-background-clip: text; background-clip: text;
}
.step h3 { margin-top: 20px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: -0.03em; line-height: 1.05; }
.step p { margin-top: 12px; color: var(--on-light); font-size: 16px; max-width: 28ch; }
.step.is-on::before { background: var(--green); }
.step.is-on .step__num { -webkit-text-stroke-color: var(--green); }

/* ---------- contacto / pie ---------- */
.foot__green {
  position: relative; overflow: hidden;
  background: var(--green); color: var(--black);
  padding: clamp(64px, 8vw, 120px) var(--m) clamp(40px, 5vw, 64px);
  text-align: center;
}
.foot__wordwrap { position: relative; width: fit-content; margin: 0 auto; }
.foot__word {
  font-family: var(--f-impact); font-size: clamp(5rem, 15vw, 15rem); line-height: 0.9; letter-spacing: -0.02em;
  white-space: nowrap;
}
.foot__word .ch { display: inline-block; }
.foot__talk {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.55em 1.3em;
  border-radius: 999px;
  background: var(--black); color: var(--green);
  border: 2px solid rgba(244, 241, 236, 0.6);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 2.5rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1;
  white-space: nowrap;
  transition: background 0.4s, color 0.4s;
}
.foot__talk .k-ico { width: 0.5em; height: 0.7em; stroke-width: 30; }
.foot__talk:hover { background: var(--cream); color: var(--black); }
.foot__nav {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px;
  margin-top: clamp(40px, 6vw, 96px);
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
}
.foot__nav .k-ico { width: 10px; height: 14px; stroke: var(--white); stroke-width: 34; }
.foot__nav a { transition: opacity 0.3s; }
.foot__nav a:hover { opacity: 0.55; }
.foot__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
  padding: 22px var(--m);
  background: var(--black); color: var(--on-dark-soft);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
}
.foot__brand { display: flex; align-items: center; gap: 18px; font-family: var(--f-display); font-weight: 700; font-size: 20px; letter-spacing: -0.03em; text-transform: none; color: var(--white); }
.foot__brand span { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); }
.foot__legal, .foot__social { display: flex; gap: 22px; }
.foot__bar a { transition: color 0.3s; }
.foot__bar a:hover { color: var(--green); }

/* ---------- tableta ---------- */
@media (max-width: 1024px) {
  .services__head .h2, .services__intro, .process__head .h2, .process__intro { grid-column: 1 / -1; }
  .services__intro, .process__intro { margin-top: 24px; max-width: 52ch; }
  .pillars { grid-template-columns: 1fr; padding-right: var(--m); row-gap: 48px; }
  .pillars__media { min-height: 0; aspect-ratio: 4 / 3; border-radius: 18px; }
  .plist__link { grid-template-columns: minmax(0, 1fr) auto 40px 100px; }
  .plist__sector { display: none; }
  .start { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
}

/* ---------- teléfono ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: 1fr auto; top: 10px; height: 54px; }
  .nav__links, .nav__cta { display: none; }
  .nav__menu { display: block; }

  .hero { padding-top: 100px; }
  .hero__word { font-size: 22vw; }
  .hero__claim { font-size: 1.5rem; max-width: none; }
  .talk { font-size: 0.95rem; }
  .hero__scroll { display: none; }

  .manifesto__text { font-size: 2.5rem; }

  .mf__intro { top: 88px; }
  .mf__title { font-size: 2.6rem; }
  .mf__sub br { display: none; }
  .mf__l2 { text-align: left; }
  .mf__title span { white-space: normal; }
  .mf__sub { margin-left: 0; margin-top: 20px; }
  .manifesto__text { font-size: 1.9rem; }
  .svc__link { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .svc__title { font-size: 1.9rem; }
  .svc__desc { font-size: 14px; }
  .svc__pics { display: none; }

  .tabs { flex-wrap: wrap; }
  .tabs__ink { display: none; }
  .tabs__btn.is-active { background: var(--cream); }
  .panels { min-height: 0; }
  .fan { min-height: 0; }
  .fan__stage { height: 300px; }
  .fan__card { width: 200px; margin-left: -100px; transform-origin: 50% 900px; }
  .plist__link { grid-template-columns: minmax(0, 1fr) 32px; row-gap: 8px; }
  .plist__tags { grid-column: 1; }
  .plist__link img { display: none; }
  .plist__k { grid-row: 1 / 3; }
  .testi__word { font-size: 13.5vw; }
  .deck { height: 320px; width: 86vw; }
  .tcard p { font-size: 15px; }
  .start__card { padding: 36px 22px; }
  .switch__btn { font-size: 15px; padding: 10px 12px; }

  .row { grid-template-columns: 1fr; row-gap: 8px; }
  .row__k { transform: scaleX(-1) rotate(-90deg); }

  .process { min-height: 0; display: block; }
  .process__line { display: none; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; }
  .step { padding-top: 0; }
  .step::before { display: none; }

  .foot__word { font-size: 22vw; }
  .foot__talk { font-size: 1.125rem; }
  .foot__nav { font-size: 11px; gap: 8px 12px; }
  .foot__bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .pill, .pill::before, .nav, .proj__img img, .foot__talk, .svc__title, .svc__k { transition: none; }
}
