/* =============================================================
   Sorian Cranes — styles.css
   Hand-coded static site, ported from the Shepelec Cranes build
   pattern and reskinned to the Sorian brand (charcoal + amber).
   ============================================================= */

:root {
  /* Surfaces */
  --bg:        #0F1115;
  --bg-2:      #161A20;
  --bg-3:      #1F242C;
  --line:      #2A2F38;
  --cream:     #F4F4F2;

  /* Text */
  --text:      #ECECEC;
  --text-ink:  #15171B;
  --muted:     #9099A8;

  /* Brand */
  --accent:    #F5B800;
  --accent-2:  #FFD24D;
  --silver:    #C8CCD2;
  --silver-2:  #8A8F98;

  /* Semantic */
  --success:   #2BB673;
  --warn:      #E8A33D;
  --danger:    #D8443C;

  --maxw:      1240px;
  --radius:    4px;
}

/* ─── Accessibility ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: var(--text-ink);
  font-weight: 700;
  font-family: inherit;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--text); }

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

/* ─── Reset + base ────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, .brand__name {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.18em; }

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.accent { color: var(--accent); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  font-family: inherit;
}
.btn--sm   { padding: 0.65rem 1.1rem; font-size: 0.85rem; }
.btn--full { width: 100%; justify-content: center; }
.btn--accent {
  background: var(--accent);
  color: var(--text-ink);
}
.btn--accent:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 21, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(15, 17, 21, 0.94);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand__img { display: block; height: 120px; width: auto; }
.footer__brand .brand__img { height: 72px; margin-bottom: 0.4rem; }
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a { transition: color 0.15s ease; }
.nav__links a:hover { color: var(--text); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 4px 0;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 10rem 1.8rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(245, 184, 0, 0.10), transparent 70%),
    radial-gradient(600px 400px at 15% 85%, rgba(200, 204, 210, 0.05), transparent 70%),
    linear-gradient(180deg, #0F1115 0%, #14171D 100%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero__content {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}
.hero__title { margin-bottom: 1.6rem; }
.hero__lede {
  max-width: 640px;
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero__stats {
  position: relative;
  max-width: var(--maxw);
  width: 100%;
  margin: 5rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__stats > div { background: var(--bg); padding: 1.6rem 1.2rem; }
.hero__stats strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero__stats span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* ─── Video band (home) ───────────────────────────────────── */
.video-band {
  padding: 3rem 0 4rem;
  background:
    radial-gradient(700px 320px at 50% 50%, rgba(245, 184, 0, 0.07), transparent 70%),
    var(--bg);
}
.video-frame {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.8rem;
}
.video-frame__el {
  width: 100%;
  max-height: 70vh;
  display: block;
  border-radius: var(--radius);
  background: #000;
  outline: 1px solid var(--line);
  outline-offset: -1px;
}

