/* ==========================================================================
   TryNextGen Technology and Solutions Inc. — main stylesheet
   Layout: sticky white header, alternating light / slate bands,
   12-column-feel grids that collapse to one column on phones.
   ========================================================================== */

:root {
  /* Brand colours */
  --teal: #00A896;          /* brand teal: buttons, icons, accents */
  --teal-text: #007A6D;     /* darker teal for small text on white (AA contrast) */
  --teal-tint: #E6F6F4;     /* soft teal wash */
  --slate: #1E2D3D;         /* brand slate: headings, dark bands */
  --slate-2: #273A4E;       /* raised surface on slate */
  --ink: #23313F;           /* body text */
  --muted: #5A6B7B;         /* secondary text */
  --line: #DCE4E8;          /* borders */
  --surface: #F4F8F9;       /* light section background */
  --white: #FFFFFF;
  --on-dark: #E8EEF2;       /* text on slate */
  --on-dark-muted: #A9B8C4; /* muted text on slate */
  --error: #C0392B;
  --success: #0E7C5A;

  /* Type */
  --font-display: "Exo 2", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;

  /* Scale */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(1.875rem, 1.4rem + 1.8vw, 2.625rem);
  --fs-3xl: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(30, 45, 61, .06), 0 8px 24px rgba(30, 45, 61, .08);
  --container: 1180px;
  --header-h: 96px;
  --gutter: 20px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--slate);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); font-weight: 800; font-style: italic; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-2xl); font-weight: 800; font-style: italic; }
h3 { font-size: var(--fs-lg); font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: var(--white); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--slate); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 6vw, 80px); }
.section--surface { background: var(--surface); }
.section.section--tight-top { padding-top: 40px; }
.section--dark { background: var(--slate); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }
.section--dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

/* Eyebrow uses the three-square motif from the logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text);
}
.eyebrow::before {
  content: ""; width: 26px; height: 8px; flex: none;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--slate), var(--slate)) 9px 0 / 8px 8px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 18px 0 / 8px 8px no-repeat;
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--teal); }
.section--dark .eyebrow::before {
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--white), var(--white)) 9px 0 / 8px 8px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 18px 0 / 8px 8px no-repeat;
}

.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: var(--fs-sm);
  padding: 13px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: #008F80; color: var(--white); }
.btn--outline { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--outline:hover { background: var(--slate); color: var(--white); }
.btn--light { background: var(--white); color: var(--slate); }
.btn--light:hover { background: var(--teal-tint); color: var(--slate); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link::after { content: "→"; transition: transform .2s; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(30,45,61,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; text-decoration: none; }
.brand img { height: 72px; width: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: var(--fs-sm); color: var(--slate); text-decoration: none;
}
.main-nav a:hover { background: var(--surface); color: var(--slate); }
.main-nav a.is-active { color: var(--teal-text); box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.main-nav .nav-cta { margin-left: 10px; }
.main-nav .nav-cta a { background: var(--teal); color: var(--white); padding: 10px 18px; }
.main-nav .nav-cta a:hover { background: #008F80; color: var(--white); }
.main-nav .nav-cta a.is-active { box-shadow: none; border-radius: var(--radius-sm); color: var(--white); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--slate); position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding-block: clamp(40px, 5vw, 72px); background: var(--surface); overflow: hidden; }
.hero::before { /* skewed panel echoing the tint behind "TRY" in the logo */
  content: ""; position: absolute; top: 0; bottom: 0; right: -8%; width: 52%;
  background: var(--teal-tint); transform: skewX(-10deg); transform-origin: top;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-copy h1 .hl { color: var(--teal); }
.hero-copy .lead { color: var(--muted); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; font-size: var(--fs-sm); color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); }

/* Order-flow panel: example of a supplier-routed auto parts order */
.flow-card {
  margin: 0;
  background: var(--slate); color: var(--on-dark); border-radius: 14px; box-shadow: 0 24px 60px rgba(30,45,61,.28);
  overflow: hidden; min-width: 0;
}
.flow-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono); font-size: var(--fs-xs);
}
.flow-head .order-id { color: var(--white); font-weight: 600; letter-spacing: .02em; }
.flow-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 99px;
  background: rgba(0,168,150,.16); color: #5FE0CF;
}
.flow-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.flow-steps { list-style: none; padding: 10px 22px 6px; }
.flow-step {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: start;
  padding: 13px 0; border-bottom: 1px dashed rgba(255,255,255,.1); position: relative;
}
.flow-step:last-child { border-bottom: 0; }
.flow-dot {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--slate-2); color: var(--on-dark-muted); font-family: var(--font-mono); font-size: var(--fs-xs);
  transition: background-color .3s, color .3s;
}
.flow-step.is-done .flow-dot { background: var(--teal); color: var(--white); }
.flow-step.is-active .flow-dot { background: var(--white); color: var(--slate); }
.flow-text { min-width: 0; }
.flow-text strong { display: block; color: var(--white); font-weight: 600; font-size: var(--fs-sm); }
.flow-text span { display: block; font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--on-dark-muted); overflow-wrap: anywhere; }
.flow-time { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--on-dark-muted); white-space: nowrap; padding-top: 4px; }
.flow-foot {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 14px 22px; background: rgba(0,0,0,.16); font-size: var(--fs-xs); color: var(--on-dark-muted);
}
.flow-foot b { color: var(--white); font-weight: 600; }

/* ---------- Supplier strip ---------- */
.supplier-strip { border-block: 1px solid var(--line); background: var(--white); padding-block: 26px; }
.supplier-inner { display: flex; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
.supplier-label { font-size: var(--fs-sm); color: var(--muted); max-width: 240px; line-height: 1.4; }
.supplier-label strong { color: var(--slate); font-family: var(--font-display); font-size: var(--fs-lg); font-style: italic; display: block; }
.supplier-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; min-width: 0; }
.supplier-list li {
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--slate);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); white-space: nowrap;
}

