/* ==========================================================================
   GransTech — site stylesheet
   Palette is taken from the GT logo: safety orange ring + deep aubergine core.
   ========================================================================== */

:root {
  --ink: #1b1029;
  --ink-2: #2a2137;
  --ink-soft: #4b4558;
  --ink-faint: #767083;
  --paper: #f5f4f1;
  --paper-2: #ecebe6;
  --surface: #ffffff;
  --line: #e4e1e8;
  --line-strong: #cbc6d3;

  --orange: #fc6410;
  --orange-600: #e2540a;
  --orange-700: #b4430b;
  --orange-50: #fff3eb;
  --orange-100: #ffe2cf;

  --dark: #150c20;
  --dark-2: #1f152d;
  --dark-line: rgba(255, 255, 255, 0.12);
  --dark-text: #d9d4e2;
  --dark-muted: #a59eb3;

  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --radius: 6px;
  --radius-lg: 10px;
  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(27, 16, 41, 0.05), 0 8px 24px rgba(27, 16, 41, 0.07);
  --shadow-lg: 0 2px 4px rgba(27, 16, 41, 0.06), 0 24px 48px rgba(27, 16, 41, 0.14);
}

/* ---------- Base ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  color: inherit;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--orange); color: var(--ink); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type helpers -------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 16px;
}
.kicker .idx { color: var(--ink-faint); }
.kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange);
}
.on-dark .kicker, .kicker.on-dark { color: var(--orange); }
.on-dark .kicker .idx { color: var(--dark-muted); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.06rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}
.on-dark .lead { color: var(--dark-text); }

.h-xl { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -0.03em; line-height: 1.02; }
.h-lg { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.025em; }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.h-sm { font-size: 1.15rem; letter-spacing: -0.01em; }

.text-orange { color: var(--orange); }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff7a2e; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }

.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }

.btn-ghost-light { border-color: rgba(255, 255, 255, 0.35); color: #fff; background: rgba(255, 255, 255, 0.04); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.on-dark .link-arrow { color: #fff; }

/* ---------- Top bar + header --------------------------------------------- */

.topbar {
  background: var(--dark);
  color: var(--dark-muted);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar-certs { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a { color: var(--dark-text); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(27, 16, 41, 0.08); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
}
.brand-name span { color: var(--orange-600); }
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 5px;
}

.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink-soft);
  border-radius: var(--radius);
  position: relative;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--orange);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.nav-open .nav-toggle .icon-menu { display: none; }

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 12px var(--gutter) 24px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-panel ul { list-style: none; }
.mobile-panel li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.mobile-panel li a[aria-current="page"] { color: var(--orange-700); }
.mobile-panel .btn { width: 100%; margin-top: 12px; }
.mobile-panel .mobile-contact { margin-top: 18px; font-size: 0.92rem; color: var(--ink-soft); display: grid; gap: 6px; }
.mobile-panel .mobile-contact a { text-decoration: none; color: var(--ink); }
.nav-open .mobile-panel { display: block; }