/* ─── Australian-owned strip ─────────────────────────────── */
.aus-band {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.aus-band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.aus-band__flag {
  width: 64px;
  height: 32px;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.aus-band__text { display: flex; flex-direction: column; }
.aus-band__head {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  color: var(--text);
}
.aus-band__sub {
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 0.15rem;
}

/* ─── Trust band ──────────────────────────────────────────── */
.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.band__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.6rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.band__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.band__logos {
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  color: var(--muted);
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.92rem;
  opacity: 0.85;
}

/* ─── Certs strip ─────────────────────────────────────────── */
.certs {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.certs__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.4rem 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.certs__item { display: flex; align-items: center; gap: 1rem; }
.certs__mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(245, 184, 0, 0.12);
  border: 1px solid rgba(245, 184, 0, 0.35);
  color: var(--accent);
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.certs__item strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 1.02rem;
}
.certs__item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

/* ─── Sections ────────────────────────────────────────────── */
.section {
  padding: 7rem 1.8rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.section--dark {
  max-width: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--dark > .section__head,
.section--dark > .products,
.section--dark > .projects,
.section--dark > .software-showcase {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.8rem;
  padding-right: 1.8rem;
}
.section__head {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin-bottom: 3.5rem;
}

/* ─── Capabilities ────────────────────────────────────────── */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap {
  background: var(--bg);
  padding: 2rem 1.6rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease;
}
.cap:hover { background: var(--bg-3); }
.cap__num {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1.8rem;
}
.cap h3 { margin-bottom: 0.7rem; }
.cap p { color: var(--muted); font-size: 0.95rem; }

/* ─── Products grid ────────────────────────────────────────── */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.products--two { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin: 0 auto; }
.products--five { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (max-width: 1100px) { .products--five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products--five { grid-template-columns: 1fr; } }

/* ─── Credentials bar (below hero) ────────────────────────── */
.creds-bar {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.creds-bar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 2rem;
  flex-wrap: wrap;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-align: center;
}
.creds-bar__item { white-space: nowrap; }
.creds-bar__item strong { color: var(--accent); font-weight: 800; }
.creds-bar__sep { color: var(--line); }

/* ─── Why Sorian differentiator ───────────────────────────── */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.why__heading h2 { margin-bottom: 0; }
.why__body p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; margin-bottom: 1rem; }
.why__body p:last-child { margin-bottom: 0; }
.why__body strong { color: var(--text); }
@media (max-width: 960px) { .why { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ─── Selector CTA tile ───────────────────────────────────── */
.selector-cta {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
  background:
    radial-gradient(500px 260px at 85% 50%, rgba(245, 184, 0, 0.14), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem 2.4rem;
}
.selector-cta__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.selector-cta__body p { color: var(--muted); font-size: 1.02rem; margin-bottom: 1.6rem; max-width: 560px; }
.selector-cta__visual { color: var(--accent); max-width: 240px; justify-self: end; }
.selector-cta__visual svg { width: 100%; height: auto; display: block; }
@media (max-width: 760px) {
  .selector-cta { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.6rem; }
  .selector-cta__visual { max-width: 200px; justify-self: start; }
}

/* ─── About teaser ────────────────────────────────────────── */
.about-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.about-teaser__body p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; line-height: 1.7; }
@media (max-width: 760px) { .about-teaser { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ─── Crane Selector wizard ───────────────────────────────── */
.wizard {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
}
.wizard__step { display: none; }
.wizard__step.is-active { display: block; }
.wizard__progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}
.wizard__progress span { padding-bottom: 0.6rem; border-bottom: 2px solid var(--line); flex: 1; text-align: center; }
.wizard__progress span.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.wizard__progress span.is-complete { color: var(--text); border-bottom-color: var(--silver); }
.wizard__q { font-family: 'Archivo', sans-serif; font-size: 1.5rem; font-weight: 800; margin-bottom: 1.6rem; }
.wizard__opts { display: grid; gap: 0.8rem; margin-bottom: 1.6rem; }
.wizard__opt {
  display: block;
  padding: 1.1rem 1.4rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.98rem;
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.wizard__opt:hover { border-color: var(--accent); background: var(--bg-3); }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wizard__back { color: var(--muted); font-size: 0.9rem; cursor: pointer; background: none; border: 0; font-family: inherit; }
.wizard__back:hover { color: var(--text); }
.wizard__back:disabled { opacity: 0.4; cursor: default; }
.wizard__result {
  text-align: left;
}
.wizard__result h3 {
  font-family: 'Archivo', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.wizard__result h3 .accent { color: var(--text); }
.wizard__result p { color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.wizard__result-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.wizard__small { font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.product {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.product__media {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  background: #0a0c10;
}
.product__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 184, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}
.product__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
  opacity: 0.85;
}
.product__media--jib::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><g fill='none' stroke='%23F5B800' stroke-width='2'><line x1='40' y1='10' x2='40' y2='95'/><line x1='40' y1='25' x2='170' y2='25'/><line x1='40' y1='10' x2='160' y2='25'/><rect x='130' y='25' width='18' height='12' fill='%23F5B800'/><line x1='139' y1='37' x2='139' y2='60'/><rect x='132' y='60' width='14' height='8' fill='%23F5B800'/></g></svg>");
}
.product__media--light::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><g fill='none' stroke='%23F5B800' stroke-width='2'><rect x='20' y='25' width='160' height='8'/><rect x='20' y='75' width='160' height='8'/><rect x='95' y='33' width='10' height='42'/><rect x='90' y='48' width='20' height='10' fill='%23F5B800'/><line x1='100' y1='58' x2='100' y2='72'/><rect x='94' y='72' width='12' height='6' fill='%23F5B800'/></g></svg>");
}
.product__media--overhead::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><g fill='none' stroke='%23F5B800' stroke-width='2'><rect x='10' y='20' width='180' height='14'/><line x1='20' y1='34' x2='20' y2='90'/><line x1='180' y1='34' x2='180' y2='90'/><rect x='80' y='24' width='40' height='22' fill='%23F5B800'/><line x1='100' y1='46' x2='100' y2='70'/><rect x='92' y='70' width='16' height='10' fill='%23F5B800'/></g></svg>");
}
.product__media--gantry::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><g fill='none' stroke='%23F5B800' stroke-width='2'><rect x='25' y='20' width='150' height='12'/><line x1='35' y1='32' x2='25' y2='92'/><line x1='165' y1='32' x2='175' y2='92'/><rect x='90' y='24' width='26' height='14' fill='%23F5B800'/><line x1='103' y1='38' x2='103' y2='65'/><rect x='96' y='65' width='14' height='8' fill='%23F5B800'/></g></svg>");
}
.product__media--hoist::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 100'><g fill='none' stroke='%23F5B800' stroke-width='2'><rect x='60' y='15' width='80' height='30' rx='3' fill='%23F5B800'/><line x1='100' y1='45' x2='100' y2='70'/><line x1='95' y1='50' x2='95' y2='65'/><line x1='105' y1='50' x2='105' y2='65'/><line x1='95' y1='55' x2='105' y2='55'/><line x1='95' y1='60' x2='105' y2='60'/><path d='M92 70 L108 70 L106 82 L94 82 Z' fill='%23F5B800'/></g></svg>");
}
.product__body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.product__body h3 { margin-bottom: 0.5rem; }
.product__body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.2rem; }
.product__more { color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-top: auto; }

/* ─── Engineering ─────────────────────────────────────────── */
.engineering {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}
.engineering__copy h2 { margin-bottom: 1.6rem; }
.engineering__copy p {
  color: var(--muted);
  margin-bottom: 1.8rem;
  font-size: 1.05rem;
  max-width: 520px;
}
.ticks { list-style: none; margin-bottom: 2rem; }
.ticks li {
  padding: 0.65rem 0 0.65rem 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-size: 0.95rem;
}
.ticks li::before {
  content: '◣';
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0.65rem;
}
.engineering__visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 0.5rem;
  border-radius: var(--radius);
}
.engineering__panel {
  background: linear-gradient(160deg, #1A1F28, #0E1218);
  padding: 1rem 1.6rem;
  border-radius: 2px;
}
.engineering__row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.engineering__row:last-child { border-bottom: 0; }
.engineering__row span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}
.engineering__row strong {
  font-family: 'Archivo', sans-serif;
  font-size: 1.1rem;
}

/* ─── Software showcase (Sorian-specific) ─────────────────── */
.software-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.software-showcase h2 { margin-bottom: 1.4rem; }
.software-showcase p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; max-width: 520px; }
.software-showcase__visual {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem;
  position: relative;
  overflow: hidden;
}
.software-showcase__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 184, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 0, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.software-showcase__panel {
  background: linear-gradient(160deg, #1A1F28, #0E1218);
  padding: 1.4rem 1.6rem;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}
.software-showcase__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  align-items: center;
}
.software-showcase__row:last-child { border-bottom: 0; }
.software-showcase__row span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}
.software-showcase__row strong {
  font-family: 'Archivo', sans-serif;
  font-size: 1.0rem;
  text-align: right;
}
.software-showcase__row strong.ok { color: var(--accent); }

/* ─── Testimonial ─────────────────────────────────────────── */
.testimonial { max-width: 920px; margin: 0 auto; }
.testimonial__mark {
  font-family: 'Archivo', sans-serif;
  font-size: 5rem;
  line-height: 0.6;
  color: var(--accent);
  font-weight: 900;
  margin-bottom: 0.8rem;
}
.testimonial blockquote {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}
.testimonial__attr {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial__attr strong {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 1.02rem;
}
.testimonial__attr span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

/* ─── Contact ─────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact__copy h2 { margin-bottom: 1.4rem; }
.contact__copy p { color: var(--muted); margin-bottom: 2rem; }
.contact__detail { display: grid; gap: 1.2rem; }
.contact__detail > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.contact__detail span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.3rem;
}
.contact__detail strong {
  font-family: 'Archivo', sans-serif;
  font-size: 1.15rem;
}

/* ─── Quote form ──────────────────────────────────────────── */
.quote-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  gap: 0.5rem;
  flex: 1;
}
.quote-form .full { width: 100%; }
.quote-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.quote-form input,
.quote-form textarea,
.quote-form select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
  transition: border-color 0.15s ease;
  text-transform: none;
  letter-spacing: normal;
  width: 100%;
}
.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus { outline: 0; border-color: var(--accent); }
.quote-form select { cursor: pointer; appearance: auto; }
.quote-form__addons {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  background: var(--bg);
}
.quote-form__addons legend {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  font-weight: 700;
  padding: 0 0.4rem;
}
.quote-form .checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  margin: 0.5rem 1.4rem 0.2rem 0;
  flex: none;
}
.quote-form .checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  accent-color: var(--accent);
  padding: 0;
}

