:root {
  --ink: #101820;
  --muted: #5e6973;
  --paper: #f7f5f0;
  --line: rgba(16, 24, 32, 0.14);
  --steel: #d7dde2;
  --blue: #0e5bd8;
  --cyan: #4ec6df;
  --green: #3fa66b;
  --shadow: 0 24px 70px rgba(16, 24, 32, 0.16);
  --font-industrial: "Arial Narrow", "Roboto Condensed", "Bahnschrift", "DIN Condensed", "Segoe UI", Arial, sans-serif;
  --font-body: "Bahnschrift", "Aptos", "Segoe UI", Arial, sans-serif;
  --layout-max: clamp(1180px, 90vw, 1840px);
  --layout-gutter: clamp(32px, 3vw, 72px);
  --content-gap: clamp(48px, 4.2vw, 94px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 24, 32, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px, 48px 48px, auto;
  font-family: var(--font-body);
  font-synthesis-weight: none;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 82% 18%, rgba(78, 198, 223, 0.12), transparent 26%),
    radial-gradient(circle at 8% 65%, rgba(14, 91, 216, 0.07), transparent 24%),
    linear-gradient(180deg, rgba(247, 245, 240, 0.18), rgba(247, 245, 240, 0.86));
}
body::after {
  content: "";
  position: fixed;
  right: clamp(-160px, -8vw, -40px);
  top: 23vh;
  z-index: -1;
  width: clamp(380px, 34vw, 660px);
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(215,221,226,.08)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(16,24,32,.035) 35px 36px);
  opacity: .72;
  transform: rotate(-8deg);
  box-shadow: 0 32px 110px rgba(16,24,32,.1);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.service-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  width: min(var(--layout-max), calc(100vw - 32px));
  min-height: 66px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  background: rgba(247, 245, 240, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(16, 24, 32, 0.08);
}
.service-brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.service-brand img { display: block; width: 44px; height: 44px; object-fit: contain; }
.service-brand > span { display: grid; gap: 1px; color: var(--muted); font-size: 12px; font-weight: 600; }
.service-brand strong { display: block; color: var(--ink); font-family: var(--font-industrial); font-size: 19px; font-weight: 900; letter-spacing: .08em; }
.service-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.service-nav a { padding: 11px 10px; border-radius: 6px; color: #2d3842; font-size: 13px; font-weight: 700; transition: transform 180ms ease, background 180ms ease; }
.service-nav a:hover, .service-nav a[aria-current="page"] { background: rgba(16, 24, 32, 0.08); }

main { position: relative; z-index: 8; }
.service-hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  padding: 112px 0 72px;
  overflow: hidden;
}
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247,245,240,.98) 0%, rgba(247,245,240,.93) 49%, rgba(247,245,240,.5) 78%, rgba(247,245,240,.26) 100%),
    linear-gradient(180deg, rgba(247,245,240,.2), rgba(247,245,240,.9)),
    url("assets/manufacturing-bg.webp") center / cover;
  opacity: .98;
}
.service-hero-inner, .page-shell { width: min(var(--layout-max), calc(100vw - var(--layout-gutter))); margin: 0 auto; }
.service-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) clamp(330px, 22vw, 460px); gap: var(--content-gap); align-items: end; }
.service-hero-inner > div:first-child {
  position: relative;
  max-width: clamp(760px, 58vw, 1120px);
  padding: clamp(24px, 3vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(247,245,240,.93), rgba(247,245,240,.68)), rgba(255,255,255,.38);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 58px rgba(16,24,32,.1);
}
.service-hero-inner > div:first-child::before,
.content-grid > div:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), rgba(78,198,223,.2));
}
.eyebrow { margin: 0 0 14px; color: var(--blue); font-family: var(--font-industrial); font-size: 13px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 1060px; margin: 0 0 22px; font-size: clamp(38px, 4.8vw, 76px); font-weight: 850; line-height: 1.08; letter-spacing: 0; }
h2 { max-width: 880px; margin: 0 0 20px; font-family: var(--font-industrial); font-size: clamp(30px, 3.6vw, 54px); font-weight: 900; line-height: 1.02; }
h3 { margin: 0 0 12px; font-family: var(--font-industrial); font-size: 22px; font-weight: 900; line-height: 1.08; }
.hero-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid rgba(16,24,32,.16); border-radius: 6px; cursor: pointer; font-family: var(--font-industrial); font-weight: 900; letter-spacing: .02em; text-transform: uppercase; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; border-color: var(--ink); background: var(--ink); box-shadow: 0 14px 34px rgba(16,24,32,.22); }
.button.secondary { color: var(--ink); background: rgba(255,255,255,.56); }
.hero-proof { padding: 28px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; color: var(--ink); background: rgba(255,255,255,.64); backdrop-filter: blur(22px); box-shadow: var(--shadow); }
.hero-proof strong { display: block; margin-bottom: 18px; font-family: var(--font-industrial); font-size: 24px; font-weight: 900; line-height: 1.2; }
.hero-proof ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.hero-proof li { position: relative; padding-left: 18px; color: var(--muted); line-height: 1.45; }
.hero-proof li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hero-proof a { color: var(--blue); font-weight: 800; }