/* ---------- Service groups (home) ---------- */
.service-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-group {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
}
.service-group .group-tag {
  font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-text);
}
.service-group h3 { font-size: var(--fs-xl); font-style: italic; font-weight: 800; }
.service-group p { color: var(--muted); font-size: var(--fs-sm); }
.service-group ul { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: auto; }
.service-group li a {
  display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line);
  color: var(--slate); text-decoration: none; font-weight: 500; font-size: var(--fs-sm);
}
.service-group li a::after { content: "→"; color: var(--teal); transition: transform .2s; }
.service-group li a:hover { color: var(--teal-text); }
.service-group li a:hover::after { transform: translateX(3px); }

/* ---------- Split layout (automotive band etc.) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split > * { min-width: 0; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.check-list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 6px; margin-top: 2px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list strong { color: var(--slate); }
.section--dark .check-list strong { color: var(--white); }
.section--dark .check-list span { color: var(--on-dark-muted); }
.check-list span { display: block; color: var(--muted); font-size: var(--fs-sm); }

.panel-dark {
  background: var(--slate-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px);
}

/* ---------- Process steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 24px 0 0; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-sm); font-weight: 600;
  color: var(--teal-text); padding-bottom: 14px; border-bottom: 2px solid var(--line); margin-bottom: 6px;
}
.steps li:first-child::before { border-color: var(--teal); }
.steps p { color: var(--muted); font-size: var(--fs-sm); }
.section--dark .steps p { color: var(--on-dark-muted); }
.section--dark .steps li::before { color: var(--teal); border-color: rgba(255,255,255,.18); }
.section--dark .steps li:first-child::before { border-color: var(--teal); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feature .icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--teal-tint); color: var(--teal-text);
  display: grid; place-items: center;
}
.feature .icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: var(--fs-sm); }
.section--dark .feature p { color: var(--on-dark-muted); }
.section--dark .feature .icon { background: rgba(0,168,150,.16); color: #5FE0CF; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: var(--white); padding-block: clamp(40px, 5vw, 60px); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -6%; top: 0; bottom: 0; width: 34%; background: rgba(255,255,255,.08); transform: skewX(-10deg);
}
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 10px; max-width: 52ch; }
.cta-band .btn--light { color: var(--slate); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { background: var(--surface); padding-block: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: -10%; width: 40%; background: var(--teal-tint); transform: skewX(-10deg);
}
.page-hero .container { position: relative; display: flex; flex-direction: column; gap: 16px; }
.breadcrumb { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-text); }

/* ---------- Services detail ---------- */
.service-index { display: flex; flex-wrap: wrap; gap: 8px; }
.service-index a {
  font-size: var(--fs-sm); padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--white);
  color: var(--slate); text-decoration: none;
}
.service-index a:hover { border-color: var(--teal); color: var(--teal-text); }
.service-detail {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 5vw, 64px);
  padding-block: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px);
}
.service-detail:last-child { border-bottom: 0; }
.service-detail > * { min-width: 0; }
.service-detail .tag { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--teal-text); text-transform: uppercase; letter-spacing: .1em; }
.service-detail h2 { font-size: var(--fs-xl); margin-top: 8px; }
.service-detail .desc { color: var(--muted); }

