/* ============================================================
   VERTEX CORPORACIÓN — Design System V1.0
   Dark Navy #1F2937 · VERTEX Gold #D4AF37 · White · #E5E7EB
   ============================================================ */

:root {
  --navy: #1F2937;
  --navy-2: #28323F;
  --navy-deep: #161E28;
  --gold: #D4AF37;
  --gold-deep: #A8871F; /* gold variant with sufficient contrast for small text on white */
  --gold-soft: rgba(212, 175, 55, 0.14);
  --white: #FFFFFF;
  --paper: #FBFBFA;
  --tint: #F4F5F6;
  --line: #E5E7EB;
  --line-dark: rgba(255, 255, 255, 0.14);
  --ink: #1F2937;
  --muted: rgba(31, 41, 55, 0.66);
  --muted-2: rgba(31, 41, 55, 0.48);
  --muted-inv: rgba(255, 255, 255, 0.66);
  --muted-inv-2: rgba(255, 255, 255, 0.42);
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --sec-y: clamp(3.5rem, 7.5vw, 6rem);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
  --header-h: 76px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--gold); color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 300;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

.container--wide { max-width: 1360px; }
.container--narrow { max-width: 880px; }

.section { padding-block: var(--sec-y); position: relative; }
.section--dark { background: var(--navy); color: var(--white); }
.section--deep { background: var(--navy-deep); color: var(--white); }
.section--tint { background: var(--tint); }
.section--line-top { border-top: 1px solid var(--line); }
.section--dark .rule, .section--deep .rule { border-color: var(--line-dark); }

.rule { border: 0; border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  flex: none;
}
.eyebrow .eyebrow-num { color: var(--gold-deep); font-weight: 700; }
.section--dark .eyebrow, .section--deep .eyebrow, .page-hero--dark .eyebrow { color: var(--muted-inv-2); }
.section--dark .eyebrow .eyebrow-num, .section--deep .eyebrow .eyebrow-num, .page-hero--dark .eyebrow .eyebrow-num { color: var(--gold); }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.04;
}

.display--xl { font-size: clamp(2.5rem, 6.4vw, 4.9rem); }
.display--lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.display--md { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.display--sm { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
/* H3-level secondary statement: same display language, clearly subordinate
   to primary section headlines (used in Fabricantes ES, Sección 04). */
.display--xs { font-size: clamp(1.15rem, 1.7vw, 1.45rem); font-weight: 700; }

.display .accent { color: var(--gold); }
.section--dark .display .accent, .section--deep .display .accent { color: var(--gold); }

.h-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-transform: none;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  max-width: 56ch;
}
.section--dark .lead, .section--deep .lead, .page-hero--dark .lead { color: var(--muted-inv); }

.body-text { color: var(--muted); max-width: 62ch; }
.body-text + .body-text { margin-top: 1.1em; }
.section--dark .body-text, .section--deep .body-text { color: var(--muted-inv); }

.micro {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-2);
}

.statement-line { display: block; }

/* Statement header stack used across sections */
.section-head { max-width: 900px; margin-bottom: clamp(2rem, 4.5vw, 3.25rem); }
.section-head .lead { margin-top: 1.5rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 1.9rem;
  overflow: hidden;
  border: 1px solid var(--btn-bg);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
/* The button label is rendered once and never translated, blurred or swapped;
   the duplicate roll-over line (after the <br>) is clipped by the track height.
   Interaction comes from background, border and the arrow only. */
.btn .btn-track { display: block; overflow: hidden; height: 1.25em; line-height: 1.25; }
.btn .btn-track span { display: block; line-height: inherit; }
.btn .btn-arrow { transition: transform 0.35s var(--ease); flex: none; }
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translate(3px, -3px); }
.btn.is-disabled { opacity: 0.5; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: rgba(31, 41, 55, 0.35);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(31, 41, 55, 0.04); }

