/* ==========================================================================
   JAZA OILFIELD SERVICES — Corporate website
   Design: premium industrial corporate · navy / graphite base · steel + energy-blue accents
   Fonts: Archivo (display) · Inter (text) · IBM Plex Mono (technical labels)
   ========================================================================== */

:root {
  --navy-950: #050F1A;
  --navy-900: #0A1B2C;
  --navy-850: #0D2236;
  --navy-800: #112A42;
  --navy-700: #1A3856;
  --graphite: #2A3440;
  --steel-500: #8796A8;
  --steel-300: #BCC6D1;
  --steel-200: #D9DFE6;
  --steel-100: #EBEFF3;
  --paper: #F5F7F9;
  --white: #FFFFFF;
  --ink: #0B1724;
  --ink-soft: #4A5868;
  --accent: #1E9AD6;
  --accent-600: #1580B6;
  --accent-glow: rgba(30, 154, 214, .35);
  --energy: #E2A13B;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-stretch: 95%;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -0.01em; }
h4, .h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--accent); color: var(--white); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: .78rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero .eyebrow::before, .page-hero .eyebrow::before { content: none; }
.on-dark .eyebrow, .eyebrow.light { color: #6CC4EE; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); max-width: 62ch; }
.on-dark .lead { color: var(--steel-300); }
.muted { color: var(--ink-soft); }
.mono { font-family: var(--font-mono); }
.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--accent); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: var(--radius);
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy-900);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--navy-900); }
.btn .arrow { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost::before { background: var(--white); }
.btn-ghost:hover { color: var(--navy-900); border-color: var(--white); }
.btn-outline { --bg: transparent; --fg: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { color: #fff; }
.on-dark .btn::before { background: var(--white); }
.on-dark .btn:hover { color: var(--navy-900); border-color: #fff; }
.btn-sm { padding: 11px 18px; font-size: .78rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.on-dark .link-arrow { color: #6CC4EE; }

/* ---------- Top bar + header ---------- */
.topbar {
  position: relative; z-index: 60;
  background: var(--navy-950); color: var(--steel-300);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar-left { display: flex; gap: 18px; align-items: center; }
.topbar-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--white); transition: color .25s; white-space: nowrap; }
.topbar-phone svg { width: 14px; height: 14px; color: #6CC4EE; flex-shrink: 0; }
.topbar-phone:hover { color: #6CC4EE; }
.topbar-wa { display: inline-flex; align-items: center; gap: 7px; color: var(--steel-300); transition: color .25s; }
.topbar-wa svg { width: 15px; height: 15px; flex-shrink: 0; }
.topbar-wa:hover { color: #25D366; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; }
.lang-switch button {
  background: none; border: 0; padding: 4px 6px; cursor: pointer;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: var(--steel-500);
  transition: color .25s;
}
.lang-switch button[aria-pressed="true"] { color: var(--white); }
.lang-switch button:hover { color: var(--white); }
.lang-switch .sep { color: var(--navy-700); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(10, 27, 44, .0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.is-solid, body.page-light .site-header {
  background: rgba(8, 22, 36, .92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header.is-compact { height: 70px; }
.has-hero .site-header { margin-bottom: calc(var(--header-h) * -1); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--white); flex-shrink: 0; }
.brand img { width: 50px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-6deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .06em; }
.brand-sub { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .28em; color: #6CC4EE; margin-top: 6px; }

.main-nav { display: flex; align-items: center; gap: 6px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px;
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  transition: color .25s;
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-link .chev { width: 10px; height: 10px; opacity: .7; transition: transform .35s var(--ease); }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link, .nav-link[aria-current="page"] { color: var(--white); }
.nav-item:hover .nav-link::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-item:hover .chev, .nav-item:focus-within .chev { transform: rotate(180deg); }
.sub-toggle { display: none; }

/* Dropdown (vertical list on hover) */
.submenu {
  position: absolute; top: calc(100% - 10px); left: 0; min-width: 270px;
  padding: 10px 0; background: rgba(8, 22, 36, .98);
  border-top: 2px solid var(--accent);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s;
}
.submenu a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 22px; font-size: .9rem; color: var(--steel-300);
  transition: color .25s, background .25s, padding .3s var(--ease);
}
.submenu a:hover, .submenu a:focus-visible { color: var(--white); background: rgba(255,255,255,.04); padding-left: 26px; }
.header-cta { flex-shrink: 0; padding: 8px 14px; font-size: .72rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius);
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: max(640px, min(100vh, 980px));
  display: flex; align-items: flex-end;
  color: var(--white); background: var(--navy-950); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  transform: scale(1.12); animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,15,26,.94) 0%, rgba(5,15,26,.8) 45%, rgba(5,15,26,.25) 80%),
    linear-gradient(0deg, rgba(5,15,26,.95) 0%, rgba(5,15,26,0) 45%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 80px); padding-bottom: 150px; }
.hero h1 { max-width: 20ch; margin-bottom: 26px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero .tagline {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: #8FD3F4; letter-spacing: .01em; margin-bottom: 18px;
}
.hero .lead { color: var(--steel-300); margin-bottom: 40px; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .45s; } .d2 { animation-delay: .6s; } .d3 { animation-delay: .75s; } .d4 { animation-delay: .9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .3em; color: var(--steel-300);
  padding-left: .3em; transition: color .25s;
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue { opacity: 0; animation: cueIn 1s .9s var(--ease) forwards; }
@keyframes cueIn { to { opacity: 1; } }
.scroll-cue i { width: 1px; height: 64px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--white); background: var(--navy-950);
  padding: calc(var(--header-h) + 110px) 0 96px; overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5,15,26,.94) 0%, rgba(5,15,26,.78) 45%, rgba(5,15,26,.35) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 18ch; }
.page-hero .lead { color: var(--steel-300); }
.crumbs { display: flex; gap: 10px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 28px; }
.crumbs a:hover { color: var(--white); }
.page-hero .index-num {
  position: absolute; right: var(--gutter); bottom: -0.18em; z-index: 1;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(8rem, 20vw, 18rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); letter-spacing: -0.04em;
  pointer-events: none;
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 90px) 0; }
.bg-paper { background: var(--paper); }
.bg-dark, .on-dark { background: var(--navy-900); color: var(--white); }
.bg-deeper { background: var(--navy-950); color: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lead { margin: 0; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media .img-frame { aspect-ratio: 4 / 5; }
.split-media .tag-card {
  position: absolute; left: -32px; bottom: 40px; max-width: 280px;
  background: var(--navy-900); color: var(--white); padding: 26px 28px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 30px 60px -20px rgba(5,15,26,.5);
}
.tag-card .mono { font-size: .7rem; letter-spacing: .16em; color: #6CC4EE; text-transform: uppercase; }
.tag-card p { margin: 8px 0 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }

/* Image frame with reveal */
.img-frame { position: relative; overflow: hidden; background: var(--navy-800); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.img-frame::after {
  content: ""; position: absolute; inset: 0; background: var(--navy-900);
  transform-origin: right; transition: transform 1.1s var(--ease-in-out);
}
.img-frame.is-visible img { transform: scale(1); }
.img-frame.is-visible::after { transform: scaleX(0); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--steel-200); border-left: 1px solid var(--steel-200); }
.pillar {
  position: relative; padding: 40px 28px 44px; border-right: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200);
  background: var(--white); transition: background .5s var(--ease), color .5s var(--ease);
  overflow: hidden;
}
.pillar::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.pillar:hover { background: var(--navy-900); color: var(--white); }
.pillar:hover::before { transform: scaleX(1); }
.pillar .num { font-family: var(--font-mono); font-size: .75rem; color: var(--steel-500); letter-spacing: .12em; }
.pillar .icon { width: 44px; height: 44px; margin: 0 0 24px; color: var(--accent); }
.pillar h3 { font-size: 1.18rem; margin-bottom: 10px; }
.pillar p { font-size: .95rem; color: var(--ink-soft); margin: 0; transition: color .5s; }
.pillar:hover p { color: var(--steel-300); }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--steel-200); border: 1px solid var(--steel-200); }
.on-dark .services-grid { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.08); }
.svc-card {
  position: relative; display: flex; flex-direction: column; min-height: 360px;
  padding: 40px 34px; background: var(--white); overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease);
}
.on-dark .svc-card { background: var(--navy-900); }
.svc-card .svc-bg { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity .6s var(--ease); }
.svc-card .svc-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.2s var(--ease); }
.svc-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,15,26,.55), rgba(5,15,26,.94)); opacity: 0; transition: opacity .6s var(--ease); }
.svc-card:hover { color: var(--white); }
.svc-card:hover .svc-bg, .svc-card:hover::after { opacity: 1; }
.svc-card:hover .svc-bg img { transform: scale(1); }
.svc-card .num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; color: var(--accent-600); }
.svc-card:hover .num { color: #6CC4EE; }
.svc-card h3 { margin: 22px 0 14px; font-size: 1.45rem; }
.svc-card p { font-size: .97rem; color: var(--ink-soft); transition: color .5s; }
.on-dark .svc-card p, .svc-card:hover p { color: var(--steel-300); }
.svc-card .link-arrow { margin-top: auto; padding-top: 18px; }
.svc-card:hover .link-arrow { color: #6CC4EE; }

/* Capability badges (direct vs partner) */
.cap-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 2px; border: 1px solid currentColor; line-height: 1.3;
}
.cap-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.cap-direct { color: var(--accent-600); }
.cap-mixed { color: #B57D1E; }
.cap-partner { color: #6B7A8C; }
.on-dark .cap-direct { color: #6CC4EE; }
.on-dark .cap-mixed { color: var(--energy); }
.on-dark .cap-partner { color: var(--steel-300); }
.cap-legend { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding: 22px 26px; border: 1px dashed var(--steel-300); background: var(--white); margin-bottom: 56px; }
.cap-legend strong { font-family: var(--font-display); font-size: .9rem; letter-spacing: .04em; margin-right: 6px; }

/* Detailed service rows (services page) */
.svc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--steel-200); }
.svc-row:nth-of-type(even) .img-frame { order: 2; }
.svc-row .img-frame { aspect-ratio: 5 / 4; }
.svc-row .num-big { font-family: var(--font-display); font-weight: 800; font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--steel-300); margin-bottom: 14px; }
.svc-row h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 18px; }
.svc-row .cap-badge { margin-bottom: 26px; }
.check-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }
.on-dark .check-list li { color: var(--steel-300); }
.check-list.single { grid-template-columns: 1fr; }
.delivery-note { margin-top: 28px; padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--steel-300); font-size: .92rem; color: var(--ink-soft); }
.delivery-note strong { color: var(--ink); }