.breadcrumbs { position: relative; z-index: 9; margin-top: -38px; padding: 16px 18px; border: 1px solid rgba(16,24,32,.1); border-radius: 8px; color: var(--muted); background: rgba(247,245,240,.78); backdrop-filter: blur(16px); box-shadow: 0 14px 42px rgba(16,24,32,.06); font-size: 13px; }
.breadcrumbs a { color: var(--blue); font-weight: 800; }
.content-section { position: relative; padding: clamp(74px, 8vw, 128px) 0; }
.content-section.white { background: rgba(255,255,255,.18); border-block: 1px solid rgba(16,24,32,.06); }
.content-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(42px, 5vw, 100px); align-items: start; }
.content-grid > div:first-child { position: relative; padding: clamp(22px, 2.4vw, 34px); border: 1px solid rgba(255,255,255,.58); border-radius: 8px; background: linear-gradient(135deg, rgba(247,245,240,.9), rgba(247,245,240,.66)), rgba(255,255,255,.38); backdrop-filter: blur(18px); box-shadow: 0 18px 58px rgba(16,24,32,.1); }
.section-intro { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.58; }
.prose { padding: 28px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.62); backdrop-filter: blur(18px); box-shadow: 0 16px 54px rgba(16,24,32,.08); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.check-grid, .card-grid, .metric-grid { display: grid; gap: 12px; }
.check-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.metric-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
.check-card, .info-card, .metric { position: relative; padding: 24px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.62); backdrop-filter: blur(18px); box-shadow: 0 16px 54px rgba(16,24,32,.08); }
.check-card p, .info-card p { margin: 0; color: var(--muted); line-height: 1.58; }
.check-card::before { content: ""; display: block; width: 8px; height: 8px; margin-bottom: 18px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(14,91,216,.1); }
.info-card h3 a { color: var(--ink); }
.info-card h3 a:hover { color: var(--blue); }
.metric { min-height: 154px; }
.metric strong { display: block; margin-bottom: 14px; font-family: var(--font-industrial); font-size: 40px; font-weight: 900; line-height: 1; }
.metric span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.spec-table th, .spec-table td { padding: 17px 18px; text-align: left; vertical-align: top; border-block: 1px solid rgba(16,24,32,.12); background: rgba(255,255,255,.62); backdrop-filter: blur(18px); }
.spec-table th { width: 25%; border-left: 1px solid rgba(16,24,32,.12); border-radius: 8px 0 0 8px; color: var(--blue); font-family: var(--font-industrial); font-size: 13px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.spec-table td { border-right: 1px solid rgba(16,24,32,.12); border-radius: 0 8px 8px 0; color: var(--muted); line-height: 1.58; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 20px 22px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.62); backdrop-filter: blur(18px); box-shadow: 0 16px 54px rgba(16,24,32,.06); }
.faq-list summary { cursor: pointer; font-family: var(--font-industrial); font-size: 17px; font-weight: 900; }
.faq-list p { margin: 13px 0 0; color: var(--muted); line-height: 1.58; }