.btn--ghost-inv {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost-inv:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

/* Phone button sizing: at <=480px the default label metrics (12.8px / 0.16em
   letter-spacing / 1.9rem padding) make the longest CTA labels wrap, and the
   single-line .btn-track (1.25em, overflow hidden) clips the second line.
   Reduced minimally until every EN/ES label holds one line down to 360px;
   tap target stays 49px high. */
@media (max-width: 480px) {
  .btn { font-size: .66rem; letter-spacing: .09em; padding: .9rem 1rem; gap: .45rem; }
}
/* Full-width dark CTA bands keep a full-width gold button on phones, so the
   longest labels ("Describe your industrial challenge" / "Describa su reto
   industrial") get the whole row instead of wrapping into the clipped track. */
@media (max-width: 619px) {
  .cta-band .btn { display: flex; width: 100%; justify-content: space-between; }
}

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy);
  border-color: var(--gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.45rem;
  transition: color 0.3s var(--ease);
}
.link-arrow .arr { color: var(--gold-deep); transition: transform 0.3s var(--ease); }
.link-arrow:hover .arr { transform: translateX(5px); }
.section--dark .link-arrow, .section--deep .link-arrow { color: var(--white); }
.section--dark .link-arrow .arr, .section--deep .link-arrow .arr { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); }
.main-nav a {
  position: relative;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  transition: color 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 1.4rem; flex: none; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.lang-switch a { color: var(--muted-2); transition: color 0.25s; padding: 0.3rem 0.1rem; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current="true"] { color: var(--navy); border-bottom: 2px solid var(--gold); }
.lang-switch .sep { color: var(--line); }

.header-cta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(31,41,55,0.35);
  padding: 0.7rem 1.2rem;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.header-cta:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  position: relative;
  z-index: 320;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease), background 0.35s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span { background: var(--white); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; }

/* When the mobile menu is open, the toggle/X must stay above the overlay and
   clickable. .nav-toggle (z-320) is trapped inside .site-header's stacking
   context (z-200), so it can never outrank the sibling .mobile-nav (z-300).
   Fix at the parent level: while the menu is open, lift the header above the
   overlay and leave only the toggle visible — the open-state white X is
   designed for the navy overlay. */