/* ---------- Accordion (FAQ) ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 4px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: var(--fs-base); font-weight: 600; color: var(--slate);
}
.faq-q .plus { width: 28px; height: 28px; flex: none; border-radius: 6px; background: var(--teal-tint); position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal-text);
  transform: translate(-50%, -50%); transition: transform .25s;
}
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 4px 22px; color: var(--muted); max-width: 70ch; }
.js .faq-a { display: none; }
.js .faq-item.is-open .faq-a { display: block; }

/* ---------- About ---------- */
.statement {
  border-left: 4px solid var(--teal); padding: 6px 0 6px 24px; display: flex; flex-direction: column; gap: 10px;
}
.statement p { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; color: var(--slate); line-height: 1.35; }
.objective-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.objective { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.objective p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.contact-card .icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--teal-tint); color: var(--teal-text); display: grid; place-items: center; }
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card .label { font-family: var(--font-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-card .value { font-weight: 600; color: var(--slate); overflow-wrap: anywhere; }
.contact-card .value a { color: var(--slate); text-decoration: none; }
.contact-card .value a:hover { color: var(--teal-text); text-decoration: underline; }
.contact-card address { font-style: normal; color: var(--slate); font-weight: 500; line-height: 1.55; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; font-size: var(--fs-sm); }
.copy-btn {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--teal-text);
  font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px;
}
.copy-btn:hover { color: var(--slate); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h2 { font-size: var(--fs-xl); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--slate); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-base); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: var(--fs-xs); min-height: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-foot .note { font-size: var(--fs-xs); color: var(--muted); max-width: 40ch; }
.form-message {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: var(--fs-sm);
  background: var(--teal-tint); color: var(--slate); border: 1px solid rgba(0,168,150,.35);
}
.form-message.is-error { background: #FBEDEB; border-color: rgba(192,57,43,.35); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: var(--on-dark-muted); padding-top: clamp(40px, 5vw, 60px); font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer-grid > * { min-width: 0; }
.footer-logo { display: inline-block; margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius); background: var(--white); }
.footer-logo img { height: 64px; width: auto; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: var(--white); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--teal); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: var(--fs-xs);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  width: 46px; height: 46px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  background: var(--teal); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #008F80; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Data feed pipeline (home) ---------- */
.pipe {
  margin: 0; background: var(--slate); color: var(--on-dark); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(30,45,61,.22); overflow: hidden;
}
.pipe-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono); font-size: var(--fs-xs);
}
.pipe-head .order-id { color: var(--white); font-weight: 600; }
.pipe-cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; }
.pipe-col { position: relative; padding: 22px; min-width: 0; }
.pipe-col + .pipe-col { border-left: 1px dashed rgba(255,255,255,.14); }
.pipe-col:not(:last-child)::after { /* arrow between stages */
  content: ""; position: absolute; z-index: 2; right: -13px; top: 50%; width: 26px; height: 26px; margin-top: -13px;
  border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 0 0 4px var(--slate);
}
.pipe-label {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; font-style: normal;
  text-transform: uppercase; letter-spacing: .1em; color: var(--on-dark-muted);
}
.pipe-label span {
  width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center;
  background: rgba(0,168,150,.18); color: #5FE0CF; letter-spacing: 0;
}
.pipe-list, .rule-list, .pipe-stats { list-style: none; }
.pipe-list { display: grid; gap: 8px; }
.pipe-item, .pipe-dest {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 8px; background: var(--slate-2); border: 1px solid transparent;
  transition: opacity .3s, border-color .3s, background-color .3s;
}
.pipe-dest { grid-template-columns: 34px minmax(0, 1fr); }
.pipe-icon {
  width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center;
  background: rgba(0,168,150,.16); color: #5FE0CF;
}
.pipe-icon svg { width: 18px; height: 18px; }
.pipe-text { min-width: 0; }
.pipe-text strong { display: block; color: var(--white); font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.pipe-text code { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--on-dark-muted); overflow-wrap: anywhere; }
.fmt {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em;
  padding: 3px 7px; border-radius: 4px; color: var(--slate);
}
.fmt--csv { background: #5FE0CF; }
.fmt--xlsx { background: #8FD9A8; }
.fmt--json { background: #F2C76E; }
.fmt--xml { background: #A9C4F5; }
.rule-list { display: grid; gap: 4px; }
.rule {
  display: flex; align-items: center; gap: 12px; padding: 9px 0; color: var(--white); font-size: var(--fs-sm);
  border-bottom: 1px dashed rgba(255,255,255,.08); transition: opacity .3s;
}
.rule:last-child { border-bottom: 0; }
.rule-box {
  width: 20px; height: 20px; flex: none; border-radius: 5px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1.5px solid var(--teal); transition: background-color .3s, border-color .3s;
}
.pipe-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pipe-stats li { background: var(--slate-2); border-radius: 8px; padding: 12px; min-width: 0; }
.pipe-stats b {
  display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.5rem;
  color: var(--white); line-height: 1.1; font-variant-numeric: tabular-nums;
}
.pipe-stats span { display: block; font-size: 12px; color: var(--on-dark-muted); line-height: 1.35; margin-top: 4px; }
.pipe-features { margin-top: clamp(28px, 4vw, 44px); }

/* Sequence states (set by js/main.js; with no JS everything shows as complete) */
.pipe-item.is-pending, .pipe-dest.is-pending, .rule.is-pending { opacity: .38; }
.rule.is-pending .rule-box { background-color: transparent; background-image: none; border-color: rgba(255,255,255,.35); }
.pipe-item.is-active, .pipe-dest.is-active { border-color: var(--teal); background: rgba(0,168,150,.14); }
.rule.is-active .rule-box { background-image: none; background-color: var(--white); border-color: var(--white); }

/* ---------- EDI exchange (home) ---------- */
.split--edi { align-items: start; }
.std-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.std-list li {
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--slate);
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--white);
}
.edi-card {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); min-width: 0;
}
.edi-lanes {
  display: flex; justify-content: space-between; gap: 12px; padding: 0 0 14px 70px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.edi-lanes span { padding: 4px 9px; border-radius: 4px; background: var(--surface); color: var(--slate); }
.edi-lanes span:last-child { background: var(--teal-tint); color: var(--teal-text); }
.edi-list { list-style: none; }
.edi-row {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px dashed var(--line); transition: opacity .3s;
}
.edi-row:last-child { border-bottom: 0; }
.edi-code {
  font-family: var(--font-mono); font-weight: 600; font-size: var(--fs-sm); text-align: center;
  padding: 9px 0; border-radius: 6px; background: var(--slate); color: var(--white); transition: background-color .3s;
}
.edi-row.to-you .edi-code { background: var(--teal); }
.edi-body { min-width: 0; }
.edi-body strong { display: block; color: var(--slate); font-size: var(--fs-sm); line-height: 1.3; }
.edi-note { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.edi-track { display: block; position: relative; height: 14px; margin: 5px 0 4px; }
.edi-track::before { /* the line */
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--slate);
}
.edi-track i { /* arrowhead */
  position: absolute; top: 50%; width: 0; height: 0; margin-top: -6px;
  border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.edi-row.to-partner .edi-track i { left: 0; border-right: 10px solid var(--slate); }
.edi-row.to-you .edi-track::before { background: var(--teal); }
.edi-row.to-you .edi-track i { right: 0; border-left: 10px solid var(--teal); }
.edi-track::after { /* moving document, shown while a step is active */
  content: ""; position: absolute; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 3px;
  background: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); opacity: 0;
}
.edi-row.to-partner .edi-track::after { background: var(--slate); }
.edi-row.is-active.to-you .edi-track::after { opacity: 1; animation: edi-right 1.1s ease-in-out forwards; }
.edi-row.is-active.to-partner .edi-track::after { opacity: 1; animation: edi-left 1.1s ease-in-out forwards; }
@keyframes edi-right { from { left: 0; } to { left: calc(100% - 22px); } }
@keyframes edi-left { from { left: calc(100% - 12px); } to { left: 10px; } }
.edi-row.is-pending { opacity: .35; }
.edi-foot {
  padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted);
}

/* ---------- Supplier band (home) ---------- */
.supplier-band { background: var(--slate); color: var(--on-dark); padding-block: 30px; border-top: 4px solid var(--teal); }
.supplier-band-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; }
.supplier-stat { display: flex; align-items: center; gap: 16px; padding-right: 36px; border-right: 1px solid rgba(255,255,255,.14); }
.supplier-stat b {
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--teal);
}
.supplier-stat span { max-width: 22ch; font-size: var(--fs-sm); line-height: 1.4; color: var(--on-dark-muted); }
.marquee {
  overflow: hidden; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; }
