/* ============================================
   PANAFRIC PACKLINE — Corporate Website
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: #1a4d8c; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.5em;
  line-height: 1.25;
}

h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 1em; }

/* ---------- Layout container ---------- */
.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease;
  font-family: inherit;
  line-height: 1.2;
}
.btn-primary {
  background: #1a4d8c;
  color: #fff;
}
.btn-primary:hover {
  background: #143d70;
  text-decoration: none;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #1a4d8c;
  border: 1px solid #1a4d8c;
}
.btn-outline:hover {
  background: #1a4d8c;
  color: #fff;
  text-decoration: none;
}
.btn-white {
  background: #fff;
  color: #1a4d8c;
}
.btn-white:hover { background: #f1f1f1; text-decoration: none; }

/* ---------- Header ---------- */
.top-bar {
  background: #143d70;
  color: #cfd9e6;
  font-size: 13px;
  padding: 6px 0;
}
.top-bar a { color: #cfd9e6; }
.top-bar a:hover { color: #fff; text-decoration: none; }
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.top-bar-contact { display: flex; gap: 18px; flex-wrap: wrap; }
.top-bar-contact span { display: inline-flex; align-items: center; gap: 6px; }

.lang-switch { display: flex; gap: 0; }
.lang-switch button {
  background: transparent;
  border: none;
  color: #cfd9e6;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border-left: 1px solid #2a5a9a;
}
.lang-switch button:first-child { border-left: none; }
.lang-switch button:hover { color: #fff; }
.lang-switch button.active { color: #fff; text-decoration: underline; }

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.site-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a4d8c;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px;
  background: #1a4d8c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-weight: 700;
  font-size: 17px;
  color: #1a4d8c;
  letter-spacing: 0.5px;
}
.logo-tag {
  font-size: 10px;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover {
  color: #1a4d8c;
  text-decoration: none;
}
.main-nav a.active {
  color: #1a4d8c;
  border-bottom-color: #1a4d8c;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  width: 42px;
  height: 38px;
  cursor: pointer;
  border-radius: 3px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  margin: 4px auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #143d70;
  color: #fff;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,61,112,0.7), rgba(20,61,112,0.85)),
              repeating-linear-gradient(135deg, #2a5a9a 0 40px, #1f4d8a 40px 80px);
  z-index: 0;
}
.hero-image::after {
  content: '[ image — usine / chaîne de production ]';
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 90px 0 100px;
  max-width: 700px;
}
.hero h1 {
  color: #fff;
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero .hero-sub {
  font-size: 17px;
  color: #e1e9f3;
  margin-bottom: 28px;
  max-width: 580px;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: #f5f6f7;
  border-bottom: 1px solid #e5e5e5;
  padding: 36px 0;
}
.page-header h1 {
  font-size: 30px;
  margin-bottom: 6px;
}
.breadcrumb {
  font-size: 13px;
  color: #777;
}
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: #1a4d8c; }

/* ---------- Sections ---------- */
.section {
  padding: 60px 0;
}
.section-tight { padding: 40px 0; }
.section-alt { background: #f5f6f7; }
.section-dark { background: #143d70; color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-title {
  text-align: left;
  margin-bottom: 36px;
}
.section-title h2 {
  font-size: 26px;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #1a4d8c;
  position: absolute;
  bottom: 0;
  left: 0;
}
.section-title.centered { text-align: center; }
.section-title.centered h2::after { left: 50%; transform: translateX(-50%); }
.section-title p { color: #666; max-width: 700px; font-size: 15px; }
.section-title.centered p { margin-left: auto; margin-right: auto; }

/* ---------- Intro block ---------- */
.intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.intro p { font-size: 16.5px; color: #444; }

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid #e5e5e5;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 34px;
  font-weight: 700;
  color: #1a4d8c;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.product-card:hover {
  border-color: #c9d4e2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  text-decoration: none;
}
.product-card-img {
  height: 170px;
  background:
    repeating-linear-gradient(45deg, #e9edf2 0 14px, #dde4ec 14px 28px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img span {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #6c7a8c;
  background: rgba(255,255,255,0.7);
  padding: 4px 8px;
  border-radius: 2px;
}
.product-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  color: #222;
}
.product-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 14px;
  flex: 1;
}
.product-card-link {
  font-size: 13px;
  font-weight: 600;
  color: #1a4d8c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.product-card-link::after { content: ' \203A'; }

/* ---------- About teaser ---------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-teaser-img {
  height: 340px;
  background:
    repeating-linear-gradient(45deg, #e9edf2 0 14px, #dde4ec 14px 28px);
  position: relative;
  border-radius: 3px;
}
.about-teaser-img::after {
  content: '[ image — équipe / atelier ]';
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #6c7a8c;
  background: rgba(255,255,255,0.7);
  padding: 3px 7px;
}
.about-teaser h2 { font-size: 26px; }
.about-teaser p { color: #555; }

/* ---------- Why us / features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature {
  text-align: left;
  padding-right: 10px;
}
.feature-icon {
  width: 54px;
  height: 54px;
  border: 2px solid #1a4d8c;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #1a4d8c;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: #666; margin: 0; }

/* ---------- Certifications strip ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: center;
}
.cert-logo {
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 22px 12px;
  text-align: center;
  border-radius: 3px;
}
.cert-logo-name {
  font-weight: 700;
  font-size: 14px;
  color: #1a4d8c;
  letter-spacing: 0.5px;
}
.cert-logo-desc {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Industries grid ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 22px 20px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.industry-icon {
  width: 42px; height: 42px;
  background: #eef2f7;
  color: #1a4d8c;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.industry-name {
  font-weight: 600;
  font-size: 15px;
  color: #333;
}
.industry-desc {
  font-size: 13px;
  color: #777;
  margin-top: 2px;
}

/* ---------- Export band ---------- */
.export-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.export-stat {
  background: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  padding: 28px;
  text-align: center;
  border-radius: 3px;
}
.export-stat-num {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.export-stat-label {
  font-size: 14px;
  color: #c9d4e2;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: #1a4d8c;
  color: #fff;
  padding: 40px 0;
}
.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  font-size: 22px;
  margin: 0;
}
.cta-band p {
  color: #d4dfee;
  margin: 4px 0 0;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #222;
  color: #b8b8b8;
  padding: 50px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #3a3a3a;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #b8b8b8; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-about p { color: #b8b8b8; line-height: 1.7; }
.footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.footer-logo .logo-mark { background: #1a4d8c; }
.footer-logo .logo-name { color: #fff; }
.footer-contact-line {
  display: flex; gap: 10px; margin-bottom: 8px; color: #b8b8b8;
}
.footer-contact-line svg { flex-shrink: 0; margin-top: 2px; color: #6e8aa8; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px;
  background: #333;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  color: #b8b8b8;
}
.footer-social a:hover { background: #1a4d8c; color: #fff; }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 18px 0;
  font-size: 13px;
  color: #888;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- About page ---------- */
.text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.text-grid .text-img {
  height: 320px;
  background:
    repeating-linear-gradient(45deg, #e9edf2 0 14px, #dde4ec 14px 28px);
  border-radius: 3px;
  position: relative;
}
.text-grid .text-img::after {
  content: attr(data-label);
  position: absolute;
  bottom: 10px; right: 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #6c7a8c;
  background: rgba(255,255,255,0.7);
  padding: 3px 7px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 26px;
  border-radius: 3px;
}
.value-card h3 {
  font-size: 16px;
  color: #1a4d8c;
  margin-bottom: 8px;
}
.value-card p { font-size: 14.5px; color: #555; margin: 0; }

.timeline {
  border-left: 2px solid #d4dfee;
  padding-left: 28px;
  margin-left: 8px;
}
.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: #1a4d8c;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #1a4d8c;
}
.timeline-year {
  font-weight: 700;
  color: #1a4d8c;
  font-size: 15px;
  margin-bottom: 2px;
}
.timeline-body { color: #555; font-size: 14.5px; }

/* ---------- Products page ---------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-detail-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-detail-card .product-card-img { height: 200px; }
.product-detail-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-detail-card h3 { font-size: 18px; margin-bottom: 8px; }
.product-detail-card p { font-size: 14.5px; color: #555; margin-bottom: 12px; }
.product-detail-card ul { padding-left: 18px; margin: 0 0 16px; font-size: 14px; color: #555; }
.product-detail-card li { margin-bottom: 4px; }
.product-detail-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Quality / Certifications page ---------- */
.cert-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cert-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 22px;
  border-radius: 3px;
  align-items: start;
}
.cert-card .badge {
  background: #f5f6f7;
  border: 1px solid #e5e5e5;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  text-align: center;
  padding: 8px;
}
.cert-card .badge-name {
  font-weight: 700;
  color: #1a4d8c;
  font-size: 13px;
  line-height: 1.2;
}
.cert-card .badge-sub {
  font-size: 10px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.cert-card h3 { font-size: 17px; margin-bottom: 6px; }
.cert-card p { font-size: 14.5px; color: #555; margin: 0; }

/* ---------- Industries page ---------- */
.industry-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.industry-detail-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  overflow: hidden;
}
.industry-detail-card .img {
  height: 160px;
  background:
    repeating-linear-gradient(45deg, #e9edf2 0 14px, #dde4ec 14px 28px);
  position: relative;
}
.industry-detail-card .img::after {
  content: attr(data-label);
  position: absolute;
  bottom: 8px; right: 10px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #6c7a8c;
  background: rgba(255,255,255,0.7);
  padding: 3px 7px;
}
.industry-detail-card .body { padding: 20px; }
.industry-detail-card h3 { font-size: 17px; margin-bottom: 6px; }
.industry-detail-card p { font-size: 14px; color: #666; margin: 0; }

/* ---------- Careers page ---------- */
.job-list { display: flex; flex-direction: column; gap: 14px; }
.job {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 22px;
  border-radius: 3px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.job h3 { font-size: 17px; margin-bottom: 4px; }
.job-meta { font-size: 13px; color: #777; }
.job-meta span { margin-right: 16px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-form {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 32px;
  border-radius: 3px;
}
.contact-form h2 { font-size: 22px; margin-bottom: 4px; }
.contact-form .form-intro { color: #666; font-size: 14.5px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14.5px;
  font-family: inherit;
  background: #fff;
  color: #333;
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #1a4d8c;
  box-shadow: 0 0 0 3px rgba(26,77,140,0.12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .error {
  color: #b8302a; font-size: 12.5px; margin-top: 4px; display: none;
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: #b8302a; }
.form-field.invalid .error { display: block; }

.form-success {
  display: none;
  background: #e8f3eb;
  border: 1px solid #b2d4be;
  color: #2c6a3f;
  padding: 14px 18px;
  border-radius: 3px;
  margin-bottom: 18px;
  font-size: 14.5px;
}
.form-success.show { display: block; }

.contact-info { font-size: 14.5px; }
.contact-info h3 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a4d8c;
  display: inline-block;
}
.contact-line {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  color: #444;
}
.contact-line .ico {
  width: 32px; height: 32px;
  background: #eef2f7;
  color: #1a4d8c;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line strong {
  display: block;
  color: #222;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.map-placeholder {
  margin-top: 50px;
  height: 380px;
  background:
    linear-gradient(rgba(245,246,247,0.4), rgba(245,246,247,0.4)),
    repeating-linear-gradient(0deg, #e0e6ec 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, #e0e6ec 0 1px, transparent 1px 60px),
    #f0f3f6;
  border: 1px solid #e5e5e5;
  border-radius: 3px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-pin {
  background: #1a4d8c;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  position: relative;
}
.map-pin::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a4d8c;
}
.map-placeholder small {
  position: absolute;
  bottom: 10px; right: 14px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #6c7a8c;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid #e5e5e5; }
  .features, .industries, .product-detail-grid, .industry-detail-grid, .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .about-teaser, .text-grid, .export-band, .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .cert-grid-large { grid-template-columns: 1fr; }
  h1 { font-size: 26px; }
  .hero h1 { font-size: 30px; }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid #e5e5e5;
    padding: 8px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav a.active { border-bottom-color: #f0f0f0; background: #f5f6f7; }
  .nav-toggle { display: block; }
  .site-header-inner { position: relative; }
  .product-grid, .product-detail-grid, .industries, .industry-detail-grid, .features, .value-grid {
    grid-template-columns: 1fr;
  }
  .stats { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 60px 0 70px; }
  .hero h1 { font-size: 26px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .job { grid-template-columns: 1fr; }
  .top-bar-contact { font-size: 12px; gap: 12px; }
}