/* ---------- Sections ------------------------------------------------------ */

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-paper { background: var(--paper); }
.bg-dark { background: var(--dark); color: #fff; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head .lead { margin-top: 16px; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero (home) -------------------------------------------------- */

.hero {
  position: relative;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(21, 12, 32, 0.96) 0%, rgba(21, 12, 32, 0.86) 38%, rgba(21, 12, 32, 0.35) 72%, rgba(21, 12, 32, 0.2) 100%),
    linear-gradient(0deg, rgba(21, 12, 32, 0.9) 0%, rgba(21, 12, 32, 0) 38%);
}
.hero-inner {
  padding-top: clamp(72px, 11vw, 140px);
  padding-bottom: clamp(40px, 5vw, 56px);
  min-height: min(86vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
}
.hero-copy { max-width: 720px; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { color: var(--dark-text); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--dark-line);
}
.spec {
  padding: 22px 24px 4px 0;
  border-right: 1px solid var(--dark-line);
  margin-right: 24px;
}
.spec:last-child { border-right: 0; margin-right: 0; }
.spec-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.spec-value small { font-size: 0.45em; font-weight: 600; letter-spacing: 0; color: var(--orange); margin-left: 4px; }
.spec-label { margin-top: 10px; color: var(--dark-muted); }

/* ---------- Inner page hero ---------------------------------------------- */

.page-hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(21, 12, 32, 0.97) 0%, rgba(21, 12, 32, 0.85) 55%, rgba(21, 12, 32, 0.55) 100%);
}
.page-hero .container { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 18ch; margin-bottom: 20px; }
.page-hero .lead { color: var(--dark-text); }

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-muted);
}
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--orange); }
.breadcrumb a { text-decoration: none; color: var(--dark-text); }
.breadcrumb a:hover { color: #fff; }

.page-hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}
.page-hero-tabs a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  padding: 8px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.page-hero-tabs a:hover { border-color: var(--orange); color: #fff; }

/* ---------- Certification strip ----------------------------------------- */

.cert-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.cert-strip .container {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.cert-strip-label { color: var(--ink-faint); max-width: 16ch; }
.cert-strip ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.cert-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.cert-chip strong { font-family: var(--font-display); font-size: 0.98rem; letter-spacing: -0.01em; line-height: 1.2; }
.cert-chip span { font-size: 0.76rem; color: var(--ink-faint); line-height: 1.3; margin-top: 2px; }

/* ---------- Generic grids & cards --------------------------------------- */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
a.card { text-decoration: none; color: inherit; display: block; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
a.card:hover { transform: translateY(-3px); }
.card-body { padding: 24px 24px 26px; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
a.card:hover .card-media img, .card:hover .card-media img { transform: scale(1.035); }
.card-tag { color: var(--orange-700); margin-bottom: 8px; display: block; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--orange-50);
  color: var(--orange-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--orange-100);
}
.icon-box svg { width: 24px; height: 24px; }
.on-dark .icon-box { background: rgba(252, 100, 16, 0.12); border-color: rgba(252, 100, 16, 0.3); color: var(--orange); }

/* Fact list (preface facts) */
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.fact {
  padding: 28px 28px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.fact h3 { font-size: 1.12rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.fact p { color: var(--ink-soft); font-size: 0.96rem; }
.fact .footnote { display: block; margin-top: 10px; font-size: 0.82rem; color: var(--ink-faint); }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--paper);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(21, 12, 32, 0.82);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}
.split-copy > * + * { margin-top: 18px; }
.split-copy .kicker { margin-bottom: 0; }

.checklist { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--ink-soft); }
.checklist li svg { width: 20px; height: 20px; color: var(--orange-600); margin-top: 3px; }
.checklist strong { color: var(--ink); font-weight: 600; }
.on-dark .checklist li { color: var(--dark-text); }
.on-dark .checklist strong { color: #fff; }
.on-dark .checklist li svg { color: var(--orange); }

/* ---------- Industries -------------------------------------------------- */

.industry-card .card-media { aspect-ratio: 5 / 4; background: #fff; border-bottom: 1px solid var(--line); }
.industry-card .card-media img { object-fit: contain; padding: 18px; }
.industry-card .share {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.industry-card .share b { color: var(--orange-700); font-weight: 600; }

/* ---------- Materials --------------------------------------------------- */

.grade-table { border-top: 1px solid var(--line-strong); }
.grade-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.grade-row .mono { color: var(--ink-faint); }
.grade-row h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
.grade-row p { color: var(--ink-soft); font-size: 0.97rem; }
.on-dark .grade-table { border-color: var(--dark-line); }
.on-dark .grade-row { border-color: var(--dark-line); }
.on-dark .grade-row p { color: var(--dark-muted); }
.on-dark .grade-row .mono { color: var(--orange); }

.process-note {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.on-dark .process-note { border-color: var(--dark-line); color: var(--dark-text); }

/* ---------- Route (PO to dispatch) -------------------------------------- */

.route {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  position: relative;
  counter-reset: route;
}
.route::before {
  content: '';
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 100%);
  opacity: 0.55;
}
.route li { position: relative; padding-right: 12px; counter-increment: route; }
.route-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 2px solid var(--orange);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink);
  position: relative;
  margin-bottom: 16px;
}
.route li:last-child .route-dot { background: var(--orange); }
.route h3 { font-size: 1rem; letter-spacing: -0.005em; line-height: 1.3; }
.on-dark .route-dot { background: var(--dark); color: #fff; }
.on-dark .route li:last-child .route-dot { background: var(--orange); color: var(--ink); }

/* Detailed 28 step flow */
.flow-phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.flow-phase {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 22px 22px 24px;
}
.flow-phase h3 { font-size: 1.08rem; margin-bottom: 4px; }
.flow-phase .mono { color: var(--orange-700); display: block; margin-bottom: 14px; }
.flow-phase ol { list-style: none; display: grid; gap: 8px; }
.flow-phase li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.flow-phase li span { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-faint); padding-top: 2px; }

/* ---------- Process stages ---------------------------------------------- */

.stage {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.stage:first-of-type { border-top: 0; padding-top: 0; }
.stage:nth-of-type(even) .stage-media { order: 2; }
.stage-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper);
}
.stage-media img { width: 100%; height: 100%; object-fit: cover; }
.stage-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--orange-700);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.stage h3 { margin-bottom: 14px; }
.stage p { color: var(--ink-soft); }

.spec-table {
  width: 100%;
  margin-top: 22px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.spec-table th, .spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.spec-table th {
  width: 38%;
  padding-right: 16px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 13px;
}
.spec-table td { color: var(--ink); }
.badge-planned {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  background: var(--orange-50);
  color: var(--orange-700);
  border: 1px solid var(--orange-100);
  vertical-align: 2px;
}

/* ---------- Quality ------------------------------------------------------ */

.cert-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.cert-card svg { width: 40px; height: 40px; color: var(--orange-600); }
.cert-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.cert-card p { color: var(--ink-soft); font-size: 0.94rem; }

.lab-card .card-media { aspect-ratio: 16 / 11; }
.lab-card .card-media img { object-position: center top; }
.lab-card .proc-code { color: var(--orange-700); display: block; margin-bottom: 8px; }

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--dark-line);
  border-left: 1px solid var(--dark-line);
}
.roadmap-item {
  padding: 24px;
  border-right: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}
