/* ============================================================
   PartCraft — Dark Tech Redesign
   Deep-space navy + orange/cyan gradients, glass nav, grid glow
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #060a13;
  --bg-2: #0a111f;
  --surface: #0e1626;
  --card: #0f1a2d;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);

  --heading: #f4f7fb;
  --text-1: #dbe4f0;
  --text-2: #9fb0c9;
  --text-3: #6e8099;

  --orange: #ff7a1a;
  --orange-soft: #ff9f45;
  --cyan: #4cc9f0;
  --grad: linear-gradient(92deg, #ffb35c 0%, #ff7a1a 55%, #ff6a3d 100%);
  --grad-cool: linear-gradient(92deg, #4cc9f0, #7aa2ff);

  /* legacy aliases (inline styles reference these) */
  --gray-700: #9fb0c9;
  --gray-500: #7c8ea8;
  --gray-200: rgba(148,163,184,0.14);
  --gray-100: #101b30;
  --navy-100: #101b30;
  --blue: #4cc9f0;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(2, 6, 14, 0.5);
  --shadow-lg: 0 20px 60px rgba(2, 6, 14, 0.6);
  --glow-orange: 0 0 42px rgba(255, 122, 26, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-1);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 122, 26, 0.09), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(76, 201, 240, 0.07), transparent 60%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text, .step h4, .industry { font-family: "Space Grotesk", "Inter", sans-serif; }

img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(255, 122, 26, 0.35); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: #04070d;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: var(--text-2); text-decoration: none; margin-left: 16px; transition: 0.2s; }
.topbar a:hover { color: var(--orange-soft); }