.marquee-track li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.35rem; color: var(--white);
}
.marquee-track li::after { /* three-square separator from the logo */
  content: ""; width: 20px; height: 6px; margin-inline: 26px; flex: none;
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 6px 6px no-repeat,
    linear-gradient(var(--on-dark-muted), var(--on-dark-muted)) 7px 0 / 6px 6px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 14px 0 / 6px 6px no-repeat;
}
.marquee.is-running .marquee-track { flex-wrap: nowrap; width: max-content; animation: marquee 45s linear infinite; }
.marquee.is-running:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Outcome pills (data feeds) ---------- */
.outcomes { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.outcomes li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
  background: var(--teal-tint); color: var(--slate); font-weight: 600; font-size: var(--fs-sm);
}
.outcomes li::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* ---------- Process journey (home) ---------- */
.journey { --p: 1; }
.journey-track { position: relative; }
.journey-rail {
  position: absolute; top: 26px; left: 28px; right: calc(25% - 46px); height: 4px; margin-top: -2px;
  background: var(--line); border-radius: 4px; overflow: hidden;
}
.journey-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%);
  background: var(--teal); border-radius: 4px; transition: width .9s ease, height .9s ease;
}
.journey-steps { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.journey-step { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.journey-node {
  width: 56px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: var(--teal); color: var(--white); border: 2px solid var(--teal); position: relative;
  transition: background-color .4s, color .4s, border-color .4s;
}
.journey-node svg { width: 24px; height: 24px; }
.journey-step.is-pending .journey-node { background: var(--white); color: var(--muted); border-color: var(--line); }
.journey-step.is-active .journey-node { background: var(--slate); border-color: var(--slate); color: var(--white); }
.journey-step.is-active .journey-node::after {
  content: ""; position: absolute; inset: -8px; border-radius: 16px; border: 2px solid var(--teal);
  animation: node-pulse 1.4s ease-out infinite;
}
@keyframes node-pulse { from { opacity: .9; transform: scale(.92); } to { opacity: 0; transform: scale(1.12); } }
.journey-card {
  flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s, transform .4s;
}
.journey-step.is-active .journey-card { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-4px); }
.journey-num { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; color: var(--teal-text); text-transform: uppercase; letter-spacing: .1em; }
.journey-card h3 { font-size: var(--fs-xl); font-style: italic; font-weight: 800; }
.journey-card p { color: var(--muted); font-size: var(--fs-sm); }
.journey-out {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-weight: 600; color: var(--slate); font-size: var(--fs-sm); line-height: 1.4;
}
.journey-out span {
  display: block; margin-bottom: 4px; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.journey-loop {
  display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 16px 20px;
  border: 1.5px dashed var(--teal); border-radius: var(--radius); background: var(--white);
  color: var(--slate); font-size: var(--fs-sm); font-weight: 500;
}
.journey-loop svg { width: 26px; height: 26px; flex: none; color: var(--teal); }

/* ---------- Why TryNextGen / USP (home) ---------- */
.usp { background: var(--slate); color: var(--on-dark); position: relative; overflow: hidden; }
.usp::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -12%; width: 46%;
  background: rgba(0,168,150,.07); transform: skewX(-10deg);
}
.usp-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.usp-intro {
  display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.usp-intro h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.usp-intro .eyebrow { color: var(--teal); }
.usp-intro .eyebrow::before {
  background:
    linear-gradient(var(--teal), var(--teal)) 0 0 / 8px 8px no-repeat,
    linear-gradient(var(--white), var(--white)) 9px 0 / 8px 8px no-repeat,
    linear-gradient(var(--teal), var(--teal)) 18px 0 / 8px 8px no-repeat;
}
.usp-intro .lead { color: var(--on-dark-muted); }
.promise { padding: 22px 24px; border-radius: var(--radius); background: rgba(0,168,150,.12); border: 1px solid rgba(0,168,150,.4); }
.promise h3 { color: var(--white); font-size: var(--fs-base); margin-bottom: 14px; }
.promise .check-list { gap: 10px; }
.promise .check-list strong { color: var(--white); font-weight: 500; font-size: var(--fs-sm); }
.usp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.usp-card {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius);
  background: var(--slate-2); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s, transform .25s;
}
.usp-card:hover { border-color: var(--teal); transform: translateY(-3px); }
.usp-icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--teal); color: var(--white); }
.usp-icon svg { width: 24px; height: 24px; }
.usp-card h3 { color: var(--white); font-size: 1.35rem; font-style: italic; font-weight: 800; }
.usp-card p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.usp-proof {
  margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; color: #5FE0CF;
}
.usp-proof::before { content: "→ "; }