.roadmap-item .mono { color: var(--orange); display: block; margin-bottom: 10px; }
.roadmap-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.roadmap-item p { color: var(--dark-muted); font-size: 0.93rem; }

.roadmap-table-wrap { overflow-x: auto; margin-top: 40px; border: 1px solid var(--dark-line); border-radius: var(--radius-lg); }
.roadmap-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.95rem; }
.roadmap-table th, .roadmap-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--dark-line); border-right: 1px solid var(--dark-line); vertical-align: top; }
.roadmap-table tr:last-child th, .roadmap-table tr:last-child td { border-bottom: 0; }
.roadmap-table th:last-child, .roadmap-table td:last-child { border-right: 0; }
.roadmap-table thead th { font-family: var(--font-mono); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted); background: rgba(255, 255, 255, 0.03); }
.roadmap-table tbody th { font-family: var(--font-display); font-weight: 600; color: #fff; width: 15%; }
.roadmap-table td { color: var(--dark-text); }
.roadmap-table td.has { background: rgba(252, 100, 16, 0.1); color: #fff; box-shadow: inset 3px 0 0 var(--orange); }

/* ---------- Figures / KPIs ---------------------------------------------- */

.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 24px 22px 22px;
  position: relative;
}
.kpi::before {
  content: '';
  position: absolute;
  top: -1px; left: 22px;
  width: 36px; height: 3px;
  background: var(--orange);
}
.kpi-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -0.03em; line-height: 1; }
.kpi-name { margin-top: 12px; font-weight: 600; font-size: 0.98rem; }
.kpi-desc { margin-top: 6px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; }
.kpi-group-label { color: var(--ink-faint); margin: 0 0 14px; display: block; }
.kpi-group + .kpi-group { margin-top: 36px; }