/* ---------- Header (glass) ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 19, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--heading); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 21px; color: #160904;
  box-shadow: var(--glow-orange);
  font-family: "Space Grotesk", sans-serif;
}
.logo-text { font-size: 21px; font-weight: 700; letter-spacing: 0.3px; }
.logo-text span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

nav.main-nav { display: flex; align-items: center; gap: 2px; }
nav.main-nav a {
  color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 9px 15px; border-radius: 8px; transition: 0.2s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--heading); background: rgba(255,255,255,0.06); }
.btn-nav {
  background: var(--grad) !important; color: #160904 !important;
  font-weight: 700 !important; margin-left: 12px; padding: 11px 22px !important;
  border-radius: 9px !important; box-shadow: var(--glow-orange);
}
.btn-nav:hover { filter: brightness(1.08); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--heading); font-size: 22px; cursor: pointer; border-radius: 8px; padding: 4px 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--heading);
  padding: 110px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 520px at 78% 0%, rgba(255, 122, 26, 0.16), transparent 62%),
    radial-gradient(760px 480px at 8% 90%, rgba(76, 201, 240, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(6,10,19,0.2), rgba(6,10,19,0.85)),
    url("../images/hero-cnc.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 122, 26, 0.1);
  border: 1px solid rgba(255, 122, 26, 0.35);
  padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  margin-bottom: 26px; letter-spacing: 1px; color: #ffb37c;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 10px var(--orange);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-size: 54px; line-height: 1.1; font-weight: 700;
  max-width: 760px; letter-spacing: -0.5px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 580px; margin: 24px 0 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 54px; margin-top: 64px; flex-wrap: wrap; }
.hero-stats .stat b {
  display: block; font-size: 34px; font-weight: 700;
  font-family: "Space Grotesk", sans-serif;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-stats .stat b i { font-style: normal; font-size: 22px; }
.hero-stats .stat span { font-size: 13.5px; color: var(--text-3); letter-spacing: 0.3px; }

/* trust strip */
.trust-strip {
  border-top: 1px solid var(--line);
  background: rgba(4, 7, 13, 0.6);
  padding: 18px 0;
}
.trust-strip .container { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-strip .pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-3); font-size: 13.5px; font-weight: 600; letter-spacing: 0.6px;
}
.trust-strip .pill b { color: var(--text-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 30px; border-radius: 10px; font-size: 16px;
  transition: 0.22s; border: none; cursor: pointer;
  font-family: "Inter", sans-serif;
}
.btn-primary {
  background: var(--grad); color: #160904;
  box-shadow: var(--glow-orange);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 0 60px rgba(255,122,26,0.4); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--heading);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-dark {
  background: rgba(255,255,255,0.06); color: var(--heading);
  border: 1px solid var(--line-strong);
}
.btn-dark:hover { border-color: var(--orange); color: var(--orange-soft); }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-alt {
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(76,201,240,0.05), transparent 60%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 720px; margin: 0 auto 58px; text-align: center; }
.section-head .kicker, .kicker-text {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--orange-soft); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase;
}
.section-head .kicker::before, .section-head .kicker::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange));
}
.section-head .kicker::after { background: linear-gradient(90deg, var(--orange), transparent); }
.section-head h2 { font-size: 38px; font-weight: 700; color: var(--heading); margin: 14px 0 16px; letter-spacing: -0.4px; }
.section-head p { color: var(--text-2); font-size: 17px; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.005)), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: 0.28s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: 0.28s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 26, 0.4); box-shadow: var(--shadow-lg), var(--glow-orange); }
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255, 122, 26, 0.1);
  border: 1px solid rgba(255, 122, 26, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 26px;
}
.card h3 { font-size: 20px; color: var(--heading); margin-bottom: 12px; }
.card p { color: var(--text-2); font-size: 15px; flex: 1; }
.card .card-link {
  margin-top: 18px; color: var(--orange-soft); font-weight: 600; font-size: 15px;
  text-decoration: none; transition: 0.2s;
}
.card .card-link:hover { letter-spacing: 0.3px; }
.card ul.checks { margin-top: 14px; list-style: none; }
.card ul.checks li { font-size: 14px; color: var(--text-2); padding-left: 24px; position: relative; margin-bottom: 7px; }
.card ul.checks li::before { content: "▸"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img {
  border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.split h2 { font-size: 32px; color: var(--heading); margin-bottom: 18px; letter-spacing: -0.3px; }
.split p { color: var(--text-2); margin-bottom: 14px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { text-align: center; padding: 0 18px; position: relative; }
.step .num {
  width: 62px; height: 62px; margin: 0 auto 18px;
  background: var(--card); color: var(--orange-soft);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; position: relative; z-index: 2;
  border: 1px solid rgba(255, 122, 26, 0.4);
  font-family: "Space Grotesk", sans-serif;
  box-shadow: 0 0 24px rgba(255,122,26,0.15);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; left: calc(50% + 34px);
  width: calc(100% - 68px); height: 1px; z-index: 1;
  background: linear-gradient(90deg, rgba(255,122,26,0.5), rgba(76,201,240,0.35));
}
.step h4 { color: var(--heading); font-size: 17.5px; margin-bottom: 8px; }
.step p { color: var(--text-3); font-size: 14px; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.industry {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 14px; text-align: center;
  font-weight: 600; color: var(--text-2); font-size: 15px;
  transition: 0.25s; cursor: default;
}
.industry:hover { border-color: rgba(255,122,26,0.45); color: var(--heading); transform: translateY(-4px); box-shadow: var(--glow-orange); }
.industry .em { display: block; font-size: 30px; margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 88px 0;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 380px at 20% 50%, rgba(255,122,26,0.12), transparent 60%),
    radial-gradient(600px 340px at 85% 50%, rgba(76,201,240,0.09), transparent 60%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 34px; font-weight: 700; color: var(--heading); letter-spacing: -0.4px; }
.cta-band p { color: var(--text-2); margin-top: 10px; font-size: 17px; }

/* ---------- Quote form ---------- */
.form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 44px; max-width: 780px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 14px; color: var(--heading); margin-bottom: 7px; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 10px; font-size: 15px; font-family: inherit;
  background: rgba(4, 7, 13, 0.5); color: var(--heading);
  transition: 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field select { color-scheme: dark; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.15);
}
.field .hint { font-size: 12.5px; color: var(--text-3); margin-top: 5px; }
.file-drop {
  border: 1.5px dashed var(--line-strong); border-radius: 12px;
  padding: 28px; text-align: center; color: var(--text-3);
  background: rgba(4, 7, 13, 0.4); font-size: 14px;
}
.file-drop strong { color: var(--cyan); font-weight: 600; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.contact-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; text-align: center;
  transition: 0.25s;
}
.contact-card:hover { border-color: rgba(76,201,240,0.4); transform: translateY(-3px); }
.contact-card .em { font-size: 32px; }
.contact-card h4 { color: var(--heading); margin: 10px 0 6px; font-size: 17px; }
.contact-card a { color: var(--cyan); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.contact-card a:hover { text-decoration: underline; }
.contact-card p { font-size: 13px; color: var(--text-3); }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: 0.28s; text-decoration: none;
  display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); border-color: rgba(76,201,240,0.45); box-shadow: var(--shadow-lg); }
.article-card .thumb {
  height: 168px; position: relative;
  background:
    radial-gradient(300px 160px at 70% 20%, rgba(255,122,26,0.22), transparent 60%),
    radial-gradient(260px 140px at 20% 90%, rgba(76,201,240,0.15), transparent 60%),
    #0b1220;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 50px;
}
.article-card .body { padding: 24px; flex: 1; }
.article-card .tag {
  color: var(--orange-soft); font-size: 12.5px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase;
}
.article-card h3 { color: var(--heading); font-size: 18px; margin: 10px 0; line-height: 1.4; }
.article-card p { color: var(--text-2); font-size: 14px; }
.article-card .meta { color: var(--text-3); font-size: 13px; margin-top: 14px; }

/* ---------- Article page ---------- */
.article-page { max-width: 780px; margin: 0 auto; padding: 70px 24px 100px; }
.article-page .tag { color: var(--orange-soft); font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; }
.article-page h1 { font-size: 38px; color: var(--heading); margin: 12px 0 16px; line-height: 1.22; letter-spacing: -0.4px; }
.article-page .meta { color: var(--text-3); font-size: 14px; margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-page h2 { font-size: 25px; color: var(--heading); margin: 40px 0 16px; }
.article-page h3 { font-size: 19px; color: var(--heading); margin: 28px 0 12px; }
.article-page p { color: var(--text-2); margin-bottom: 18px; font-size: 16.5px; }
.article-page ul, .article-page ol { color: var(--text-2); margin: 0 0 18px 24px; }
.article-page li { margin-bottom: 9px; }
.article-page strong { color: var(--heading); }
.article-page table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.article-page th { background: rgba(255, 122, 26, 0.12); color: var(--heading); text-align: left; padding: 12px 16px; font-weight: 700; }
.article-page td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.article-page tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.note-box {
  background: rgba(76, 201, 240, 0.06);
  border: 1px solid rgba(76, 201, 240, 0.25);
  border-left: 3px solid var(--cyan);
  padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 26px 0;
  font-size: 15px; color: var(--text-1);
}
.note-box strong { color: var(--cyan); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(255,122,26,0.12), transparent 60%),
    radial-gradient(600px 360px at 10% 90%, rgba(76,201,240,0.08), transparent 60%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  color: var(--heading); padding: 78px 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 30%, transparent 80%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 42px; font-weight: 700; letter-spacing: -0.4px; }
.page-hero p { color: var(--text-2); font-size: 18px; margin-top: 14px; max-width: 680px; }
.breadcrumb { font-size: 13.5px; margin-bottom: 20px; }
.breadcrumb a { color: var(--text-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-soft); }
.breadcrumb span { color: var(--orange-soft); }

/* ---------- Certifications strip ---------- */
.certs { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cert-pill {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 12px 26px;
  font-weight: 600; font-size: 14px; color: var(--text-2);
}
.cert-pill:hover { border-color: rgba(255,122,26,0.4); color: var(--heading); }

/* ---------- Footer ---------- */
footer.site-footer { background: #04070d; color: var(--text-3); padding: 72px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { color: var(--heading); font-size: 15px; margin-bottom: 18px; letter-spacing: 0.6px; text-transform: uppercase; }
.footer-grid a { display: block; color: var(--text-2); text-decoration: none; font-size: 14.5px; margin-bottom: 11px; transition: 0.2s; }
.footer-grid a:hover { color: var(--orange-soft); }
.footer-grid p { font-size: 14.5px; line-height: 1.8; color: var(--text-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0; font-size: 13.5px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: var(--text-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--orange-soft); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:not(:last-child)::after { display: none; }
  .industries { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  .hero { padding: 84px 0 90px; }

  nav.main-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(6, 10, 19, 0.97); flex-direction: column;
    padding: 18px 24px 26px; gap: 6px; align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4, .article-grid, .form-grid, .contact-cards { grid-template-columns: 1fr; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .hero-stats { gap: 30px; }
  .hero-stats .stat b { font-size: 27px; }
  section { padding: 62px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .section-head h2 { font-size: 30px; }
  .cta-band h2 { font-size: 28px; }
  .page-hero h1 { font-size: 33px; }
}

/* Image-based brand logo (Scanvex) */
.logo-img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 42px rgba(255, 122, 26, 0.28); }