.page-cta { position: relative; padding: 48px 0 76px; }
.page-cta .page-shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(26px, 3vw, 42px); border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: linear-gradient(135deg, rgba(247,245,240,.9), rgba(255,255,255,.64)); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.page-cta h2 { margin-bottom: 10px; }
.page-cta p { margin: 0; color: var(--muted); }
.service-footer { position: relative; z-index: 8; padding: 36px 0; color: #fff; background: rgba(16,24,32,.96); }
.service-footer .page-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: rgba(255,255,255,.68); font-size: 13px; }
.service-footer a { color: #fff; font-weight: 700; }

.contact-layout { display: grid; grid-template-columns: minmax(300px,.7fr) minmax(0,1.3fr); gap: 28px; }
.contact-panel { position: relative; padding: 30px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.64); backdrop-filter: blur(20px); box-shadow: var(--shadow); }
.contact-panel::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 999px; background: linear-gradient(180deg,var(--blue),rgba(78,198,223,.2)); }
.contact-panel a { display: block; width: fit-content; margin: 9px 0; color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }
.contact-panel address { margin-top: 26px; color: var(--muted); font-style: normal; line-height: 1.58; }
.rfq-form { display: grid; gap: 14px; padding: 24px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.64); backdrop-filter: blur(22px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.rfq-form label { display: grid; gap: 8px; color: #34424e; font-size: 13px; font-weight: 700; }
.rfq-form input, .rfq-form select, .rfq-form textarea { width: 100%; padding: 13px; border: 1px solid rgba(16,24,32,.16); border-radius: 6px; color: var(--ink); background: rgba(255,255,255,.86); outline: none; }
.rfq-form input, .rfq-form select { height: 48px; }
.rfq-form textarea { resize: vertical; }
.rfq-form input:focus, .rfq-form select:focus, .rfq-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14,91,216,.12); }
.rfq-form input[type="file"] { height: auto; padding: 13px; border-style: dashed; }
.form-status { min-height: 1.5em; margin: 0; color: var(--muted); font-size: 13px; }
.gallery-feature { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 42px; align-items: center; }
.gallery-feature img { width: 100%; padding: 10px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.62); box-shadow: var(--shadow); }
.gallery-feature > div { position: relative; padding: 30px; border: 1px solid rgba(16,24,32,.12); border-radius: 8px; background: rgba(255,255,255,.62); backdrop-filter: blur(18px); box-shadow: 0 16px 54px rgba(16,24,32,.08); }

@media (max-width: 1120px) {
  .service-nav { gap: 0; }
  .service-nav a { padding-inline: 7px; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 880px) {
  body::after { display: none; }
  .service-header { position: absolute; top: 10px; width: min(100vw - 20px,720px); align-items: flex-start; flex-direction: column; }
  .service-brand img { width: 40px; height: 40px; }
  .service-brand strong { font-size: 16px; }
  .service-nav { width: 100%; justify-content: flex-start; overflow-x: auto; padding-top: 8px; border-top: 1px solid rgba(16,24,32,.1); }
  .service-nav a { flex: 0 0 auto; padding: 9px; }
  .service-hero { min-height: auto; padding: 170px 0 76px; }
  .service-hero::before { background: linear-gradient(90deg,rgba(247,245,240,.98),rgba(247,245,240,.8)), url("assets/manufacturing-bg.webp") center / cover; }
  .service-hero-inner, .content-grid, .contact-layout, .gallery-feature { grid-template-columns: 1fr; gap: 30px; }
  .service-hero-inner, .page-shell { width: min(100vw - 28px,680px); }
  .service-hero-inner > div:first-child { width: 100%; padding: 22px 18px; }
  h1 { font-size: clamp(36px,9.5vw,50px); }
  h2 { font-size: clamp(28px,7.4vw,38px); }
  .breadcrumbs { margin-top: -30px; }
  .content-section { padding: 72px 0; }
  .content-grid > div:first-child { width: 100%; padding: 22px 18px; }
  .check-grid, .card-grid, .metric-grid { grid-template-columns: 1fr; }
  .page-cta .page-shell, .service-footer .page-shell { align-items: flex-start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .spec-table { border-spacing: 0 12px; }
  .spec-table th, .spec-table td { display: block; width: 100%; border-inline: 1px solid rgba(16,24,32,.12); }
  .spec-table th { border-radius: 8px 8px 0 0; border-bottom: 0; }
  .spec-table td { border-radius: 0 0 8px 8px; border-top: 0; padding-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