.sector-bar {
  display: flex;
  height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  gap: 3px;
}
.sector-bar div {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.sector-bar .s-og { background: var(--orange); color: var(--ink); }
.sector-bar .s-ge { background: #8a5a3c; }
.sector-bar .s-df { background: var(--ink); }
.sector-legend { list-style: none; display: grid; gap: 0; margin-top: 20px; }
.sector-legend li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.sector-legend i { width: 14px; height: 14px; border-radius: 3px; display: block; }
.sector-legend b { font-family: var(--font-mono); font-weight: 600; }

.path-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.path-item { padding: 24px 20px 4px 0; }
.path-item + .path-item { padding-left: 20px; border-left: 1px solid var(--line); }
.path-item .kpi-value { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.path-item span { display: block; margin-top: 8px; color: var(--ink-faint); }

/* ---------- Products ----------------------------------------------------- */

.cat-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.cat-nav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: all 0.2s var(--ease);
}
.cat-nav a span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-faint); }
.cat-nav a:hover { border-color: var(--line-strong); color: var(--ink); }
.cat-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-nav a.is-active span { color: var(--orange); }

.product-section + .product-section { margin-top: clamp(56px, 7vw, 88px); }
.product-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: end;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.product-section-head p { color: var(--ink-soft); }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.product:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.product button {
  all: unset;
  display: block;
  width: 100%;
  cursor: zoom-in;
  aspect-ratio: 1 / 1;
  background: #fff;
  box-sizing: border-box;
  padding: 16px;
}
.product button:focus-visible { outline: 2px solid var(--orange); outline-offset: -4px; }
.product img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.5s var(--ease); }
.product:hover img { transform: scale(1.05); }
.product figcaption { padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.product figcaption .mono { color: var(--orange-700); font-size: 0.7rem; display: block; margin-bottom: 4px; }
.product figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; line-height: 1.3; display: block; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 900px);
  width: 100%;
}
.lightbox::backdrop { background: rgba(21, 12, 32, 0.86); backdrop-filter: blur(4px); }
.lightbox-inner { background: #fff; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.lightbox img { width: 100%; max-height: 74vh; object-fit: contain; background: #fff; padding: 24px; }
.lightbox-caption { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.lightbox-caption strong { font-family: var(--font-display); font-size: 1.1rem; }
.lightbox-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- Services (Quick ship / Fab-to-cast) ------------------------- */

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
}
.service-card .service-top {
  padding: 28px 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.service-card .service-body { padding: 18px 28px 30px; }
.service-card h3 { margin-bottom: 4px; }
.service-card .service-metric { text-align: right; white-space: nowrap; }
.service-card .service-metric b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--orange-600); }
.service-card .service-metric span { color: var(--ink-faint); }
.service-card .footnote { margin-top: 18px; font-size: 0.84rem; color: var(--ink-faint); }

/* ---------- Testimonials ------------------------------------------------- */

.quote-card { display: grid; grid-template-rows: auto 1fr; }
.quote-card .quote-media {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quote-card .quote-media img { max-height: 100%; width: auto; object-fit: contain; box-shadow: 0 6px 20px rgba(27, 16, 41, 0.12); }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: 1.02rem; color: var(--ink); line-height: 1.6; }
.quote-card .who { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.quote-card .who strong { display: block; font-weight: 600; }
.quote-card .who span { color: var(--ink-faint); }
.quote-mark { width: 28px; height: 28px; color: var(--orange); margin-bottom: 12px; }

/* ---------- Partners ----------------------------------------------------- */

.partners-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(20px, 4vw, 40px);
}
.partners-wrap img { margin: 0 auto; width: 100%; max-width: 980px; }
.partner-names { margin-top: 18px; text-align: center; color: var(--ink-faint); font-size: 0.9rem; }

/* ---------- FAQ ---------------------------------------------------------- */

.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--orange-600); transition: transform 0.25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-soft); max-width: 75ch; }

/* ---------- CTA band ----------------------------------------------------- */