/* ─── Form expander + consent ─────────────────────────────── */
.form-expander {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  margin: 0.4rem 0;
}
.form-expander[open] { border-color: var(--accent); }
.form-expander > summary {
  cursor: pointer;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  text-transform: none;
  letter-spacing: normal;
}
.form-expander > summary::-webkit-details-marker { display: none; }
.form-expander > summary::after { content: '+'; color: var(--accent); font-size: 1.2rem; }
.form-expander[open] > summary::after { content: '−'; }
.form-expander__body { padding: 0.4rem 1.1rem 1.1rem; display: grid; gap: 1rem; }

.consent-block {
  margin: 1.2rem 0;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  grid-column: 1 / -1;
}
.consent-block p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
  margin-bottom: 0.7rem;
  text-transform: none;
  letter-spacing: normal;
}
.consent-block p:last-child { margin-bottom: 0; }
.consent-block a { color: var(--accent); border-bottom: 1px solid rgba(245, 184, 0, 0.3); }
.consent-block label.checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}
.consent-block input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.fine-print {
  margin-top: 1.2rem;
  padding: 0.7rem 1rem;
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.fine-print small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  display: block;
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: #08090C;
  border-top: 1px solid var(--line);
  padding: 4rem 1.8rem 1.5rem;
}
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.4rem;
}
.footer[data-footer-v2] .footer__col a {
  display: block;
  padding: 0.2rem 0;
  line-height: 1.45;
}
.footer__base p { margin: 0.3rem 0; font-size: 0.8rem; color: var(--muted); }
.footer__brand p { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer__col h4 { color: var(--text); margin-bottom: 0.8rem; }
.footer__col a:hover { color: var(--accent); }
.footer__base {
  max-width: var(--maxw);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1.2rem 1.8rem;
    background: rgba(15, 17, 21, 0.97);
    border-bottom: 1px solid var(--line);
    gap: 1.2rem;
  }
  .nav__toggle { display: block; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: 1fr; }
  .engineering, .software-showcase { grid-template-columns: 1fr; gap: 3rem; }
  .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section { padding: 5rem 1.5rem; }
  .hero { padding: 8rem 1.5rem 3rem; }
  .certs__inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
  .quote-form__row,
  .quote-form__row--3 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .certs__inner { grid-template-columns: 1fr; }
}