/* ---------- Statement band ---------- */
.statement { position: relative; overflow: hidden; background: var(--navy-950); color: var(--white); padding: clamp(100px, 13vw, 170px) 0; }
.statement .bg { position: absolute; inset: -15% 0; }
.statement .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 30% 50%, rgba(5,15,26,.5), rgba(5,15,26,.92) 75%); }
.statement .container { position: relative; z-index: 2; }
.statement blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 17ch; }
.statement blockquote .word { display: inline-block; opacity: .16; transition: opacity .6s var(--ease); }
.statement blockquote .word.lit { opacity: 1; }
.statement blockquote .accent-text { color: #6CC4EE; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate;
  background: var(--navy-800);
}
.industry img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.35) contrast(1.05); }
.industry::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,15,26,0) 30%, rgba(5,15,26,.92)); transition: background .6s; }
.industry:hover img { transform: scale(1.07); filter: grayscale(0); }
.industry:hover::after { background: linear-gradient(180deg, rgba(10,27,44,.2) 0%, rgba(13,60,92,.92)); }
.industry .num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: #8FD3F4; }
.industry h3 { margin: 0; font-size: 1.3rem; }
.industry p { margin: 10px 0 0; font-size: .9rem; color: var(--steel-300); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.industry:hover p, .industry:focus-within p { max-height: 160px; opacity: 1; }

.client-types { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px;
  border: 1px solid var(--steel-200); background: var(--white); border-radius: 100px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.on-dark .chip { background: transparent; border-color: rgba(255,255,255,.18); color: var(--white); }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); background: var(--navy-950); color: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 36px; padding: 28px 36px 28px 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.01em; white-space: nowrap; }