.cta-band { background: var(--dark); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 56px solid var(--orange);
  opacity: 0.14;
  z-index: -1;
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: center;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}
.cta-inner .lead { margin-top: 16px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* ---------- Org chart ---------------------------------------------------- */

.org-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(20px, 3vw, 36px);
  overflow-x: auto;
}
.org-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 0; color: var(--ink-faint); }
.org-spinner { width: 22px; height: 22px; border: 2px solid var(--orange-100); border-top-color: var(--orange); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.org-tree { display: flex; flex-direction: column; align-items: center; min-width: 1100px; }
.org-node { display: flex; flex-direction: column; align-items: center; width: 100%; }
.org-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  text-align: left;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.org-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.org-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--paper); border: 2px solid var(--line); flex-shrink: 0; }
.org-name { font-weight: 600; font-size: 0.95rem; line-height: 1.25; }
.org-role { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; line-height: 1.25; color: var(--orange-700); letter-spacing: -0.005em; }
.org-exp { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-faint); }
.org-exp svg { width: 12px; height: 12px; }

.org-card.lvl-0 { background: var(--ink); border-color: var(--ink); color: #fff; padding: 16px 26px; min-width: 300px; }
.org-card.lvl-0 .org-role { color: var(--orange); font-size: 1rem; }
.org-card.lvl-0 .org-avatar { width: 56px; height: 56px; border-color: var(--orange); }
.org-card.lvl-0 .org-exp { color: var(--dark-muted); }
.org-card.lvl-1 { border: 2px solid var(--orange); padding: 14px 22px; min-width: 270px; }
.org-card.lvl-1 .org-avatar { width: 50px; height: 50px; }
.org-card.lvl-2 { width: 100%; border-top: 3px solid var(--orange); }
.org-card.lvl-3 { width: 100%; background: var(--paper); border-color: var(--paper-2); padding: 10px 12px; }
.org-card.lvl-3 .org-avatar { width: 36px; height: 36px; }
.org-card.lvl-3 .org-role { color: var(--ink); font-size: 0.86rem; }
.org-card.lvl-3 .org-name { font-size: 0.86rem; font-weight: 500; color: var(--ink-soft); }

.org-line { width: 2px; height: 24px; background: var(--orange); }
.org-branches { display: flex; gap: 14px; width: 100%; position: relative; padding-top: 24px; }
.org-branches::before { content: ''; position: absolute; top: 0; height: 2px; background: var(--orange); left: var(--line-start, 8%); right: var(--line-end, 8%); }
.org-branch { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; position: relative; }
.org-branch::before { content: ''; position: absolute; top: -24px; left: 50%; width: 2px; height: 24px; background: var(--orange); transform: translateX(-50%); }
.org-subs { display: grid; gap: 8px; margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--line); }

/* ---------- Contact ------------------------------------------------------ */