body:has(.mobile-nav.is-open) .site-header {
  z-index: 320;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body:has(.mobile-nav.is-open) .brand,
body:has(.mobile-nav.is-open) .header-actions .lang-switch { visibility: hidden; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav nav a {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  letter-spacing: -0.01em;
  padding: 0.5rem 0;
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.mobile-nav.is-open nav a { opacity: 1; transform: none; }
.mobile-nav nav a:hover { color: var(--gold); }
.mobile-nav nav a .idx { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 0.15em; }
.mobile-nav .mobile-nav-foot {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.75rem;
}
.mobile-nav .lang-switch a { color: var(--muted-inv-2); }
.mobile-nav .lang-switch a[aria-current="true"] { color: var(--white); }
.mobile-nav .header-cta { color: var(--white); border-color: rgba(255,255,255,0.4); }
.mobile-nav .header-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.75rem, 6.5vh, 4.75rem));
  padding-bottom: clamp(2.75rem, 5.5vw, 4.5rem);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31,41,55,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,41,55,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 20%, black 30%, transparent 75%);
}
.hero-statement { position: relative; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.hero-kicker .micro { color: var(--muted-2); }
.hero-kicker .tick { width: 34px; height: 1px; background: var(--gold); }

.hero h1 .accent { color: var(--gold); }
/* ES home hero: keep the five-line composition from overflowing on small screens
   (single-word lines cannot wrap, so the size scales down instead) */
@media (max-width: 620px) {
  .hero-title--es { font-size: clamp(1.7rem, 8.4vw, 2.5rem); }
}
/* ES interior page heroes: single unbreakable words like "DESARROLLAMOS" (13 letras)
   exceed the viewport below ~480px at the display--xl minimum, so scale down instead.
   Scoped to ES page heroes only; EN pages and desktop rendering are untouched. */
@media (max-width: 480px) {
  html[lang="es"] .page-hero .display--xl { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  /* "Responsabilidades" (17 caracteres) excede el ancho útil <480px al mínimo
     de display--lg; se reduce el tamaño para que quepa sin recortarse. */
  .display--lg-fit { font-size: clamp(1.4rem, 6.4vw, 2.1rem); }
}
.hero-sub {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: flex-start;
  flex-wrap: wrap;
}
.hero-sub .lead { max-width: 44ch; }

.hero-geo {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.4rem;
}
.hero-geo::before { content: ""; width: 8px; height: 8px; border: 2px solid var(--gold); border-radius: 50%; }

/* Hero network diagram */
.hero-diagram {
  position: absolute;
  top: calc(var(--header-h) + 1rem);
  right: -4vw;
  width: min(44vw, 620px);
  opacity: 0.9;
  pointer-events: none;
}
.hero-diagram .net-line { stroke: rgba(31,41,55,0.12); stroke-width: 1; }
.hero-diagram .net-line--gold { stroke: rgba(212,175,55,0.5); }
.hero-diagram .net-node { fill: var(--white); stroke: rgba(31,41,55,0.35); stroke-width: 1.2; }
.hero-diagram .net-node--gold { stroke: var(--gold); fill: var(--gold-soft); }

/* Hero pathway cards */
.pathways {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.pathway {
  background: var(--white);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-height: 240px;
  position: relative;
  transition: background 0.35s var(--ease);
}
.pathway::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.pathway:hover::after, .pathway:focus-visible::after { transform: scaleX(1); }
.pathway:hover { background: var(--paper); }
.pathway .micro { display: flex; align-items: center; gap: 0.6rem; }
.pathway .micro::before { content: ""; width: 7px; height: 7px; background: var(--gold); }
.pathway h2, .pathway h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.pathway p { color: var(--muted); font-size: 0.98rem; max-width: 44ch; }
.pathway .pathway-go {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pathway .pathway-go .arr {
  width: 40px; height: 40px;
  border: 1px solid rgba(31,41,55,0.3);
  display: grid;
  place-items: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.pathway:hover .pathway-go .arr { background: var(--navy); border-color: var(--navy); color: var(--gold); transform: translate(2px,-2px); }
.pathway--dark { background: var(--navy); color: var(--white); }
.pathway--dark:hover { background: var(--navy-2); }
.pathway--dark p { color: var(--muted-inv); }
.pathway--dark .micro { color: var(--muted-inv-2); }
.pathway--dark .pathway-go .arr { border-color: rgba(255,255,255,0.3); }
.pathway--dark:hover .pathway-go .arr { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ---------- Generic page hero (interior pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vh, 5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.page-hero .lead { margin-top: 1.75rem; }
.page-hero .btn, .page-hero .link-arrow { margin-top: 2.25rem; }
.page-hero--dark { background: var(--navy); color: var(--white); }
.page-hero .breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted-2);
  margin-bottom: 2rem;
}
.page-hero .breadcrumb a:hover { color: var(--navy); }
.page-hero--dark .breadcrumb { color: var(--muted-inv-2); }
.page-hero--dark .breadcrumb a:hover { color: var(--white); }

/* ---------- Flow chain (PROBLEM → CONDITIONS → …) ---------- */
.flow-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.flow-chain .flow-step {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.flow-chain .flow-step .n { font-size: 0.68rem; color: var(--gold-deep); font-weight: 700; letter-spacing: 0.1em; }
.flow-chain .flow-arr { color: var(--gold-deep); font-weight: 700; flex: none; }
.flow-chain .flow-step--term { background: var(--navy); color: var(--white); border-color: var(--navy); }
.flow-chain .flow-step--term .n { color: var(--gold); }
.section--dark .flow-chain .flow-step, .section--deep .flow-chain .flow-step {
  background: transparent; border-color: var(--line-dark); color: var(--white);
}
.section--dark .flow-chain .flow-step .n, .section--deep .flow-chain .flow-step .n { color: var(--gold); }
.section--dark .flow-chain .flow-step--term { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.section--dark .flow-chain .flow-step--term .n { color: var(--navy); }

/* ---------- Split feature (statement + copy) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.split--even { grid-template-columns: 1fr 1fr; }
.split .sticky-note { position: sticky; top: calc(var(--header-h) + 2rem); }

/* ---------- Two sides block ---------- */
.sides { position: relative; }
.sides-diagram { margin: clamp(1.75rem, 3.5vw, 2.75rem) auto 0; max-width: 100%; }
.sides-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem,5vw,4rem); }

.side-card {
  border: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--white);
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.side-card:hover { border-color: rgba(212,175,55,0.7); transform: translateY(-4px); }
.side-card .side-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-deep); display: flex; align-items: center; gap: 0.6rem;
}
.side-card .side-tag::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.side-card h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem); line-height: 1.12; letter-spacing: -0.01em;
}
.side-card p { color: var(--muted); }
.side-card .link-arrow { margin-top: auto; }

/* ---------- Market loop (4-stage system) ---------- */
.loop-wrap { position: relative; }
.loop-diagram { width: 100%; height: auto; margin-block: clamp(1rem, 3vw, 2rem); }
.loop-diagram .loop-base { stroke: var(--line-dark); stroke-width: 1.5; fill: none; }
.loop-diagram .loop-progress { stroke: var(--gold); stroke-width: 2; fill: none; }
.loop-diagram .loop-return { stroke: var(--gold); stroke-opacity: 0.5; stroke-width: 1.5; stroke-dasharray: 3 6; fill: none; }
.loop-diagram .loop-return-head { stroke: var(--gold); stroke-opacity: 0.8; stroke-width: 1.5; fill: none; }
.loop-diagram .loop-return-dot { fill: var(--gold); fill-opacity: 0.8; }
.loop-diagram .loop-return-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; fill: var(--gold); fill-opacity: 0.75; text-transform: uppercase;
}
/* All four stages carry equal visual status — the diagram shows a complete
   system, never a progress indicator or a "current" stage. */