.fmt--web { background: #F4B08A; }

/* ---------- End-to-end parts flow (automotive) ---------- */
.eco { display: flex; flex-direction: column; }
.eco-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.eco-tab {
  font: inherit; font-weight: 600; font-size: var(--fs-sm); padding: 10px 18px; border-radius: 99px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--slate); transition: background-color .2s, color .2s, border-color .2s;
}
.eco-tab:hover { border-color: var(--teal); }
.eco-tab[aria-selected="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.eco-map {
  display: grid; align-items: stretch;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) 36px minmax(0, 1.15fr) 36px minmax(0, 1fr);
}
.eco-col { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; min-width: 0; }
.eco-col--core { background: var(--slate); border-color: var(--slate); box-shadow: 0 20px 50px rgba(30,45,61,.25); }
.eco-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; font-style: normal;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.eco-head span {
  width: 22px; height: 22px; flex: none; border-radius: 5px; display: grid; place-items: center; letter-spacing: 0;
  background: var(--teal-tint); color: var(--teal-text);
}
.eco-col--core .eco-head { color: #5FE0CF; }
.eco-col--core .eco-head span { background: var(--teal); color: var(--white); }
.eco-nodes { list-style: none; display: grid; gap: 8px; }
.eco-node {
  padding: 10px 12px; border-radius: 8px; background: var(--surface); border: 1px solid transparent; border-left: 3px solid var(--teal);
  transition: opacity .35s, background-color .35s, border-color .35s;
}
.eco-node strong { display: block; font-size: var(--fs-sm); color: var(--slate); line-height: 1.3; }
.eco-node span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.eco-col--core .eco-node { background: var(--slate-2); }
.eco-col--core .eco-node strong { color: var(--white); }
.eco-col--core .eco-node span { color: var(--on-dark-muted); }
.eco-node.is-hit { background: var(--teal-tint); border-color: var(--teal); }
.eco-col--core .eco-node.is-hit { background: rgba(0,168,150,.2); border-color: var(--teal); }
.eco-node.is-dim { opacity: .3; border-left-color: var(--line); }
.eco-col--core .eco-node.is-dim { border-left-color: rgba(255,255,255,.15); }
.eco-link { display: flex; align-items: center; justify-content: center; }
.eco-link span {
  position: relative; display: block; width: 100%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 14px);
  animation: dash-flow .7s linear infinite;
}
.eco-link span::after {
  content: ""; position: absolute; right: -4px; top: 50%; margin-top: -6px;
  border-left: 9px solid var(--teal); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
@keyframes dash-flow { from { background-position: 0 0; } to { background-position: 14px 0; } }
.eco-return {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 20px; padding: 16px 20px;
  border: 1.5px dashed var(--teal); border-radius: 12px; background: var(--white);
}
.eco-return-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: var(--fs-sm); color: var(--slate); }
.eco-return-label svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.eco-return-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.eco-return-steps li { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--slate); }
.eco-return-steps li:not(:last-child)::after { content: "→"; margin-left: 10px; color: var(--teal); }
.eco-info {
  margin-top: 20px; padding: 24px 28px; border-radius: 12px; background: var(--white);
  border: 1px solid var(--line); border-left: 4px solid var(--teal);
}
.eco-info h3 { font-size: var(--fs-xl); font-style: italic; font-weight: 800; }
.eco-info p { margin-top: 8px; color: var(--muted); max-width: 78ch; }
.eco-info .eco-example { color: var(--teal-text); font-weight: 600; font-size: var(--fs-sm); }

/* ---------- Client work ---------- */
.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.client-card {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 30px); min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; scroll-margin-top: calc(var(--header-h) + 16px);
}
.client-top { display: flex; flex-direction: column; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.client-tag { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-text); }
.client-card h3 { font-size: var(--fs-xl); font-style: italic; font-weight: 800; }
.client-result { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.3; color: var(--teal-text); }
.client-summary { color: var(--muted); font-size: var(--fs-sm); }
.client-points { gap: 8px; }
.client-points strong { font-weight: 500; font-size: var(--fs-sm); }
.client-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.client-chips li { font-family: var(--font-mono); font-size: var(--fs-xs); padding: 4px 10px; border-radius: 99px; background: var(--slate); color: var(--white); }
.client-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.client-mini {
  display: flex; flex-direction: column; gap: 8px; padding: 22px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.client-mini:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.client-mini h3 { font-size: var(--fs-lg); font-style: italic; font-weight: 800; }
.client-mini p { flex: 1; color: var(--muted); font-size: var(--fs-sm); }
.client-mini .arrow-link { font-size: var(--fs-sm); color: var(--teal-text); }

/* ---------- Supplier groups (automotive) ---------- */
.sup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sup-group { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); min-width: 0; }
.sup-group h3 { font-size: var(--fs-base); margin-bottom: 14px; }
.sup-group .supplier-list li { background: var(--white); white-space: normal; }
.sup-processing { margin-top: 20px; padding: 22px; border: 1.5px dashed var(--teal); border-radius: 12px; }
.sup-processing h3 { font-size: var(--fs-base); margin-bottom: 14px; }