.contact-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 28px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact-list .icon-box { margin: 0; width: 44px; height: 44px; }
.contact-list .mono { color: var(--ink-faint); display: block; font-size: 0.7rem; }
.contact-list a { text-decoration: none; font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--orange-700); }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(22px, 3.5vw, 40px);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field label .opt { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-600); box-shadow: 0 0 0 4px rgba(252, 100, 16, 0.15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #c62828; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-foot p { font-size: 0.86rem; color: var(--ink-faint); max-width: 44ch; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status.ok { background: #edf7ee; border: 1px solid #b9dfbd; color: #1d5b25; }
.form-status.err { background: #fdeeee; border: 1px solid #f2c2c2; color: #8a1f1f; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ------------------------------------------------------- */

.site-footer { background: var(--dark); color: var(--dark-muted); font-size: 0.95rem; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: clamp(56px, 7vw, 88px) 0 48px;
}
.site-footer .brand { color: #fff; }
.site-footer .brand img { background: #fff; border-radius: 50%; padding: 2px; }
.site-footer .brand-sub { color: var(--dark-muted); }
.footer-about { margin-top: 20px; max-width: 40ch; line-height: 1.7; }
.footer-title { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: var(--dark-text); transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  color: var(--dark-text);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom .mono { color: var(--dark-muted); font-size: 0.72rem; }

/* ---------- WhatsApp shortcut ------------------------------------------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); background: #188a49; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Map + logistics --------------------------------------------- */

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.logistics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.logistic {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--surface);
}
.logistic .icon-box { margin-bottom: 16px; }
.logistic b { display: block; font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -0.03em; line-height: 1; }
.logistic b small { font-size: 0.5em; color: var(--orange-700); margin-left: 3px; letter-spacing: 0; }
.logistic span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Prose (policy pages) ---------------------------------------- */

.prose { max-width: 75ch; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin-top: 10px; display: grid; gap: 6px; }
.prose a { color: var(--orange-700); }

/* ---------- Motion ------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 1180px) {
  .main-nav a { padding: 10px 10px; font-size: 0.93rem; }
  .main-nav a[aria-current="page"]::after { left: 10px; right: 10px; }
  .header-actions .btn-outline { display: none; }
  .cert-strip ul { grid-template-columns: repeat(3, 1fr); }
  .flow-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1020px) {
  :root { --header-h: 68px; }
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .topbar-certs { display: none; }
  .topbar .container { justify-content: center; }

  .grid-4, .kpi-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .cert-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split--wide-media, .contact-layout, .cta-inner { grid-template-columns: minmax(0, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .product-section-head { grid-template-columns: minmax(0, 1fr); }
  .cert-strip .container { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cert-strip-label { max-width: none; }

  .logistics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .route::before { display: none; }

  .path-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .path-item:nth-child(4) { border-left: 0; padding-left: 0; }

  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage:nth-of-type(even) .stage-media { order: 0; }

  /* Org chart becomes a stacked, readable list on tablets and phones */
  .org-wrap { overflow: visible; }
  .org-tree { min-width: 0; align-items: stretch; }
  .org-node { align-items: stretch; }
  .org-card.lvl-0, .org-card.lvl-1 { min-width: 0; }
  .org-line { margin: 0 auto; }
  .org-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 14px; }
  .org-branches::before, .org-branch::before { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .topbar { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }

  .grid-2, .grid-3, .grid-4, .cert-cards, .facts, .kpi-grid, .roadmap, .flow-phases { grid-template-columns: minmax(0, 1fr); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product button { padding: 10px; }
  .product figcaption { padding: 10px 12px 12px; }
  .product figcaption strong { font-size: 0.9rem; }

  .hero-inner { min-height: 0; }
  .hero::before {
    background: linear-gradient(180deg, rgba(21, 12, 32, 0.78) 0%, rgba(21, 12, 32, 0.9) 55%, rgba(21, 12, 32, 0.98) 100%);
  }
  .hero-actions .btn { flex: 1 1 100%; }
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec { padding: 18px 12px 16px 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .spec:nth-child(odd) { border-right: 1px solid var(--dark-line); margin-right: 0; }
  .spec:nth-child(even) { padding-left: 16px; }
  .spec:nth-last-child(-n+2) { border-bottom: 0; }

  .cert-strip ul { grid-template-columns: repeat(2, 1fr); }
  .grade-row { grid-template-columns: 40px minmax(0, 1fr); }
  .grade-row p { grid-column: 2; }
  .route { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .route li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; padding: 0 0 14px; }
  .route-dot { margin-bottom: 0; }
  .route li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--orange); opacity: 0.4; }

  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-item, .path-item + .path-item { padding: 18px 12px 14px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .path-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .map-frame { aspect-ratio: 4 / 5; }
  .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; }
  .form-foot .btn { width: 100%; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .quote-card .quote-media { height: 240px; }
  .service-card .service-top { flex-direction: column; }
  .service-card .service-metric { text-align: left; }
  .org-branches { grid-template-columns: minmax(0, 1fr); }
  .sector-bar div { font-size: 0.95rem; padding: 0 10px; }
}

@media print {
  .topbar, .site-header, .cta-band, .site-footer, .nav-toggle { display: none !important; }
  .hero, .page-hero { color: #000; background: none; }
  .hero::before, .page-hero::before, .hero-media, .page-hero-media { display: none; }
}