.loop-diagram .loop-node { fill: var(--gold); stroke: var(--gold); stroke-width: 1.5; }
.loop-diagram .loop-label {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; fill: rgba(255,255,255,0.85); text-transform: uppercase;
}
.loop-diagram .loop-num { font-family: var(--font-display); font-weight: 800; font-size: 13px; fill: var(--gold); }

/* Mobile loop: vertical stacked representation of the same sequence.
   Hidden by default; below 620px the horizontal SVG (which scales its
   1100-unit viewBox down to illegible ~3.5px labels) is replaced by this
   readable stack. SVG itself is untouched for tablet/desktop. */
.loop-mobile {
  display: none;
  list-style: none;
  margin: clamp(1rem, 3vw, 2rem) 0;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--line-dark);
}
.loop-mobile-item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.55rem 0;
}
.loop-mobile-item::before {
  content: "";
  position: absolute;
  left: -18.5px;
  top: 50%;
  width: 9px; height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--gold);
}
.loop-mobile-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.loop-mobile-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 767px) {
  .loop-diagram { display: none; }
  .loop-mobile { display: block; }
}

.loop-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.loop-stage {
  background: var(--navy);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  transition: background 0.4s var(--ease);
}
.loop-stage .stage-num {
  font-family: var(--font-display); font-weight: 800; font-size: 0.85rem;
  color: var(--gold); letter-spacing: 0.1em; display: block; margin-bottom: 1rem;
}
.loop-stage h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.04em; margin-bottom: 0.4rem;
}
.loop-stage .stage-q { font-size: 0.85rem; color: var(--gold); margin-bottom: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.loop-stage ul { display: flex; flex-direction: column; gap: 0.45rem; }
.loop-stage li {
  font-size: 0.9rem; color: var(--muted-inv);
  padding-left: 1.1rem; position: relative;
}
.loop-stage li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 5px; height: 5px; background: rgba(212,175,55,0.55); }

.loop-final {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.loop-final .final-chip {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--navy); background: var(--gold); padding: 0.9rem 1.5rem;
}
.loop-final .final-note { color: var(--muted-inv-2); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }

/* Light variant of loop diagram (manufacturers page uses dark section; keep light support) */
.loop-diagram--light .loop-base { stroke: var(--line); }
.loop-diagram--light .loop-node { fill: var(--gold); stroke: var(--gold); }
.loop-diagram--light .loop-label { fill: var(--muted); }
.loop-diagram--light .loop-num { fill: var(--gold-deep); }

/* ---------- Capability strip ---------- */
.cap-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cap {
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.3s var(--ease);
}
.cap:hover { background: var(--paper); }
.cap .cap-n { font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; color: var(--gold-deep); letter-spacing: 0.12em; }
.cap h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.05em; line-height: 1.3;
}
.cap p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* ---------- Solution Families (dynamic container) ---------- */
/* The grid adapts automatically to 0/1/2/3/4+ ACTIVE families: with only the
   neutral bridge statement it renders a single full-width line; active family
   cards flow into a responsive grid. States 1–2 (structure ready / in
   development) must never render publicly. */
.sf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; }
.sf-empty {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  color: var(--muted);
  max-width: 62ch;
}
.sf-card { border: 1px solid var(--line); background: var(--white); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }

/* ---------- SOLUCIONES INDUSTRIALES V1.2 (page-scoped) ---------- */
/* 6+1 challenge grid (EN source of truth): P1–P6 in one row, P7 below
   left-aligned with P1 at the same card width. */