.marquee-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.marquee-item::after { content: ""; width: 14px; height: 14px; background: var(--accent); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Process / flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: step; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: var(--steel-200); }
.on-dark .flow::before { background: rgba(255,255,255,.14); }
.flow .progress { position: absolute; left: 0; top: 27px; height: 2px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease-in-out); }
.flow.is-visible .progress { transform: scaleX(1); }
.flow-step { position: relative; padding-right: 24px; }
.flow-step .node {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--steel-300);
  font-family: var(--font-mono); font-size: .85rem; font-weight: 500; color: var(--navy-900);
  transition: background .5s, border-color .5s, color .5s;
}
.on-dark .flow-step .node { background: var(--navy-900); border-color: rgba(255,255,255,.25); color: var(--white); }
.flow.is-visible .flow-step .node { background: var(--accent); border-color: var(--accent); color: #fff; }
.flow.is-visible .flow-step:nth-child(2) .node { transition-delay: .2s; }
.flow.is-visible .flow-step:nth-child(3) .node { transition-delay: .65s; }
.flow.is-visible .flow-step:nth-child(4) .node { transition-delay: 1.1s; }
.flow.is-visible .flow-step:nth-child(5) .node { transition-delay: 1.55s; }
.flow.is-visible .flow-step:nth-child(6) .node { transition-delay: 2s; }
.flow-step h3 { margin: 24px 0 8px; font-size: 1.1rem; letter-spacing: 0; }
.flow-step p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.on-dark .flow-step p { color: var(--steel-300); }

/* ---------- Generic cards ---------- */
.card-grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 36px 32px; background: var(--white); border: 1px solid var(--steel-200);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,27,44,.35); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card .icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 22px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.card .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-600); display: block; margin-bottom: 14px; }
.bg-paper .card { background: var(--white); }
.on-dark .card { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.1); color: var(--white); }
.on-dark .card p { color: var(--steel-300); }
.on-dark .card .tag { color: #6CC4EE; }
.card-dark { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.card-dark p { color: var(--steel-300); }

/* Values list */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.value { padding: 40px 32px 40px 0; border-bottom: 1px solid rgba(255,255,255,.12); position: relative; }
.value:not(:nth-child(3n)) { border-right: 1px solid rgba(255,255,255,.12); }
.value:not(:nth-child(3n+1)) { padding-left: 32px; }
.value .num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: #6CC4EE; }
.value h3 { font-size: 1.6rem; margin: 0 0 10px; }
.value p { margin: 0; color: var(--steel-300); font-size: .97rem; }

/* Mission / vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--steel-200); }
.mv > div { background: var(--white); padding: clamp(36px, 5vw, 64px); }
.mv h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; margin: 0; }

/* Local content numbered steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--steel-200); align-items: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2.3rem; line-height: 1; color: var(--accent); }
.steps h3 { margin: 4px 0 6px; font-size: 1.12rem; letter-spacing: 0; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
.on-dark .steps li { border-color: rgba(255,255,255,.12); }
.on-dark .steps p { color: var(--steel-300); }

/* Footprint */
.footprint { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.loc { padding: 34px 30px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.02); position: relative; overflow: hidden; }
.loc .pin { width: 34px; height: 34px; color: var(--accent); margin-bottom: 22px; }
.loc .mono { font-size: .72rem; letter-spacing: .16em; color: #6CC4EE; text-transform: uppercase; }
.loc h3 { margin: 8px 0 12px; font-size: 1.4rem; }
.loc p { margin: 0; color: var(--steel-300); font-size: .95rem; }
.loc .pulse { position: absolute; right: 26px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.loc .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }

/* Delivery models */
.models { display: grid; gap: 0; border-top: 1px solid var(--steel-200); }
.model { display: grid; grid-template-columns: 160px 1fr 1.2fr; gap: 32px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--steel-200); transition: background .4s, padding .4s var(--ease); }
.model:hover { background: var(--paper); padding-left: 20px; padding-right: 20px; }
.model .badge { display: inline-block; justify-self: start; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; padding: 10px 16px; background: var(--navy-900); color: #fff; border-radius: 100px; }
.model h3 { margin: 0; font-size: 1.5rem; }
.model p { margin: 0; color: var(--ink-soft); }
.model-diagram { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); flex-wrap: wrap; margin-top: 12px; }
.model-diagram span { padding: 6px 10px; border: 1px solid var(--steel-300); }
.model-diagram span.j { border-color: var(--accent); color: var(--accent-600); }
.model-diagram i { width: 18px; height: 1px; background: var(--steel-500); }

/* Notice / rule box */
.notice {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 30px 32px; background: var(--navy-900); color: var(--white); border-left: 3px solid var(--accent);
}
.notice svg { width: 30px; height: 30px; color: var(--accent); }
.notice p { margin: 0; color: var(--steel-300); }
.notice strong { color: var(--white); font-family: var(--font-display); font-size: 1.08rem; display: block; margin-bottom: 6px; letter-spacing: .01em; }
.notice.light { background: var(--paper); color: var(--ink); }
.notice.light p { color: var(--ink-soft); }
.notice.light strong { color: var(--ink); }

/* Downloads */
.downloads { display: grid; gap: 14px; }
.download {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 20px;
  padding: 22px 24px; background: var(--white); border: 1px solid var(--steel-200);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.download:hover { border-color: var(--accent); transform: translateX(6px); box-shadow: 0 16px 40px -24px rgba(10,27,44,.4); }
.download .file { width: 52px; height: 60px; display: grid; place-items: center; background: var(--navy-900); color: #fff; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; clip-path: polygon(0 0, 72% 0, 100% 22%, 100% 100%, 0 100%); }
.download h3 { margin: 0 0 3px; font-size: 1.05rem; letter-spacing: 0; }
.download span.meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-500); }
.download .go { font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-600); display: inline-flex; gap: 8px; align-items: center; }
.download .go svg { width: 16px; height: 16px; }

/* Two-col audiences (work with jaza) */
.audience { position: relative; padding: clamp(40px, 5vw, 64px); color: var(--white); overflow: hidden; isolation: isolate; min-height: 560px; display: flex; flex-direction: column; }
.audience .bg { position: absolute; inset: 0; z-index: -2; }
.audience .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.audience:hover .bg img { transform: scale(1.05); }
.audience::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,15,26,.82), rgba(5,15,26,.96)); }
.audience h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 16ch; }
.audience p { color: var(--steel-300); max-width: 48ch; }
.audience .actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 30px; align-items: flex-start; }
.audience .actions .btn { width: 100%; max-width: 380px; justify-content: space-between; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: var(--white); padding: clamp(64px, 8vw, 100px) 0; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; right: -8%; top: -60%; width: 60%; aspect-ratio: 1; z-index: -1; background: url("../img/jaza-mark.svg") no-repeat center / contain; opacity: .14; filter: brightness(3); animation: spinSlow 80s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 20ch; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.cta-band .eyebrow { color: rgba(255,255,255,.85); }
.cta-band .btn { --bg: var(--navy-950); --fg: #fff; }
.cta-band .btn::before { background: var(--white); }
.cta-band .btn:hover { color: var(--navy-900); border-color: #fff; }
.cta-band .btn-ghost { --bg: transparent; border-color: rgba(255,255,255,.6); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--steel-200); padding: clamp(28px, 4vw, 52px); box-shadow: 0 40px 80px -50px rgba(10,27,44,.35); }
.form-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 34px; padding: 6px; background: var(--paper); border: 1px solid var(--steel-200); }
.form-tabs label { flex: 1 1 auto; cursor: pointer; }
.form-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.form-tabs span { display: block; text-align: center; padding: 12px 14px; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); transition: background .3s, color .3s; white-space: nowrap; }
.form-tabs input:checked + span { background: var(--navy-900); color: var(--white); }
.form-tabs input:focus-visible + span { outline: 2px solid var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--paper); border: 1px solid var(--steel-200); border-radius: var(--radius);
  font-size: .98rem; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 4px rgba(30,154,214,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; }