/* ---------- AI solutions (home) ---------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
.ai-demo {
  margin: 0; min-width: 0; border-radius: 14px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(30,45,61,.14);
}
.ai-demo-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; background: var(--teal-tint); border-bottom: 1px solid var(--line);
}
.ai-demo-title { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; color: var(--slate); }
.ai-demo-title svg { width: 18px; height: 18px; color: var(--teal-text); }
.ai-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 99px;
  background: var(--white); font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--teal-text);
}
.ai-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.ai-raw { padding: 16px 20px; border-bottom: 1px dashed var(--line); }
.ai-raw code {
  display: block; margin-top: 6px; padding: 10px 12px; border-radius: 6px; background: var(--slate); color: #F2C76E;
  font-family: var(--font-mono); font-size: 12.5px; overflow-wrap: anywhere;
}
.ai-label { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.ai-rows { list-style: none; padding: 6px 20px 10px; }
.ai-row {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line); transition: opacity .3s, background-color .3s;
}
.ai-row:last-child { border-bottom: 0; }
.ai-value { font-size: var(--fs-sm); color: var(--slate); font-weight: 500; line-height: 1.45; }
.ai-row:last-child .ai-value { color: var(--success); font-weight: 600; }
.ai-row.is-pending { opacity: .22; }
.ai-row.is-active { background: linear-gradient(90deg, var(--teal-tint), transparent); }
.ai-row.is-active .ai-value::after {
  content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -2px;
  background: var(--teal); animation: caret-blink .8s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.ai-demo-foot {
  display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
  padding: 12px 20px; background: var(--surface); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted);
}
.ai-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 22px; }
.ai-use { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ai-use .icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--slate); color: #5FE0CF;
}
.ai-use .icon svg { width: 22px; height: 22px; }
.ai-use h3 { font-size: var(--fs-base); }
.ai-use p { margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Search visibility: SEO, AEO, GEO, Merchant Center (home) ---------- */
.search-mock {
  display: flex; align-items: center; gap: 12px; max-width: 760px; margin-bottom: 28px; padding: 14px 18px 14px 20px;
  border-radius: 99px; background: var(--white); color: var(--slate); box-shadow: 0 16px 40px rgba(0,0,0,.25);
  font-size: var(--fs-base); min-width: 0;
}
.search-mock > svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search-text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.search-caret { width: 2px; height: 1.2em; flex: none; margin-left: -10px; background: var(--teal); animation: caret-blink .8s steps(1) infinite; }
.search-where {
  margin-left: auto; flex: none; padding: 5px 12px; border-radius: 99px; background: var(--slate); color: #5FE0CF;
  font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600;
}
.vis-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vis-card {
  display: flex; flex-direction: column; gap: 10px; padding: 24px; min-width: 0; border-radius: var(--radius);
  background: var(--slate-2); border: 1px solid rgba(255,255,255,.08); transition: opacity .3s, border-color .3s, transform .3s;
}
.vis-tag {
  align-self: flex-start; padding: 6px 12px; border-radius: 6px; background: var(--teal); color: var(--white);
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.25rem; line-height: 1;
}
.vis-card h3 { color: var(--white); font-size: var(--fs-base); }
.vis-card p { color: var(--on-dark-muted); font-size: var(--fs-sm); }
.vis-card ul { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.vis-card li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; color: var(--on-dark); font-size: var(--fs-xs); line-height: 1.45; }
.vis-card li::before { content: "→"; color: #5FE0CF; }
.vis-card.is-pending { opacity: .5; }
.vis-card.is-active { border-color: var(--teal); transform: translateY(-4px); }

/* ---------- Services page ---------- */
.finder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 48px; align-items: start; }
.finder-head { grid-row: span 2; display: flex; flex-direction: column; gap: 12px; }
.finder-head h2 { font-size: var(--fs-2xl); }
.problems { display: flex; flex-wrap: wrap; gap: 10px; }
.problem {
  font: inherit; font-size: var(--fs-sm); font-weight: 600; text-align: left; cursor: pointer;
  padding: 12px 16px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); color: var(--slate);
  transition: background-color .2s, color .2s, border-color .2s;
}
.problem:hover { border-color: var(--teal); }
.problem[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.finder-result {
  padding: 18px 20px; border-radius: 12px; background: var(--teal-tint); border: 1px solid rgba(0,168,150,.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
}
.finder-hint { color: var(--muted); font-size: var(--fs-sm); }
.finder-result strong { color: var(--slate); font-size: var(--fs-sm); }
.finder-result ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.finder-result a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px;
  background: var(--teal); color: var(--white); font-weight: 600; font-size: var(--fs-sm); text-decoration: none;
}
.finder-result a::after { content: "↓"; }
.finder-result a:hover { background: var(--slate); color: var(--white); }

.svc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.svc-nav-inner { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.svc-nav-group {
  margin: 16px 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.svc-nav-group:first-child { margin-top: 0; }
.svc-nav ul { list-style: none; display: grid; gap: 2px; }
.svc-nav li a {
  display: block; padding: 7px 10px; border-radius: 6px; border-left: 2px solid transparent;
  font-size: var(--fs-sm); color: var(--slate); text-decoration: none; transition: background-color .2s, color .2s;
}
.svc-nav li a:hover { background: var(--surface); color: var(--slate); }
.svc-nav li a.is-active { background: var(--teal-tint); color: var(--teal-text); font-weight: 600; border-left-color: var(--teal); }
.svc-nav li a.is-match { box-shadow: inset 0 0 0 1.5px var(--teal); }
.svc-nav-cta { width: 100%; margin-top: 18px; }
.svc-list { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.svc-group-head { display: flex; flex-direction: column; gap: 4px; padding-top: 24px; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-group-head:first-child { padding-top: 0; }
.svc-group-head p { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: var(--fs-xl); color: var(--slate); line-height: 1.2; }
.svc {
  display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px);
  transition: border-color .3s, box-shadow .3s;
}
.svc.is-match { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,168,150,.18); }
.svc-head { display: flex; align-items: center; gap: 16px; }
.svc-icon { width: 52px; height: 52px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--slate); color: #5FE0CF; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-tag { font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-text); }
.svc h2 { font-size: var(--fs-xl); margin-top: 2px; }
.svc-outcome { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); line-height: 1.3; color: var(--teal-text); }
.svc-desc { color: var(--muted); }
.svc-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; padding-top: 18px; margin-top: 4px; border-top: 1px solid var(--line); }
.svc-label {
  margin-bottom: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; font-style: normal;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.svc .check-list { gap: 10px; }
.svc .check-list strong { font-weight: 500; font-size: var(--fs-sm); }
.svc-side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.svc-fit { padding: 16px 18px; border-radius: 10px; background: var(--surface); border-left: 3px solid var(--teal); }
.svc-fit .svc-label { margin-bottom: 6px; }
.svc-fit p { font-size: var(--fs-sm); color: var(--slate); }
.svc-related { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-related a {
  display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 500; color: var(--slate); text-decoration: none;
}
.svc-related a:hover { border-color: var(--teal); color: var(--teal-text); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 6px; }

.model-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.model { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); }
.model-icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-text); }
.model-icon svg { width: 24px; height: 24px; }
.model h3 { font-size: var(--fs-xl); font-style: italic; font-weight: 800; }
.model p { color: var(--muted); font-size: var(--fs-sm); }
.model-best { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; color: var(--teal-text); }
.model:nth-child(2) { background: var(--slate); border-color: var(--slate); }
.model:nth-child(2) h3 { color: var(--white); }
.model:nth-child(2) p { color: var(--on-dark-muted); }
.model:nth-child(2) .model-icon { background: var(--teal); color: var(--white); }
.model:nth-child(2) .model-best { color: #5FE0CF; border-color: rgba(255,255,255,.15); }
.stack-strip { margin-top: 36px; padding: 24px; border: 1.5px dashed var(--teal); border-radius: 12px; }
.stack-strip h3 { font-size: var(--fs-base); margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .service-groups, .objective-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 80px; }
  .brand img { height: 58px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .hero-grid, .split, .contact-grid, .service-detail { grid-template-columns: 1fr; }
  .hero::before { width: 70%; right: -30%; }
  .feature-grid--3 { grid-template-columns: 1fr 1fr; }
  .finder { grid-template-columns: 1fr; }
  .finder-head { grid-row: auto; }
  .model-grid { grid-template-columns: 1fr; }
  .pipe-cols { grid-template-columns: 1fr; }
  .pipe-col + .pipe-col { border-left: 0; border-top: 1px dashed rgba(255,255,255,.14); }
  .pipe-col:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -13px; margin: 0 0 0 -13px; transform: rotate(90deg); }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .service-groups, .objective-grid, .feature-grid, .feature-grid--3, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .steps li { padding-right: 0; }
  .flow-step { grid-template-columns: 30px 1fr; }
  .flow-time { display: none; }
  .supplier-label { max-width: none; }
  .btn-row .btn { flex: 1 1 auto; }
  .cta-inner .btn { width: 100%; }
}