.cap-strip--p7 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1080px) {
  .cap-strip--p7 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .cap-strip--p7 { grid-template-columns: 1fr; }
}

/* Section 05 role cards: 4-across on desktop, balanced 2×2 on tablet,
   stacked on mobile — never a lone orphan card. */
.cap-strip--role { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .cap-strip--role { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .cap-strip--role { grid-template-columns: 1fr; } }
/* Section 05 headline: ~18% smaller than display--lg — important, but
   clearly below the Hero (typographic hierarchy, level 2 reduced). */
@media (min-width: 700px) {
  .display--role { font-size: clamp(1.64rem, 2.94vw, 2.24rem); }
}

/* V1.2.2: close the gap between Section 04 (Explorer) and Section 05 (Papel)
   by ~27% on this page only — connected transition, no global change. */
.section--explorer { padding-bottom: calc(var(--sec-y) * 0.73); }
.section--role { padding-top: calc(var(--sec-y) * 0.73); }

/* Section 02 (Familias): compact zero-state bridge — reduced vertical
   padding (~20%) so the section reads as a bridge, not a content block. */
.section--families { padding-block: calc(var(--sec-y) * 0.78); }

/* Evaluation section: compact vertical rhythm on this page only. */
.section--eval .loop-diagram--5 { margin-top: clamp(1.75rem, 3.5vw, 3rem); }

/* Explorer selectors (dropdown mode). The option list only appears on
   interaction; the selected value stays visible inside the selector. */
.explorer--sol .explorer-select { position: relative; }
.explorer--sol .explorer-current {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent; color: var(--muted-inv);
  padding: 0.95rem 1.1rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
  text-align: left;
}
.explorer--sol .explorer-current .chevron {
  width: 8px; height: 8px; flex: none;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg); margin-top: -3px;
  transition: transform 0.25s var(--ease);
}
.explorer--sol .explorer-select.is-open .explorer-current .chevron { transform: rotate(225deg); margin-top: 3px; }
.explorer--sol .explorer-select.is-open .explorer-current { border-color: var(--gold); }
.explorer--sol .explorer-select.has-value .explorer-current { border-color: var(--gold); color: var(--white); }
.explorer--sol .explorer-current:hover { border-color: rgba(212,175,55,0.6); color: var(--white); }
.explorer--sol .explorer-options {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30;
  background: var(--navy-2); border: 1px solid var(--line-dark);
  max-height: 320px; overflow-y: auto;
  gap: 0; display: flex;
}
.explorer--sol .explorer-opt { border: 0; border-bottom: 1px solid var(--line-dark); }
.explorer--sol .explorer-opt:last-child { border-bottom: 0; }