.field .err { font-size: .8rem; color: #C0392B; display: none; }
.field.invalid .err { display: block; }
.dropzone { position: relative; border: 1.5px dashed var(--steel-300); background: var(--paper); padding: 26px; text-align: center; transition: border-color .3s, background .3s; cursor: pointer; }
.dropzone:hover, .dropzone.drag { border-color: var(--accent); background: rgba(30,154,214,.05); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--accent); }
.dropzone p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.dropzone .files { margin-top: 8px; font-family: var(--font-mono); font-size: .78rem; color: var(--navy-900); }
.fieldset-group { display: contents; }
.fieldset-group[hidden] { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { margin-top: 5px; accent-color: var(--accent); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.form-actions small { color: var(--steel-500); font-size: .82rem; max-width: 40ch; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.show { display: block; animation: fadeUp .8s var(--ease) forwards; }
.form-success svg { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--accent); }
.form-success svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw 1s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.contact-block { background: var(--navy-900); color: var(--white); padding: clamp(30px, 4vw, 48px); position: sticky; top: 100px; }
.contact-block img { width: 64px; margin-bottom: 22px; }
.contact-block h2 { font-size: 1.4rem; letter-spacing: .03em; margin-bottom: 6px; }
.contact-block .legal { color: var(--steel-300); font-size: .9rem; margin-bottom: 28px; }
.contact-block dl { margin: 0; display: grid; gap: 18px; }
.contact-block dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #6CC4EE; }
.contact-block dd { margin: 4px 0 0; font-size: .98rem; }
.contact-block .pending { color: var(--steel-500); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--steel-300); padding: 96px 0 0; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 72px; }
.footer-brand p { margin: 24px 0 0; font-size: .95rem; max-width: 36ch; }
.footer-brand .core { margin-top: 28px; font-family: var(--font-display); font-weight: 600; color: var(--white); font-size: 1.1rem; line-height: 1.35; }
.site-footer h3 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #6CC4EE; margin-bottom: 22px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: .95rem; transition: color .25s, padding .3s var(--ease); }
.site-footer ul a:hover { color: var(--white); padding-left: 6px; }
.site-footer address { font-style: normal; font-size: .93rem; line-height: 1.75; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .ico { width: 16px; height: 16px; flex-shrink: 0; color: #6CC4EE; }
.footer-bottom .credit a { color: var(--steel-300); transition: color .25s; }
.footer-bottom .credit a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--steel-500); }
.disclaimer { font-size: .78rem; color: var(--steel-500); max-width: 90ch; }

/* Floating RFQ button (mobile + scrolled) */
.float-rfq {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px;
  background: var(--accent); color: #fff; border-radius: 100px;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 16px 40px -10px rgba(30,154,214,.6);
  transform: translateY(120px); transition: transform .5s var(--ease), background .3s;
}
.float-rfq.show { transform: none; }
.float-rfq:hover { background: var(--accent-600); }
.float-rfq svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .56s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }
.no-js .img-frame::after { transform: scaleX(0); }
.no-js .img-frame img { transform: none; }

