/* FGC V5 — editorial industrial system
   One visual language for the complete route set. */

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/v5/assets/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("/v5/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/v5/assets/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* FGC Estetica v2 Tokens */
  --bg-deep: #071F35;
  --bg: #F6F8FA;
  --surface: #ffffff;
  --surface-2: #f0f3f7;
  --surface-3: #e1e7ec;
  --paper: #ffffff;
  --paper-2: #f0f3f7;
  --ink: #081B2A;
  --text: #1a2a38;
  --muted: #52677a;
  --muted-2: #728699;
  --line: rgba(8, 27, 42, .08);
  --line-strong: rgba(8, 27, 42, .15);
  --blue: #004AAD;
  --blue-2: #1968C5;
  --blue-soft: rgba(25, 104, 197, .1);
  --blue-glow: rgba(25, 104, 197, .18);
  --cyan: #67C8F3;
  --green: #087f63;
  --orange: #e66a2c;
  
  --shell: min(1240px, calc(100% - 64px));
  --display: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --condensed: "IBM Plex Sans Condensed", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  
  --shadow: 0 24px 70px rgba(8, 27, 42, .12);
  --shadow-soft: 0 14px 36px rgba(8, 27, 42, .08);
  --section-y: clamp(5.5rem, 9vw, 9rem);
  
  --radius-panel: 12px;
  --radius-image: 8px;
  --radius-button: 6px;
  
  /* V6 foundation tokens: shared visual contract for the navigation and future pages. */
  --v6-bg: var(--bg);
  --v6-panel: var(--surface);
  --v6-ink: var(--text);
  --v6-muted: var(--muted);
  --v6-accent: var(--blue-2);
  --v6-border: var(--line);
  --v6-border-strong: var(--line-strong);
  --v6-focus: var(--blue-2);
  --v6-radius: 12px;
  --v6-motion-fast: 160ms;
  --v6-motion-standard: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  /* Let the layout reflow when browser text/page zoom reduces the CSS viewport. */
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: var(--body); }
img, video, picture, canvas { display: block; max-width: 100%; }
picture { width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
figure, blockquote { margin: 0; }
::selection { background: var(--blue); color: white; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .7rem 1rem;
  transform: translateY(-180%);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* Navigation */
.site-header {
  position: absolute;
  z-index: 30;
  top: 18px;
  left: 50%;
  width: min(1400px, calc(100vw - 48px));
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 8px 10px 8px 18px;
  transform: translateX(-50%);
  border: 1px solid transparent;
  border-radius: var(--v6-radius);
  background: transparent;
  color: var(--surface);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.fixed {
  position: fixed;
  top: 12px;
  background: rgba(8, 27, 42, 0.95);
  border: 1px solid rgba(103, 200, 243, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 11px; min-width: 0; }
.brand > img { width: 112px; height: auto; filter: brightness(0) invert(1); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; text-transform: uppercase; }
.brand-copy strong { font: 600 11px var(--display); letter-spacing: .035em; }
.brand-copy em { margin-top: 5px; color: var(--v6-muted); font: 400 8px var(--mono); letter-spacing: .055em; font-style: normal; }
.desktop-nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.desktop-nav a { padding: .72rem .75rem; border-radius: var(--v6-radius); color: var(--v6-muted); font: 600 13px/1 var(--display); transition: color var(--v6-motion-fast) ease, background var(--v6-motion-fast) ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a[aria-current="page"] { color: var(--v6-ink); background: var(--blue-soft); }
.menu-button { display: none; min-width: 48px; min-height: 44px; padding: 0; border: 1px solid var(--v6-border-strong); border-radius: var(--v6-radius); background: transparent; color: var(--v6-ink); cursor: pointer; }
.menu-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.menu-button i, .menu-button i::after { display: block; width: 23px; height: 1px; background: currentColor; content: ""; }
.menu-button i::after { transform: translateY(7px); }
.menu-panel { position: fixed; z-index: 25; inset: 0; overflow: auto; padding: 132px max(24px, calc((100vw - 1240px) / 2)) 48px; background: color-mix(in srgb, var(--bg-deep) 98%, transparent); color: var(--v6-ink); }
.menu-panel[hidden] { display: none; }
.menu-panel > div { width: min(960px, 100%); margin: 0 auto; }
.menu-panel nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
.menu-panel nav a { display: flex; gap: 18px; padding: 16px 8px; border-bottom: 1px solid var(--v6-border); font: 600 22px/1.1 var(--display); transition: color var(--v6-motion-fast) ease, border-color var(--v6-motion-fast) ease; }
.menu-panel nav a:hover, .menu-panel nav a:focus-visible { color: var(--v6-accent); border-color: var(--v6-accent); }
.menu-panel nav span { min-width: 26px; color: var(--v6-accent); font: 700 11px var(--mono); }
.menu-panel > div > p:last-child { margin-top: 40px; color: var(--muted); }

/* Shared text and actions */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .button, .desktop-nav, .eyebrow, .service-grid, .case-facts { font-family: var(--display); }
h1, h2, h3 { font-weight: 600; letter-spacing: -.045em; }
.eyebrow { margin: 0 0 1rem; color: var(--blue-2); font: 700 .72rem/1.3 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: var(--section-y) 0; background: var(--bg); }
.section.dark { background: linear-gradient(135deg, #04111f, #061b2e); border-block: 1px solid rgba(130, 190, 231, .12); }
.section.soft { background: var(--paper); color: var(--ink); }
.section.soft .eyebrow { color: #0066d6; }
.section-head { display: grid; grid-template-columns: minmax(250px, .9fr) minmax(320px, 1.1fr); gap: 1.2rem 6vw; align-items: end; margin-bottom: clamp(2.6rem, 5vw, 5rem); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-head h2 { max-width: 12ch; margin: 0; font-size: clamp(2.6rem, 5.3vw, 6.5rem); line-height: .87; }
.section-head > p:last-child { max-width: 43rem; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.62; }
.section.soft .section-head > p:last-child { color: #506477; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; padding: .75rem 1.4rem; border: 1px solid transparent; border-radius: var(--radius-button); font-size: 14.5px; font-weight: 600; line-height: 1.1; transition: transform var(--v6-motion-fast) ease, background var(--v6-motion-fast) ease, box-shadow var(--v6-motion-fast) ease, border-color var(--v6-motion-fast) ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { background: var(--blue-2); color: white; box-shadow: 0 4px 14px rgba(25, 104, 197, 0.25); }
.button-primary:hover { background: #155bb0; box-shadow: 0 6px 20px rgba(25, 104, 197, 0.35); }
.button-ghost { border-color: rgba(103, 200, 243, 0.35); background: transparent; color: var(--cyan); }
.button-ghost:hover { background: rgba(103, 200, 243, 0.12); border-color: var(--cyan); color: white; }
.button-light { background: white; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.button-light:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.text-link { display: inline-flex; align-items: center; gap: .6rem; color: var(--cyan); font: 600 14.5px var(--display); transition: color var(--v6-motion-fast) ease; }
.text-link span { transition: transform var(--v6-motion-fast) ease; }
.text-link:hover { color: #9bd2f8; }
.text-link:hover span { transform: translate(4px, -4px); }
.section.soft .text-link, .section.soft .service-phrase { color: var(--blue-2); }
.section.soft .text-link:hover { color: var(--blue); }
.section.soft .detail-grid .text-link { color: var(--blue-2); }
.service-phrase { max-width: 32ch; margin: 1.7rem 0 0; color: var(--blue-2); font: 600 clamp(1.25rem, 2.1vw, 2rem)/1.1 var(--display); letter-spacing: -.025em; }
blockquote { margin: 2rem 0 0; padding: 1.4rem 1.6rem; border-left: 2px solid var(--blue); background: rgba(8, 125, 255, .08); }
blockquote p { margin: 0; font: 600 clamp(1.2rem, 2vw, 1.65rem)/1.15 var(--display); }
blockquote footer { margin-top: .8rem; color: var(--muted-2); font: 700 .64rem var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.visual-note, .legal { margin: 1.5rem 0 0; color: var(--muted-2); font: 400 .74rem/1.55 var(--mono); letter-spacing: .01em; }

/* Home hero */
.home-hero, .inner-hero, .case-hero { position: relative; overflow: hidden; background: var(--bg-deep); color: var(--text); }
.home-hero { min-height: clamp(600px, 85svh, 900px); display: flex; align-items: flex-end; padding: 160px 0 100px; }
.hero-slides, .hero-slide, .hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { object-fit: cover; object-position: center; }
.hero-slide:nth-child(2) img { object-position: center 52%; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8, 27, 42, 0.95) 0%, rgba(8, 27, 42, 0.85) 40%, transparent 70%); }
.home-copy { position: relative; z-index: 3; width: var(--shell); margin: 0 auto; }
.home-copy h1 { max-width: min(800px, calc(100vw - 320px)); margin: 0 0 1.5rem; font-size: clamp(3.2rem, 5.5vw, 4.5rem); line-height: 1.05; }
.home-copy h1 em { color: var(--cyan); font-style: normal; text-shadow: none; }
.home-copy > p:not(.eyebrow):not(.coverage-line):not(.service-phrase) { max-width: 650px; margin: 0 0 2rem; color: #d1e0e9; font-size: clamp(1rem, 1.35vw, 1.12rem); line-height: 1.6; }
.coverage-line { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; color: #d9edfc; font: 700 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.coverage-line span { opacity: .45; }
.hero-phrase { color: white; font-size: clamp(1.2rem, 1.8vw, 1.65rem); }
.hero-video-card { position: absolute; z-index: 4; right: max(32px, calc((100vw - 1240px) / 2)); bottom: 118px; width: min(270px, 23vw); padding: 9px; border: 1px solid rgba(168, 220, 252, .32); border-radius: 16px 4px 16px 4px; background: rgba(3, 15, 28, .78); box-shadow: var(--shadow-soft); backdrop-filter: blur(14px); }
.hero-video-card > div { position: relative; overflow: hidden; aspect-ratio: 1.35; border-radius: 10px 3px 10px 3px; background: #020810; }
.hero-video-card img, .hero-video-card video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-card button { position: absolute; right: 10px; bottom: 10px; left: 10px; min-height: 38px; border: 1px solid rgba(255,255,255,.34); border-radius: 8px 3px 8px 3px; background: rgba(2, 12, 23, .74); color: white; font: 700 12px var(--display); cursor: pointer; }
.hero-video-card button:hover { background: var(--blue); }
.hero-video-card button span { margin-right: .45rem; color: var(--blue-2); }
.hero-video-card > p { margin: .6rem .25rem .1rem; color: var(--muted); font: 700 .62rem var(--mono); letter-spacing: .06em; }
.hero-video-card.loaded button { display: none; }
.hero-controls { position: absolute; z-index: 5; right: max(32px, calc((100vw - 1240px) / 2)); bottom: 52px; display: flex; align-items: center; gap: .65rem; color: var(--muted); font: 700 .68rem var(--mono); letter-spacing: .08em; }
.hero-controls button, .visual-rail-controls button, .process-carousel-head button { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px 3px 10px 3px; background: rgba(3, 15, 28, .72); color: white; cursor: pointer; }
.hero-controls button:hover, .visual-rail-controls button:hover, .process-carousel-head button:hover { background: var(--blue); }
.visual-rail-controls button:disabled, .process-carousel-head button:disabled { opacity: .42; cursor: not-allowed; }
.visual-rail-controls button:disabled:hover, .process-carousel-head button:disabled:hover { background: rgba(3, 15, 28, .72); }
.hero-controls > i { width: 92px; height: 1px; overflow: hidden; background: rgba(255,255,255,.24); }
.hero-controls > i b { display: block; width: 33.333%; height: 100%; background: var(--blue-2); transform: translateX(0); transition: transform .35s ease; }
.intake { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); background: #0066d6; color: white; }
.intake > * { min-height: 62px; display: flex; align-items: center; padding: 1rem max(18px, calc((100vw - 1240px) / 2)); border-right: 1px solid rgba(255,255,255,.18); font: 600 .78rem var(--display); }
.intake > * + * { justify-content: center; padding-inline: 1rem; font: 700 .68rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }

/* Home editorial blocks */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; padding-top: var(--section-y); padding-bottom: var(--section-y); }
.audience-grid > div { min-height: 320px; padding: clamp(1.8rem, 4vw, 3.4rem); border: 1px solid var(--line); border-radius: var(--radius-panel); background: linear-gradient(145deg, var(--surface), var(--bg)); box-shadow: var(--shadow-soft); transition: transform var(--v6-motion-standard) ease, box-shadow var(--v6-motion-standard) ease; }
.audience-grid > div:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audience-grid .section-head { display: block; margin-bottom: 1.5rem; }
.audience-grid .section-head h2 { margin-bottom: 1rem; }
.audience-grid h2 { max-width: 12ch; margin: 0 0 1rem; font-size: clamp(2rem, 3.1vw, 3.7rem); line-height: .92; }
.audience-grid p:not(.eyebrow) { max-width: 38rem; color: var(--muted); }
.story-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.story-grid > div:first-child { max-width: 560px; }
.story-grid > div:first-child .section-head { display: block; margin-bottom: 1.5rem; }
.story-grid > div:first-child .section-head h2 { margin-bottom: 1rem; }
.story-grid h2 { max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2.4rem, 4.6vw, 5.3rem); line-height: .88; }
.story-grid p:not(.eyebrow):not(.service-phrase) { color: var(--muted); font-size: 1.05rem; }
.story-media { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-panel); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; box-shadow: var(--shadow-soft); }
.story-media img { width: 100%; aspect-ratio: 1.12; object-fit: cover; border-radius: var(--radius-image); }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3.5rem, 7vw, 7rem); gap: 1.5rem; }
.principles article, .detail-grid article { min-height: 220px; padding: 1.6rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--surface); color: var(--text); box-shadow: var(--shadow-soft); transition: transform var(--v6-motion-standard) ease, box-shadow var(--v6-motion-standard) ease; }
.principles article:hover, .detail-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.principles article > span, .detail-grid article > span { color: var(--blue-2); font: 700 .7rem var(--mono); letter-spacing: .1em; }
.principles h3, .detail-grid h3 { margin: 3.5rem 0 .55rem; font-size: clamp(1.35rem, 2vw, 2rem); line-height: .95; }
.principles p, .detail-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service-grid a { position: relative; min-height: 250px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--bg-deep); color: var(--surface); overflow: hidden; transition: transform var(--v6-motion-standard) ease, box-shadow var(--v6-motion-standard) ease, background var(--v6-motion-standard) ease; }
.service-grid a::after { position: absolute; right: -36px; bottom: -60px; width: 170px; height: 170px; border: 1px solid rgba(103, 200, 243, .12); border-radius: 50%; content: ""; transition: transform var(--v6-motion-standard) ease; }
.service-grid a:hover { transform: translateY(-4px); background: var(--blue-2); box-shadow: 0 16px 32px var(--blue-glow); }
.service-grid a:hover::after { transform: scale(1.1) translate(-10px, -10px); }
.service-grid a > span { color: var(--cyan); font: 700 .7rem var(--mono); }
.service-grid a h3 { margin: 3.5rem 0 .55rem; font-size: clamp(1.45rem, 2vw, 2.2rem); line-height: .95; color: var(--surface); }
.service-grid a p { max-width: 20rem; margin: 0; color: rgba(247, 249, 252, .75); font: 400 .9rem/1.45 var(--body); }
.service-grid a i { position: absolute; right: 1.4rem; bottom: 1.25rem; color: var(--cyan); font: 400 1.45rem var(--body); font-style: normal; transition: transform var(--v6-motion-fast) ease; }
.service-grid a:hover i { transform: translateX(4px); color: white; }
.machinery-callout { background: linear-gradient(120deg, #0a1e2f, #e77835 160%); }
.machinery-callout .shell { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 5rem; align-items: center; }
.machinery-callout .section-head { margin-bottom: 2rem; }
.machinery-callout h2 { max-width: 13ch; }
.machinery-mark { display: grid; gap: 1rem; place-items: center; min-height: 250px; padding: 1.5rem; transform: rotate(-2deg); border: 1px solid rgba(255,255,255,.3); background: linear-gradient(145deg, #a94017, #812f14); color: white; text-align: center; box-shadow: var(--shadow-soft); }
.machinery-mark strong { font: 600 clamp(4.5rem, 8vw, 8rem)/.75 var(--display); letter-spacing: -.1em; }
.machinery-mark span { color: #fff0e7; font: 700 .75rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.industry-context-section { background: radial-gradient(circle at 75% 5%, rgba(8,125,255,.12), transparent 28%), #020914; }
.industry-context-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.industry-context-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-panel); background: linear-gradient(145deg, #07192b, #04111f); box-shadow: var(--shadow-soft); transition: transform var(--v6-motion-standard) ease, box-shadow var(--v6-motion-standard) ease, border-color var(--v6-motion-standard) ease; }
.industry-context-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(103, 200, 243, 0.25); }
.industry-context-media { position: relative; overflow: hidden; aspect-ratio: 1.35; }
.industry-context-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.05); transition: transform var(--v6-motion-standard) ease; }
.industry-context-card:hover .industry-context-media img { transform: scale(1.04); }
.industry-context-media > span { position: absolute; top: 1rem; left: 1rem; padding: .4rem .5rem; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius-image); background: rgba(2,10,20,.72); color: var(--cyan); font: 700 .68rem var(--mono); }
.industry-context-copy { padding: 1.25rem 1.35rem 1.5rem; }
.industry-context-copy .eyebrow { margin-bottom: .7rem; font-size: .64rem; }
.industry-context-copy h3 { margin: 0 0 .55rem; font-size: clamp(1.4rem, 2.25vw, 2.25rem); line-height: .95; }
.industry-context-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.industry-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.industry-tags span { padding: .35rem .5rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2); font: 700 .61rem var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.case-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 1rem; }
.case-main, .case-feature > div > a { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.case-main { min-height: 580px; }
.case-main picture, .case-main img, .case-feature > div > a picture, .case-feature > div > a img { width: 100%; height: 100%; }
.case-main img, .case-feature > div > a img { object-fit: cover; transition: transform .45s ease; }
.case-main:hover img, .case-feature > div > a:hover img { transform: scale(1.04); }
.case-main > span, .case-feature > div > a > span { position: absolute; right: 0; bottom: 0; left: 0; display: grid; gap: .45rem; padding: 2.5rem 1.5rem 1.35rem; background: linear-gradient(0deg, rgba(1,7,15,.94), transparent); }
.case-main > span small, .case-feature > div > a > span small { color: var(--blue-2); font: 700 .65rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.case-main strong, .case-feature > div > a strong { font: 600 clamp(1.35rem, 2.5vw, 2.4rem)/.95 var(--display); }
.case-main em, .case-feature > div > a em { color: #dcebf5; font: 700 .78rem var(--mono); font-style: normal; }
.case-feature > div { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.case-feature > div > a { min-height: 280px; }
.article-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-cards > a { min-height: 280px; display: flex; flex-direction: column; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.article-cards > a:hover { background: var(--surface-2); }
.article-cards small, .article-index small { color: var(--blue-2); font: 700 .65rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.article-cards h3 { max-width: 14ch; margin: 2.7rem 0 .7rem; font-size: clamp(1.55rem, 2.25vw, 2.25rem); line-height: .95; }
.article-cards p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.article-cards i { margin-top: auto; padding-top: 1.5rem; color: var(--blue-2); font: 700 .75rem var(--mono); font-style: normal; }

/* Shared route hero, carousels and content */
.inner-hero, .case-hero { min-height: clamp(580px, 74svh, 790px); display: flex; align-items: flex-end; padding: 145px 0 88px; }
.inner-media, .inner-media picture, .inner-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.inner-media img, .case-hero > picture > img { object-fit: cover; filter: saturate(.82) contrast(1.08) brightness(.7); }
.inner-copy, .case-hero > div:last-child { position: relative; z-index: 2; width: var(--shell); margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; color: var(--muted); font: 700 .66rem var(--mono); letter-spacing: .08em; }
.breadcrumbs a:hover { color: var(--blue-2); }
.inner-copy h1, .case-hero h1 { max-width: 13ch; margin: 0 0 1.25rem; font-size: clamp(3rem, 6vw, 6.4rem); line-height: .88; }
.inner-copy > p:not(.eyebrow), .case-hero > div:last-child > p:not(.eyebrow):not(.service-phrase) { max-width: 650px; margin: 0 0 1.8rem; color: #d3e1e9; font-size: clamp(1rem, 1.45vw, 1.15rem); }
.inner-copy .button, .case-hero .button { background: white; color: var(--ink); }
.visual-rail { background: #061525; }
.visual-rail-dark { background: #020914; }
.visual-rail-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.visual-rail-head .section-head { margin-bottom: 0; }
.visual-rail-controls, .process-carousel-head > div:last-child { display: flex; align-items: center; gap: .55rem; white-space: nowrap; color: var(--muted); font: 700 .68rem var(--mono); }
.visual-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 34%); gap: 1rem; margin-top: 2rem; overflow-x: auto; padding-bottom: .75rem; scroll-snap-type: x mandatory; scrollbar-color: var(--blue) transparent; }
.visual-track figure { min-width: 0; scroll-snap-align: start; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.visual-track-media { overflow: hidden; aspect-ratio: 1.35; }
.visual-track-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.lightbox-trigger { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: zoom-in; text-align: inherit; }
.lightbox-trigger:focus-visible { outline: 3px solid var(--blue-2); outline-offset: -3px; }
.lightbox-trigger img { display: block; }
.visual-track figure:hover img { transform: scale(1.04); }
.visual-track figcaption { display: grid; gap: .3rem; padding: 1rem 1.1rem 1.15rem; }
.visual-track figcaption strong { font: 600 1.22rem/.95 var(--display); }
.visual-track figcaption span { color: var(--muted); font: 400 .78rem/1.4 var(--body); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-grid article { min-height: 240px; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; padding: clamp(4rem, 8vw, 8rem) max(32px, calc((100vw - 1240px) / 2)); background: linear-gradient(120deg, #0757b6, #0a92e4); color: white; }
.cta-band h2 { max-width: 12ch; margin: 0 0 1rem; font-size: clamp(2.8rem, 5.8vw, 6.4rem); line-height: .86; }
.cta-band p { max-width: 42rem; margin: 0; color: rgba(255,255,255,.82); }
.cta-band > div:last-child { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: end; }
.cta-band .button-light { white-space: nowrap; }
.cta-band .text-link { color: white; }

/* Cases and articles */
.case-hero > picture { position: absolute; inset: 0; }
.case-hero > div:last-child { padding-top: 70px; }
.case-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.case-facts > div { min-height: 104px; display: grid; align-content: center; gap: .35rem; padding: 1rem max(18px, calc((100vw - 1240px) / 2)); border-right: 1px solid var(--line); }
.case-facts > div + div { padding-left: 1.25rem; }
.case-facts span { color: var(--muted-2); font: 700 .63rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.case-facts strong { font-size: 1rem; }
.case-article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .52fr); gap: clamp(3rem, 8vw, 9rem); padding-top: var(--section-y); padding-bottom: var(--section-y); }
.case-article > div { max-width: 720px; }
.case-article h2, .knowledge-layout h2 { margin: 2.5rem 0 .7rem; font-size: clamp(1.75rem, 3vw, 3rem); line-height: .95; }
.case-article h2:first-child, .knowledge-layout h2:first-child { margin-top: 0; }
.case-article p, .knowledge-layout p { color: var(--muted); font-size: 1.02rem; line-height: 1.68; }
.case-article aside > .section-head { display: block; position: sticky; top: 120px; padding: 1.5rem; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.case-article aside .section-head h2 { margin-top: 1.2rem; }
.case-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.case-index > a { display: grid; grid-template-rows: 280px auto; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.case-index > a picture, .case-index > a img { width: 100%; height: 100%; }
.case-index > a img { object-fit: cover; transition: transform .45s ease; }
.case-index > a:hover img { transform: scale(1.04); }
.case-index > a > span { display: grid; gap: .55rem; padding: 1.25rem; }
.case-index h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.7rem); line-height: .93; }
.case-index p { margin: 0; color: var(--muted); font-size: .9rem; }
.case-index i { color: var(--blue-2); font: 700 .72rem var(--mono); font-style: normal; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-grid figure { overflow: hidden; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.gallery-grid img { width: 100%; aspect-ratio: 1.2; object-fit: cover; }
.gallery-grid figcaption, .masonry figcaption { padding: .75rem .85rem; color: var(--muted); font: 400 .76rem/1.35 var(--body); }
.knowledge { background: var(--bg); }
.knowledge > header { width: var(--shell); margin: 0 auto; padding: 160px 0 40px; }
.knowledge > header h1 { max-width: 14ch; margin: 0 0 1.2rem; font-size: clamp(3rem, 5.5vw, 5.9rem); line-height: .9; }
.knowledge > header > p:not(.eyebrow):not(.service-phrase) { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.knowledge-hero { width: var(--shell); margin: 2rem auto 0; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.knowledge-hero img { width: 100%; max-height: 620px; aspect-ratio: 1.9; object-fit: cover; }
.knowledge-hero figcaption { padding: .75rem 1rem; color: var(--muted-2); font: .72rem var(--mono); }
.process-carousel { width: var(--shell); margin: 4rem auto 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); }
.process-carousel-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.process-carousel-head h2 { margin: 0; font-size: clamp(2.2rem, 4vw, 4.3rem); line-height: .9; }
.process-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 1rem; margin-top: 1.75rem; overflow-x: auto; padding-bottom: .8rem; scroll-snap-type: x mandatory; scrollbar-color: var(--blue) transparent; }
.process-track article { min-height: 310px; display: flex; flex-direction: column; padding: 1.4rem; scroll-snap-align: start; border: 1px solid var(--line); background: linear-gradient(145deg, var(--surface), var(--bg)); }
.process-track article > span { color: var(--blue-2); font: 700 .72rem var(--mono); }
.process-track h3 { margin: auto 0 .7rem; font-size: 2rem; line-height: .9; }
.process-track p { margin: 0; color: var(--muted); font-size: .9rem; }
.knowledge-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .46fr); gap: clamp(3rem, 8vw, 9rem); width: var(--shell); margin: 0 auto; padding: var(--section-y) 0; }
.knowledge-layout > div:first-child { max-width: 720px; }
.knowledge-layout aside > div { position: sticky; top: 120px; padding: 1.5rem; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.article-callout { margin-top: 2.5rem; padding: 1.5rem; border-left: 2px solid var(--blue); background: var(--blue-soft); }
.article-callout strong { color: var(--blue-2); font: 700 .7rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.article-callout p { margin: .6rem 0 0; color: var(--text); }
.article-index { border-top: 1px solid var(--line); }
.article-index > a { display: grid; grid-template-columns: 56px 1fr 40px; gap: 1rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.article-index > a:hover h2 { color: var(--blue-2); }
.article-index > a > span { color: var(--blue-2); font: 700 .72rem var(--mono); }
.article-index h2 { max-width: 18ch; margin: 0 0 .55rem; font-size: clamp(1.8rem, 3.4vw, 3.7rem); line-height: .92; }
.article-index p { max-width: 640px; margin: 0; color: var(--muted); }
.article-index i { justify-self: end; color: var(--blue-2); font-style: normal; }
.masonry { columns: 3; column-gap: 1rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1rem; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.masonry img { width: 100%; height: auto; object-fit: cover; }

/* Machinery, contact and assistant */
.machinery-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 84% 35%, rgba(240,107,37,.25), transparent 28%), #061321; color: white; }
.machinery-hero > .shell { min-height: clamp(640px, 82svh, 850px); display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 6vw; align-items: center; }
.machinery-hero-copy { padding-top: 100px; }
.machinery-hero .eyebrow { color: #c5dedd; }
.machinery-hero-copy h1 { max-width: 12ch; margin: 0 0 1.4rem; font-size: clamp(3.5rem, 6.5vw, 6.8rem); line-height: .86; }
.machinery-hero-copy > p:not(.eyebrow):not(.service-phrase) { max-width: 650px; color: #d3e1e9; font-size: 1.1rem; }
.machinery-hero .breadcrumbs,
.machinery-hero .breadcrumbs a { color: rgba(255, 255, 255, .82); }
.machinery-hero-copy .service-phrase { color: #ffb18d; }
.machinery-hero-mark { display: grid; place-items: center; aspect-ratio: 1; padding: 1.5rem; transform: rotate(-3deg); border: 1px solid rgba(255, 201, 170, .42); background: linear-gradient(145deg, #a94017, #812f14); box-shadow: var(--shadow); text-align: center; }
.machinery-hero-mark strong { max-width: 100%; font: 600 clamp(3.2rem, 5vw, 4.5rem)/.75 var(--display); letter-spacing: -.1em; }
.machinery-hero-mark span { font: 700 .8rem var(--mono); letter-spacing: .13em; }
.machinery-hero-mark small { color: #ffd8c5; font: 400 .68rem var(--mono); }
.machinery-families { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(7, 31, 53, .15); border-left: 1px solid rgba(7, 31, 53, .15); }
.machinery-families article { min-height: 260px; padding: 1.5rem; border-right: 1px solid rgba(7, 31, 53, .15); border-bottom: 1px solid rgba(7, 31, 53, .15); background: white; color: var(--ink); }
.machinery-families article > span { color: #c24f1b; font: 700 .7rem var(--mono); }
.machinery-families h2 { margin: 3.3rem 0 .7rem; font-size: clamp(1.45rem, 2.1vw, 2.2rem); line-height: .94; }
.machinery-families p { margin: 0; color: #526477; font-size: .9rem; line-height: 1.45; }
.machinery-families a { display: inline-block; margin-top: 1.1rem; color: #0066d6; font: 700 .76rem var(--mono); }
.machinery-columns, .machinery-help { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); }
.machinery-columns .section-head { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.official-tools { display: flex; flex-wrap: wrap; gap: .55rem; }
.official-tools span { padding: .75rem .9rem; border: 1px solid rgba(7,31,53,.16); background: white; color: var(--ink); font: 700 .85rem var(--display); }
.intent-grid { margin-top: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.intent-grid article { min-height: 210px; background: #0c2a43; border-color: rgba(255,255,255,.16); color: var(--text); }
.intent-grid article p { color: var(--muted); }
.faq details { padding: 1rem 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.15rem var(--display); }
.faq p { margin: .7rem 0 0; color: var(--muted); }
.faq a { color: var(--blue-2); text-decoration: underline; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: clamp(2rem, 8vw, 9rem); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-cards > * { min-height: 150px; display: grid; align-content: center; gap: .4rem; padding: 1.2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.contact-cards a:hover { background: var(--surface-2); }
.contact-cards span { color: var(--blue-2); font: 700 .65rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.contact-cards strong { font: 600 1.35rem/.95 var(--display); }
.contact-cards i { color: var(--blue-2); font-style: normal; }
.contact-cards small { color: var(--muted); }
.brief { padding: 1.6rem; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.brief h2 { margin: 1rem 0 1.3rem; font-size: 2.7rem; line-height: .9; }
.brief p { margin: .5rem 0; color: var(--muted); }
.brief small { display: block; margin-top: 1.5rem; color: var(--muted-2); font: .72rem/1.5 var(--mono); }
.assistant { position: fixed; z-index: 60; inset: 0; display: grid; place-items: end end; padding: 24px; background: rgba(1, 6, 13, .74); }
.assistant[hidden] { display: none; }
.assistant-card { position: relative; width: min(450px, 100%); max-height: min(760px, calc(100svh - 48px)); overflow: auto; padding: 2rem; border: 1px solid rgba(130, 193, 235, .3); background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.45); }
.assistant-card h2 { margin: 0 0 .75rem; font-size: 2.7rem; line-height: .88; }
.assistant-card > p:not(.eyebrow) { color: #536678; line-height: 1.5; }
.assistant-close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border: 1px solid rgba(7,31,53,.2); background: white; color: var(--ink); font-size: 1.55rem; cursor: pointer; }
.assistant-card fieldset { margin: 1.5rem 0 0; padding: 0; border: 0; }
.assistant-card legend, .assistant-card label, .assistant-field-label { display: block; margin: 1rem 0 .45rem; font: 700 .9rem var(--display); }
.assistant-card label span, .assistant-field-label span { color: #5f7180; font: 400 .75rem var(--body); }
.assistant-option { display: block; width: 100%; margin: .5rem 0; padding: .8rem .9rem; border: 1px solid #c4d0d7; border-radius: 9px 3px 9px 3px; background: white; color: var(--ink); text-align: left; font: 600 .95rem var(--body); cursor: pointer; }
.assistant-option:hover, .assistant-option:focus { border-color: var(--blue); background: #e8f3fb; }
.assistant-card input:not([type="checkbox"]):not([type="radio"]), .assistant-card textarea, .assistant-card select { width: 100%; padding: .72rem .75rem; border: 1px solid #aabcc7; border-radius: 6px 2px 6px 2px; background: white; color: var(--ink); font-size: .95rem; }
.assistant-card textarea { min-height: 100px; resize: vertical; }
.assistant-intents { display: flex; flex-wrap: wrap; gap: .8rem; }
.assistant-intents label, .assistant-check { display: flex; align-items: center; gap: .45rem; color: #425568; font: 400 .83rem var(--body); }
.assistant-actions { display: flex; gap: .6rem; justify-content: end; margin-top: 1.25rem; }
.assistant-actions .button { cursor: pointer; }
.assistant-summary { padding: 1rem; border-left: 3px solid var(--blue); background: #e5f1f7; color: #31495b; white-space: pre-line; line-height: 1.5; }
.assistant-note { color: #65798a; font-size: .78rem; }

/* Footer */
.site-footer { padding: clamp(5rem, 9vw, 9rem) max(32px, calc((100vw - 1240px) / 2)) 2rem; background: #01060c; color: white; }
.footer-lead { padding-bottom: clamp(4rem, 8vw, 8rem); border-bottom: 1px solid var(--line); }
.footer-lead h2 { max-width: 12ch; margin: 0 0 2rem; font-size: clamp(3rem, 6vw, 7rem); line-height: .86; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; padding: 3.5rem 0; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand > img { width: 118px; }
.footer-grid > div > p, .footer-grid > div > span, .footer-grid > div > a { display: block; margin: .55rem 0 0; color: var(--muted); font-size: .86rem; }
.footer-grid > div > h3 { margin: 0 0 1rem; color: var(--blue-2); font: 700 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div > a:hover { color: white; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted-2); font: .65rem/1.4 var(--mono); }

/* Responsive */
@media(max-width:1100px) {
  :root { --shell: min(100% - 48px, 940px); }
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; place-items: center; margin-left: auto; }
  .button-header { margin-left: auto; }
  .machinery-columns .section-head { display: block; }
  .machinery-columns .section-head h2 { margin: 0 0 1.25rem; }
  .home-copy h1 { font-size: clamp(3.5rem, 7.5vw, 5.7rem); }
  .hero-video-card { width: 250px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industry-context-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}
@media(max-width:800px) {
  :root { --shell: calc(100% - 32px); --section-y: 5rem; }
  .site-header { top: 10px; width: calc(100vw - 24px); min-height: 64px; padding-left: 12px; }
  .site-header.fixed { top: 8px; }
  .brand > img { width: 86px; }
  .brand-copy { display: none; }
  .button-header { display: none; }
  .menu-panel { padding: 105px 16px 32px; }
  .menu-panel nav { grid-template-columns: 1fr; }
  .home-hero { min-height: clamp(500px, 90svh, 850px); padding-top: 120px; padding-bottom: 80px; }
  .hero-shade { background: linear-gradient(0deg, rgba(8, 27, 42, 0.95) 0%, rgba(8, 27, 42, 0.8) 45%, transparent 80%); }
  .home-copy h1 { max-width: 12ch; font-size: clamp(2.125rem, 8vw, 2.625rem); }
  .home-copy > p:not(.eyebrow):not(.coverage-line):not(.service-phrase) { font-size: 1rem; }
  .hero-video-card { right: 16px; bottom: 73px; width: 188px; }
  .hero-video-card > p { font-size: .56rem; }
  .hero-controls { right: 16px; bottom: 22px; }
  .intake { grid-template-columns: repeat(2, 1fr); }
  .intake > * { min-height: 52px; padding: .8rem 1rem; }
  .intake > strong { grid-column: 1 / -1; justify-content: start; padding-inline: 1rem; }
  .intake > * + * { padding-inline: .65rem; font-size: .6rem; }
  .section-head { display: block; }
  .section-head h2 { margin: 0 0 1.25rem; font-size: clamp(2.7rem, 11vw, 4.6rem); }
  .audience-grid, .story-grid, .machinery-callout .shell, .machinery-columns, .machinery-help, .contact, .case-article, .knowledge-layout { grid-template-columns: 1fr; }
  .audience-grid { gap: 1rem; }
  .audience-grid > div { min-height: 260px; }
  .story-media { order: -1; }
  .story-media img { aspect-ratio: 1.35; }
  .principles, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles article { min-height: 195px; }
  .service-grid, .industry-context-grid, .article-cards, .case-index, .gallery-grid { grid-template-columns: 1fr; }
  .service-grid a { min-height: 210px; }
  .machinery-callout .shell { gap: 2.5rem; }
  .machinery-mark { width: min(240px, 72vw); justify-self: end; }
  .case-main { min-height: 470px; }
  .case-feature > div > a { min-height: 260px; }
  .inner-hero, .case-hero { min-height: clamp(420px, 60svh, 560px); padding-top: 115px; padding-bottom: 48px; }
  .inner-copy h1, .case-hero h1 { font-size: clamp(2.3rem, 8.5vw, 3.8rem); }
  .visual-rail-head, .process-carousel-head { display: block; }
  .visual-rail-controls, .process-carousel-head > div:last-child { margin-top: 1.25rem; justify-content: start; }
  .visual-track { grid-auto-columns: 78vw; }
  .process-track { grid-auto-columns: 82vw; }
  .cta-band { display: block; padding-inline: 16px; }
  .cta-band h2 { font-size: clamp(3rem, 12vw, 5rem); }
  .cta-band > div:last-child { justify-content: start; margin-top: 2rem; }
  .case-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-facts > div, .case-facts > div + div { padding: 1rem; }
  .case-article aside > .section-head, .knowledge-layout aside > div { position: static; }
  .knowledge > header { padding-top: 130px; }
  .knowledge-hero { margin-top: 1rem; }
  .knowledge-hero img { aspect-ratio: 1.25; }
  .knowledge-layout { padding-top: 4rem; }
  .masonry { columns: 2; }
  .machinery-hero > .shell { min-height: 730px; display: block; padding-top: 140px; padding-bottom: 60px; }
  .machinery-hero-copy { padding-top: 0; }
  .machinery-hero-copy h1 { font-size: clamp(3.1rem, 12vw, 5.1rem); }
  .machinery-hero-mark { width: min(230px, 70vw); margin: 3rem 0 0 auto; }
  .machinery-families { grid-template-columns: 1fr; }
  .machinery-families article { min-height: 0; }
  .intent-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .assistant { place-items: end center; padding: 8px; }
  .assistant-card { max-height: calc(100svh - 16px); padding: 1.5rem 1.2rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media(max-width:480px) {
  .principles, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .principles article { min-height: 170px; }
  .home-hero { min-height: 820px; }
  .hero-video-card { width: 170px; }
  .hero-controls > i { width: 54px; }
  .hero-controls button { width: 38px; height: 38px; }
  .masonry { columns: 1; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* V7 visual correction: controlled media, balanced proof strip and real brand rail. */
.home-copy h1 { max-width: min(760px, calc(100vw - 360px)); font-size: clamp(3.15rem, 5.15vw, 5.75rem); line-height: .91; }
.hero-phrase { max-width: 29ch; margin-top: 1.5rem; color: white; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.06; }
.hero-phrase em { color: var(--blue-2); font-style: normal; }
.hero-video-panel { position: absolute; z-index: 4; right: max(32px, calc((100vw - 1240px) / 2)); bottom: 118px; width: min(332px, 26vw); padding: 10px; border: 1px solid rgba(168, 220, 252, .36); border-radius: 20px 6px 20px 6px; background: rgba(3, 15, 28, .84); box-shadow: 0 20px 60px rgba(0,0,0,.34); backdrop-filter: blur(16px) saturate(125%); }
.hero-video-viewport { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 13px 4px 13px 4px; background: #020810; }
.hero-video-viewport picture, .hero-video-viewport img, .hero-video-viewport video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-viewport img { filter: saturate(.82) contrast(1.08) brightness(.8); }
.hero-video-viewport button { position: absolute; right: 12px; bottom: 12px; left: 12px; min-height: 42px; border: 1px solid rgba(255,255,255,.38); border-radius: 10px 3px 10px 3px; background: rgba(2, 12, 23, .84); color: white; font: 700 12px var(--display); cursor: pointer; }
.hero-video-viewport button:hover { background: var(--blue); }
.hero-video-viewport button span { margin-right: .5rem; color: var(--blue-2); }
.hero-video-caption { display: flex; justify-content: space-between; gap: .8rem; padding: .7rem .2rem .1rem; color: var(--blue-2); font: 700 .61rem var(--mono); letter-spacing: .08em; }
.hero-video-caption small { color: var(--muted-2); font: 400 .58rem var(--mono); letter-spacing: 0; text-align: right; }
.hero-video-panel.loaded .hero-video-caption { color: #d7f2ff; }
.intake { grid-template-columns: minmax(250px, 1.3fr) repeat(4, minmax(130px, 1fr)); padding-inline: max(16px, calc((100vw - 1240px) / 2)); background: linear-gradient(100deg, #075ab7, #0066d6 60%, #1269b6); }
.intake > div { min-height: 88px; display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-right: 1px solid rgba(255,255,255,.2); }
.intake > div:last-child { border-right: 0; }
.intake-intro { display: grid !important; align-content: center; gap: .2rem; padding-left: 0 !important; }
.intake-intro strong { font: 600 clamp(1.1rem, 1.8vw, 1.55rem)/1 var(--display); }
.intake-intro small { color: rgba(255,255,255,.72); font: 400 .69rem/1.3 var(--mono); }
.intake > div:not(.intake-intro) b { color: white; font: 700 .7rem var(--mono); letter-spacing: .1em; }
.intake > div:not(.intake-intro) span { font: 600 .8rem/1.25 var(--display); }
.story-media--landscape, .story-media--landscape picture { aspect-ratio: 16 / 10; }
.story-media--landscape img { width: 100%; height: 100%; aspect-ratio: auto; object-position: center 44%; }
.story-media--landscape picture { display: block; width: 100%; }
.gallery-grid--balanced { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.gallery-grid--balanced .gallery-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.gallery-grid--balanced .gallery-card picture, .gallery-grid--balanced .gallery-card img { width: 100%; height: 100%; }
.gallery-grid--balanced .gallery-card picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery-grid--balanced .gallery-card img { aspect-ratio: auto; object-fit: cover; object-position: center; }
.gallery-grid--balanced .gallery-card--feature { grid-column: span 2; }
.gallery-grid--balanced .gallery-card--feature picture { aspect-ratio: 16 / 9; }
.gallery-grid--balanced .gallery-card figcaption { min-height: 52px; display: flex; align-items: center; }
.gallery-grid--balanced .lightbox-trigger { height: 100%; }
.image-lightbox { width: min(94vw, 1280px); max-width: none; max-height: 92svh; padding: 0; border: 1px solid rgba(255,255,255,.18); background: #020914; color: white; }
.image-lightbox::backdrop { background: rgba(0,8,16,.86); }
.image-lightbox-inner { position: relative; display: grid; gap: .75rem; padding: clamp(1rem, 3vw, 2rem); }
.image-lightbox img { width: 100%; max-height: 78svh; object-fit: contain; }
.image-lightbox p { margin: 0; color: #c7d7e1; font: 400 .85rem/1.4 var(--body); }
.image-lightbox-close { position: absolute; z-index: 1; top: .75rem; right: .75rem; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(2,9,20,.82); color: white; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.image-lightbox-close:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .lightbox-trigger img { transition: none; } }
.brand-rail-section { background: linear-gradient(145deg, #06182a, #020a14); border-block: 1px solid rgba(130,190,231,.12); }
.brand-rail-section .section-head { margin-bottom: 1.7rem; }
.brand-rail-section .section-head h2 { max-width: 15ch; }
.brand-rail-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.brand-rail-controls { display: flex; align-items: center; gap: .7rem; color: var(--muted); font: 700 .68rem var(--mono); letter-spacing: .08em; }
.brand-rail-controls button { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px 3px 10px 3px; background: rgba(3,15,28,.72); color: white; cursor: pointer; }
.brand-rail-controls button:hover { background: var(--blue); }
.brand-rail-viewport { overflow: hidden; }
.brand-rail-track { display: flex; gap: .8rem; margin: 0; padding: .4rem 0 .85rem; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-color: var(--blue) transparent; }
.brand-card { flex: 0 0 min(240px, 21vw); min-height: 148px; display: grid; align-content: center; justify-items: center; gap: .85rem; padding: 1.2rem; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px 4px 16px 4px; background: linear-gradient(145deg, rgba(12,42,67,.92), rgba(5,18,31,.96)); text-align: center; }
.brand-card:hover { border-color: var(--line-strong); background: linear-gradient(145deg, rgba(15,61,95,.95), rgba(5,18,31,.96)); }
.brand-card img { width: 100%; height: 52px; object-fit: contain; }
.brand-card span { color: var(--muted-2); font: 400 .68rem/1.35 var(--mono); }
.brand-wordmark { color: white; font: 600 1.45rem/1 var(--display); letter-spacing: -.03em; }
.brand-rail--compact { padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.brand-rail--compact .brand-card { flex-basis: min(216px, 20vw); min-height: 128px; }
.cinematic-callout { background: radial-gradient(circle at 86% 35%, rgba(240,107,37,.3), transparent 30%), linear-gradient(135deg, #081c2e, #04101c); }
.cinematic-callout .shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .68fr); gap: 4rem; align-items: center; }
.cinematic-callout .section-head { display: block; margin-bottom: 0; }
.cinematic-callout .section-head h2 { max-width: 11ch; }
.cinematic-callout-card { display: grid; gap: .75rem; padding: 1.65rem; border: 1px solid rgba(255,201,170,.35); border-radius: 20px 5px 20px 5px; background: linear-gradient(145deg, rgba(240,107,37,.94), rgba(112,39,15,.96)); box-shadow: var(--shadow-soft); }
.cinematic-callout-card > span { color: #ffe0cc; font: 700 .68rem var(--mono); letter-spacing: .12em; }
.cinematic-callout-card strong { font: 600 clamp(2rem, 3vw, 3.5rem)/.9 var(--display); }
.cinematic-callout-card small { color: #ffe7d9; font: 400 .72rem/1.4 var(--mono); }
.machinery-hero { background: radial-gradient(circle at 82% 28%, rgba(240,107,37,.52), transparent 30%), linear-gradient(135deg, #061321, #2a160d); }
.machinery-hero::after { position: absolute; inset: 0; pointer-events: none; opacity: .16; background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,190,151,.18) 80px), repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,190,151,.14) 80px); content: ""; }
.machinery-hero > .shell { position: relative; z-index: 1; }

@media(max-width:1100px) {
  .home-copy h1 { max-width: min(700px, calc(100vw - 300px)); font-size: clamp(3.1rem, 6.6vw, 5.5rem); }
  .hero-video-panel { width: 250px; }
  .brand-card { flex-basis: 220px; }
}
@media(max-width:800px) {
  .home-copy h1 { max-width: 12ch; font-size: clamp(3rem, 12vw, 5.1rem); }
  .hero-video-panel { right: 16px; bottom: 78px; width: min(220px, calc(100vw - 32px)); }
  .hero-video-caption { display: block; }
  .hero-video-caption small { display: block; margin-top: .35rem; text-align: left; }
  .intake { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 16px; }
  .intake > div { min-height: 76px; padding: .8rem .7rem; }
  .intake-intro { grid-column: 1 / -1; min-height: 66px !important; padding-left: 0 !important; }
  .intake > div:last-child { border-right: 1px solid rgba(255,255,255,.2); }
  .intake > div:nth-child(3) { border-right: 0; }
  .brand-rail-head, .cinematic-callout .shell { grid-template-columns: 1fr; gap: 1rem; }
  .brand-rail-controls { justify-content: start; }
  .brand-card, .brand-rail--compact .brand-card { flex-basis: 72vw; }
  .gallery-grid--balanced .gallery-card--feature { grid-column: auto; }
  .gallery-grid--balanced .gallery-card--feature picture, .gallery-grid--balanced .gallery-card picture { aspect-ratio: 16 / 10; }
  .cinematic-callout-card { width: min(100%, 420px); }
}
@media(max-width:480px) {
  .hero-video-panel { width: min(194px, calc(100vw - 32px)); }
  .hero-video-viewport button { right: 8px; bottom: 8px; left: 8px; min-height: 36px; font-size: 10px; }
  .intake > div:not(.intake-intro) span { font-size: .72rem; }
}

/* V8 mobile correction: the hero video follows the copy instead of covering it. */
@media(max-width:800px) {
  .home-hero { display: block; min-height: 0; padding-top: 120px; padding-bottom: 106px; }
  .home-copy { width: var(--shell); margin-inline: auto; }
  .hero-video-panel { position: relative; inset: auto; width: min(330px, calc(100vw - 32px)); margin: 1.35rem 16px 0 auto; }
  .hero-controls { bottom: 22px; }
}
@media(max-width:480px) {
  .home-copy h1 { max-width: 100%; font-size: clamp(2.8rem, 11vw, 4.6rem); }
  .home-copy > p:not(.eyebrow):not(.coverage-line):not(.service-phrase) { max-width: 100%; }
  .hero-video-panel { width: calc(100vw - 32px); margin-inline: 16px; }
}

/* V8 home integration: scene videos, inline conceptual study and evidence grid. */
.hero-scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.86) contrast(1.08) brightness(.75); background: var(--bg-deep); }
.hero-scene-video.poster-only { filter: saturate(.86) contrast(1.08) brightness(.75); }
.hero-slide figcaption { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 24px; color: rgba(235,247,255,.72); font: 600 .65rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.home-despiece { background: radial-gradient(circle at 78% 30%, rgba(28,142,255,.24), transparent 35%), linear-gradient(135deg, #061321, #020912); border-block: 1px solid rgba(99,193,255,.15); }
.home-despiece .shell { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.home-despiece-copy .section-head { display: block; margin-bottom: 1.5rem; }
.home-despiece-copy .section-head h2 { max-width: 9ch; }
.home-despiece-stage { position: relative; min-height: 500px; overflow: hidden; border: 1px solid rgba(126,201,255,.24); border-radius: 22px 6px 22px 6px; background: radial-gradient(circle at 60% 34%, rgba(8,125,255,.23), transparent 35%), #020a13; box-shadow: var(--shadow); }
.home-despiece-stage::before { position: absolute; inset: 0; opacity: .24; background: linear-gradient(115deg, transparent 0 49%, rgba(99,193,255,.32) 50%, transparent 51%), repeating-linear-gradient(0deg, transparent 0 49px, rgba(130,190,231,.12) 50px); content: ""; }
.home-despiece-fallback { position: absolute; inset: 0; z-index: 1; display: grid; align-content: center; gap: .75rem; padding: 3rem; background: radial-gradient(circle at 68% 28%, rgba(240,107,37,.4), transparent 24%); }
.home-despiece-fallback span { color: var(--blue-2); font: 700 .7rem var(--mono); letter-spacing: .13em; }
.home-despiece-fallback strong { max-width: 8ch; font: 600 clamp(2.8rem, 6vw, 5.8rem)/.86 var(--display); letter-spacing: -.06em; }
.home-despiece-fallback small { color: var(--muted); font: .7rem var(--mono); }
.home-despiece-stage iframe { position: relative; z-index: 2; display: block; width: 100%; height: 700px; border: 0; background: #020a13; }
.home-despiece-stage iframe[hidden] { display: none; }
.home-despiece-stage.is-loaded .home-despiece-fallback { display: none; }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.work-card { position: relative; min-height: 300px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px 5px 18px 5px; background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.work-card picture, .work-card img { width: 100%; height: 100%; }
.work-card img { object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.work-card > span { position: absolute; inset: auto 0 0; display: grid; gap: .35rem; padding: 1.4rem 1.2rem 1.15rem; background: linear-gradient(transparent, rgba(1,6,14,.96) 46%); }
.work-card small { color: var(--blue-2); font: 700 .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.work-card strong { font: 600 1.2rem/1 var(--display); }
.work-card em { color: white; font: 700 .7rem var(--mono); font-style: normal; }
.work-card:hover img { transform: scale(1.035); filter: saturate(1.08) contrast(1.04); }
.work-card-feature { grid-column: span 2; min-height: 420px; }
.article-cards-with-media { align-items: stretch; }
.article-cards-with-media > a { display: grid; grid-template-rows: auto auto auto 1fr auto; overflow: hidden; padding: 0 0 1.45rem; }
.article-cards-with-media > a picture, .article-cards-with-media > a img { width: 100%; height: 190px; }
.article-cards-with-media > a img { object-fit: cover; }
.article-cards-with-media > a > :not(picture) { margin-inline: 1.4rem; }
.article-cards-with-media > a small { margin-top: 1.25rem; }
.article-cards-with-media > a h3 { margin-top: .65rem; }
.article-cards-with-media > a p { margin-top: .6rem; }
@media(max-width:1000px) {
  .home-despiece .shell { grid-template-columns: 1fr; }
  .home-despiece-stage { min-height: 420px; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card-feature { grid-column: span 2; }
}
@media(max-width:800px) {
  .hero-slide figcaption { right: 16px; bottom: 76px; max-width: 60%; text-align: right; }
  .home-despiece-stage iframe { height: 620px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card-feature { grid-column: auto; min-height: 320px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-scene-video { display: none; }
  .hero-slide:first-child { background: var(--bg-deep) url("/v5/assets/editorial/industry/fgc-context-treatment-v1-960.webp") center/cover no-repeat; }
  .work-card img { transition: none; }
}

/* Postventa 2026-09: clearer entry paths, documented 2D parts view and code lookup. */
.home-hero { min-height: max(820px, 100svh); }
.home-copy .button-row { margin-top: 1.35rem; }
.home-copy .hero-phrase { margin-bottom: 0; }
.audience-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.audience-grid--three > div { min-height: 390px; display: flex; flex-direction: column; }
.audience-grid--three .section-head { margin-bottom: 1.6rem; }
.audience-grid--three .section-head h2 { max-width: 10ch; font-size: clamp(2.45rem, 3.7vw, 4.45rem); }
.audience-grid--three .button { align-self: flex-start; margin-top: auto; }
.brand-rail-track { scrollbar-width: none; }
.brand-rail-track::-webkit-scrollbar { display: none; }

.spare-search-section { background: radial-gradient(circle at 82% 18%, rgba(8,125,255,.22), transparent 30%), linear-gradient(145deg, #06192b, #020914); }
.spare-search-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.spare-search-layout .section-head { display: block; margin-bottom: 2rem; }
.spare-search-layout .section-head h2 { max-width: 12ch; margin-bottom: 1.25rem; }
.source-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1px; margin: 0; padding: 0; border: 1px solid var(--line); list-style: none; }
.source-facts li { display: grid; gap: .25rem; padding: 1rem; border-right: 1px solid var(--line); }
.source-facts li:last-child { border-right: 0; }
.source-facts strong { color: var(--blue-2); font: 600 1rem var(--display); }
.source-facts span { color: var(--muted); font: .65rem/1.3 var(--mono); text-transform: uppercase; }
.spare-search { padding: clamp(1.4rem, 3vw, 2.3rem); border: 1px solid var(--line-strong); border-radius: 22px 6px 22px 6px; background: rgba(3,16,29,.9); box-shadow: var(--shadow); }
.spare-search > label { display: block; margin-bottom: .55rem; color: var(--blue-2); font: 700 .72rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.spare-search > div:first-of-type { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .7rem; }
.spare-search input { min-height: 54px; padding: 0 1rem; border: 1px solid var(--line-strong); border-radius: 12px 4px 12px 4px; background: #f5fbff; color: var(--ink); font: 700 1.05rem var(--mono); }
.spare-search-hint { margin: .75rem 0 1.4rem; color: var(--muted-2); font: .68rem/1.4 var(--mono); }
.spare-result { min-height: 230px; padding: 1.2rem; border: 1px solid var(--line); background: #071525; }
.spare-result > strong { display: block; margin-bottom: .9rem; color: var(--blue-2); font: 600 1.3rem var(--display); }
.spare-result > p { color: var(--muted); font-size: .82rem; }
.spare-result dl { display: grid; grid-template-columns: minmax(120px,.55fr) minmax(0,1.45fr); gap: 1px; margin: 0 0 1rem; background: var(--line); }
.spare-result dt, .spare-result dd { min-width: 0; margin: 0; padding: .65rem .75rem; background: #06111e; }
.spare-result dt { color: var(--muted-2); font: 700 .66rem var(--mono); text-transform: uppercase; }
.spare-result dd { overflow-wrap: anywhere; color: white; font: 600 .84rem var(--body); }
.spare-contact { margin-top: 1rem; }
.spare-add-row { display: flex; flex-wrap: wrap; align-items: end; gap: .75rem; margin-top: 1rem; }
.spare-quantity { display: grid; gap: .35rem; color: var(--muted-2); font: 700 .66rem var(--mono); text-transform: uppercase; }
.spare-quantity input { width: 6rem; min-height: 46px; color: var(--ink) !important; background: #ffffff !important; }
.spare-add { margin-left: auto; }
.spare-selection { margin-top: 1.25rem; padding: 1.2rem; border: 1px solid var(--blue-2); background: rgba(5, 25, 42, .92); }
.spare-selection-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.spare-selection-head .eyebrow { margin-bottom: .35rem; }
.spare-selection-head h3 { margin: 0; color: var(--ink); font: 600 1.45rem var(--display); }
.spare-selection-head > span { color: var(--blue-2); font: 700 .68rem var(--mono); text-align: right; text-transform: uppercase; }
.spare-selection ol { display: grid; gap: .55rem; margin: 1rem 0; padding-left: 1.2rem; }
.spare-selection-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-left: .25rem; }
.spare-selection-item::marker { color: var(--blue-2); font: 700 .75rem var(--mono); }
.spare-selection-copy { display: grid; gap: .2rem; min-width: 0; }
.spare-selection-copy strong { color: var(--ink); font: 700 .78rem var(--mono); }
.spare-selection-copy span { overflow-wrap: anywhere; color: var(--muted); font-size: .78rem; }
.spare-selection-remove { flex: 0 0 auto; padding: .4rem .55rem; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: 700 .64rem var(--mono); cursor: pointer; }
.spare-selection-remove:hover, .spare-selection-remove:focus-visible { border-color: var(--blue-2); color: var(--ink); }
.spare-selection-note { margin: 0 0 1rem; color: var(--muted); font-size: .78rem; }
.spare-selection-actions { display: flex; flex-wrap: wrap; gap: .65rem; }

.identification-section { background: var(--paper); color: var(--ink); }
.identification-section .eyebrow, .identification-section .text-link { color: #0066d6; }
.identification-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: clamp(2rem,6vw,6rem); align-items: center; }
.identification-grid .section-head { display: block; margin-bottom: 1.6rem; }
.identification-grid .section-head h2 { max-width: 10ch; margin-bottom: 1.2rem; }
.identification-grid .section-head > p:last-child { color: #4c6273; }
.identification-visual { position: relative; overflow: hidden; border-radius: 24px 7px 24px 7px; box-shadow: 0 30px 70px rgba(5,24,39,.23); }
.identification-visual img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.scan-line { position: absolute; z-index: 2; left: 8%; right: 8%; top: 18%; height: 2px; background: linear-gradient(90deg, transparent, #6dd0ff 20%, white 50%, #6dd0ff 80%, transparent); box-shadow: 0 0 18px #61c6ff; animation: scanPlate 3.2s ease-in-out infinite alternate; }
.identification-tags { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; display: flex; gap: .35rem; }
.identification-tags span { padding: .45rem .55rem; background: rgba(2,11,22,.82); color: #a8ddff; font: 700 .58rem var(--mono); letter-spacing: .08em; }
@keyframes scanPlate { from { transform: translateY(0); } to { transform: translateY(250px); } }

.home-despiece .shell { grid-template-columns: minmax(280px,.62fr) minmax(520px,1.38fr); }
.home-despiece-copy > p:not(.visual-note) { color: var(--muted); }
.exploded-viewer { overflow: hidden; border: 1px solid var(--line-strong); border-radius: 22px 6px 22px 6px; background: #f4f7f8; color: var(--ink); box-shadow: var(--shadow); }
.exploded-toolbar { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem; background: #07192b; color: white; }
.exploded-tabs, .exploded-zoom { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.exploded-tabs button, .exploded-zoom button { min-height: 38px; padding: .55rem .75rem; border: 1px solid rgba(155,210,248,.35); border-radius: 9px 3px 9px 3px; background: transparent; color: #d4e6f2; font: 700 .68rem var(--mono); cursor: pointer; }
.exploded-tabs button.active, .exploded-tabs button:hover, .exploded-zoom button:hover { background: var(--blue); color: white; }
.exploded-zoom output { min-width: 46px; color: var(--blue-2); font: 700 .68rem var(--mono); text-align: center; }
.exploded-canvas { position: relative; height: min(68svh, 760px); overflow: auto; overscroll-behavior: contain; background: #edf1f2; }
.exploded-canvas img { width: 100%; max-width: none; height: auto; margin: 0 auto; }
.exploded-canvas figcaption { position: sticky; left: 0; bottom: 0; width: max-content; max-width: 100%; padding: .55rem .7rem; background: rgba(4,17,29,.86); color: white; font: .64rem var(--mono); }
.part-lookup { display: grid; grid-template-columns: minmax(220px,1fr) auto; gap: .75rem; padding: 1rem; border-top: 1px solid #c1d1da; background: white; }
.part-lookup label { color: #304c61; font: 700 .68rem var(--mono); text-transform: uppercase; }
.part-lookup input { display: block; width: 100%; min-height: 46px; margin-top: .35rem; padding: 0 .8rem; border: 1px solid #94afc0; border-radius: 9px 3px 9px 3px; background: #f8fbfc; color: var(--ink); font: 700 .95rem var(--mono); }
.part-lookup > .button { align-self: end; min-height: 46px; }
.part-results { grid-column: 1 / -1; min-height: 66px; padding: .85rem 1rem; background: #e7f0f5; }
.part-results strong { color: #075da8; }
.part-results p, .part-results ul { margin: .45rem 0 0; color: #486071; font-size: .78rem; }
.part-results ul { padding-left: 1.2rem; }
.exploded-viewer--compact .exploded-canvas { height: 540px; }
.exploded-viewer--compact .part-lookup { grid-template-columns: 1fr; }
.exploded-viewer--compact .part-lookup > .button { justify-self: start; }

.technical-hero { padding: 170px 0 80px; background: radial-gradient(circle at 82% 25%, rgba(8,125,255,.28), transparent 32%), #020914; }
.technical-hero h1 { max-width: 10ch; margin: 1.2rem 0; font-size: clamp(4rem,8vw,8rem); line-height: .84; }
.technical-hero > .shell > p:last-child { max-width: 720px; color: var(--muted); font-size: 1.08rem; }
.technical-viewer-section { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 2rem; align-items: start; }
.technical-source { position: sticky; top: 110px; padding: 1.3rem; border: 1px solid var(--line); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.technical-source strong { color: var(--blue-2); font: 600 1.4rem var(--display); }
.technical-source p { color: var(--muted); font-size: .86rem; }
.button-ghost-on-light { border-color: rgba(7,31,53,.35); background: transparent; color: var(--ink); }

@media(max-width:1100px) {
  .audience-grid--three { grid-template-columns: 1fr; }
  .audience-grid--three > div { min-height: 0; }
  .spare-search-layout, .identification-grid, .home-despiece .shell, .technical-viewer-section { grid-template-columns: 1fr; }
  .technical-source { position: static; }
}
@media(max-width:800px) {
  .home-hero { min-height: 0; }
  .home-copy .button-row { margin-top: 1.5rem; gap: .8rem; }
  .home-copy .button-row .button { width: 100%; }
  .spare-search > div:first-of-type, .part-lookup { grid-template-columns: 1fr; }
  .spare-search > div:first-of-type .button, .part-lookup > .button { width: 100%; }
  .source-facts { grid-template-columns: 1fr; }
  .source-facts li { border-right: 0; border-bottom: 1px solid var(--line); }
  .source-facts li:last-child { border-bottom: 0; }
  .spare-add { width: 100%; margin-left: 0; }
  .spare-selection-item { align-items: start; }
  .spare-selection-actions > * { width: 100%; text-align: center; }
  .exploded-toolbar { display: grid; }
  .exploded-canvas, .exploded-viewer--compact .exploded-canvas { height: 62svh; }
  .technical-hero { padding-top: 135px; }
  .identification-tags { left: .75rem; right: auto; flex-wrap: wrap; }
}
@media(prefers-reduced-motion:reduce) {
  .scan-line { animation: none; top: 48%; }
}

/* V9 recovery — one system for Bombas, Maquinarias, postventa and technical content. */
.nav-search-link { margin-left: .3rem; color: white !important; background: rgba(8,125,255,.18); box-shadow: inset 0 0 0 1px rgba(99,193,255,.28); }
.menu-panel > div { width: min(1240px, 100%); }
.menu-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.4rem); margin-top: 2.5rem; }
.menu-panel .menu-group { min-width: 0; }
.menu-panel .menu-group > span { color: var(--blue-2); font: 700 .65rem var(--mono); letter-spacing: .14em; }
.menu-panel .menu-group h2 { margin: .65rem 0 1.25rem; font-size: clamp(2rem, 3vw, 3.4rem); line-height: .9; }
.menu-panel .menu-group nav { display: block; }
.menu-panel .menu-group nav a { min-height: 50px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font: 600 .98rem/1.2 var(--display); }
.menu-panel .menu-group nav a:hover { color: white; }
.menu-panel .menu-group nav a i { color: var(--blue-2); font-style: normal; }

.home-v9 .home-hero { min-height: max(900px, 100svh); padding-bottom: 92px; }
.home-v9 .home-copy { display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; }
.home-v9 .home-copy h1 { max-width: 13ch; margin-bottom: 1rem; font-size: clamp(3.7rem, 6.1vw, 7rem); line-height: .84; text-wrap: balance; }
.home-v9 .home-copy > p:not(.eyebrow):not(.coverage-line):not(.service-phrase) { max-width: 740px; }
.home-v9 .coverage-line { width: fit-content; margin: .25rem 0 .8rem; padding: .35rem .55rem; border-left: 2px solid var(--blue-2); color: #c8d9e5; background: rgba(3,16,29,.42); }
.home-v9 .hero-phrase { max-width: 32ch; margin: .2rem 0 1.4rem; font-size: clamp(1.25rem, 2vw, 1.85rem); }
.home-domain-gateway { width: min(900px, calc(100% - 250px)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.18); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.domain-card { min-height: 140px; display: grid; align-content: space-between; gap: .65rem; padding: 1.25rem 1.35rem; background: rgba(3,15,27,.88); backdrop-filter: blur(12px); transition: background .2s ease, transform .2s ease; }
.domain-card:hover { transform: translateY(-3px); }
.domain-card span { color: var(--blue-2); font: 700 .62rem var(--mono); letter-spacing: .13em; }
.domain-card strong { max-width: 27ch; font: 600 clamp(1.15rem, 1.8vw, 1.55rem)/1.08 var(--display); }
.domain-card i { color: #cbe8fa; font: 700 .72rem var(--mono); font-style: normal; }
.domain-card--pumps:hover { background: rgba(6,72,128,.92); }
.domain-card--machinery { background: linear-gradient(135deg, rgba(62,29,14,.95), rgba(132,53,17,.86)); }
.domain-card--machinery span, .domain-card--machinery i { color: #ffc49f; }
.domain-card--machinery:hover { background: linear-gradient(135deg, #713112, #d75b1d); }

.spare-search-section--compact { padding: clamp(4rem, 7vw, 7rem) 0; background: #051424; border-bottom: 1px solid var(--line); }
.spare-search-section--compact .spare-search-layout { align-items: center; }
.spare-search-section--compact h2 { max-width: 12ch; margin: 0 0 1rem; font-size: clamp(3rem, 5.8vw, 6.4rem); line-height: .86; }
.spare-search-section--compact .spare-result { min-height: 132px; }

.home-machinery-domain { overflow: hidden; padding: clamp(5rem, 9vw, 9rem) 0; background: radial-gradient(circle at 82% 18%, rgba(255,179,128,.22), transparent 32%), linear-gradient(122deg, #24140e, #8e3511 70%, #d95a1b); color: white; }
.home-machinery-domain .shell { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(460px, 1.18fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.home-machinery-copy .domain-index { margin-bottom: 1.4rem; color: #ffd0b2; font: 700 .68rem var(--mono); letter-spacing: .15em; }
.home-machinery-copy h2 { max-width: 8ch; margin: 0 0 1.3rem; font-size: clamp(4rem, 7.8vw, 8.5rem); line-height: .79; }
.home-machinery-copy > p:not(.domain-index) { max-width: 34rem; color: #ffe5d5; font-size: 1.08rem; }
.button-machinery { margin-top: 1.2rem; background: white; color: #4d1c0b; }
.machinery-ledger { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.28); list-style: none; counter-reset: machinery; }
.machinery-ledger li { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; align-items: center; min-height: 76px; border-bottom: 1px solid rgba(255,255,255,.28); }
.machinery-ledger span { color: #ffc8a5; font: 700 .64rem var(--mono); }
.machinery-ledger strong { font: 600 clamp(1.35rem, 2.4vw, 2.35rem)/1 var(--display); }

.brand-rail-section { overflow: hidden; background: #020914; }
.brand-rail-head { align-items: center; margin-bottom: 2.3rem; }
.brand-rail-head h2 { max-width: 11ch; margin: 0; font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: .85; }
.brand-rail-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.brand-wordmark { color: white; font: 600 1.8rem/1 var(--display); }

.home-despiece { background: radial-gradient(circle at 74% 32%, rgba(8,125,255,.18), transparent 34%), #020914; }
.home-despiece .shell { grid-template-columns: minmax(280px,.62fr) minmax(580px,1.38fr); }
.home-despiece-copy .section-head h2 { max-width: 8ch; }
.tech-explorer { display: grid; grid-template-columns: minmax(390px, 1.18fr) minmax(280px, .82fr); min-height: 720px; overflow: hidden; border: 1px solid rgba(113,195,250,.34); border-radius: 24px 6px 24px 6px; background: #03101d; color: white; box-shadow: 0 35px 100px rgba(0,0,0,.42); }
.tech-stage { position: relative; min-height: 720px; overflow: hidden; background: radial-gradient(circle at 50% 44%, rgba(16,119,194,.24), transparent 42%), #020912; }
.tech-stage::after { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(2,9,18,.72), transparent 18% 82%, rgba(2,9,18,.72)); content: ""; }
.tech-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(93,184,242,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(93,184,242,.1) 1px, transparent 1px); background-size: 42px 42px; }
.tech-stage > img { position: absolute; z-index: 1; inset: 4% 8%; width: 84%; height: 92%; object-fit: contain; filter: drop-shadow(0 0 16px rgba(80,184,255,.34)); }
.tech-scan { position: absolute; z-index: 2; top: 12%; bottom: 12%; left: 50%; width: 1px; background: linear-gradient(transparent, rgba(99,193,255,.7), transparent); box-shadow: 0 0 18px rgba(99,193,255,.55); }
.tech-hotspot { position: absolute; z-index: 4; left: var(--x); top: var(--y); width: 38px; height: 38px; display: grid; place-items: center; padding: 0; transform: translate(-50%,-50%); border: 1px solid rgba(130,211,255,.82); border-radius: 50%; background: rgba(2,15,27,.88); color: white; box-shadow: 0 0 0 5px rgba(8,125,255,.12), 0 0 22px rgba(8,125,255,.28); cursor: pointer; }
.tech-hotspot span { font: 700 .59rem var(--mono); }
.tech-hotspot:hover, .tech-hotspot.is-selected { background: var(--blue); box-shadow: 0 0 0 7px rgba(8,125,255,.2), 0 0 30px rgba(8,125,255,.68); }
.tech-inspector { min-width: 0; display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2.6rem); border-left: 1px solid rgba(113,195,250,.22); background: linear-gradient(160deg, rgba(9,32,52,.98), rgba(3,13,24,.98)); }
.tech-inspector h3 { margin: 0 0 .8rem; font-size: clamp(2.2rem, 4vw, 4.3rem); line-height: .86; }
.tech-inspector-intro { color: var(--muted); font-size: .9rem; }
.tech-results { flex: 1; min-height: 270px; margin: 1rem 0; padding-top: .6rem; border-top: 1px solid var(--line); }
.tech-part-list { margin: 0; padding: 0; list-style: none; }
.tech-part-list li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .8rem; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.tech-part-list div { min-width: 0; display: grid; gap: .15rem; }
.tech-part-list strong { color: var(--blue-2); font: 700 .74rem var(--mono); }
.tech-part-list span { overflow-wrap: anywhere; color: #d7e5ee; font-size: .76rem; line-height: 1.35; }
.tech-part-list a { color: white; font: 700 .62rem var(--mono); white-space: nowrap; }
.tech-variant-note, .tech-source-note { color: var(--muted-2); font: .64rem/1.5 var(--mono); }
.tech-lookup { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .55rem; align-items: end; margin-top: auto; }
.tech-lookup label { color: var(--muted); font: 700 .62rem var(--mono); text-transform: uppercase; }
.tech-lookup input { width: 100%; min-height: 44px; display: block; margin-top: .35rem; padding: 0 .7rem; border: 1px solid var(--line-strong); border-radius: 8px 2px 8px 2px; background: #eef7fb; color: var(--ink); font: 700 .85rem var(--mono); }
.tech-lookup .button { min-height: 44px; }
.tech-source-note { margin: 1rem 0 0; }
.tech-plan-request { align-self: flex-start; margin-top: .9rem; }
.tech-explorer--compact { min-height: 650px; }
.tech-explorer--compact .tech-stage { min-height: 650px; }

.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.work-card, .work-card-feature { min-height: 0; aspect-ratio: 16 / 10; grid-column: auto; }
.work-card picture, .work-card img { position: absolute; inset: 0; }
.work-card > span { z-index: 2; min-height: 48%; align-content: end; }
.work-card strong { max-width: 24ch; font-size: clamp(1.3rem, 2.4vw, 2.35rem); }

.machinery-hero-mark strong { max-width: 100%; font-size: clamp(3.2rem, 5vw, 4.5rem); line-height: .82; }
.machinery-hero-mark > span { color: #ffd0b2; font: 700 .68rem var(--mono); letter-spacing: .14em; }

@media(max-width:1100px) {
  .menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-domain-gateway { width: min(820px, 100%); }
  .home-v9 .home-hero { min-height: 980px; }
  .home-despiece .shell { grid-template-columns: 1fr; }
  .home-despiece-copy { max-width: 720px; }
}
@media(max-width:900px) {
  .home-machinery-domain .shell { grid-template-columns: 1fr; }
  .tech-explorer { grid-template-columns: 1fr; }
  .tech-stage, .tech-explorer--compact .tech-stage { min-height: 640px; }
  .tech-inspector { border-top: 1px solid rgba(113,195,250,.22); border-left: 0; }
}
@media(max-width:800px) {
  .menu-groups { grid-template-columns: 1fr; }
  .menu-panel .menu-group h2 { font-size: 2.4rem; }
  .home-v9 .home-hero { min-height: 0; padding: 120px 0 114px; }
  .home-v9 .home-copy h1 { max-width: 100%; font-size: clamp(3.05rem, 12.5vw, 5.1rem); }
  .home-domain-gateway { grid-template-columns: 1fr; }
  .domain-card { min-height: 126px; }
  .home-v9 .hero-controls { right: 16px; bottom: 24px; }
  .spare-search-section--compact h2 { font-size: clamp(3rem, 12vw, 4.8rem); }
  .home-machinery-domain .shell { gap: 2.5rem; }
  .home-machinery-copy h2 { font-size: clamp(4rem, 18vw, 6.5rem); }
  .brand-rail-head { grid-template-columns: 1fr; align-items: start; }
  .brand-rail-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent); mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent); }
  .tech-stage, .tech-explorer--compact .tech-stage { min-height: 560px; }
  .tech-hotspot { width: 34px; height: 34px; }
  .tech-lookup { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card-feature { aspect-ratio: 4 / 3; }
}
@media(max-width:480px) {
  .home-v9 .home-copy h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .home-v9 .hero-phrase { font-size: 1.25rem; }
  .domain-card strong { font-size: 1.15rem; }
  .spare-search-section--compact .spare-search-layout { gap: 1.6rem; }
  .home-machinery-copy h2 { font-size: 4.15rem; }
  .machinery-ledger li { grid-template-columns: 42px 1fr; }
  .tech-stage, .tech-explorer--compact .tech-stage { min-height: 500px; }
  .tech-hotspot { width: 32px; height: 32px; }
  .tech-hotspot span { font-size: .52rem; }
  .tech-inspector { padding: 1.2rem; }
  .tech-part-list li { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce) {
  .tech-scan { display: none; }
}

/* V6 systems hub: one clear entry point without inventing brand catalogues. */
.systems-hub-intro { background: #06182a; border-bottom: 1px solid var(--line); }
.systems-path-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.systems-path-card { position: relative; min-height: 260px; display: flex; flex-direction: column; gap: .8rem; padding: 1.35rem; background: linear-gradient(145deg, var(--surface), var(--bg)); color: white; }
.systems-path-card:hover { background: linear-gradient(145deg, var(--blue), #0750a1); }
.systems-path-card > span { color: var(--blue-2); font: 700 .68rem var(--mono); letter-spacing: .12em; }
.systems-path-card h3 { max-width: 10ch; margin: auto 0 0; font-size: clamp(1.35rem, 2vw, 2rem); line-height: .92; }
.systems-path-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.systems-path-card:hover p { color: white; }
.systems-path-card i { position: absolute; right: 1.2rem; bottom: 1rem; color: var(--blue-2); font: 1.3rem var(--body); font-style: normal; }
.brand-directory-section { background: #020914; }
.brand-directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.brand-directory-card { min-width: 0; display: flex; flex-direction: column; min-height: 240px; padding: 1.2rem; background: rgba(11,39,64,.66); }
.brand-directory-card:hover { background: rgba(8,125,255,.2); }
.brand-directory-mark { min-height: 58px; display: grid; place-items: start; margin-bottom: 1rem; }
.brand-directory-mark img { width: min(170px, 100%); max-height: 54px; object-fit: contain; object-position: left center; filter: grayscale(1); opacity: .9; }
.brand-directory-mark strong { color: white; font: 600 1.35rem/1 var(--display); }
.brand-directory-card h3 { margin: auto 0 .45rem; color: white; font-size: 1.35rem; line-height: .95; }
.brand-directory-card p { min-height: 2.8em; margin: 0 0 1rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.brand-directory-card .text-link { margin-top: auto; font-size: .62rem; }
@media(max-width:1100px) {
  .systems-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-directory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width:800px) {
  .systems-path-grid, .brand-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems-path-card { min-height: 220px; }
}
@media(max-width:480px) {
  .systems-path-grid, .brand-directory-grid { grid-template-columns: 1fr; }
  .systems-path-card { min-height: 190px; }
  .brand-directory-card { min-height: 205px; }
}

/* V6 review visual system: calm industrial editorial, clearer hierarchy, no marquee UI. */
:root {
  --bg: #F6F8FA;
  --bg-deep: #071F35;
  --surface: #fcfbf8;
  --surface-2: #e8ecee;
  --surface-3: #d8dfe3;
  --paper: #fcfbf8;
  --paper-2: #f3f1ec;
  --ink: #121a21;
  --text: #121a21;
  --muted: #5f6d76;
  --muted-2: #7b8790;
  --line: rgba(18, 26, 33, .16);
  --line-strong: rgba(16, 58, 85, .42);
  --blue: #004AAD;
  --blue-2: #103a55;
  --blue-soft: rgba(23, 105, 194, .11);
  --blue-glow: rgba(23, 105, 194, .16);
  --green: #2f8f68;
  --orange: #e66a2c;
  --display: "IBM Plex Sans", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", monospace;
  --v6-radius: 14px;
}

html { background: var(--bg); }
body { background: var(--bg); color: var(--ink); }
body::before { opacity: .12; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -.035em; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--blue); }
p, li { max-width: 72ch; }
a { color: var(--blue-2); }

.site-header {
  background: rgba(252, 251, 248, .9);
  border-bottom-color: rgba(18, 26, 33, .12);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(18,26,33,.04);
}
.site-header.fixed { background: rgba(252, 251, 248, .97); }
.brand-copy, .brand-copy em, .desktop-nav a, .header-actions a, .menu-button { color: var(--ink); }
.brand > img { filter: none; }
.brand-copy em { color: var(--blue); }
.desktop-nav a:hover, .header-actions a:hover, .menu-button:hover { color: var(--blue); }
.nav-menu-trigger { color: var(--ink); background: transparent; border: 0; font: inherit; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; padding: .7rem .15rem; }
.nav-menu-trigger span { font: 700 .7rem var(--mono); color: var(--blue); }
.nav-menu-trigger:hover { color: var(--blue); }

.menu-panel {
  top: 92px;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(1220px, calc(100vw - 48px));
  max-height: calc(100svh - 112px);
  overflow: auto;
  transform: translateX(-50%);
  padding: 2rem;
  border: 1px solid rgba(18, 26, 33, .16);
  border-radius: 20px;
  background: rgba(252, 251, 248, .985);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(16, 34, 47, .2);
}
.menu-panel-inner { max-width: none; }
.menu-panel-intro { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.menu-panel-intro h2 { margin: 0; color: var(--ink); font-size: clamp(2rem, 4vw, 3.6rem); line-height: .92; }
.menu-panel-intro p { margin: .55rem 0 0; color: var(--muted); }
.menu-panel-intro .text-link { flex: 0 0 auto; }
.menu-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding-top: 1.5rem; }
.menu-group { min-width: 0; }
.menu-group h2, .menu-group > span { color: var(--blue-2); font: 700 .66rem/1.2 var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.menu-group h2 { margin: 0 0 .65rem; }
.menu-group nav { display: grid; gap: 0; }
.menu-group nav a { padding: .65rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; text-decoration: none; }
.menu-group nav a:hover { color: var(--blue); padding-left: .35rem; }
.menu-panel-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
body.menu-open { overflow: hidden; }

.home-hero--editorial { min-height: min(780px, 100svh); background: #102b3b; color: white; }
.home-hero--editorial .home-hero-media { position: absolute; inset: 0; }
.home-hero--editorial .home-hero-media::after { background: linear-gradient(90deg, rgba(10,24,34,.9) 0%, rgba(10,24,34,.6) 45%, rgba(10,24,34,.15) 100%); }
.home-hero--editorial .home-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero--editorial .home-copy { position: relative; z-index: 2; width: min(1240px, 100%); margin-inline: auto; padding: clamp(8rem, 20vh, 13rem) 32px 0; }
.home-hero--editorial .home-copy h1 { max-width: 10ch; color: white; font-size: clamp(3.5rem, 7.4vw, 7.4rem); line-height: .88; }
.home-hero--editorial .home-copy h1 em { color: #bdd7d7; }
.home-hero--editorial .home-copy p { color: rgba(255,255,255,.82); }
.home-hero--editorial .eyebrow, .home-hero--editorial .hero-media-label { color: #bdd7d7; }
.home-hero--editorial .hero-media-label { position: absolute; z-index: 2; right: 2rem; bottom: 2rem; max-width: 18ch; color: rgba(255,255,255,.75); font: 700 .65rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.hero-proof span { padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: rgba(255,255,255,.86); font: .68rem var(--mono); }
.home-hero--editorial .button-primary { background: #e66a2c; border-color: #e66a2c; color: #fff; }
.home-hero--editorial .button-secondary { border-color: rgba(255,255,255,.45); color: #fff; }
.menu-group > summary { list-style: none; cursor: pointer; }
.menu-group > summary::-webkit-details-marker { display: none; }
.menu-group > summary > i { display: none; }

.section { background: var(--bg); color: var(--ink); }
.section.soft, .section.light { background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.section.dark, .site-footer, .home-hero { color: #fff; }
.section.dark p, .section.dark li, .site-footer p, .site-footer li { color: rgba(255,255,255,.72); }
.section.dark h2, .section.dark h3, .site-footer h2, .site-footer h3 { color: #fff; }
.section-head h2 { font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .92; }

.brand-rail-section, .brand-directory-section { background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; color: var(--ink); }
.brand-rail-head h2 { color: var(--ink); }
.brand-rail-head p, .brand-directory-section p { color: var(--muted); }
.brand-directory-grid--home { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; border: 0; background: transparent; }
.brand-directory-grid--home .brand-card { min-height: 205px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--v6-radius); background: var(--surface); text-align: left; justify-items: stretch; align-content: stretch; }
.brand-directory-grid--home .brand-card:hover { background: #fff; border-color: var(--line-strong); }
.brand-directory-grid--home .brand-card-mark { min-height: 64px; display: grid; place-items: start; margin: -.1rem -.1rem 1rem; padding: .7rem; border-radius: 9px; background: var(--blue-2); }
.brand-directory-grid--home .brand-card-mark img { width: min(170px, 100%); height: 54px; object-position: left center; }
.brand-directory-grid--home .brand-card-mark--light,
.brand-directory-mark--light { background: #fff; border: 1px solid var(--line); }
.brand-directory-grid--home .brand-card-mark--light img,
.brand-directory-mark--light img { object-position: center; }
.brand-directory-grid--home .brand-card-copy { display: grid; gap: .35rem; align-content: end; margin-top: auto; }
.brand-directory-grid--home .brand-card-copy strong { color: var(--ink); font: 600 1.15rem/1 var(--display); }
.brand-directory-grid--home .brand-card-copy small { color: var(--muted); font: .78rem/1.35 var(--body); }
.brand-directory-grid--home .brand-card > i { align-self: end; justify-self: end; color: var(--blue); }
.brand-directory-card { min-height: 205px; padding: 1rem; border: 1px solid var(--line); border-radius: var(--v6-radius); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.brand-directory-card:hover { background: #fff; border-color: var(--line-strong); }
.brand-directory-mark { min-height: 64px; margin: -.1rem -.1rem 1rem; padding: .7rem; border-radius: 9px; background: var(--blue-2); }
.brand-directory-mark img { filter: none; opacity: 1; }
.brand-directory-mark strong, .brand-directory-card h3 { color: var(--ink); }
.brand-directory-card p { color: var(--muted); }
.brand-directory-card .text-link { color: var(--blue); }
.brand-directory-card .brand-description { min-height: 0; margin-bottom: .45rem; }
.brand-directory-card .brand-status, .brand-directory-card .brand-source, .brand-directory-card .brand-ask { min-height: 0; margin: 0 0 .42rem; color: var(--muted); font-size: .72rem; line-height: 1.35; }
.brand-directory-card .brand-status { color: var(--blue); font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; }
.brand-directory-card .brand-source strong, .brand-directory-card .brand-ask strong { color: var(--ink); }
.brand-directory-card .brand-ask { margin-bottom: .8rem; }
.brand-rail-viewport { overflow: visible; mask-image: none; }

.intake, .spare-search-section--compact { background: #103a55; color: #fff; }
.intake h2, .spare-search-section--compact h2, .intake h3 { color: #fff; }
.intake p, .spare-search-section--compact p { color: rgba(255,255,255,.76); }
.intake input, .intake select, .intake textarea { background: rgba(255,255,255,.96); color: var(--ink); border-color: transparent; }

@media(max-width: 1100px) {
  .menu-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-directory-grid--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width: 800px) {
  .site-header { background: rgba(252,251,248,.96); }
  .desktop-nav { display: none; }
  .menu-button { display: grid; color: var(--ink); }
  .menu-panel { top: 0; left: 0; width: 100%; max-height: 100svh; min-height: 100svh; transform: none; border: 0; border-radius: 0; padding: 7rem 1.25rem 2rem; }
  .menu-panel-intro { align-items: start; flex-direction: column; }
  .menu-groups { grid-template-columns: 1fr; gap: 1.4rem; }
  .menu-group > summary { display: flex; align-items: center; gap: .65rem; min-height: 48px; border-bottom: 1px solid var(--line); }
  .menu-group > summary h2 { flex: 1; margin: 0; }
  .menu-group > summary > i { display: block; color: var(--blue); font-style: normal; transition: transform .2s ease; }
  .menu-group[open] > summary > i { transform: rotate(180deg); }
  .menu-group:not([open]) nav { display: none; }
  .home-hero--editorial { min-height: 720px; }
  .home-hero--editorial .home-hero-media::after { background: linear-gradient(180deg, rgba(10,24,34,.72), rgba(10,24,34,.78)); }
  .home-hero--editorial .home-copy { width: 100%; padding: 9rem 20px 0; }
  .home-hero--editorial .hero-media-label { right: 1.25rem; bottom: 1.25rem; }
  .brand-directory-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 480px) {
  .brand-directory-grid--home { grid-template-columns: 1fr; }
  .home-hero--editorial .home-copy h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
}

/* V6 mobile hero: keep the first useful action inside the opening viewport. */
@media(max-width: 480px) {
  .home-hero--editorial .home-copy { padding-top: 7.5rem; }
  .home-hero--editorial .home-copy h1 { font-size: clamp(2.75rem, 14vw, 3.7rem); line-height: .9; margin-bottom: .85rem; }
  .home-hero--editorial .home-copy > p:not(.eyebrow):not(.coverage-line):not(.service-phrase) { margin-bottom: .7rem; }
  .home-hero--editorial .coverage-line { margin-top: .8rem; }
  .home-hero--editorial .home-copy .button-row { margin-top: .85rem; }
}

/* Final menu fit: the review panel must stay readable without horizontal overflow. */
.menu-panel { overflow-x: hidden; }
.menu-panel .menu-group { min-width: 0; }
.menu-panel .menu-group > summary { min-width: 0; }
.menu-panel .menu-group > summary h2 { min-width: 0; margin: 0 0 .65rem; color: var(--blue-2); font: 700 clamp(1.05rem, 1.45vw, 1.45rem)/1.05 var(--display); letter-spacing: .02em; text-transform: none; overflow-wrap: anywhere; }
.menu-panel .menu-group nav { min-width: 0; }
.menu-panel .menu-group nav a { min-width: 0; font-size: .9rem; overflow-wrap: anywhere; }
@media(max-width: 800px) {
  .menu-panel .menu-group > summary h2 { margin: 0; font-size: 1.15rem; }
  .menu-panel .menu-group nav a { font-size: 1rem; }
}

/* Interior hero contrast: photographic backgrounds must never compete with the heading. */
.inner-hero .inner-copy,
.case-hero > div:last-child { color: #fff; }

.inner-hero .inner-copy h1,
.case-hero > div:last-child h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.inner-hero .inner-copy .eyebrow,
.case-hero > div:last-child .eyebrow {
  color: #c5dedd;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}

.inner-hero .breadcrumbs,
.inner-hero .breadcrumbs a,
.case-hero .breadcrumbs,
.case-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .82);
}

/* The documentary 2D viewer has its own dark technical hero, so it needs the same explicit contrast contract. */
.technical-hero,
.technical-hero .shell { color: #fff; }

.technical-hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.technical-hero .eyebrow,
.technical-hero .breadcrumbs,
.technical-hero .breadcrumbs a { color: #c5dedd; }

.technical-hero > .shell > p:last-child { color: #d3e1e9; }

/* Dark search panel: labels and empty-state guidance must remain readable before a lookup. */
.spare-search > label { color: #c5dedd; }
.spare-search-hint,
.spare-result > p { color: rgba(255, 255, 255, .72); }
.spare-result > strong { color: #8ecbff; }
.spare-result dt { color: #a9bfce; }

/* Editorial light system — final visual contract for FGC V6. */
.industry-context-section {
  background: var(--bg);
  color: var(--ink);
}
.industry-context-section .section-head > p:last-child,
.industry-context-section .visual-note { color: var(--muted); }
.industry-context-section .section-head h2,
.industry-context-section .industry-context-copy h3 { color: var(--ink); }
.industry-context-section .industry-context-card {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(18, 26, 33, .07);
}
.industry-context-section .industry-context-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(18, 26, 33, .12);
}
.industry-context-section .industry-context-copy > p:not(.eyebrow) { color: var(--muted); }
.industry-context-section .industry-context-copy .eyebrow { color: var(--blue-2); }
.industry-context-section .industry-tags span {
  border-color: rgba(16, 58, 85, .2);
  color: var(--blue);
}
.industry-context-section .text-link { color: var(--blue-2); }

/* Dark surfaces keep their own readable tokens after the global light reset. */
.home-hero,
.inner-hero,
.case-hero,
.section.dark,
.site-footer,
.visual-rail,
.visual-rail-dark,
.spare-search-section,
.spare-search-section--compact,
.technical-hero,
.home-despiece,
.systems-hub-intro,
.menu-panel,
.intent-grid {
  --text: #fcfbf8;
  --muted: #b7c5cb;
  --muted-2: #91a5af;
  --line: rgba(216, 223, 227, .18);
  --line-strong: rgba(216, 223, 227, .42);
  --surface: #0d2a3f;
  --surface-2: #143e57;
  --ink: #fcfbf8;
  --v6-ink: #fcfbf8;
  --v6-muted: #b7c5cb;
  --v6-accent: #9bcbed;
  --v6-border: rgba(216, 223, 227, .18);
  --v6-border-strong: rgba(216, 223, 227, .42);
}
.spare-search-section,
.spare-search-section--compact { color: #fcfbf8; }
.spare-search-section .section-head h2,
.spare-search-section--compact h2 { color: #fcfbf8; }
.systems-hub-intro h1,
.systems-hub-intro h2,
.systems-hub-intro h3,
.home-despiece h2,
.home-despiece h3 { color: #fcfbf8; }

/* Light surfaces need dark content even when they contain older component variants. */
.section:not(.dark),
.section.soft,
.section.light,
.brand-rail-section,
.brand-directory-section { color: var(--ink); }
.section:not(.dark) h1,
.section:not(.dark) h2,
.section:not(.dark) h3,
.section.soft h1,
.section.soft h2,
.section.soft h3,
.brand-rail-section h2,
.brand-directory-section h1,
.brand-directory-section h2 { color: var(--ink); }
.section:not(.dark) p:not(.eyebrow),
.section.soft p:not(.eyebrow),
.brand-rail-section p:not(.eyebrow),
.brand-directory-section p:not(.eyebrow) { color: var(--muted); }

/* Visual rails are dark editorial chapters, not light sections with white type. */
.visual-rail,
.visual-rail-dark {
  background: #061525;
  color: #fcfbf8;
}
.visual-rail-dark { background: #020914; }
.visual-rail .section-head h2,
.visual-rail .visual-note { color: #fcfbf8; }
.visual-rail .section-head p:not(.eyebrow) { color: #b7c5cb; }

/* Reduce the old glow language in the shared shell. */
.site-header {
  border-color: rgba(16, 58, 85, .24);
  background: rgba(252, 251, 248, .93);
  box-shadow: 0 12px 34px rgba(18, 26, 33, .1);
  backdrop-filter: blur(16px) saturate(110%);
}
.site-header.fixed { background: rgba(252, 251, 248, .98); }
.brand > img { filter: none; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] { background: rgba(23, 105, 194, .08); }
.button-primary { background: var(--blue-2); border-color: var(--blue-2); box-shadow: none; }
.button-primary:hover { background: var(--blue); border-color: var(--blue); }
/* La navegación móvil debe ser visible, no sólo accesible para lectores de pantalla. */
@media (max-width: 1100px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-width: 92px;
    padding: 0 .85rem;
  }
  .menu-button span {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    color: var(--ink);
    font: 700 .68rem/1 var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
  }
}

/* The navigation panel is intentionally a light editorial surface, not a dark hero. */
.menu-panel {
  --text: #121a21;
  --muted: #53646c;
  --muted-2: #6b7b84;
  --line: rgba(18, 26, 33, .14);
  --line-strong: rgba(16, 58, 85, .38);
  --ink: #121a21;
  --v6-ink: #121a21;
  --v6-muted: #53646c;
  --v6-accent: #1769c2;
  --v6-border: rgba(18, 26, 33, .14);
  --v6-border-strong: rgba(16, 58, 85, .38);
  background: #fcfbf8;
}

@media (max-width: 800px) {
  .industry-context-grid { gap: .8rem; }
  .industry-context-section .industry-context-copy { padding: 1.1rem 1.05rem 1.25rem; }
  .industry-context-section .industry-context-copy h3 { font-size: clamp(1.55rem, 7vw, 2.15rem); }
}

/* Editorial media grids replace the old one-card-at-a-time carousels. */
.visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.visual-grid figure {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local;
}
.visual-grid figure:hover img { transform: scale(1.04); }
.visual-grid .visual-track-media { aspect-ratio: 1.35; }
.visual-grid figcaption {
  display: grid;
  gap: .3rem;
  padding: 1rem 1.1rem 1.15rem;
}
.visual-grid figcaption strong { font: 600 1.22rem/.95 var(--display); }
.visual-grid figcaption span { color: var(--muted); font: 400 .78rem/1.4 var(--body); }
.process-steps {
  width: var(--shell);
  margin: 4rem auto 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.process-track--static {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-columns: auto;
  overflow: visible;
  scroll-snap-type: none;
}
.process-track--static article { min-width: 0; scroll-snap-align: none; }
.inner-copy .button,
.case-hero .button { color: #121a21; }
@media (max-width: 900px) {
  .visual-grid,
  .process-track--static { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .visual-grid,
  .process-track--static { grid-template-columns: 1fr; }
}

/* Light editorial chapters must not inherit the old dark service-card contract. */
.home-systems-section > .shell .service-grid a,
.home-resources-section .service-grid a {
  color: var(--ink);
  background: linear-gradient(145deg, #fcfbf8, #f3f1ec);
  border-color: var(--line);
}
.home-systems-section > .shell .service-grid a:hover,
.home-resources-section .service-grid a:hover {
  color: #fff;
  background: linear-gradient(145deg, #1769c2, #103a55);
  border-color: #1769c2;
}
.home-systems-section > .shell .service-grid a h3,
.home-resources-section .service-grid a h3 { color: var(--ink); }
.home-systems-section > .shell .service-grid a p,
.home-resources-section .service-grid a p { color: var(--muted); }
.home-systems-section > .shell .service-grid a > span,
.home-resources-section .service-grid a > span,
.home-systems-section > .shell .service-grid a i,
.home-resources-section .service-grid a i { color: var(--blue); }
.home-systems-section > .shell .service-grid a:hover h3,
.home-resources-section .service-grid a:hover h3,
.home-systems-section > .shell .service-grid a:hover p,
.home-resources-section .service-grid a:hover p,
.home-systems-section > .shell .service-grid a:hover > span,
.home-resources-section .service-grid a:hover > span,
.home-systems-section > .shell .service-grid a:hover i,
.home-resources-section .service-grid a:hover i { color: #fff; }

/* The static repair sequence needs editorial density, not a large empty card. */
.home-process-track { width: auto; margin-top: 2rem; }
.home-process-track.process-track--static article {
  min-height: 220px;
  padding: 1.25rem;
}
.home-process-track.process-track--static h3 {
  margin: 3.5rem 0 .65rem;
}
@media (max-width: 620px) {
  .home-process-track.process-track--static article { min-height: 180px; }
  .home-process-track.process-track--static h3 { margin-top: 2.75rem; }
}

/* At tablet-sized desktop widths, collapse before the primary navigation starts colliding. */
@media (max-width: 1300px) and (min-width: 801px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; place-items: center; margin-left: auto; color: var(--ink); }
}

/* V6 hero correction: the first viewport must explain the offer and expose the next action. */
.spare-search-section {
  background: radial-gradient(circle at 82% 18%, rgba(8,125,255,.22), transparent 30%), linear-gradient(145deg, #06192b, #020914);
  color: #fcfbf8;
}
.spare-search-section .section-head h2 { color: #fcfbf8; }
.spare-search-section .section-head p:not(.eyebrow) { color: rgba(255,255,255,.76); }

.home-hero--editorial {
  min-height: min(780px, 100svh);
  display: flex;
  align-items: center;
  padding: 112px 0 104px;
}
.home-hero--editorial .home-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10,24,34,.88) 0%, rgba(10,24,34,.62) 48%, rgba(10,24,34,.2) 100%), linear-gradient(0deg, rgba(10,24,34,.72), transparent 48%);
}
.home-hero--editorial .home-copy {
  padding: 0 32px;
}
.home-hero--editorial .home-copy h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  font-size: clamp(3.25rem, 6.8vw, 6.4rem);
  line-height: .92;
}
.home-hero--editorial .home-copy > p:not(.eyebrow) {
  max-width: 42ch;
  margin-bottom: .75rem;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.45;
}
.home-hero--editorial .home-copy .button-row { margin-top: 1.1rem; }
.home-hero--editorial .hero-proof {
  position: absolute;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 2rem;
  max-width: 300px;
  margin: 0;
  padding: .8rem 1rem;
  border-left: 2px solid #e66a2c;
  background: rgba(10,24,34,.62);
  backdrop-filter: blur(10px);
}
.home-hero--editorial .hero-proof strong { color: #fff; font-size: .78rem; }
.home-hero--editorial .hero-proof small { color: rgba(255,255,255,.72); font-size: .72rem; }

@media (max-width: 800px) {
  .home-hero--editorial {
    min-height: min(750px, calc(100svh - 4px));
    align-items: flex-start;
    padding: 112px 0 82px;
  }
  .home-hero--editorial .home-copy { padding: 0 20px; }
  .home-hero--editorial .home-copy h1 {
    max-width: 12ch;
    font-size: clamp(2.7rem, 12.5vw, 3.75rem);
    line-height: .93;
  }
  .home-hero--editorial .home-copy > p:not(.eyebrow) {
    max-width: 34ch;
    font-size: .98rem;
  }
  .home-hero--editorial .hero-proof {
    right: 20px;
    bottom: 1.2rem;
    max-width: 235px;
    padding: .55rem .7rem;
  }
  .home-hero--editorial .hero-media-label { right: 1.25rem; bottom: 5.8rem; max-width: 15ch; }
}

@media (max-width: 480px) {
  .home-hero--editorial {
    min-height: 720px;
    padding-top: 104px;
  }
  .home-hero--editorial .home-copy h1 {
    max-width: 11.5ch;
    font-size: clamp(2.55rem, 12.3vw, 3.3rem);
  }
  .home-hero--editorial .home-copy .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .55rem;
    width: min(310px, 100%);
  }
  .home-hero--editorial .home-copy .button { justify-content: center; }
  .home-hero--editorial .hero-proof { display: none; }
  .home-hero--editorial .hero-media-label { bottom: 1.15rem; max-width: 14ch; }
}

/* V6 visual pass 01: editorial hierarchy, industrial restraint and clearer priorities. */
.home-v9 .site-header {
  border-radius: 7px;
  box-shadow: 0 10px 28px rgba(18, 26, 33, .12);
}
.home-v9 .home-hero--editorial {
  min-height: min(820px, 100svh);
  padding: 124px 0 96px;
}
.home-v9 .home-hero--editorial .home-hero-media::after {
  background: linear-gradient(90deg, rgba(10,24,34,.84) 0%, rgba(10,24,34,.52) 48%, rgba(10,24,34,.12) 100%), linear-gradient(0deg, rgba(10,24,34,.72), transparent 58%);
}
.home-v9 .home-hero--editorial .home-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: 32px;
}
.home-v9 .home-copy-main { min-width: 0; max-width: 720px; }
.home-v9 .home-hero--editorial .home-copy h1 {
  max-width: 12ch;
  margin-bottom: 1.15rem;
  font-size: clamp(3.2rem, 5.55vw, 5rem);
  line-height: .95;
  letter-spacing: -.055em;
}
.home-v9 .home-hero--editorial .home-copy > .hero-proof {
  position: static;
  display: grid;
  gap: .45rem;
  align-self: end;
  max-width: 290px;
  margin: 0 0 .2rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.24);
  border-left: 3px solid var(--orange);
  border-radius: 6px;
  background: rgba(10,24,34,.62);
  backdrop-filter: blur(10px);
}
.home-v9 .hero-proof > span { color: #f7b08a; font: 700 .68rem var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.home-v9 .hero-proof ul { display: grid; gap: .35rem; margin: .15rem 0 .2rem; padding: 0; list-style: none; }
.home-v9 .hero-proof li { display: grid; grid-template-columns: 2rem 1fr; gap: .55rem; align-items: baseline; padding-top: .35rem; border-top: 1px solid rgba(255,255,255,.13); }
.home-v9 .hero-proof li b { color: #f7b08a; font: 700 .64rem var(--mono); }
.home-v9 .hero-proof li strong { color: #fff; font-size: .82rem; line-height: 1.25; }
.home-v9 .hero-proof small { color: rgba(255,255,255,.74); font-size: .76rem; line-height: 1.4; }
.home-v9 .section-head h2 {
  max-width: 13ch;
  font-size: clamp(2.4rem, 4.15vw, 4.65rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.home-v9 .intake {
  background: var(--blue);
}
.home-v9 .brand-rail-section { background: var(--surface); }
.home-v9 .home-systems-section > .shell .service-grid {
  gap: .75rem;
  border: 0;
}
.home-v9 .home-systems-section > .shell .service-grid a {
  min-height: 238px;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2) {
  border-color: rgba(16,58,85,.72);
  background: var(--blue);
  color: #fff;
}
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2) h3,
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2) p,
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2) > span,
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2) i { color: #fff; }
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2) p { color: rgba(255,255,255,.76); }
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(-n+2)::after { border-color: rgba(255,255,255,.13); }
.home-v9 .home-systems-section > .shell .service-grid a:nth-child(3) { background: #eef1f1; }
.home-v9 .home-systems-section > .shell .service-grid a:hover { transform: translateY(-3px); }
.home-v9 .brand-directory-grid--home .brand-card {
  border-radius: 8px;
  min-height: 190px;
}
.home-v9 .brand-directory-grid--home .brand-card--priority {
  grid-column: span 2;
  min-height: 230px;
  border-color: var(--blue);
  background: var(--blue);
}
.home-v9 .brand-directory-grid--home .brand-card--priority .brand-card-mark {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
}
.home-v9 .brand-directory-grid--home .brand-card--priority .brand-card-copy strong,
.home-v9 .brand-directory-grid--home .brand-card--priority .brand-card-copy small,
.home-v9 .brand-directory-grid--home .brand-card--priority > i { color: #fff; }
.home-v9 .brand-directory-grid--home .brand-card--priority .brand-card-copy small { color: rgba(255,255,255,.74); }
.home-v9 .home-repair-section { background: var(--surface); }
.home-v9 .home-process-track.process-track--static { gap: .75rem; }
.home-v9 .home-process-track.process-track--static article {
  min-height: 205px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.home-v9 .home-process-track.process-track--static article > span { color: var(--blue-2); }

@media (max-width: 1100px) and (min-width: 801px) {
  .home-v9 .home-hero--editorial .home-copy { grid-template-columns: minmax(0, 1fr) 240px; gap: 2rem; }
  .home-v9 .brand-directory-grid--home .brand-card--priority { grid-column: span 1; }
}
@media (max-width: 800px) {
  .home-v9 .home-hero--editorial {
    min-height: min(820px, calc(100svh - 4px));
    padding: 112px 0 72px;
  }
  .home-v9 .home-hero--editorial .home-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-inline: 20px;
  }
  .home-v9 .home-hero--editorial .home-copy h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 11.5vw, 3.75rem);
  }
  .home-v9 .home-hero--editorial .home-copy > .hero-proof {
    max-width: 300px;
    margin: 0;
  }
  .home-v9 .brand-directory-grid--home .brand-card--priority { grid-column: auto; }
}
@media (max-width: 480px) {
  .home-v9 .home-hero--editorial {
    min-height: 770px;
    padding-top: 104px;
  }
  .home-v9 .home-hero--editorial .home-copy h1 { font-size: clamp(2.6rem, 12.3vw, 3.35rem); }
  .home-v9 .home-hero--editorial .home-copy .button-row { width: min(310px, 100%); }
  .home-v9 .home-hero--editorial .home-copy > .hero-proof { display: grid; }
}

/* V6 visual pass 02: restore the dark editorial contract of the systems hub. */
.section.systems-hub-intro {
  background: #06182a;
  color: #fcfbf8;
}
.section.systems-hub-intro .section-head h2,
.section.systems-hub-intro .systems-path-card h3 { color: #fcfbf8; }
.section.systems-hub-intro .eyebrow { color: #9bcbed; }
.section.systems-hub-intro .section-head p:not(.eyebrow),
.systems-path-card p { color: #b7c5cb; }
.systems-path-card {
  background: #0d2a3f;
  color: #fcfbf8;
}
.systems-path-card:hover { background: linear-gradient(145deg, #1769c2, #103a55); }
.systems-path-card > span,
.systems-path-card i { color: #9bcbed; }
.systems-path-card:hover p,
.systems-path-card:hover > span,
.systems-path-card:hover i { color: #fff; }

/* The public spare-parts facts sit on a dark surface and need the light data accent. */
.spare-search-section .source-facts li strong,
.spare-search-section--compact .source-facts li strong { color: #9bcbed; }
.spare-search-section .eyebrow,
.spare-search-section--compact .eyebrow { color: #9bcbed; }

/* Dedicated brand routes keep consultation useful without inventing catalog claims. */
.brand-detail-page .brand-detail-overview { padding-top: clamp(3rem, 7vw, 7rem); }
.brand-detail-grid { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 1.35fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.brand-detail-mark { min-height: 150px; display: grid; place-items: center; padding: 1.5rem; border-radius: var(--v6-radius); background: var(--blue-2); }
.brand-detail-mark img { width: min(260px, 100%); max-height: 100px; object-fit: contain; }
.brand-detail-mark strong { color: #fff; font: 600 clamp(1.8rem, 4vw, 3rem)/.9 var(--display); text-align: center; }
.brand-detail-grid .section-head { margin: 0; }
.brand-detail-grid .section-head h2 { max-width: 13ch; }
.brand-detail-facts { max-width: 75rem; margin: 0 auto; }
.brand-detail-facts .detail-grid { margin-top: 2.5rem; }
.brand-detail-facts .detail-grid article { min-height: 190px; }
.brand-detail-facts .detail-grid h3 { margin-top: 2.5rem; }
.brand-detail-next { padding-top: clamp(3rem, 7vw, 7rem); padding-bottom: clamp(4rem, 8vw, 9rem); }
.brand-detail-next .story-grid { align-items: start; }
.brand-detail-next .check-list { margin-top: 2rem; }
.brand-detail-contact { padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid var(--line); border-radius: var(--v6-radius); background: linear-gradient(to right, var(--surface) 0%, var(--surface) 68%, var(--blue) 68%, var(--blue) 100%) local; }
.brand-detail-contact h2 { margin: .4rem 0 .8rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: .94; }
.brand-detail-contact p:not(.eyebrow) { color: var(--muted); }
.brand-detail-contact .button { margin-top: 1rem; }
.brand-detail-contact .text-link { display: block; margin-top: 1.1rem; }
.brand-detail-page .hero-media-label { left: auto; right: 1rem; }
@media (max-width: 700px) {
  .brand-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .brand-detail-mark { min-height: 120px; }
  .brand-detail-grid .section-head h2 { max-width: none; }
}


/* Fix for #code input text color */
input#code, input#spare-code, .spare-search input, .spare-quantity input { color: #121a21 !important; background-color: #ffffff !important; }

/* Navigation (Next-Gen Enterprise) */
.site-header {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%) !important;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1240px) / 2)) !important;
  box-sizing: border-box;
  height: 90px !important;
  transition: background var(--v6-motion-standard) ease, box-shadow var(--v6-motion-standard) ease;
  border: none !important;
  border-radius: 0 !important;
  color: #fff !important;
  transform: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.site-header.fixed {
  background: var(--surface) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  color: var(--blue) !important;
}
.brand { color: inherit; transition: color var(--v6-motion-standard); }
.site-header.fixed .brand { color: var(--blue); }
.brand > img { transition: filter var(--v6-motion-standard); }
.site-header:not(.fixed) .brand > img { filter: brightness(0) invert(1) !important; }
.site-header.fixed .brand > img { filter: none !important; }

.brand-copy em { opacity: 0.8; }


.desktop-nav > a, .mega-trigger {
  color: #f3f4f6 !important;
  text-decoration: none;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  transition: color var(--v6-motion-fast);
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
}
.site-header.fixed .desktop-nav > a, .site-header.fixed .mega-trigger { color: var(--blue) !important; }
.desktop-nav > a:hover, .mega-trigger:hover, .mega-dropdown:hover .mega-trigger { color: #fff !important; }
.site-header.fixed .desktop-nav > a:hover, .site-header.fixed .mega-trigger:hover, .site-header.fixed .mega-dropdown:hover .mega-trigger { color: var(--blue-2) !important; }
.desktop-nav > a::after, .mega-trigger::after {
  content: '';
  position: absolute;
  bottom: 25px; 
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--blue-2); 
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--v6-motion-fast);
}
.desktop-nav > a:hover::after, .mega-dropdown:hover .mega-trigger::after { opacity: 1; }

.nav-search-link { 
  border: 1px solid rgba(255,255,255,0.7) !important;
  padding: 0 24px !important;
  border-radius: 30px !important;
  height: 40px !important;
  margin-left: 10px;
  display: inline-flex !important;
  align-items: center !important;
}
.site-header.fixed .nav-search-link { border-color: var(--blue) !important; color: var(--blue) !important; }
.nav-search-link:hover { background: var(--blue-2) !important; border-color: var(--blue-2) !important; color: #fff !important; }
.site-header.fixed .nav-search-link:hover { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }

/* MEGA MENU */
.mega-dropdown { position: static; height: 100%; display: flex; align-items: center; }
.mega-content {
  position: absolute;
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  width: 1050px; max-width: 90vw;
  background: var(--surface);
  border-radius: var(--radius-panel);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--v6-motion-standard) cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex; overflow-y: auto; overflow-x: hidden; max-height: calc(100vh - 110px);
  text-align: left;
}
@media (max-width: 1200px) {
  .mega-content { width: 95vw; }
}
.mega-dropdown:hover .mega-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  top: 90px;
}

.mega-left { flex: 0 0 66%; padding: 25px 40px; display: flex; }
.mega-cols { display: grid; align-items: start;  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 25px; width: 100%; }
.mega-content ul { list-style: none; padding: 0; margin: 0; }
.mega-brand > a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue) !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  text-decoration: none;
}
.mega-arrow { display: none; }
.mega-families { margin-bottom: 6px; }
.mega-families li { margin-bottom: 4px; }
.mega-family-title { display: none; }
.mega-families a {
  color: var(--muted) !important;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color var(--v6-motion-fast);
  background: transparent !important;
  display: block;
  line-height: 1.3;
}
.mega-families a:hover { color: var(--blue-2) !important; }

.mega-right { flex: 1; padding: 25px 32px; margin: 10px 10px 10px 0; background: var(--blue); border-radius: var(--radius-panel); color: #fff; display: flex; flex-direction: column; }
.mega-right img { width: 100%; height: 190px; object-fit: cover; border-radius: 8px; margin-bottom: 25px; background: #041c30; }
.mega-right h3 { margin: 0 0 12px 0; font-size: 18px; font-weight: 600; color: #fff; }
.mega-right p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0 0 30px 0; }
.mega-right > a { color: #fff !important; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; margin-top: auto; background: transparent !important; transition: gap var(--v6-motion-fast), color var(--v6-motion-fast); }
.mega-right > a:hover { color: #9bd2f8 !important; gap: 14px; }


/* --- NEXT-GEN MEGA MENU INJECTED --- */
.mega-content.split-layout {
  display: flex !important;
  flex-direction: row;
}
.mega-left {
  flex: 0 0 68%;
  padding: 25px 40px;
  display: flex;
}
.mega-right {
  flex: 0 0 32%;
  
  padding: 25px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.mega-right img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  background: #041c30;
}
.mega-right h3 {
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.mega-right p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 30px 0;
}
.mega-right > a {
  color: #fff !important;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.mega-right > a:hover {
  color: var(--blue-2) !important;
  gap: 14px;
}
.site-header {
  transition: background 0.4s ease, box-shadow 0.4s ease !important;
}
/* --- END INJECTED --- */



[hidden] { display: none !important; }
.button-light { color: #121a21 !important; }
.spare-preview-container { margin-top: 1.5rem; background: rgba(2, 10, 22, 0.4); padding: 1.25rem; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.spare-preview-text { resize: vertical; min-height: 140px; font-size: 0.95rem; color: #fff; background: rgba(0,0,0,0.3); padding: 1rem; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); width: 100%; margin-top: 0.5rem; }
.spare-selection-head > span, [data-spare-selection-count], .spare-selection-head p { color: #9bcbed !important; }


.mega-right img { width: 100%; max-height: 140px; object-fit: cover; border-radius: 4px; margin-bottom: 1rem; }


.mega-content::-webkit-scrollbar { width: 8px; }
.mega-content::-webkit-scrollbar-track { background: var(--surface); border-radius: 0 12px 12px 0; }
.mega-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.mega-content::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

.mega-trigger::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--surface);
  filter: drop-shadow(0 -4px 4px rgba(8, 27, 42, 0.12));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99;
}
.mega-dropdown:hover .mega-trigger::before {
  opacity: 1;
  visibility: visible;
}


/* Hito 1+1.B: Concepto Visual del Hero (consolidado — elimina bloques duplicados) */
.home-v9 .home-hero--editorial .home-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  max-width: 800px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-inline: 32px !important;
  gap: 0 !important;
}

.home-v9 .home-hero--editorial .home-copy h1 {
  max-width: 100% !important;
  font-size: clamp(2.5rem, 5vw, 4.2rem) !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
}

.home-v9 .home-hero--editorial .home-copy h1 em {
  color: var(--cyan) !important;
  font-style: normal !important;
}

.home-v9 .home-hero--editorial .home-copy p:not(.coverage-line):not(.eyebrow) {
  max-width: 60ch !important;
  font-size: 1.15rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 1.5rem !important;
}

.home-v9 .home-hero--editorial .home-copy .button-row {
  display: flex !important;
  gap: 1rem !important;
  margin-bottom: 1.5rem !important;
  order: 4 !important;
}

.home-v9 .home-hero--editorial .home-copy .coverage-line {
  order: 5 !important;
  margin-top: 1rem !important;
  font-size: 0.85rem !important;
  color: #a0aec0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.home-v9 .home-hero--editorial .home-hero-media::after {
  background: linear-gradient(90deg, rgba(7,31,53,0.92) 0%, rgba(7,31,53,0.7) 45%, rgba(7,31,53,0.15) 100%), linear-gradient(0deg, rgba(7,31,53,0.8), transparent 50%) !important;
}

.home-v9 .home-hero--editorial .home-copy > .hero-proof {
  display: none !important;
}

.home-v9 .home-hero--editorial .hero-proof { display: none !important; }

.home-v9 .home-hero--editorial .button-ghost { color: #fff !important; border-color: rgba(255,255,255,0.4) !important; }
.home-v9 .home-hero--editorial .button-ghost:hover { background: rgba(255,255,255,0.15) !important; border-color: #fff !important; }

.home-v9 .home-hero--editorial .button-primary {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}
.home-v9 .home-hero--editorial .button-primary:hover {
  background: var(--blue-2) !important;
  border-color: var(--blue-2) !important;
}

.home-v9 .home-hero--editorial .hero-context-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}


/* Hito 2: Megamenu Styling Polish */
.mega-content {
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(7, 31, 53, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.mega-right {
  background: var(--blue);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-right h3 {
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.mega-right p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.mega-right a {
  color: #fff !important; /* base L2019 usa !important en mismo selector */
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mega-right img {
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* El pseudo-elemento flecha arriba del menú debe apuntar hacia el fondo blanco de mega-content */
.mega-trigger::before {
  border-bottom-color: var(--surface);
}

/* Mejorar columnas de enlaces en mega-left */
.mega-left {
  padding: 40px;
}
.mega-brand > a {
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 8px;
}
.mega-families a {
  font-size: 14px;
  padding: 4px 0;
  display: inline-block;
}
.mega-families a:hover {
  color: var(--blue) !important; /* base L1970 usa !important con color diferente (var(--blue-2)) */
}



/* Hito 3: Industry Strip */
.home-industry-strip {
  background: #fff;
  padding: 32px 0 48px;
  position: relative;
  z-index: 10;
}
.home-industry-strip .shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.home-industry-strip .strip-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.home-industry-strip .strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}
.home-industry-strip .strip-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.home-industry-strip .strip-item:hover {
  border-bottom-color: var(--blue);
  transform: translateY(-2px);
}
.home-industry-strip .strip-item svg {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 16px;
  stroke: var(--blue);
  stroke-width: 1.5px;
}
.home-industry-strip .strip-item .strip-text-container {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
}
.home-industry-strip .strip-item span:not(.strip-arrow) {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}
.home-industry-strip .strip-arrow {
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}
.home-industry-strip .strip-item:hover .strip-arrow {
  opacity: 1;
  transform: translateX(0);
}


/* Hito 4: Responsive Adaptation */
@media (max-width: 900px) {
  /* Hero */
  .home-v9 .home-hero--editorial .home-copy {
    padding-inline: 24px !important;
  }
  .home-v9 .home-hero--editorial .home-copy h1 {
    font-size: 2.5rem !important;
  }
  
  /* Industry Strip */
  .home-industry-strip .strip-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
  }

  /* Mega Menu Stacking */
  .mega-content.split-layout {
    flex-direction: column !important;
  }
  .mega-left {
    flex: 0 0 100% !important;
    padding: 24px !important;
  }
  .mega-right {
    flex: 0 0 100% !important;
    padding: 24px !important;
    border-radius: 0 0 12px 12px !important;
  }
}

@media (max-width: 600px) {
  /* Hero */
  .home-v9 .home-hero--editorial .home-copy {
    padding-inline: 16px !important;
  }
  .home-v9 .home-hero--editorial .home-copy h1 {
    font-size: 2rem !important;
  }
  .home-v9 .home-hero--editorial .button-row {
    flex-direction: column !important;
    width: 100% !important;
  }
  .home-v9 .home-hero--editorial .button-row a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  
  /* Industry Strip */
  .home-industry-strip .strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .home-industry-strip .strip-label {
    text-align: center;
  }
  .home-industry-strip .strip-item {
    align-items: center;
    text-align: center;
    padding-right: 0 !important;
  }
  .home-industry-strip .strip-item .strip-text-container {
    justify-content: center !important;
    align-items: center !important;
  }
  .home-industry-strip .strip-arrow {
    display: none !important; /* Esconder la flecha en mobile para mantener el centrado limpio */
  }
}

@media (min-width: 1101px) {
  .desktop-nav { display: flex !important; align-items: center; gap: 20px !important; margin: 0 auto !important; height: 100% !important; position: static !important; }
}

@media (max-width: 1100px) {
  .desktop-nav { display: none !important; }
  .site-header { padding: 0 16px !important; }
}


@media (max-width: 1100px) {
  .home-hero--editorial .home-copy {
    padding-top: 120px !important;
  }
}
@media (max-width: 600px) {
  .home-hero--editorial .home-copy {
    padding-top: 96px !important; /* Título cerca de la cabecera */
  }
}


.mobile-nav-panel {
  width: 100%;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 500;
  text-decoration: none;
}
.mobile-nav-links a:last-child {
  border-bottom: none;
}
.mobile-nav-links .nav-arrow {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .menu-panel {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    transform: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fcfbf8 !important; /* Panel claro */
    z-index: 1000 !important;
    overflow-y: auto !important;
    padding: 32px 24px 48px !important;
  }
  .mobile-nav-panel {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }
}


.mobile-nav-panel .button-primary {
  background-color: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
  font-size: 1.1rem;
  padding: 16px;
  border-radius: 8px;
  margin-top: 24px;
}
.mobile-menu-close {
  padding: 8px;
  margin: -8px;
}


.mobile-search-icon {
  display: none;
  color: var(--ink);
  padding: 8px;
  margin-right: 8px;
}
@media (max-width: 1100px) {
  .mobile-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }
  .menu-button {
    margin-left: 0 !important;
  }
  .site-header:not(.fixed) .menu-button {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }
  .site-header:not(.fixed) .menu-button span {
    color: #fff !important;
  }
  .site-header:not(.fixed) .mobile-search-icon {
    color: #fff !important;
  }
}

/* Hito 3: Desahogo del Hero en resoluciones Tablet */
@media (max-width: 1100px) and (min-width: 801px) {
  .home-copy h1 {
    font-size: clamp(3rem, 7vw, 4rem) !important;
    max-width: 14ch !important;
  }
  .home-copy > p:not(.eyebrow):not(.coverage-line):not(.service-phrase) {
    max-width: 500px !important;
  }
  .hero-video-card {
    width: 220px !important;
    right: 24px !important;
    bottom: 80px !important;
  }
}

/* Hito 10.2-A — Home first-viewport finish, CSS-only and scoped to home-v9. */
.home-v9 .home-hero--editorial .home-copy {
  width: min(1240px, 100%) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: 32px !important;
  align-items: flex-start !important;
}

.home-v9 .home-hero--editorial .home-copy h1 {
  max-width: 12ch !important;
  margin-bottom: 1.05rem !important;
  font-size: clamp(3.4rem, 5.8vw, 5.75rem) !important;
  line-height: .92 !important;
  text-wrap: balance;
}

.home-v9 .home-hero--editorial .home-copy p:not(.coverage-line):not(.eyebrow) {
  max-width: 58ch !important;
  text-wrap: balance;
}

.home-v9 .home-hero--editorial .home-copy .coverage-line {
  order: 3 !important;
  margin: .1rem 0 1rem !important;
}

.home-v9 .home-hero--editorial .home-copy .button-row {
  order: 4 !important;
  margin-bottom: 0 !important;
}

.home-v9 .home-systems-section > .shell .service-grid a,
.home-v9 .brand-directory-grid--home .brand-card,
.home-v9 .home-process-track.process-track--static article {
  transition: transform var(--v6-motion-standard) ease,
    border-color var(--v6-motion-standard) ease,
    background-color var(--v6-motion-standard) ease,
    box-shadow var(--v6-motion-standard) ease;
}

@media (max-width: 900px) {
  .home-v9 .home-hero--editorial .home-copy {
    padding-inline: 24px !important;
  }

  .home-v9 .home-hero--editorial .home-copy h1 {
    font-size: clamp(2.75rem, 9.5vw, 4.4rem) !important;
  }
}

@media (max-width: 600px) {
  .home-v9 .home-hero--editorial .home-copy {
    padding-inline: 16px !important;
  }

  .home-v9 .home-hero--editorial .home-copy h1 {
    max-width: 11ch !important;
    font-size: clamp(2.65rem, 11.5vw, 3.65rem) !important;
  }
}

/* ========================================= */
/* HITO V1 - LIQUID INDUSTRIAL GLASS (AG-R1) */
/* ========================================= */

.site-header {
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, color 0.3s ease !important;
}

.site-header.fixed {
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(8, 27, 42, 0.08) !important;
  box-shadow: 0 16px 48px rgba(8, 27, 42, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  color: var(--ink) !important;
}

.site-header.fixed .brand > img {
  filter: none !important;
}

.site-header.fixed .desktop-nav > a:not(.nav-search-link),
.site-header.fixed .mega-trigger {
  color: var(--muted) !important;
}

.site-header.fixed .desktop-nav > a:not(.nav-search-link):hover,
.site-header.fixed .desktop-nav > a:not(.nav-search-link):focus-visible,
.site-header.fixed .desktop-nav > a:not(.nav-search-link)[aria-current="page"],
.site-header.fixed .mega-trigger:hover,
.site-header.fixed .mega-trigger:focus-visible {
  color: var(--v6-ink) !important;
  background: rgba(8, 27, 42, 0.05) !important;
}

.site-header.fixed .menu-button {
  color: var(--ink) !important;
}

/* Mega-Menu Desktop Glass */
.mega-content {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(8, 27, 42, 0.06) !important;
  border-top: none !important;
  box-shadow: var(--shadow) !important;
  border-radius: 0 0 var(--v6-radius) var(--v6-radius) !important;
}

.mega-content .split-layout .mega-left {
  border-right: 1px solid rgba(8, 27, 42, 0.06) !important;
}

/* Formalización de proporciones del Hero H10.2-A */
.home-v9 .home-hero--editorial .home-copy {
  width: min(1240px, 100%) !important;
  max-width: none !important;
  margin-inline: auto !important;
  padding-inline: max(24px, calc((100vw - 1240px) / 2)) !important;
  align-items: flex-start !important;
}

.home-v9 .home-hero--editorial .home-copy h1 {
  max-width: 12ch !important;
  margin-bottom: 1.05rem !important;
  font-size: clamp(3.4rem, 5.8vw, 5.75rem) !important;
  line-height: .92 !important;
  text-wrap: balance !important;
}

.home-v9 .home-hero--editorial .home-copy p:not(.coverage-line):not(.eyebrow) {
  max-width: 58ch !important;
  text-wrap: balance !important;
}

/* ========================================= */
/* HITO V2 - LIQUID INDUSTRIAL GLASS (MÓVIL) */
/* ========================================= */

.menu-panel {
  background: rgba(7, 31, 53, 0.85) !important; /* Azul petróleo translúcido */
  backdrop-filter: blur(16px) !important;
}

.mobile-nav-panel .eyebrow {
  color: var(--cyan) !important; 
}

.mobile-menu-close {
  color: #fff !important; 
}

.mobile-nav-links a {
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.mobile-nav-links a:hover, 
.mobile-nav-links a:focus-visible {
  color: var(--cyan) !important;
  border-color: rgba(103, 200, 243, 0.3) !important;
}

.mobile-nav-links a span.nav-arrow, 
.mobile-nav-links a svg {
  color: rgba(255, 255, 255, 0.4) !important;
}

.mobile-nav-links a:hover svg {
  color: var(--cyan) !important;
}

/* Technological Brand Carousel */
.brand-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.brand-carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: brandScroll 60s linear infinite;
}
.brand-carousel-track:hover {
  animation-play-state: paused;
}
@keyframes brandScroll {
  to { transform: translateX(calc(-33.333333% - 0.666rem)); }
}
.brand-carousel-card {
  flex: 0 0 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(12,42,67,.92), rgba(5,18,31,.96));
  border: 1px solid var(--line);
  border-radius: var(--v6-radius, 12px);
  transition: transform var(--v6-motion-standard) ease, box-shadow var(--v6-motion-standard) ease;
}
.brand-carousel-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(145deg, rgba(15,61,95,.95), rgba(5,18,31,.96));
  border-color: rgba(103, 200, 243, 0.3);
}
.brand-carousel-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.brand-carousel-mark img {
  max-width: 100%;
  max-height: 52px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8) brightness(1.5);
  transition: filter var(--v6-motion-fast) ease;
}
.brand-carousel-card:hover .brand-carousel-mark img {
  filter: grayscale(0%) opacity(1) brightness(1);
}


/* R1 — scoped navigation repair, preserving the light split-layout menus. */
.nav-r1 .mega-control { position: relative; display: flex; align-items: center; height: 100%; }
.nav-r1 .mega-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 44px; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer;
}
.nav-r1.fixed .mega-toggle { color: var(--blue); }
.nav-r1 .mega-trigger, .nav-r1 .mega-trigger:hover,
.nav-r1.fixed .mega-trigger, .nav-r1.fixed .mega-trigger:hover {
  background: transparent !important;
}
.nav-r1 .mega-trigger::before { display: none; }
.nav-r1 .mega-control::before {
  content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  border-left: 10px solid transparent; border-right: 10px solid transparent;
  border-bottom: 10px solid #f5f6f8; opacity: 0; visibility: hidden;
  filter: drop-shadow(0 -3px 3px rgba(8,27,42,.12));
}
.nav-r1 .mega-dropdown.is-open .mega-control::before,
.nav-r1 .mega-dropdown:not([data-nav-ready]):hover .mega-control::before,
.nav-r1 .mega-dropdown:not([data-nav-ready]):focus-within .mega-control::before { opacity: 1; visibility: visible; }
.nav-r1 .mega-content {
  top: calc(100% + 10px); margin-top: 0; width: 1050px; max-width: calc(100vw - 40px);
  border-radius: 24px !important; background: #f5f6f8 !important; color: #162c3b;
  transition: none;
  box-shadow: 0 20px 40px rgba(8,27,42,.22) !important;
  overflow-y: auto !important; overflow-x: hidden !important; max-height: calc(100dvh - 120px);
}
.nav-r1 .mega-dropdown.is-open .mega-content,
.nav-r1 .mega-dropdown:not([data-nav-ready]):hover .mega-content,
.nav-r1 .mega-dropdown:not([data-nav-ready]):focus-within .mega-content {
  top: calc(100% + 10px); opacity: 1; visibility: visible; pointer-events: auto;
}
.nav-r1 .mega-left { flex: 1 1 0; min-width: 0; padding: 32px; }
.nav-r1 .mega-col-p0 > .mega-brand { color: #162c3b; font-size: 15px; font-weight: 600; }
.nav-r1 .mega-col-p0 .mega-families { margin-top: 12px; }
.nav-r1 .mega-left a {
  display: block; color: #425665 !important; font-size: 14px; font-weight: 500;
  line-height: 1.4; padding: 7px 8px; background: transparent !important;
}
.nav-r1 .mega-left a:hover, .nav-r1 .mega-left a:focus-visible {
  color: #004aad !important; background: rgba(0,74,173,.07) !important;
}
.nav-r1 .mega-simple-list { display: grid; align-content: start; gap: 4px; width: 100%; }
.nav-r1 .mega-simple-list a { font-size: 15px; padding: 12px; }
.nav-r1 .mega-right {
  flex: 0 0 32%; min-width: 0; margin: 10px; padding: 30px 24px;
  border-radius: 16px; background: #004aad; color: #fff;
}
.nav-r1 .mega-right > a, .nav-r1.fixed .mega-right > a {
  color: #fff !important; background: transparent !important; line-height: 1.4;
  padding: 10px 0; font-size: 14px; text-transform: none;
}
.nav-r1 .mega-right > a:hover, .nav-r1 .mega-right > a:focus-visible {
  color: #fff !important; text-decoration: underline; text-underline-offset: 4px;
}
.site-header.nav-r1 .desktop-nav > .nav-search-link, .site-header.nav-r1.fixed .desktop-nav > .nav-search-link {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 24px !important; border-radius: 999px;
  background: #1269db !important; color: #fff !important;
  text-transform: none; letter-spacing: 0; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(24,119,242,.25);
}
.site-header.nav-r1 .desktop-nav > .nav-search-link:hover, .site-header.nav-r1 .desktop-nav > .nav-search-link:focus-visible,
.site-header.nav-r1.fixed .desktop-nav > .nav-search-link:hover, .site-header.nav-r1.fixed .desktop-nav > .nav-search-link:focus-visible {
  background: #0e53b8 !important; color: #fff !important;
}
.nav-r1 .nav-search-link::after { display: none; }
.nav-r1 a:focus-visible, .nav-r1 button:focus-visible {
  outline: 2px solid #67c8f3; outline-offset: 4px;
}
.nav-r1.fixed a:focus-visible, .nav-r1.fixed button:focus-visible,
.nav-r1 .mega-left a:focus-visible { outline-color: #004aad; }
.nav-r1 .mega-right a:focus-visible { outline-color: #fff; }
@media (min-width: 1101px) and (max-width: 1280px) {
  .nav-r1 .desktop-nav { gap: 14px !important; }
  .nav-r1 .nav-search-link { padding-inline: 18px !important; }
}

/* REC-02 - isolated composition pilot; colors and shared components remain REC-03. */
body.systems-hub main :is(.systems-path-grid, .brand-directory-grid) {
  gap: clamp(.8rem, 1.2vw, 1.2rem);
}
body.systems-hub main :is(.systems-path-card, .brand-directory-card) {
  min-width: 0;
}
body.machinery main :is(.machinery-columns, .machinery-help) > * {
  min-width: 0;
}
body.machinery main :is(.machinery-columns, .machinery-help) .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
body.machinery main :is(.machinery-columns, .machinery-help) .section-head h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 3.6rem);
  line-height: 1.05;
}
body.machinery main :is(.machinery-columns, .machinery-help) .section-head > p:last-child {
  min-width: 0;
  max-width: none;
  margin: 0;
}
body.machinery main .intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
body.machinery main .intent-grid article {
  min-width: 0;
  min-height: 0;
  padding: 1.25rem;
}
body.machinery main .intent-grid h3 {
  margin: 2rem 0 .75rem;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.12;
}
body.machinery main .intent-grid article p {
  margin: 0;
}
body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main > .section.soft > .shell > .detail-grid {
  gap: clamp(.8rem, 1.2vw, 1.2rem);
}
body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main > .section.soft > .shell > .detail-grid > article {
  min-width: 0;
}
@media (max-width: 1100px) {
  body.machinery main :is(.machinery-columns, .machinery-help) {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 800px) {
  body.machinery main .intent-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* End REC-02 composition pilot. */

/* REC-VISUAL-CORE - local visual candidate. REC-02 geometry retained above.
   Scope: core journey and serious Case contrast; Home/navigation are controls. */
body:is(.systems-hub, .machinery, .postventa, .technical-page, .flygt-page,
  :where(:has(> main .case-index), :has(> main > .case-hero),
    :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"])))) main :is(.section.soft, .section.light, .brand-directory-section) {
  background: #f0f3f7;
  color: #081b2a;
}
body:is(.systems-hub, .machinery, .postventa, .flygt-page,
  :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) main .section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.06;
}
body:is(.systems-hub, .machinery, .postventa, .flygt-page,
  :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) main :is(.detail-grid, .service-grid, .brand-directory-grid) {
  gap: 1rem;
  border: 0;
  background: transparent;
}
body:is(.systems-hub, .machinery, .postventa, .flygt-page,
  :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) main :is(.detail-grid > article, .service-grid > a, .brand-directory-card) {
  min-width: 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
  color: #081b2a;
}
body.systems-hub main .brand-directory-mark {
  background: #fff;
  border: 1px solid #e1e7ec;
  min-height: 80px;
  align-items: center;
}
body.systems-hub main .brand-directory-card:hover {
  border-color: #1968c5;
  box-shadow: 0 8px 24px rgba(8, 27, 42, .08);
}
body.machinery main .intent-grid article {
  border-radius: 12px;
  background: #0d2a3f;
}
body:is(.postventa, .flygt-page) main .home-despiece {
  background: #071f35;
  color: #fcfbf8;
}
body:is(.postventa, .flygt-page) main .home-despiece-copy .section-head h2 { color: #fcfbf8; }
body:is(.postventa, .flygt-page) main .home-despiece-copy .section-head p:not(.eyebrow) { color: #c2d2df; }
body:is(.postventa, .technical-page, .flygt-page) main .tech-explorer {
  --ink: #fcfbf8;
  --text: #fcfbf8;
  --muted: #c2d2df;
  --muted-2: #a6bac9;
  --line: rgba(194, 210, 223, .22);
  --line-strong: rgba(194, 210, 223, .5);
  min-width: 0;
  border-color: #466c88;
  border-radius: 12px;
  color: #fcfbf8;
}
body:is(.postventa, .technical-page, .flygt-page) main .tech-inspector {
  background: #0d2a3f;
  color: #fcfbf8;
}
body:is(.postventa, .technical-page, .flygt-page) main .tech-inspector h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.8rem, 2.7vw, 2.6rem);
  line-height: 1.08;
  color: #fcfbf8;
}
body:is(.postventa, .technical-page, .flygt-page) main .tech-inspector p:not(.eyebrow) { color: #c2d2df; }
body:is(.postventa, .technical-page, .flygt-page) main .tech-inspector :is(.eyebrow, .tech-part-list strong) { color: #9bcbed; }
body:is(.postventa, .technical-page, .flygt-page) main .tech-lookup input {
  min-width: 0;
  color: #081b2a;
  background: #fff;
}
body:is(.postventa, .technical-page, .flygt-page) main :is(.tech-lookup, .spare-search) input::placeholder { color: #52677a; opacity: 1; }
body:is(.postventa, .technical-page, .flygt-page) main .tech-part-list a {
  padding: .5rem .2rem;
  color: #fcfbf8;
  text-decoration: underline;
  text-underline-offset: .2em;
}
body:is(.postventa, .technical-page, .flygt-page) main .tech-hotspot.is-selected {
  background: #004aad;
  color: #fff;
}
body.technical-page main .technical-viewer-section > * { min-width: 0; }
body.technical-page main .technical-source {
  background: #fff;
  border-color: #d8e0e7;
  border-radius: 12px;
  color: #081b2a;
}
body.technical-page main .technical-source strong { color: #004aad; }
body.technical-page main .tech-explorer {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
body:is(.postventa, .flygt-page) main .spare-search-layout > * { min-width: 0; }
body:is(.postventa, .flygt-page) main .spare-search-section { background: #071f35; }
body:is(.postventa, .flygt-page) main .spare-search {
  border-radius: 12px;
  border-color: #466c88;
  background: #071f35;
}
body:is(.postventa, .flygt-page) main .spare-result { border-radius: 8px; }
body:is(.postventa, .flygt-page) main .spare-selection-head h3 { color: #fcfbf8; }
body:is(.postventa, .flygt-page) main .spare-selection-head > span { color: #9bcbed; }
body:is(.systems-hub, .machinery, .postventa, .technical-page, .flygt-page,
  :where(:has(> main .case-index), :has(> main > .case-hero),
    :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"])))) main .cta-band {
  background: #004aad;
  color: #fff;
}
body:is(.systems-hub, .machinery, .postventa, .technical-page, .flygt-page,
  :where(:has(> main .case-index), :has(> main > .case-hero),
    :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"])))) main .cta-band p { color: #edf4fc; }
body:is(.systems-hub, .machinery, .postventa, .technical-page, .flygt-page,
  :where(:has(> main .case-index), :has(> main > .case-hero),
    :has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) :is(main, .site-footer) .button-light { color: #081b2a; }
body:is(.systems-hub, .machinery, .postventa, .technical-page, .flygt-page,
  :where(:has(> main .case-index), :has(> main > .case-hero),
    :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"])))) main .button-primary {
  background: #004aad;
  border-color: #004aad;
  color: #fff;
}
body:is(.systems-hub, .machinery, .postventa, .technical-page, .flygt-page,
  :where(:has(> main .case-index), :has(> main > .case-hero),
    :has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) :is(main, .site-footer) :is(a, button, input, summary):focus-visible {
  outline: 3px solid #1968c5;
  outline-offset: 4px;
}
body:is(.postventa, .technical-page, .flygt-page) main :is(.tech-explorer, .spare-search-section) :is(a, button, input):focus-visible {
  outline-color: #9bcbed;
}
.site-footer {
  --muted: #c2d2df;
  --muted-2: #a6bac9;
  --line: rgba(194, 210, 223, .22);
  color: #fcfbf8;
}
.site-footer .footer-grid > div > h3 { color: #9bcbed; }
.site-footer .footer-brand > img {
  background: #fcfbf8;
  padding: .5rem;
  border-radius: 6px;
}
/* Case structure and REC-01 documentary content remain unchanged. */
body:has(> main .case-index) main .case-index > a,
body:has(> main > .case-hero) main :is(.case-facts, .case-article aside > .section-head) {
  background: #fff;
  color: #081b2a;
}
body:has(> main .case-index) main .case-index p,
body:has(> main > .case-hero) main .case-facts span { color: #52677a; }
body:has(> main > .case-hero) main .case-article aside > .section-head h2 {
  font-size: clamp(1.6rem, 2.1vw, 2rem);
  line-height: 1.08;
  overflow-wrap: break-word;
}
body:is(.systems-hub, .machinery, .postventa, .flygt-page,
  :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) main .section:not(.dark) :is(.button-ghost, .text-link) {
  color: #004aad;
  border-color: #1968c5;
}
body:is(.systems-hub, .machinery, .postventa, .flygt-page) main .section:is(.systems-hub-intro, .home-despiece, .spare-search-section) :is(.button-ghost, .text-link) {
  color: #9bcbed;
  border-color: #466c88;
}
body:is(.postventa, .technical-page, .flygt-page) main .section .tech-explorer .button-ghost { color: #9bcbed; }
body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main .visual-rail .eyebrow { color: #9bcbed; }
body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main blockquote footer { color: #52677a; }
@media (max-width: 1100px) {
  body.technical-page main .tech-explorer { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  body:is(.systems-hub, .machinery, .postventa, .flygt-page,
    :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) main .section-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}
body.systems-hub main .brand-directory-mark:has(img[src*="white"]) { background: #0d2a3f; }
body.systems-hub main .brand-directory-mark:has(img[src$="/rowa.svg"]) { background: #0d2a3f; }
body.flygt-page main .section.soft .shell > div > .section-head { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
body.flygt-page main .section.soft .shell > div > .section-head h2 { max-width: none; }
body.postventa main .home-despiece-copy .eyebrow { color: #9bcbed; }
body.postventa main .section.soft p:not(.eyebrow) { color: #52677a; }
body.postventa main .section.soft { --muted: #52677a; }
body.machinery main .machinery-hero .button-ghost { background: #071f35; color: #c2d2df; border-color: #466c88; }
body.machinery main .machinery-hero-mark > span { color: #fff; }
body.machinery main .machinery-hero-mark strong { font-size: clamp(2rem, 3vw, 3rem); }
body.machinery main .machinery-hero-mark { margin-right: 1rem; }
body.machinery main .machinery-hero-copy .service-phrase { color: #ffe3d3; }
body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main .visual-track figure { background: #0d2a3f; }
body:has(> main > .case-hero) main .case-facts { padding-inline: max(16px, calc((100vw - 1240px) / 2)); }
body:has(> main > .case-hero) main .case-facts > div { min-width: 0; padding: 1rem 1.25rem; }
@media (max-width: 1100px) {
  body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main .visual-rail-head { display: block; }
  body:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]) main .visual-rail-controls { margin-top: 1.25rem; justify-content: start; }
}
.site-footer .button-light { color: #081b2a; }
.site-footer :is(a, button):focus-visible { outline: 3px solid #9bcbed; outline-offset: 4px; }
.site-footer .footer-brand > img { filter: brightness(0) invert(1); background: transparent; padding: 0; }
body:is(.postventa, .flygt-page) main .spare-result > strong { color: #9bcbed; }
body:is(.systems-hub, .machinery, .postventa, .flygt-page,
  :where(:has(> main > .inner-hero .inner-media img[src="/v5/assets/cases/flygt3231/flygt3231-hero-1280.jpg"]))) main .section:not(.dark) :is(.button-ghost, .text-link):hover {
  background-color: #e6edf6;
  color: #004aad;
}
body:is(.systems-hub, .postventa, .flygt-page) main .section:is(.systems-hub-intro, .home-despiece, .spare-search-section) :is(.button-ghost, .text-link):hover,
body:is(.postventa, .technical-page, .flygt-page) main .section .tech-explorer .button-ghost:hover {
  background-color: #143e57;
  color: #fff;
}
body:has(> main > .case-hero) main .case-hero .service-phrase { color: #c5dedd; }
body:has(> main > .case-hero) main .gallery-grid figure { background: #fff; }
/* End REC-VISUAL-CORE. */

/* REC-03 — family surface contract. Canonical base: ad0f317.
   Product scope: main only. Navigation, content and REC-02 geometry stay intact.
   Full-page chapters and cards carry one continuous surface; the navigation
   split is intentional and is outside this package. */

/* CP1: service chapters and their shared detail cards. */
body:where(:not(.home)) main :is(.section.soft, .section.light) {
  background: #f0f3f7;
  color: #081b2a;
}
body:where(:not(.home, .systems-hub, .machinery, .postventa, .technical-page, .flygt-page))
  main .section .section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.06;
}
body:where(:not(.home, .systems-hub, .machinery, .postventa, .flygt-page))
  main .detail-grid {
  gap: 1rem;
  border: 0;
  background: transparent;
}
body:where(:not(.home, .systems-hub, .machinery, .postventa, .flygt-page))
  main .detail-grid > article {
  min-width: 0;
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
  color: #081b2a;
}

/* CP2: brand directory and consultation panels; logo variants stay intact. */
body.marcas main .brand-directory-card,
body.brand-detail-page main .brand-detail-contact {
  min-width: 0;
  border-color: #d8e0e7;
  border-radius: 12px;
  background: #fff;
  color: #081b2a;
}
body.marcas main .brand-directory-card:is(:hover, :focus-within) {
  background: #fff;
  border-color: #1968c5;
  box-shadow: 0 8px 24px rgba(8, 27, 42, .08);
}
body.brand-detail-page main .brand-detail-contact p:not(.eyebrow) {
  color: #52677a;
}
body.brand-detail-page main .brand-detail-contact .text-link,
body.lowara-page main .section.soft .button-ghost {
  color: #004aad;
  border-color: #1968c5;
}
body.brand-detail-page main .brand-detail-contact .text-link:hover,
body.lowara-page main .section.soft .button-ghost:hover {
  background-color: #e6edf6;
  color: #004aad;
}

/* CP3: shared article sidebars, contact cards and the copyable brief. */
body main :is(.knowledge-layout aside > div, .contact-cards > *, .brief) {
  min-width: 0;
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
  color: #081b2a;
}
body main :is(.knowledge-layout aside > div, .brief) p:not(.eyebrow),
body main .contact-cards small,
body main .brief small {
  color: #52677a;
}
body main .contact-cards {
  gap: 1rem;
  border: 0;
}
body main .contact-cards :is(strong, h3) {
  color: #081b2a;
}
body main .contact-cards :is(span, i),
body main .knowledge-layout aside .text-link {
  color: #004aad;
}
body main .contact-cards a:is(:hover, :focus-visible) {
  background: #f0f3f7;
  border-color: #1968c5;
  box-shadow: 0 8px 24px rgba(8, 27, 42, .08);
}
body main .knowledge-layout aside .text-link:hover {
  background: #e6edf6;
  color: #004aad;
}
body main :is(.knowledge-layout aside, .brand-detail-contact) .button-primary {
  background: #004aad;
  border-color: #004aad;
  color: #fff;
}
body main :is(.knowledge-layout aside, .brand-detail-contact) .button-primary:hover {
  background: #073c83;
  border-color: #073c83;
}
body main :is(.knowledge-layout aside, .brand-detail-contact) .text-link {
  min-height: 44px;
}
body main :is(.knowledge-layout aside, .brand-detail-contact, .contact-cards, .brief)
  :is(a, button):focus-visible {
  outline: 3px solid #1968c5;
  outline-offset: 4px;
}

/* CP4: closing CTA is a blue chapter; the inline informational variant is light. */
body main > .cta-band {
  background: #004aad;
  color: #fff;
}
body main > .cta-band h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.06;
}
body main > .cta-band p {
  color: #edf4fc;
}
body main > .cta-band .button-light {
  color: #081b2a;
}
body main > .cta-band .text-link {
  min-height: 44px;
  color: #fff;
}
body main > .cta-band .text-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .2em;
}
body main > .cta-band :is(a, button):focus-visible {
  outline: 3px solid #c5dedd;
  outline-offset: 4px;
}
body.postventa main .section.soft .cta-band {
  color: #081b2a;
}

/* Exposed captions and reserve backgrounds share the frame's own surface.
   Photographic overlays and intentional technical gradients are retained. */
body main :is(.gallery-grid figure, .knowledge-hero, .story-media) {
  background: #fff;
}
body main .visual-track figure {
  background: var(--surface);
}
body main :is(.gallery-grid figure, .knowledge-hero) {
  border-color: #d8e0e7;
  border-radius: 12px;
}
body main :is(.gallery-grid, .knowledge-hero) figcaption {
  color: #52677a;
}
/* End REC-03 family surface contract. */

/* CP6 visual QA: brand cards contain a legacy inline 200px logo column.
   Override that column only for this family at narrow widths; preserve HTML. */
body.marcas main .brand-directory-card > div {
  min-width: 0;
}
@media (max-width: 800px) {
  body.marcas main .brand-directory-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.marcas main .brand-directory-card .brand-directory-mark {
    width: 100%;
    max-width: 200px;
    min-height: 80px;
    height: auto !important;
    justify-self: start;
  }
  body.marcas main .brand-directory-mark img {
    width: min(160px, 100%);
    max-height: 72px;
    object-fit: contain;
  }
}

/* CP6 final family review: metadata must follow the actual chapter surface. */
body main :is(.visual-rail, .visual-rail-dark) .eyebrow {
  color: #9bcbed;
}
body main .section:not(.dark) blockquote footer {
  color: #52677a;
}

/* REC-04 CP1-CP2: case index and documentary cards.
   Presentation source only; REC-01 data, HTML, media and routes stay protected. */
body:has(> main .case-index) main > .inner-hero .inner-copy {
  width: min(900px, var(--shell));
  margin-inline: max(16px, calc((100% - 1240px) / 2)) auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid #466c88;
  border-radius: 12px;
  background: #071f35;
  color: #fff;
}
body:has(> main .case-index) main > .inner-hero .inner-copy h1 {
  max-width: 23ch;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
  line-height: 1.06;
  text-shadow: none;
}
body:has(> main .case-index) main > .inner-hero .inner-copy .breadcrumbs {
  margin-bottom: 1.25rem;
}
body:has(> main .case-index) main > .inner-hero .inner-copy :is(.eyebrow, .breadcrumbs, .breadcrumbs a) {
  color: #c5dedd;
  text-shadow: none;
}
body:has(> main .case-index) main > .inner-hero .inner-copy a:focus-visible {
  outline: 3px solid #9bcbed;
  outline-offset: 4px;
}
body:has(> main .case-index) main .case-index {
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
body:has(> main .case-index) main .case-index > a {
  min-width: 0;
  grid-template-rows: clamp(200px, 23vw, 300px) 1fr;
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
  color: #081b2a;
  box-shadow: 0 8px 24px rgba(8, 27, 42, .05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
body:has(> main .case-index) main .case-index > a > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
}
body:has(> main .case-index) main .case-index small {
  color: #004aad;
  font: 700 .72rem/1.5 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
body:has(> main .case-index) main .case-index h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.15;
  overflow-wrap: break-word;
}
body:has(> main .case-index) main .case-index p {
  color: #52677a;
  font-size: .95rem;
  line-height: 1.6;
}
body:has(> main .case-index) main .case-index i {
  margin-top: auto;
  padding-top: .5rem;
  color: #004aad;
  line-height: 1.5;
}
body:has(> main .case-index) main .case-index > a:is(:hover, :focus-visible) {
  border-color: #1968c5;
  box-shadow: 0 12px 32px rgba(8, 27, 42, .12);
}
body:has(> main .case-index) main .case-index > a:focus-visible {
  outline: 3px solid #1968c5;
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
  body:has(> main .case-index) main .case-index > a,
  body:has(> main .case-index) main .case-index > a img {
    transition: none;
  }
  body:has(> main .case-index) main .case-index > a:hover img {
    transform: none;
  }
}

/* REC-04 CP3-CP6: case detail, facts, existing galleries and consultation.
   Opaque title surfaces guarantee legibility without replacing documentary photos. */
body:has(> main > .case-hero) main .case-hero {
  min-height: clamp(560px, 72svh, 790px);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
body:has(> main > .case-hero) main .case-hero > div:last-child {
  width: min(900px, var(--shell));
  margin-inline: max(16px, calc((100% - 1240px) / 2)) auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid #466c88;
  border-radius: 12px;
  background: #071f35;
  color: #fff;
}
body:has(> main > .case-hero) main .case-hero h1 {
  max-width: 23ch;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
  line-height: 1.06;
  text-shadow: none;
}
body:has(> main > .case-hero) main .case-hero .breadcrumbs {
  margin-bottom: 1.25rem;
}
body:has(> main > .case-hero) main .case-hero :is(.eyebrow, .breadcrumbs, .breadcrumbs a) {
  color: #c5dedd;
  text-shadow: none;
}
body:has(> main > .case-hero) main .case-hero > div:last-child > p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  line-height: 1.65;
}
body:has(> main > .case-hero) main .case-hero .service-phrase {
  margin-top: 1rem;
  color: #c5dedd;
}
body:has(> main > .case-hero) main .case-hero a:focus-visible {
  outline: 3px solid #9bcbed;
  outline-offset: 4px;
}
body:has(> main > .case-hero) main .case-facts {
  padding-block: .75rem;
  border-bottom: 1px solid #d8e0e7;
  background: #fff;
  color: #081b2a;
}
body:has(> main > .case-hero) main .case-facts:has(> div:nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body:has(> main > .case-hero) main .case-facts > div {
  min-width: 0;
  min-height: 96px;
  gap: .5rem;
  padding: 1rem 1.25rem;
  border-right: 1px solid #d8e0e7;
}
body:has(> main > .case-hero) main .case-facts > div:last-child {
  border-right: 0;
}
body:has(> main > .case-hero) main .case-facts span {
  color: #52677a;
  font: 700 .72rem/1.5 var(--mono);
  letter-spacing: .06em;
}
body:has(> main > .case-hero) main .case-facts strong {
  font-size: 1.05rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
body:has(> main > .case-hero) main .case-article {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .43fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
body:has(> main > .case-hero) main .case-article > div {
  min-width: 0;
}
body:has(> main > .case-hero) main .case-article h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.6rem);
  line-height: 1.15;
}
body:has(> main > .case-hero) main .case-article p {
  color: #52677a;
}
body:has(> main > .case-hero) main .case-article aside {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 120px;
  padding: 1.5rem;
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
  color: #081b2a;
}
body:has(> main > .case-hero) main .case-article aside > .section-head {
  position: static;
  padding: 0;
  border: 0;
  background: transparent;
}
body:has(> main > .case-hero) main .case-article aside .eyebrow {
  color: #004aad;
}
body:has(> main > .case-hero) main .case-article aside .section-head h2 {
  margin-top: .75rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.15;
}
body:has(> main > .case-hero) main .case-article aside .button {
  width: 100%;
  min-height: 48px;
  margin-top: 1.25rem;
  line-height: 1.4;
}
body:has(> main > .case-hero) main .gallery-grid {
  gap: 1rem;
}
body:has(> main > .case-hero) main .gallery-grid figure {
  min-width: 0;
  border: 1px solid #d8e0e7;
  border-radius: 12px;
  background: #fff;
}
body:has(> main > .case-hero) main .gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body:has(> main > .case-hero) main .gallery-grid figcaption {
  min-height: 3rem;
  padding: 1rem;
  color: #52677a;
  font-size: .9rem;
  line-height: 1.5;
}
/* REC-01 keeps its empty arrays and text. Suppress only the empty gallery chapter,
   including Soldadura; no invented placeholder, photo or technical assertion. */
body:has(> main > .case-hero) main .section:has(> .gallery-grid:empty) {
  display: none;
}
@media (max-width: 800px) {
  body:has(> main > .case-hero) main .case-hero {
    min-height: 520px;
    padding-top: 115px;
  }
  body:has(> main > .case-hero) main .case-facts,
  body:has(> main > .case-hero) main .case-facts:has(> div:nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body:has(> main > .case-hero) main .case-facts:has(> div:nth-child(3):last-child) > div:last-child {
    grid-column: 1 / -1;
  }
  body:has(> main > .case-hero) main .case-article {
    grid-template-columns: minmax(0, 1fr);
  }
  body:has(> main > .case-hero) main .case-article aside {
    position: static;
  }
}
/* End REC-04 presentation contract. */

/* REC-05B — functional architecture; no changes to REC-04 case presentation. */
.nav-rec05b .mega-content[hidden] { display: none !important; }
.rec05b-route-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.rec05b-route-links > a { display: inline-flex; align-items: center; min-height: 44px; padding: .75rem 1rem; border: 1px solid #b8c8d5; border-radius: var(--v6-radius, 12px); color: #004aad; background: #fff; font-weight: 600; text-decoration: none; line-height: 1.35; }
.rec05b-route-links > a:hover { background: #eaf2fa; }
.rec05b-route-links > a:focus-visible { outline: 3px solid #004aad; outline-offset: 3px; }
/* New Services cards use the existing light surface contract in both entry points. */
.services-hub .systems-path-card, .rec05b-home-services .service-grid > a {
  background: #fff; color: #162c3b; border: 1px solid #d8e0e7; border-radius: 12px;
}
.services-hub .systems-path-card:hover, .rec05b-home-services .service-grid > a:hover { background: #eaf2fa; color: #162c3b; }
.services-hub .systems-path-card :is(h2, p), .rec05b-home-services .service-grid > a :is(h3, p) { color: #162c3b; }
.services-hub .systems-path-card :is(span, i), .rec05b-home-services .service-grid > a :is(span, i) { color: #004aad; }
.services-hub .systems-path-card:focus-visible, .rec05b-home-services .service-grid > a:focus-visible { outline: 3px solid #004aad; outline-offset: 3px; }
.services-hub .systems-path-card h2 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.15; }
.rec05b-home-services .service-grid h3 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.15; }
.rec05b-mobile-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rec05b-mobile-heading .eyebrow { color: #004aad; }
.rec05b-mobile-heading button { min-height: 44px; padding: .5rem .75rem; border: 1px solid #b8c8d5; border-radius: 8px; background: white; color: #162c3b; }
.menu-panel:has(.mobile-nav-group) .mobile-nav-links { display: block; }
.mobile-nav-group { border-bottom: 1px solid #d3dee7; padding-bottom: .5rem; }
.mobile-nav-group .mobile-area-link { border: 0; }
.mobile-nav-group details { margin: 0 .5rem .5rem; }
.mobile-nav-group summary { min-height: 44px; padding: .65rem .75rem; color: #004aad; font-size: .9rem; cursor: pointer; }
.mobile-nav-group details nav { display: grid; gap: .25rem; padding: .25rem .5rem; background: #f1f5f9; border-radius: 8px; }
.mobile-nav-group details nav a { font-size: 1rem; min-height: 44px; padding: .7rem .75rem; line-height: 1.35; }
.mobile-nav-group a:focus-visible, .mobile-nav-group summary:focus-visible { outline: 3px solid #004aad; outline-offset: 2px; }
@media (max-width: 600px) {
  .rec05b-route-links { display: grid; grid-template-columns: minmax(0, 1fr); }
  .rec05b-route-links > a { min-width: 0; }
}

/* The six new service destinations form complete rows; logo panels stay readable. */
.services-hub .systems-path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; border: 0; background: transparent; }
.marcas .rec05b-brand-directory { gap: 1.25rem; border: 0; background: transparent; }
.marcas .rec05b-brand-directory .brand-directory-mark { background: #fff; border: 1px solid #e1e7ec; }
.marcas .rec05b-brand-directory .brand-directory-mark strong { color: #162c3b; }
@media (max-width: 800px) { .services-hub .systems-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .services-hub .systems-path-grid { grid-template-columns: minmax(0, 1fr); } }

/* Existing logo variants dictate their surface; compact levels inherit a dark contract. */
:is(.systems-hub, .marcas) main .brand-directory-mark[data-logo-surface="dark"] { background: #103a55; }
:is(.systems-hub, .marcas) main .brand-directory-mark[data-logo-surface="light"] { background: #fff; }
:is(.systems-hub, .marcas) main .brand-directory-mark[data-logo-surface="light"] strong { color: #162c3b; }
.menu-panel:has(.mobile-nav-group) { background: #071f35 !important; }
.mobile-nav-group details nav { background: #0d2a3f; }
.mobile-nav-group summary { color: #9bcbed; }
.rec05b-mobile-heading button { background: #0d2a3f; color: #fcfbf8 !important; }

/* Seven canonical-size entries wrap at 1101-1123px; compact mode preserves their typography. */
@media (min-width: 1101px) and (max-width: 1124px) {
  .site-header.nav-rec05b .desktop-nav { display: none !important; }
  .site-header.nav-rec05b .menu-button { display: inline-grid !important; place-items: center; }
  .site-header.nav-rec05b .mobile-search-icon { display: flex !important; margin-left: auto; }
}

/* REC-05B canonical mega panels use the original R1 composition and containing block. */
@media (min-width: 1125px) {
  /* Keep pointer ownership through the canonical 10px gap without altering the panel. */
  .nav-rec05b .mega-dropdown.is-open::after,
  .nav-rec05b .mega-dropdown:not([data-nav-ready]):hover::after {
    content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    width: 1050px; max-width: calc(100vw - 40px); height: 10px;
  }
  .nav-rec05b .mega-toggle svg { transition: transform .15s ease; }
  .nav-rec05b .mega-dropdown.is-open .mega-toggle svg { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) { .nav-rec05b .mega-toggle svg { transition: none; } }

/* Home workshop videos: self-contained panel; playback stays under visitor control. */
.home-workshop-videos { scroll-margin-top: 110px; padding: clamp(48px, 6vw, 88px) 0; background: #081e30; color: #f5f8fb; }
.home-workshop-videos .workshop-video-heading { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.home-workshop-videos .workshop-video-kicker { margin: 0 0 16px; color: #8bd8f5; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .12em; line-height: 1.6; text-transform: uppercase; }
.home-workshop-videos h2 { margin: 0; max-width: 16ch; color: #f5f8fb; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.06; letter-spacing: -.035em; }
.home-workshop-videos .workshop-video-heading > p { max-width: 36ch; margin: 0 0 4px; color: #b9ccdb; font-size: 16px; line-height: 1.6; }
.home-workshop-videos .workshop-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 36px auto 0; }
.home-workshop-videos .workshop-video-card { min-width: 0; margin: 0; overflow: hidden; background: #102b40; border: 1px solid #42617a; border-radius: 16px; }
.home-workshop-videos .workshop-video-card:focus-within { outline: 3px solid #8bd8f5; outline-offset: 4px; }
.home-workshop-videos .workshop-video-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 18px; border-bottom: 1px solid #42617a; color: #bfe7f6; font-family: var(--mono, monospace); font-size: 11px; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.home-workshop-videos .workshop-video-screen { background: #04121d; }
.home-workshop-videos video { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: 520px; object-fit: contain; background: #04121d; }
.home-workshop-videos video:focus-visible { outline: 3px solid #8bd8f5; outline-offset: -3px; }
.home-workshop-videos figcaption { display: flex; align-items: center; gap: 16px; padding: 18px; border-top: 1px solid #42617a; }
.home-workshop-videos .workshop-video-caption-number { color: #8bd8f5; font-family: var(--mono, monospace); font-size: 22px; line-height: 1; }
.home-workshop-videos figcaption strong { display: block; color: #f5f8fb; font-size: 18px; font-weight: 600; line-height: 1.3; }
.home-workshop-videos figcaption div > span { display: block; margin-top: 4px; color: #b9ccdb; font-size: 13px; line-height: 1.5; }
@media (max-width: 700px) {
  .home-workshop-videos .workshop-video-heading { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .home-workshop-videos .workshop-video-grid { grid-template-columns: minmax(0, 1fr); max-width: 360px; gap: 24px; margin-top: 28px; }
}

/* Shared area hero: Home visual reference; isolated from Home and content below. */
.area-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: max(760px, 82svh); padding: 150px 0 90px; background: #071f35; color: #fff; }
.area-hero-media, .area-hero-shade { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.area-hero-media :is(img,video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-hero-video { opacity: 0; }
.area-hero.is-playing .area-hero-video { opacity: 1; }
.area-hero-shade { z-index: -1; background: linear-gradient(90deg,rgba(7,31,53,.94),rgba(7,31,53,.78) 45%,rgba(7,31,53,.25)),linear-gradient(0deg,rgba(7,31,53,.8),transparent 60%); }
.area-hero-copy { display: flex; flex-direction: column; align-items: flex-start; width: min(1240px,100%); margin: 0 auto; padding-inline: max(24px,calc((100vw - 1240px)/2)); gap: 0; min-width: 0; }
.area-hero-copy .breadcrumbs { margin: 0 0 24px; max-width: 100%; flex-wrap: wrap; color: #c5dce9; font-size: 11px; line-height: 1.7; }
.area-hero-copy .breadcrumbs a { color: inherit; }
.area-hero-copy > .eyebrow { color: #9bd8f2; margin: 0 0 20px; }
.area-hero-copy h1 { color: #fff; max-width: 19ch; font-size: clamp(3.4rem,4.8vw,5.1rem); line-height: .98; letter-spacing: -.035em; text-wrap: balance; margin: 0 0 24px; overflow-wrap: break-word; }
.area-hero-copy > p:not(.eyebrow) { max-width: 58ch; color: #e4edf3; font-size: 1.1rem; line-height: 1.65; margin: 0 0 24px; text-wrap: pretty; }
.area-hero-copy > p.service-phrase { color: #a5ddf4; font-size: 1.3rem; line-height: 1.35; }
.area-hero-copy .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.area-hero-copy .button-primary { background: #004aad; border-color: #004aad; color: #fff; }
.area-hero-copy .button-primary:hover { background: #003c8d; }
.area-hero-copy .button-ghost { background: rgba(7,31,53,.5); color: #fff; border-color: #819aaa; }
.area-hero-copy .button-ghost:hover { background: #143e57; border-color: #c5dce9; }
.area-hero :is(a,button):focus-visible { outline: 3px solid #9bd8f2; outline-offset: 4px; }
.area-hero-label { position: absolute; bottom: 28px; right: 24px; max-width: 19ch; color: #d3e5ef; font: 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.area-hero-motion { position: absolute; bottom: 28px; left: 24px; padding: 9px 12px; border: 1px solid #819aaa; border-radius: 6px; background: #071f35; color: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.area-hero-motion[hidden] { display: none; }
@media (max-width: 1240px) { .area-hero-copy { padding-inline: 32px; } }
@media (max-width: 900px) { .area-hero { padding-top: 135px; min-height: 740px; } .area-hero-copy { padding-inline: 24px; } .area-hero-copy h1 { font-size: clamp(2.7rem,7vw,4.4rem); } }
@media (max-width: 600px) {
  .area-hero { padding: 128px 0 108px; min-height: 760px; align-items: center; }
  .area-hero-copy { padding-inline: 20px; }
  .area-hero-copy h1 { font-size: clamp(2.5rem,10.5vw,3.65rem); max-width: 19ch; line-height: 1.04; margin-bottom: 20px; }
  .area-hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.6; margin-bottom: 20px; }
  .area-hero-copy .button-row { gap: 10px; }
  .area-hero-copy .button { max-width: 100%; white-space: normal; text-align: center; }
  .area-hero-label { right: 20px; bottom: 25px; max-width: 15ch; }
  .area-hero-motion { left: 20px; bottom: 25px; }
}
/* End shared area hero. */

/* Systems orientation map: isolated from the shared services cards and area heroes. */
.systems-journey { scroll-margin-top: 120px; --journey-cyan: #7bdcff; --journey-text: #f2f8fc; --journey-muted: #b1c7d7; padding-block: clamp(64px, 7vw, 108px); }
.systems-journey [hidden] { display: none !important; }
.systems-journey .journey-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 44px; }
.systems-journey .journey-kicker { font: 11px/1.6 "IBM Plex Mono", monospace; letter-spacing: .12em; color: var(--journey-cyan); margin: 0 0 18px; }
.systems-journey .journey-heading h2 { font: 600 clamp(36px, 3.7vw, 54px)/1.06 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.035em; color: var(--journey-text); margin: 0; }
.systems-journey .journey-heading em { color: var(--journey-cyan); font-style: normal; }
.systems-journey .journey-heading > p { max-width: 480px; font-size: 16px; line-height: 1.65; color: var(--journey-muted); margin: 0 0 3px; }
.systems-journey .journey-console { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); border: 1px solid #284759; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px #0003; background: #091e2e; }
.systems-journey .journey-map { padding: 24px 24px 18px; background: radial-gradient(ellipse at 50% 42%, #16445a55, transparent 67%), repeating-linear-gradient(0deg, transparent 0 39px, #73bad608 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, #73bad608 39px 40px); }
.systems-journey .journey-map-caption, .systems-journey .journey-panel-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--journey-muted); font: 10px/1.5 "IBM Plex Mono", monospace; letter-spacing: .07em; }
.systems-journey .journey-map-caption > :last-child { color: var(--journey-cyan); }
.systems-journey .journey-network { position: relative; aspect-ratio: 680 / 480; margin-top: 8px; }
.systems-journey .journey-circuit { position: absolute; width: 100%; height: 100%; inset: 0; }
.systems-journey .journey-orbit { stroke: #34576b; stroke-width: 1; stroke-dasharray: 3 7; }
.systems-journey .journey-orbit-outer { stroke: #284252; stroke-dasharray: 50 16 5 16; }
.systems-journey .journey-branch { stroke: #345568; stroke-width: 1.4; transition: stroke .25s; }
.systems-journey .journey-branch[data-active] { stroke: var(--journey-cyan); stroke-width: 2.5; stroke-dasharray: 7 5; animation: journey-flow 1.8s linear infinite; }
.systems-journey .journey-pump { stroke: var(--journey-cyan); stroke-width: 1.5; fill: #0c293c; }
.systems-journey .journey-cable { fill: none; }
.systems-journey .journey-core { position: absolute; left: 50%; top: 67%; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.systems-journey .journey-core span { display: block; color: var(--journey-text); font: 12px/1.6 "IBM Plex Mono", monospace; letter-spacing: .12em; }
.systems-journey .journey-core small { color: var(--journey-muted); font: 8px/1.5 "IBM Plex Mono", monospace; letter-spacing: .07em; }
.systems-journey .journey-node { position: absolute; display: flex; align-items: center; gap: 9px; width: 30%; min-height: 62px; padding: 11px 12px; margin: 0; border: 1px solid #345568; border-radius: 10px; background: #0c2434; color: #d8e7f0; text-align: left; cursor: pointer; font: 400 14px/1.25 "IBM Plex Sans", sans-serif; transition: border-color .2s, background .2s, box-shadow .2s; }
.systems-journey .journey-node-number { color: var(--journey-muted); font: 10px/1 "IBM Plex Mono", monospace; }
.systems-journey .journey-node > svg { flex: 0 0 15px; width: 15px; margin-left: auto; stroke: currentColor; stroke-width: 1.5; }
.systems-journey .journey-node[aria-selected="true"] { border-color: var(--journey-cyan); background: #123c52; color: #fff; box-shadow: 0 0 0 3px #79d7fc0c, 0 0 25px #61d4ff14; }
.systems-journey .journey-node[aria-selected="true"] .journey-node-number { color: var(--journey-cyan); }
.systems-journey .journey-node:hover { border-color: var(--journey-cyan); background: #14384b; }
.systems-journey .journey-node-1 { left: 0; top: 11%; }
.systems-journey .journey-node-2 { left: 0; top: 32.5%; }
.systems-journey .journey-node-3 { left: 0; top: 54%; }
.systems-journey .journey-node-4 { left: 0; top: 75.5%; }
.systems-journey .journey-node-5 { right: 0; top: 18.5%; }
.systems-journey .journey-node-6 { right: 0; top: 43.5%; }
.systems-journey .journey-node-7 { right: 0; top: 68.5%; }
.systems-journey .journey-mobile-detail { display: none; }
.systems-journey .journey-panel { scroll-margin-top: 130px; }
.systems-journey .journey-map-note { color: var(--journey-muted); font-size: 12px; line-height: 1.5; margin: 10px 0 0; }
.systems-journey .journey-map-note span { color: var(--journey-cyan); margin-right: 6px; }
.systems-journey .journey-detail { border-left: 1px solid #284759; background: linear-gradient(150deg, #103449, #0b2538 75%); padding: 28px 30px; }
.systems-journey .journey-panel-meta > :last-child { font-size: 19px; color: var(--journey-cyan); }
.systems-journey .journey-panel-meta i { font-style: normal; font-size: 10px; color: var(--journey-muted); }
.systems-journey .journey-panel h3 { font: 600 clamp(29px, 2.9vw, 38px)/1.07 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.02em; color: var(--journey-text); margin: 26px 0 14px; }
.systems-journey .journey-description { color: #c5d9e6; font-size: 14px; line-height: 1.6; min-height: 70px; margin: 0 0 24px; }
.systems-journey .journey-prepare { padding-top: 18px; border-top: 1px solid #345568; }
.systems-journey .journey-prepare > p { color: var(--journey-cyan); font: 9px/1.6 "IBM Plex Mono", monospace; letter-spacing: .06em; margin: 0 0 13px; }
.systems-journey .journey-prepare ul { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0 0 26px; }
.systems-journey .journey-prepare li { display: flex; align-items: center; gap: 10px; color: #e2edf4; font-size: 13px; line-height: 1.5; }
.systems-journey .journey-prepare li > span { display: grid; place-items: center; width: 18px; height: 18px; color: var(--journey-cyan); background: #7bdcff12; border: 1px solid #7bdcff30; border-radius: 4px; }
.systems-journey .journey-action { display: flex; justify-content: space-between; align-items: center; gap: 15px; width: 100%; min-height: 48px; padding: 13px 16px; background: #91e3ff; border: 1px solid #91e3ff; border-radius: 8px; color: #062132; font-size: 14px; line-height: 1.4; font-weight: 600; text-decoration: none; }
.systems-journey .journey-action:hover { background: #c0efff; border-color: #c0efff; color: #062132; }
.systems-journey .journey-action > span { font-size: 20px; }
.systems-journey .journey-human { font-size: 11px; line-height: 1.5; color: var(--journey-muted); margin: 12px 0 0; }
.systems-journey :is(.journey-node, .journey-action, .journey-panel, .journey-mobile-detail, .journey-links a, .journey-fallback a):focus-visible { outline: 3px solid #7bdcff; outline-offset: 4px; }
.systems-journey .journey-links { display: flex; align-items: center; gap: 28px; margin-top: 25px; }
.systems-journey .journey-links > span { color: var(--journey-muted); font: 9px/1.6 "IBM Plex Mono", monospace; letter-spacing: .08em; white-space: nowrap; }
.systems-journey .journey-links > div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.systems-journey .journey-links a { color: #b2e5ff; text-decoration: none; border-bottom: 1px solid #34576b; padding: 6px 0; font-size: 13px; line-height: 1.4; }
.systems-journey .journey-links a:hover { color: #fff; border-color: #7bdcff; }
.systems-journey .journey-fallback { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.systems-journey .journey-fallback a { display: block; border: 1px solid #345568; border-radius: 12px; padding: 24px; background: #0c2434; color: #f2f8fc; text-decoration: none; }
.systems-journey .journey-fallback a > span { color: #7bdcff; font: 10px/1.5 "IBM Plex Mono", monospace; }
.systems-journey .journey-fallback h3 { font-size: 24px; color: #f2f8fc; margin: 16px 0 12px; }
.systems-journey .journey-fallback p { color: #b1c7d7; font-size: 14px; }
.systems-journey .journey-fallback strong { color: #7bdcff; font-size: 13px; }
@keyframes journey-flow { to { stroke-dashoffset: -24; } }
@media (max-width: 1125px) {
  .systems-journey .journey-console { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .systems-journey .journey-map { padding: 22px 18px 18px; }
  .systems-journey .journey-detail { padding: 24px; }
  .systems-journey .journey-node { padding: 9px; gap: 6px; font-size: 12px; min-height: 54px; }
  .systems-journey .journey-node > svg { display: none; }
}
@media (max-width: 900px) {
  .systems-journey .journey-console { grid-template-columns: 1fr; }
  .systems-journey .journey-network { max-width: 680px; margin-inline: auto; }
  .systems-journey .journey-detail { border-left: 0; border-top: 1px solid #284759; }
  .systems-journey .journey-panel h3 { margin-top: 18px; }
  .systems-journey .journey-description { min-height: 0; }
  .systems-journey .journey-node { min-height: 62px; font-size: 14px; padding: 12px; }
}
@media (max-width: 600px) {
  .systems-journey .journey-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .systems-journey .journey-heading > p { font-size: 14px; }
  .systems-journey .journey-kicker { font-size: 9px; }
  .systems-journey .journey-console { border-radius: 14px; }
  .systems-journey .journey-map { padding: 18px 16px; }
  .systems-journey .journey-map-caption { font-size: 8px; }
  .systems-journey .journey-network { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; aspect-ratio: auto; padding-top: 184px; margin-top: 10px; }
  .systems-journey .journey-circuit { width: 250px; height: 176px; left: calc(50% - 125px); }
  .systems-journey .journey-core { top: 127px; }
  .systems-journey .journey-core span { font-size: 10px; }
  .systems-journey .journey-core small { font-size: 7px; }
  .systems-journey .journey-branch { display: none; }
  .systems-journey .journey-node { position: static; width: 100%; min-height: 62px; font-size: 12px; padding: 10px; }
  .systems-journey .journey-node:last-child { grid-column: 1 / -1; }
  .systems-journey .journey-node > svg { display: block; }
  .systems-journey .journey-node:last-child > svg { width: 16px; }
  .systems-journey .journey-node-number { font-size: 9px; }
  .systems-journey .journey-mobile-detail { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; padding-block: 12px; border-block: 1px solid #345568; color: #b2e5ff; font-size: 12px; line-height: 1.5; text-decoration: none; }
  .systems-journey .journey-mobile-detail > :last-child { white-space: nowrap; color: #7bdcff; }
  .systems-journey .journey-map-note { font-size: 11px; margin-top: 16px; }
  .systems-journey .journey-detail { padding: 24px 20px; }
  .systems-journey .journey-panel h3 { font-size: 32px; }
  .systems-journey .journey-prepare > p { font-size: 9px; }
  .systems-journey .journey-links { display: block; margin-top: 22px; }
  .systems-journey .journey-links > div { margin-top: 8px; gap: 6px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .systems-journey .journey-branch[data-active] { animation: none; stroke-dasharray: none; }
  .systems-journey :is(.journey-node, .journey-branch) { transition: none; }
}

/* Systems brands: Home palette and logo proportions, isolated from legacy directories. */
.systems-hub main .section.systems-brands { padding-block: clamp(64px, 7vw, 104px); background: #f5f7fa; color: #081b2a; scroll-margin-top: 120px; }
.systems-brands .systems-brands-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 36px; }
.systems-brands .systems-brands-kicker { color: #0054b6; font: 11px/1.6 "IBM Plex Mono", monospace; letter-spacing: .12em; margin: 0 0 18px; }
.systems-brands .systems-brands-head h2 { color: #081b2a; font: 600 clamp(36px, 3.7vw, 54px)/1.06 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.035em; margin: 0; }
.systems-brands .systems-brands-head em { font-style: normal; color: #0054b6; }
.systems-brands .systems-brands-head > p { max-width: 440px; margin: 0 0 3px; color: #52677a; font-size: 16px; line-height: 1.65; }
.systems-brands .systems-brands-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.systems-brands .systems-featured-brand { display: block; padding: 24px 28px 30px; min-width: 0; border: 1px solid #244b63; border-radius: 16px; background: radial-gradient(ellipse at 25% 60%, #17445f 0, #0d2a40 65%); color: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.systems-brands .systems-featured-brand-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #b3d4e7; font: 10px/1.5 "IBM Plex Mono", monospace; letter-spacing: .04em; }
.systems-brands .systems-featured-brand-meta > :last-child { display: flex; align-items: center; gap: 12px; font: 12px/1.4 "IBM Plex Sans", sans-serif; letter-spacing: 0; }
.systems-brands .systems-featured-brand-meta i { font-style: normal; font-size: 20px; color: #86dcff; }
.systems-brands .systems-featured-brand-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; margin-top: 26px; min-height: 124px; }
.systems-brands .systems-brand-logo { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 100%; min-width: 0; height: 96px; padding: 16px; background: #0d2a40; border: 1px solid #244b63; border-radius: 10px; }
.systems-brands .systems-brand-logo[data-logo-surface="light"] { background: #fff; border-color: #e0e7ee; }
.systems-brands .systems-brand-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: none; opacity: 1; }
.systems-brands .systems-featured-brand .systems-brand-logo { height: 116px; padding: 12px 0; background: transparent; border: 0; }
.systems-brands .systems-featured-brand .systems-brand-logo img { max-height: 88px; }
.systems-brands .systems-featured-brand h3 { color: #fff; font: 600 32px/1.1 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.02em; margin: 0 0 10px; }
.systems-hub .systems-brands .systems-featured-brand .systems-brand-description { color: #c6dce9; font-size: 15px; line-height: 1.5; margin: 0 0 20px; }
.systems-brands .systems-brand-action { display: inline-flex; align-items: center; gap: 16px; color: #0054b6; font-size: 14px; font-weight: 600; line-height: 1.5; }
.systems-brands .systems-brand-action i { font-style: normal; font-size: 18px; transition: transform .2s; }
.systems-brands .systems-featured-brand .systems-brand-action { color: #89dfff; }
.systems-brands .systems-featured-brand:hover { border-color: #7bdcff; box-shadow: 0 12px 32px #103a551a; transform: translateY(-2px); }
.systems-brands .systems-brands-catalog-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 36px 0 18px; }
.systems-brands .systems-brands-catalog-head h3 { font: 600 23px/1.3 "IBM Plex Sans Condensed", sans-serif; color: #081b2a; margin: 0; }
.systems-brands .systems-brands-catalog-head > a { color: #0054b6; font-size: 14px; line-height: 1.5; text-decoration: none; white-space: nowrap; }
.systems-brands .systems-brands-catalog-head > a > span { margin-left: 12px; }
.systems-brands .systems-brands-catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.systems-brands .systems-brand-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 18px; min-height: 160px; padding: 20px; background: #fff; border: 1px solid #dbe4ec; border-radius: 14px; text-decoration: none; color: #081b2a; transition: border-color .2s, box-shadow .2s; }
.systems-brands .systems-brand-copy { min-width: 0; }
.systems-brands .systems-brand-card h3 { font: 600 23px/1.12 "IBM Plex Sans Condensed", sans-serif; letter-spacing: -.01em; color: #081b2a; margin: 0 0 8px; }
.systems-hub .systems-brands .systems-brand-card .systems-brand-description { color: #52677a; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.systems-brands .systems-brand-card:hover { border-color: #1968c5; box-shadow: 0 6px 18px #103a550c; }
.systems-brands :is(.systems-featured-brand, .systems-brand-card):hover .systems-brand-action i { transform: translate(2px, -2px); }
.systems-brands :is(.systems-featured-brand, .systems-brand-card, .systems-brands-catalog-head > a):focus-visible { outline: 3px solid #1968c5; outline-offset: 4px; }
.systems-hub .systems-brands .systems-brands-note { border-top: 1px solid #d4dfe8; padding-top: 22px; margin: 28px 0 0; color: #52677a; font-size: 12px; line-height: 1.7; max-width: 900px; }
@media (max-width: 1100px) {
  .systems-brands .systems-brand-card { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .systems-brands .systems-brands-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems-brands .systems-featured-brand { padding-inline: 22px; }
  .systems-brands .systems-featured-brand-body { gap: 20px; }
}
@media (max-width: 800px) {
  .systems-brands .systems-brands-head { grid-template-columns: 1fr; gap: 20px; }
  .systems-brands .systems-brands-head > p { max-width: 550px; }
  .systems-brands .systems-featured-brand-meta { gap: 10px; }
  .systems-brands .systems-featured-brand-body { gap: 16px; }
  .systems-brands .systems-featured-brand h3 { font-size: 28px; }
  .systems-hub .systems-brands .systems-featured-brand .systems-brand-description { font-size: 14px; }
  .systems-brands .systems-brand-card { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (max-width: 650px) {
  .systems-brands .systems-brands-featured, .systems-brands .systems-brands-catalog { grid-template-columns: minmax(0, 1fr); }
  .systems-brands .systems-featured-brand { padding: 22px; }
  .systems-brands .systems-featured-brand-body { grid-template-columns: 1fr 1fr; gap: 22px; min-height: 114px; margin-top: 18px; }
  .systems-brands .systems-featured-brand .systems-brand-logo { height: 102px; }
  .systems-brands .systems-featured-brand h3 { font-size: 32px; }
  .systems-brands .systems-brand-card { grid-template-columns: 110px minmax(0, 1fr); gap: 20px; min-height: 154px; padding: 18px; }
  .systems-brands .systems-brand-card h3 { font-size: 24px; }
  .systems-brands .systems-brands-kicker { font-size: 10px; }
  .systems-brands .systems-brands-catalog-head { display: block; }
  .systems-brands .systems-brands-catalog-head > a { display: inline-block; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .systems-brands :is(.systems-featured-brand, .systems-brand-card, .systems-brand-action i) { transition: none; }
  .systems-brands :is(.systems-featured-brand, .systems-brand-card):hover, .systems-brands :is(.systems-featured-brand, .systems-brand-card):hover .systems-brand-action i { transform: none; }
}

/* Compact glass navigation: separate surface, preserving the canonical desktop panels. */
.site-header.nav-rec05b .compact-menu-button { display: none !important; }
@media (max-width: 1124px) {
  .site-header.nav-rec05b .compact-menu-button { display: inline-flex !important; flex: 0 0 auto; align-items: center; justify-content: center; gap: 12px; min-width: 98px; height: 44px; padding: 0 15px; border-radius: 999px; overflow: hidden; }
  .site-header.nav-rec05b .compact-menu-button > span { position: static; width: auto; height: auto; clip: auto; overflow: visible; font: 600 12px/1 var(--mono); letter-spacing: .04em; }
  .site-header.nav-rec05b .compact-menu-icon { display: block; flex: 0 0 22px; width: 22px; height: 22px; }
}
.compact-menu { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; box-sizing: border-box; overflow: hidden; background: #0b2639; color: #f6fbff; font-family: var(--display); }
.compact-menu[open] { display: flex; flex-direction: column; }
.compact-menu::backdrop { background: rgba(4, 18, 29, .78); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .compact-menu { background: linear-gradient(120deg, rgba(21, 53, 68, .20), rgba(6, 25, 38, .36)); }
  .compact-menu::backdrop { background: rgba(4, 18, 29, .60); -webkit-backdrop-filter: blur(14px) saturate(.8); backdrop-filter: blur(14px) saturate(.8); }
}
.compact-menu .compact-menu-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; flex: 0 0 auto; padding: max(14px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 14px; border-bottom: 1px solid rgba(220, 242, 255, .18); background: rgba(9, 28, 41, .30); }
.compact-menu .compact-menu-brand { grid-column: 2; display: block; width: 104px; border-radius: 4px; }
.compact-menu .compact-menu-brand img { display: block; width: 100%; height: auto; filter: brightness(0) invert(1); }
.compact-menu .compact-menu-close { justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(220, 242, 255, .26); border-radius: 50%; background: rgba(230, 245, 255, .06); color: #f6fbff; cursor: pointer; }
.compact-menu .compact-menu-close:hover { background: rgba(230, 245, 255, .16); }
.compact-menu .compact-menu-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #88a8ba transparent; }
.compact-menu .compact-menu-content { width: min(720px, 100%); margin: 0 auto; padding: 30px 32px max(36px, env(safe-area-inset-bottom)); box-sizing: border-box; }
.compact-menu .compact-menu-kicker { margin: 0 0 16px; color: #d7e8f2; font: 11px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.compact-menu :is(ul,li) { list-style: none; margin: 0; padding: 0; }
.compact-menu .compact-menu-list > li { border-bottom: 1px solid rgba(220, 242, 255, .20); }
.compact-menu :is(summary,.compact-menu-area) { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 18px 0; box-sizing: border-box; color: #f6fbff; font-size: clamp(22px, 3vw, 27px); font-weight: 500; line-height: 1.25; text-decoration: none; cursor: pointer; }
.compact-menu summary { list-style: none; }
.compact-menu summary::-webkit-details-marker { display: none; }
.compact-menu .compact-menu-chevron { flex: 0 0 20px; transition: transform .2s ease; }
.compact-menu details[open] .compact-menu-chevron { transform: rotate(180deg); }
.compact-menu details[open] > summary { color: #b9e9ff; }
.compact-menu .compact-menu-children { margin: 0 0 20px 8px; padding-left: 20px; border-left: 1px solid rgba(147, 223, 255, .32); }
.compact-menu .compact-menu-children a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; padding: 10px 6px; box-sizing: border-box; color: #edf5fa; font-size: 17px; font-weight: 400; line-height: 1.45; text-decoration: none; border-radius: 6px; }
.compact-menu .compact-menu-children .compact-menu-overview { color: #d7e8f2; font-size: 14px; margin-bottom: 6px; }
.compact-menu :is(a,summary):hover { color: #b9e9ff; }
.compact-menu .compact-menu-children a:hover { background: rgba(201, 235, 255, .08); }
.compact-menu .compact-menu-area > span { color: #d7e8f2; font-size: 20px; }
.compact-menu .compact-menu-search { font-size: 20px; }
.compact-menu .compact-menu-search svg { flex: 0 0 21px; color: #93dfff; }
.compact-menu .compact-menu-footer { padding-top: 26px; }
.compact-menu .compact-menu-footer p { max-width: 34ch; margin: 0 0 18px; color: #d7e8f2; font-size: 15px; line-height: 1.55; }
.compact-menu .compact-menu-consult { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 48px; padding: 14px 20px; border: 1px solid #559ee3; border-radius: 999px; background: #004aad; color: #fff; font-size: 16px; line-height: 1.3; text-decoration: none; }
.compact-menu .compact-menu-consult:hover { background: #075dca; color: #fff; }
.compact-menu :is(a,button,summary):focus-visible { outline: 2px solid #93dfff; outline-offset: 5px; }
@media (max-width: 600px) {
  .compact-menu .compact-menu-content { padding: 24px 24px max(32px, env(safe-area-inset-bottom)); }
  .compact-menu :is(summary,.compact-menu-area) { min-height: 64px; font-size: 22px; }
  .compact-menu .compact-menu-search { font-size: 19px; }
  .compact-menu .compact-menu-children { margin-left: 0; padding-left: 16px; }
}
@media (max-height: 500px) { .compact-menu .compact-menu-top { padding-block: 6px; } .compact-menu .compact-menu-brand { width: 82px; } .compact-menu .compact-menu-content { padding-top: 18px; } }
@media (prefers-reduced-motion: reduce) { .compact-menu .compact-menu-chevron { transition: none; } }
@media (prefers-reduced-transparency: reduce) { .compact-menu { background: #0b2639; } .compact-menu::backdrop { background: #04121d; backdrop-filter: none; -webkit-backdrop-filter: none; } }
@media (forced-colors: active) { .compact-menu { background: Canvas; color: CanvasText; } .compact-menu :is(a,summary,button) { color: CanvasText; } }
/* End compact glass navigation. */