/* ---------- Problem explorer ---------- */
.explorer {
  border: 1px solid var(--line-dark);
  background: var(--navy-2);
  padding: clamp(1.75rem, 4vw, 3.5rem);
}
.explorer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.explorer-step .step-label {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-inv-2); margin-bottom: 1.25rem;
}
.explorer-step .step-label .dot {
  width: 26px; height: 26px; border: 1px solid rgba(255,255,255,0.3);
  display: grid; place-items: center; font-size: 0.7rem; color: var(--gold); flex: none;
  font-weight: 700;
}
.explorer-step .step-label .step-sub {
  display: block; width: 100%; margin-top: 0.5rem;
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.01em;
  text-transform: none; color: var(--muted-inv); line-height: 1.5;
}
.explorer-options { display: flex; flex-direction: column; gap: 0.6rem; }
.explorer-opt {
  text-align: left;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: var(--muted-inv);
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.explorer-opt::after {
  content: ""; width: 8px; height: 8px; border: 1px solid rgba(255,255,255,0.35); flex: none;
  transition: background 0.25s, border-color 0.25s;
}
.explorer-opt:hover { border-color: rgba(212,175,55,0.6); color: var(--white); }
.explorer-opt[aria-pressed="true"] {
  border-color: var(--gold); color: var(--white); background: rgba(212,175,55,0.08);
}
.explorer-opt[aria-pressed="true"]::after { background: var(--gold); border-color: var(--gold); }

.explorer-result {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
}
.explorer-summary { color: var(--muted-inv); font-size: 0.98rem; }
.explorer-summary strong { color: var(--white); font-weight: 600; }
.explorer-summary .sum-chip {
  display: inline-block; border: 1px solid var(--gold); color: var(--gold);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  padding: 0.2rem 0.7rem; margin: 0 0.15rem; text-transform: uppercase;
}
.explorer-reset {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  color: var(--muted-inv-2); border-bottom: 1px solid rgba(255,255,255,0.25); padding-bottom: 0.25rem;
  transition: color 0.25s, border-color 0.25s;
}
.explorer-reset:hover { color: var(--white); border-color: var(--white); }

/* ---------- List rows (variables, responsibilities) ---------- */
.spec-list { border-top: 1px solid var(--line); }
.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.spec-list li .k { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; color: var(--gold-deep); flex: none; width: 2.2rem; }
.section--dark .spec-list, .section--deep .spec-list { border-color: var(--line-dark); }
.section--dark .spec-list li, .section--deep .spec-list li { border-color: var(--line-dark); color: var(--muted-inv); }
.section--dark .spec-list li .k, .section--deep .spec-list li .k { color: var(--gold); }

/* ---------- Three column model (Manufacturer / VERTEX / Market) ---------- */
.tri-model { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tri-col { background: var(--white); padding: clamp(1.75rem, 3vw, 2.5rem); }
.tri-col--core { background: var(--navy); color: var(--white); }
.tri-col h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.tri-col h3::before { content: ""; width: 8px; height: 8px; background: var(--gold); flex: none; }
.tri-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.tri-col li { color: var(--muted); font-size: 0.96rem; padding-left: 1.1rem; position: relative; }
.tri-col li::before { content: "→"; position: absolute; left: 0; color: var(--gold-deep); font-size: 0.8rem; top: 0.15em; }
.tri-col--core li { color: var(--muted-inv); }
.tri-col--core li::before { color: var(--gold); }

/* ---------- KPI / focus equation ---------- */
.equation {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(0.95rem, 1.9vw, 1.3rem); letter-spacing: 0.03em;
}
.equation .eq-term { border: 1px solid rgba(31,41,55,0.3); padding: 0.75rem 1.2rem; }
.equation .eq-op { color: var(--gold-deep); font-weight: 800; display: inline-flex; align-items: center; }
@media (min-width: 1080px) {
  .equation { flex-wrap: nowrap; align-items: stretch; }
  .equation .eq-term { flex: 1 1 0; text-align: center; display: flex; flex-direction: column; justify-content: center; }
}
.section--dark .equation .eq-term, .section--deep .equation .eq-term { border-color: rgba(255,255,255,0.3); }
.section--dark .equation .eq-op, .section--deep .equation .eq-op { color: var(--gold); }

/* ---------- Leadership ---------- */
.leader { max-width: 820px; }
/* Home leadership composition: two-column executive layout (ES home only) */
.leader-split .leader-bio { padding-top: 0.35rem; max-width: 52ch; }
.leader-name {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: 0.01em;
}
.leader-role { color: var(--gold-deep); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin: 0.5rem 0 1.25rem; }

/* ---------- CTA bands ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .display { max-width: 20ch; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: clamp(2.5rem, 5vw, 4rem); }
.cta-cell {
  background: var(--navy);
  padding: clamp(2rem, 3.5vw, 3rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.35s var(--ease);
}
.cta-cell:hover { background: var(--navy-2); }
.cta-cell .micro { color: var(--muted-inv-2); }
.cta-cell h3 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; color: var(--white);
}
.cta-cell .link-arrow { margin-top: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-card { border: 1px solid var(--line); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 0.35rem; }
.contact-card + .contact-card { margin-top: 1.25rem; }
.contact-card .micro { margin-bottom: 0.6rem; }
.contact-card a.contact-line {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  border-bottom: 1px solid transparent; width: fit-content;
  transition: border-color 0.25s, color 0.25s; word-break: break-all;
}
.contact-card a.contact-line:hover { color: var(--gold-deep); border-color: var(--gold); }
.contact-card p { color: var(--muted); font-size: 0.95rem; }

.audience-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
.audience-btn {
  border: 1px solid var(--line);
  padding: 1rem 1.1rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.audience-btn::before { content: ""; width: 8px; height: 8px; border: 1px solid rgba(31,41,55,0.35); transition: background 0.25s, border-color 0.25s; }
.audience-btn:hover { border-color: rgba(212,175,55,0.7); color: var(--navy); }
.audience-btn[aria-pressed="true"] { border-color: var(--gold); color: var(--navy); background: var(--gold-soft); }
.audience-btn[aria-pressed="true"]::before { background: var(--gold); border-color: var(--gold); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2);
}
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  border: 0;
  border-bottom: 1px solid rgba(31,41,55,0.3);
  background: transparent;
  padding: 0.65rem 0;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s;
  width: 100%;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.field textarea { min-height: 120px; resize: vertical; border: 1px solid rgba(31,41,55,0.3); padding: 0.85rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .hint { font-size: 0.8rem; color: var(--muted-2); }
.form-note { font-size: 0.82rem; color: var(--muted-2); margin-top: 1.5rem; max-width: 52ch; }
.form-status {
  display: none;
  margin-top: 1.5rem;
  border: 1px solid var(--gold);
  background: var(--gold-soft);
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
}
.form-status.is-visible { display: block; }
.form-status--error { border-color: var(--navy); background: var(--tint); }
[data-contact-form].is-sending .btn { opacity: 0.6; pointer-events: none; }
[hidden] { display: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--white); }
.footer-top {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--muted-inv-2); font-size: 0.92rem; max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: 0.9fr 1.35fr 0.65fr; gap: 2rem; }
.footer-col h3 {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-inv-2); margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a, .footer-col span { color: var(--muted-inv); font-size: 0.92rem; transition: color 0.25s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.5rem 0 1.75rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: var(--muted-inv-2); font-size: 0.8rem; letter-spacing: 0.04em; }
.footer-bottom .footer-mark {
  font-family: var(--font-display); font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.25);
}
.footer-bottom .footer-mark b { color: var(--gold); font-weight: 800; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-line { transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal-line.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  .reveal, .reveal-line { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .loop-stages { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
}

@media (max-width: 900px) {
  .header-actions > .header-cta { display: none; }
  .nav-toggle { display: block; }
  .split, .split--even { grid-template-columns: 1fr; }
  .split .sticky-note { position: static; }
  .sides-cards, .pathways, .cta-split, .grid--2 { grid-template-columns: 1fr; }
  .tri-model { grid-template-columns: 1fr; }
  .explorer-steps { grid-template-columns: 1fr; }
  .explorer-result { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-diagram { display: none; }
  .leader { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .grid--3, .grid--4, .loop-stages { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .audience-picker { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: calc(var(--header-h) + 2.5rem); }
  .flow-chain { gap: 0.6rem; }
  .flow-chain .flow-arr { transform: rotate(90deg); }
}

/* ---------- V1.1 · Home editorial additions ---------- */
.reality-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.ph {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--tint);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem 1rem;
}
.ph::before { /* fine registration tick, top-left */
  content: ""; position: absolute; top: 0.9rem; left: 1rem;
  width: 18px; height: 1px; background: var(--gold);
}
.ph-label {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted-2);
}
.ph--material { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.ph--asset { grid-column: 7 / 12; aspect-ratio: 1 / 1; margin-top: clamp(1.5rem, 4vw, 3.5rem); }
.ph--process { grid-column: 4 / 13; aspect-ratio: 21 / 9; }

.env-grid {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(1.5rem, 4vw, 3rem);
}
.env-item { border-top: 1px solid var(--line); padding: 1.1rem 0 2.25rem; }
.env-num {
  display: block; font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.16em; color: var(--gold-deep); margin-bottom: 0.9rem;
}
.env-item h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: 0.01em; line-height: 1.3;
}