/* Page loader bar */
.page-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); z-index: 300; transform-origin: left; transform: scaleX(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {

  .nav-link { padding: 10px 11px; font-size: .78rem; }
  .nav-link::after { left: 11px; right: 11px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 120px var(--gutter) 40px; background: var(--navy-950);
    clip-path: circle(0 at calc(100% - 44px) 37px); transition: clip-path .8s var(--ease-in-out);
    overflow-y: auto;
  }
  .nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 37px); }
  .nav-item { flex-wrap: wrap; height: auto; border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav-open .nav-item { opacity: 1; transform: none; }
  .nav-open .nav-item:nth-child(2) { transition-delay: .05s; } .nav-open .nav-item:nth-child(3) { transition-delay: .1s; }
  .nav-open .nav-item:nth-child(4) { transition-delay: .15s; } .nav-open .nav-item:nth-child(5) { transition-delay: .2s; }
  .nav-open .nav-item:nth-child(6) { transition-delay: .25s; }
  .nav-link { flex: 1; font-size: clamp(1.35rem, 5vw, 1.9rem); letter-spacing: -0.01em; text-transform: none; padding: 16px 0; }
  .nav-link .chev { display: none; }
  .nav-link::after { left: 0; right: auto; width: 36px; bottom: 8px; }
  .nav-item:hover .nav-link::after { transform: scaleX(0); }
  .nav-link[aria-current="page"]::after { transform: scaleX(1); }
  .sub-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
    background: none; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; cursor: pointer;
  }
  .sub-toggle svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
  .nav-item.open .sub-toggle svg { transform: rotate(45deg); }
  .submenu, .nav-item:hover .submenu, .nav-item:focus-within .submenu {
    position: static; flex-basis: 100%; min-width: 0; padding: 0; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden;
    transition: max-height .5s var(--ease);
  }
  .nav-item.open .submenu { max-height: 520px; padding-bottom: 14px; }
  .submenu a { padding: 9px 0 9px 16px; border-left: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
  .submenu a:hover { padding-left: 22px; background: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; backdrop-filter: none; box-shadow: none; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:not(:nth-child(3n)) { border-right: 0; }
  .value:not(:nth-child(3n+1)) { padding-left: 0; }
  .value:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); padding-right: 32px; }
  .value:nth-child(even) { padding-left: 32px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section-head, .split, .svc-row, .form-wrap, .mv { grid-template-columns: 1fr; }
  .section-head { gap: 20px; margin-bottom: 44px; }
  .split.reverse > :first-child { order: 0; }
  .svc-row:nth-of-type(even) .img-frame { order: 0; }
  .split-media .tag-card { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before, .flow .progress { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .flow .progress { width: 2px; transform: scaleY(0); transform-origin: top; }
  .flow.is-visible .progress { transform: scaleY(1); }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 0; }
  .flow-step h3 { margin-top: 12px; }
  .footprint, .cols-2 { grid-template-columns: 1fr; }
  .model { grid-template-columns: 1fr; gap: 14px; }
  .contact-block { position: static; }
}
@media (max-width: 600px) {
  .pillars, .services-grid, .cols-3, .cols-4, .industry-grid, .values, .footer-top { grid-template-columns: 1fr; }
  .value, .value:nth-child(odd), .value:nth-child(even) { padding: 32px 0; border-right: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .industry { aspect-ratio: 4 / 3; }
  .industry p { max-height: 160px; opacity: 1; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .download { grid-template-columns: 44px 1fr; }
  .download .go { grid-column: 2; }
  .download .file { width: 44px; height: 52px; }
  .brand img { width: 42px; }
  .brand-name { font-size: 1.3rem; }
  .svc-card { min-height: 0; }
  .page-hero { padding-bottom: 72px; }
  .notice { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > *, .fade-up { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none; }
  .marquee-track { animation: none; }
}
[id] { scroll-margin-top: 90px; }
.field label.consent { flex-direction: row; font-family: var(--font-text); font-size: .88rem; letter-spacing: 0; text-transform: none; cursor: pointer; }
.field.invalid label.consent { color: #C0392B; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-rfq { color: #6CC4EE; text-transform: uppercase; transition: color .25s; white-space: nowrap; }
.topbar-rfq:hover { color: #fff; }
@media (max-width: 600px) {
  .topbar { font-size: .68rem; letter-spacing: .04em; }
  .topbar .container { gap: 10px; }
  .topbar-wa span, .topbar-rfq .long { display: none; }
  .topbar-right { gap: 12px; }
  .hero-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 130px; }
  .scroll-cue i { height: 44px; }
  .hero::before { background: linear-gradient(180deg, rgba(5,15,26,.7) 0%, rgba(5,15,26,.82) 50%, rgba(5,15,26,.96) 100%); }
}
@media (max-width: 1600px) { .header-cta { display: none; } }
@media (max-width: 380px) {
  .topbar-left { gap: 12px; }
  .topbar-rfq { display: none; }
}