/* ─── Page hero (subpages) ────────────────────────────────── */
.page-hero {
  padding: 10rem 1.8rem 4rem;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(245, 184, 0, 0.10), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero h1 { margin-bottom: 1rem; font-size: clamp(2.2rem, 5vw, 4rem); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ─── Long-form prose + FAQ (subpages) ─────────────────────── */
.prose { max-width: 820px; color: var(--text); }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 2.8rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 2rem 0 0.6rem; font-weight: 700; }
.prose p, .prose ul, .prose ol {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
  line-height: 1.7;
}
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(245, 184, 0, 0.3);
  transition: border-color 0.15s;
}
.prose a:hover { border-bottom-color: var(--accent); }
.prose strong { color: var(--text); }

.faq { max-width: 820px; }
.faq__item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq__item[open] { border-color: var(--accent); }
.faq__q {
  list-style: none;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 700;
  font-family: 'Archivo', sans-serif;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a {
  padding: 0 1.4rem 1.2rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}
.faq__a p { margin-bottom: 0.8rem; }
.faq__a p:last-child { margin-bottom: 0; }

.internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.internal-links a {
  display: block;
  padding: 1.1rem 1.2rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, transform 0.15s;
  color: var(--text);
}
.internal-links a:hover { border-color: var(--accent); transform: translateY(-2px); }
.internal-links a strong { display: block; margin-bottom: 0.2rem; color: var(--text); }
.internal-links a span { color: var(--muted); font-size: 0.88rem; }

/* ─── About page ──────────────────────────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.about-intro p + p { margin-top: 1rem; }
.about-visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}
.timeline { list-style: none; border-left: 2px solid var(--line); padding-left: 2rem; text-align: left; }
.timeline li { position: relative; padding-bottom: 2.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -2.35rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline__year { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.1rem; color: var(--accent); }
.timeline__text { color: var(--muted); font-size: 0.95rem; margin-top: 0.3rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  transition: border-color 0.2s ease;
}
.team-card:hover { border-color: var(--accent); }
.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid var(--line);
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
}
.team-card h3 { margin-bottom: 0.3rem; }
.team-card__role { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.team-card p { color: var(--muted); font-size: 0.9rem; margin-top: 0.8rem; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
}
.value-card__icon { color: var(--accent); font-size: 1.6rem; margin-bottom: 1rem; }
.value-card h3 { margin-bottom: 0.6rem; }
.value-card p { color: var(--muted); font-size: 0.95rem; }

/* ─── Products page (hub) ─────────────────────────────────── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--line);
}
.product-detail:last-child { border-bottom: 0; }
.product-detail:nth-child(even) .product-detail__visual { order: -1; }
.product-detail__visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: var(--accent);
}
.product-detail__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 184, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 184, 0, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.product-detail__visual svg { width: 60%; height: auto; position: relative; z-index: 1; }
.product-detail h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.product-detail p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 1.6rem; }
.spec-table td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.spec-table td:first-child { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; width: 40%; }

/* ─── Projects page ───────────────────────────────────────── */
.project-full {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  transition: border-color 0.2s ease;
}
.project-full:hover { border-color: var(--accent); }
.project-full__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 2rem 2rem 0;
}
.project-full__body { padding: 1.2rem 2rem 2rem; }
.project-full__body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.8rem; }
.project__tag { color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700; margin-bottom: 0.6rem; }
.project-full__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.project-full__stat span { display: block; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }
.project-full__stat strong { font-family: 'Archivo', sans-serif; font-size: 1.2rem; }