.founder {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.portrait-ph { aspect-ratio: 4 / 5; width: 100%; max-width: 400px; justify-self: end; }

@media (max-width: 900px) {
  .reality-grid { grid-template-columns: 1fr; }
  .ph--material, .ph--asset, .ph--process { grid-column: auto; margin-top: 0; }
  .ph--material { aspect-ratio: 4 / 3; }
  .ph--asset { aspect-ratio: 3 / 2; }
  .ph--process { aspect-ratio: 16 / 9; }
  .env-grid { grid-template-columns: repeat(2, 1fr); }
  .founder { grid-template-columns: 1fr; }
  .portrait-ph { justify-self: start; max-width: 320px; }
}
@media (max-width: 560px) {
  .env-grid { grid-template-columns: 1fr; }
}

/* ---------- V1.1 · photographic treatment ---------- */
.ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.portrait-ph img { object-position: 50% 18%; }

/* ---------- V1.1 · Problem explorer (category nav + detail) ---------- */
.px {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr);
  gap: clamp(2rem,5vw,4rem); margin-top: clamp(2.5rem,5vw,4rem);
}
.px-nav { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; }
.px-tab {
  display:flex; align-items:baseline; gap:1rem; width:100%;
  text-align:left; background:none; border:0; border-top:1px solid var(--line-dark);
  padding:1.15rem 0.25rem; cursor:pointer; color:var(--muted-inv);
  font-family:var(--font-body); transition:color .25s var(--ease), padding-left .25s var(--ease);
}
.px-tab:last-child { border-bottom:1px solid var(--line-dark); }
.px-tab .px-n { font-weight:700; font-size:0.72rem; letter-spacing:0.14em; color:var(--gold); flex:none; }
.px-tab .px-t { font-family:var(--font-display); font-weight:800; font-size:clamp(0.95rem,1.4vw,1.15rem); letter-spacing:0.02em; text-transform:uppercase; }
.px-tab:hover { color:var(--white); }
.px-tab.is-active { color:var(--white); padding-left:0.9rem; border-left:2px solid var(--gold); }