@media (max-width: 1080px) {
  .journey-steps { grid-template-columns: 1fr; gap: 20px; }
  .journey-step { flex-direction: row; align-items: flex-start; }
  .journey-rail { display: none; }
  .journey-step { position: relative; }
  .journey-step:not(:last-child)::before { /* connector to the next step */
    content: ""; position: absolute; left: 26px; top: 52px; bottom: -20px; width: 4px;
    background: var(--teal); transition: background-color .6s;
  }
  .journey-step.is-pending::before, .journey-step.is-active::before { background: var(--line); }
  .journey-step.is-active .journey-card { transform: none; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-intro { position: static; }
  .eco-map { grid-template-columns: minmax(0, 1fr); order: 2; }
  .eco-info { order: 1; margin: 0 0 20px; }
  .eco-return { order: 3; }
  .eco-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-link { height: 34px; }
  .eco-link span {
    width: 3px; height: 100%;
    background: repeating-linear-gradient(180deg, var(--teal) 0 8px, transparent 8px 14px);
    animation-name: dash-flow-down;
  }
  .eco-link span::after {
    right: auto; top: auto; left: 50%; bottom: -4px; margin: 0 0 0 -6px;
    border-top: 9px solid var(--teal); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0;
  }
  .client-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-grid { grid-template-columns: 1fr; }
  .vis-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .svc-nav { top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); }
  .svc-nav-inner {
    display: flex; gap: 6px; overflow-x: auto; padding: 10px var(--gutter); border-radius: 0; border-inline: 0;
    scrollbar-width: none; box-shadow: 0 6px 16px rgba(30,45,61,.06);
  }
  .svc-nav-inner::-webkit-scrollbar { display: none; }
  .svc-nav-group, .svc-nav-cta { display: none; }
  .svc-nav ul { display: contents; }
  .svc-nav li { flex: none; }
  .svc-nav li a { white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; }
  .svc-nav li a.is-active { border-color: var(--teal); }
}
@keyframes dash-flow-down { from { background-position: 0 0; } to { background-position: 0 14px; } }