/* ─── Contact page ────────────────────────────────────────── */
.contact-page { max-width: 980px; margin: 0 auto; }
.contact-page .contact { gap: 3rem; }
.map-placeholder {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 360px;
  overflow: hidden;
  margin-top: 2rem;
}
.map-placeholder iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ─── Software-page extras (workflow + use cases) ─────────── */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: stepc;
  margin-top: 1.5rem;
}
.workflow__step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.workflow__step::before {
  counter-increment: stepc;
  content: counter(stepc, decimal-leading-zero);
  display: block;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}
.workflow__step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.workflow__step p { color: var(--muted); font-size: 0.9rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.5rem;
}
.feature-grid > article { background: var(--bg); padding: 1.8rem 1.4rem; }
.feature-grid h3 { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--accent); }
.feature-grid p { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 960px) {
  .about-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; }
  .product-detail:nth-child(even) .product-detail__visual { order: 0; }
  .project-full__header { grid-template-columns: 1fr; padding: 1.4rem 1.4rem 0; }
  .project-full__body { padding: 1rem 1.4rem 1.4rem; }
  .project-full__stats { gap: 1.5rem; }
  .workflow { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .workflow { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}

/* ─── Cookie banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 640px;
  margin-left: auto;
  z-index: 40;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  display: none;
}
.cookie-banner.is-open { display: block; }
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}
.cookie-banner p a { color: var(--accent); border-bottom: 1px solid rgba(245, 184, 0, 0.3); }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 0.65rem 1.1rem; font-size: 0.85rem; }