.px-detail { display:flex; flex-direction:column; gap:1.5rem; }
.px-media { position:relative; border:1px solid var(--line-dark); aspect-ratio:16/9; overflow:hidden; background:var(--navy-2); }
.px-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; display:block; }
.px-copy h3 { font-family:var(--font-display); font-weight:800; font-size:clamp(1.3rem,2.2vw,1.75rem); text-transform:uppercase; letter-spacing:0.01em; }
.px-copy .px-tag { color:var(--gold); font-size:0.72rem; font-weight:700; letter-spacing:0.2em; text-transform:uppercase; margin-bottom:0.6rem; display:block; }
.px-copy p { color:var(--muted-inv); margin-top:1rem; max-width:60ch; }
.px-cta { margin-top:0.25rem; }

@media (max-width: 820px) {
  .px { grid-template-columns:1fr; }
  .px-nav { display:none; }
  .px-detail { display:none; }
  .px-acc { border-top:1px solid var(--line-dark); }
  .px-acc-item { border-bottom:1px solid var(--line-dark); }
  .px-acc-btn {
    display:flex; align-items:baseline; gap:1rem; width:100%; text-align:left;
    background:none; border:0; padding:1.15rem 0.25rem; cursor:pointer; color:var(--white);
    font-family:var(--font-body);
  }
  .px-acc-btn .px-n { font-weight:700; font-size:0.72rem; letter-spacing:0.14em; color:var(--gold); flex:none; }
  .px-acc-btn .px-t { font-family:var(--font-display); font-weight:800; font-size:0.98rem; letter-spacing:0.02em; text-transform:uppercase; }
  .px-acc-btn .chev { margin-left:auto; transition:transform .3s var(--ease); color:var(--gold); }
  .px-acc-item.is-open .chev { transform:rotate(45deg); }
  .px-acc-panel { display:none; padding:0.25rem 0.25rem 1.75rem; }
  .px-acc-item.is-open .px-acc-panel { display:block; }
  .px-acc-panel .px-media { margin-bottom:1.25rem; }
  .px-acc-panel p { color:var(--muted-inv); }
}
@media (min-width: 821px) { .px-acc { display:none; } }

/* ---------- V1.1 · About founder with photo ---------- */
.leader--photo {
  display: grid; grid-template-columns: minmax(0,7fr) minmax(0,4fr);
  gap: clamp(2.5rem,6vw,6rem); align-items:center; max-width:none;
}
.leader--photo .portrait-ph { justify-self:end; }
@media (max-width: 820px) {
  .leader--photo { grid-template-columns:1fr; }
  .leader--photo .portrait-ph { justify-self:start; }
}
.linkedin-link { white-space:nowrap; }

/* ---------- V1.1 · compact transition band ---------- */
.section--band { padding-block: calc(var(--sec-y) * 0.55); }

/* ---------- V1.1 · vertical rhythm refinement ---------- */
/* Slightly tighter rhythm for editorial split sections on inner pages */
.split { row-gap: clamp(2rem, 4vw, 3rem); }