@media (max-width: 760px) {
  .supplier-band-inner { grid-template-columns: 1fr; gap: 20px; }
  .supplier-stat { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .usp-cards { grid-template-columns: 1fr; }
  .client-grid, .sup-grid, .svc-cols { grid-template-columns: 1fr; }
  .svc-head { align-items: flex-start; }
  .svc-icon { width: 44px; height: 44px; }
}

@media (max-width: 600px) {
  .journey-step { gap: 14px; }
  .journey-node { width: 46px; height: 44px; }
  .journey-step:not(:last-child)::before { left: 21px; top: 44px; }
  .journey-card { padding: 18px; }
  .eco-nodes, .client-mini-grid, .ai-uses, .vis-grid { grid-template-columns: 1fr; }
  .ai-row { grid-template-columns: 1fr; gap: 2px; }
  .search-mock { font-size: var(--fs-sm); padding: 12px 14px; border-radius: 14px; flex-wrap: wrap; }
  .search-text { flex: 1 1 0; }
  .search-where { margin-left: 0; }
  .eco-info { padding: 20px; }
  .eco-tab { padding: 9px 14px; }
  .marquee-track li { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Services page header holds the problem finder */
.finder-hero .finder-head h1 { font-size: clamp(2.1rem, 1.4rem + 2.4vw, 3.1rem); }
.finder-hero .finder-head .lead { font-size: var(--fs-base); }
.finder-hero .problem { box-shadow: 0 1px 2px rgba(30,45,61,.05); }

/* ---------- Showcase: four demos in tabs (home) ---------- */
.showcase-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.sc-tab {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; min-width: 0;
  font: inherit; text-align: left; color: var(--slate); cursor: pointer;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 12px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.sc-tab:hover { border-color: var(--teal); }
.sc-icon { width: 40px; height: 40px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-text); }
.sc-icon svg { width: 20px; height: 20px; }
.sc-text { min-width: 0; }
.sc-text strong { display: block; font-size: var(--fs-sm); font-weight: 700; line-height: 1.3; }
.sc-text small { display: block; margin-top: 2px; font-size: var(--fs-xs); line-height: 1.35; color: var(--muted); }
.sc-tab[aria-selected="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.sc-tab[aria-selected="true"] .sc-text small { color: var(--on-dark-muted); }
.sc-tab[aria-selected="true"] .sc-icon { background: var(--teal); color: var(--white); }
.sc-tab[aria-selected="true"]::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; margin-left: -9px;
  border-left: 9px solid transparent; border-right: 9px solid transparent; border-top: 10px solid var(--slate);
}
.showcase-panel { outline: none; }
.showcase-panel:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; border-radius: 12px; }
.showcase-panel + .showcase-panel { margin-top: 64px; }
.js .showcase-panel:not(.is-active) { display: none; }
.js .showcase-panel + .showcase-panel { margin-top: 0; }
.showcase-panel .section-head { margin-bottom: 28px; }
.showcase-panel .section-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.vis-box { border-radius: 16px; padding: clamp(24px, 4vw, 44px); }
.supplier-link { grid-column: 1 / -1; justify-self: start; font-size: var(--fs-sm); color: #5FE0CF; }
.supplier-link:hover { color: var(--white); }

@media (max-width: 1080px) {
  .showcase-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-tab[aria-selected="true"]::after { display: none; }
}
@media (max-width: 600px) {
  .sc-tab { padding: 12px; gap: 10px; }
  .sc-icon { width: 34px; height: 34px; }
  .sc-text small { display: none; }
  .showcase-tabs { gap: 8px; margin-bottom: 24px; }
}

/* ---------- Service areas (about, contact) ---------- */
.area-title { color: var(--white); font-size: var(--fs-base); margin-bottom: 14px; }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li {
  padding: 8px 14px; border-radius: 99px; background: rgba(0,168,150,.16); border: 1px solid rgba(0,168,150,.4);
  color: var(--white); font-weight: 600; font-size: var(--fs-sm);
}
.area-text { color: var(--slate); font-weight: 500; line-height: 1.55; }

/* ---------- Mobile slide-in menu ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 290; background: rgba(30,45,61,.55);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 300; width: min(84vw, 380px);
  display: flex; flex-direction: column; background: var(--white);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 12px 0 40px rgba(30,45,61,.25);
  transform: translateX(-100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-open, .drawer-open body { overflow: hidden; }
.drawer-open .to-top { display: none; }
.drawer-head { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); min-height: 64px; flex: none; }
.drawer-title { flex: 1; display: flex; align-items: center; padding: 0 22px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--slate); }
.drawer-close {
  width: 64px; flex: none; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line);
  background: none; color: var(--muted); cursor: pointer;
}
.drawer-close svg { width: 26px; height: 26px; }
.drawer-close:hover { color: var(--slate); background: var(--surface); }
.drawer-nav { flex: 1; overflow-y: auto; }
.drawer-list { list-style: none; }
.drawer-list > li { border-bottom: 1px solid var(--line); }
.drawer-list a {
  display: block; padding: 18px 22px; font-size: 1.1rem; color: var(--slate); text-decoration: none;
}
.drawer-list a:hover { background: var(--surface); color: var(--slate); }
.drawer-list a.is-current { color: var(--teal-text); font-weight: 600; box-shadow: inset 4px 0 0 var(--teal); }
.drawer-row { display: flex; align-items: stretch; }
.drawer-row > a { flex: 1; }
.drawer-sub-toggle {
  width: 64px; flex: none; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line);
  background: none; color: var(--muted); cursor: pointer;
}
.drawer-sub-toggle svg { width: 22px; height: 22px; transition: transform .25s; }
.drawer-sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer-sub { display: none; background: var(--surface); border-top: 1px solid var(--line); }
.drawer-sub.is-open { display: block; }
.drawer-sub ul { list-style: none; padding: 6px 0; }
.drawer-sub a { padding: 11px 22px 11px 34px; font-size: var(--fs-sm); }
.drawer-foot { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.drawer-foot .btn { width: 100%; margin-bottom: 6px; }
.drawer-contact { font-size: var(--fs-sm); color: var(--muted); text-decoration: none; }
.drawer-contact:hover { color: var(--teal-text); }
@media (min-width: 921px) { .drawer, .drawer-overlay { display: none; } }

/* ---------- Social links ---------- */
.social { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.14);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.social a:hover { background: var(--teal); border-color: var(--teal); color: var(--white); transform: translateY(-2px); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.social--light a { background: var(--teal-tint); color: var(--teal-text); border-color: transparent; }
.social--light a:hover { background: var(--teal); color: var(--white); }
.social-label { margin: 18px 0 10px; font-family: var(--font-mono); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--white); }
.contact-card .social { margin-top: 12px; }
.drawer-foot .social { margin-top: 6px; }
.site-footer .social { flex-direction: row; gap: 10px; }
.site-footer .social a:hover { color: var(--white); text-decoration: none; }
