/* ============================================================
   SAMZOON — Custom Sandwich Panels | site stylesheet
   Palette: deep teal #0C4A40 / #0F7665 + warm amber #E8941C
   ============================================================ */
:root {
  --blue-900: #07332c;
  --blue-800: #0c4a40;
  --blue-600: #0f7665;
  --blue-500: #2e9a85;
  --orange: #e8941c;
  --orange-dark: #c97a0e;
  --ink: #17201d;
  --muted: #5b6b66;
  --line: #dfe8e4;
  --bg: #ffffff;
  --bg-soft: #f2f7f5;
  --bg-dark: #062822;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(12, 74, 64, .07);
  --shadow-md: 0 10px 30px rgba(12, 74, 64, .12);
  --shadow-lg: 0 20px 50px rgba(12, 74, 64, .18);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--blue-900);
  color: #bfd8cf;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 0; }
.topbar a { color: #bfd8cf; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .sep { opacity: .35; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.nav a {
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.active { color: var(--blue-600); background: var(--bg-soft); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--orange);
  color: #241703 !important;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s;
  box-shadow: 0 6px 18px rgba(232, 148, 28, .35);
}
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232, 148, 28, .45); }
.btn.ghost {
  background: transparent;
  color: var(--blue-600) !important;
  box-shadow: none;
  border: 2px solid var(--blue-600);
}
.btn.ghost:hover { background: var(--blue-600); color: #fff !important; }
.btn.on-dark.ghost { border-color: rgba(255,255,255,.85); color: #fff !important; }
.btn.on-dark.ghost:hover { background: #fff; color: var(--blue-800) !important; }
.nav-cta { margin-left: 8px; }
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute; left: 11px;
  width: 22px; height: 2px;
  background: var(--blue-800);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { left: 0; top: -7px; }
.menu-toggle span::after { left: 0; top: 7px; }
body.menu-open .menu-toggle span { background: transparent; }
body.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- language switcher ---------- */
.lang-switch { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 13.5px; font-weight: 700; letter-spacing: .2px;
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.lang-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.lang-btn svg.globe { color: var(--blue-600); }
.lang-btn .caret { opacity: .65; transition: transform .25s; }
.lang-switch.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 196px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 120;
}
.lang-switch:hover .lang-menu,
.lang-switch.open .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1; visibility: visible; transform: none;
}
.lang-menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background .18s, color .18s;
}
.lang-menu a:hover { background: var(--bg-soft); color: var(--blue-600); }
.lang-menu a.active { background: var(--bg-soft); color: var(--blue-600); }
.lang-menu a.active::after { content: "✓"; font-size: 12px; font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 51, 44, .96) 8%, rgba(12, 74, 64, .82) 46%, rgba(7, 51, 44, .35) 100%);
}
.hero .container { position: relative; padding: 110px 0 120px; }
.hero .eyebrow { color: #f7c477; }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.5px;
  max-width: 14em;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead {
  margin: 22px 0 34px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: #cbe0d7;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 26px; flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-badges div { font-size: 14px; color: #bfd8cf; }
.hero-badges strong { display: block; font-size: 26px; color: #fff; font-weight: 800; }
.hero-badges strong i { font-style: normal; color: var(--orange); }

/* ---------- section base ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--blue-900);
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16.5px; }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9f1ed; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.card .card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 17.5px; font-weight: 700; color: var(--blue-900); line-height: 1.4; }
.card .card-sub { margin-top: 8px; font-size: 14px; color: var(--muted); flex: 1; }
.card .card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: 12px; font-weight: 700;
  color: var(--blue-600);
  background: #e2efea;
  border-radius: 999px;
  padding: 4px 11px;
}
.tag.fire { color: var(--orange-dark); background: #fbefdc; }

/* ---------- features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 26px;
  transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature .icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: #fff;
  margin-bottom: 20px;
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; font-weight: 700; color: var(--blue-900); margin-bottom: 10px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.app-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: #fff;
}
.app-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.app-card:hover img { transform: scale(1.07); }
.app-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 51, 44, .92) 100%);
}
.app-card .app-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; z-index: 2; }
.app-card h3 { font-size: 18px; font-weight: 700; }
.app-card p { font-size: 13.5px; color: #cbe0d7; margin-top: 6px; }

/* ---------- process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 26px 78px;
  transition: box-shadow .25s, transform .25s;
}
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px; top: 26px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #241703;
  font-weight: 800; font-size: 15px;
  border-radius: 12px;
}
.step h3 { font-size: 16.5px; font-weight: 700; color: var(--blue-900); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
.cert {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 18px;
  font-weight: 600; font-size: 15px; color: var(--blue-900);
}
.cert svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.client-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.client {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-800);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  transition: all .2s;
}
.client:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card .case-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e9f1ed; }
.case-card .case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-card .case-body { padding: 22px 24px 26px; }
.case-card .case-loc { font-size: 12.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.case-card h3 { font-size: 17px; font-weight: 700; color: var(--blue-900); margin: 8px 0 10px; line-height: 1.45; }
.case-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 44px; }
.faq-group > h3 {
  font-size: 20px; font-weight: 800; color: var(--blue-900);
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
}
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font);
  font-size: 16px; font-weight: 700; color: var(--ink);
  text-align: left;
}
.faq-q .faq-icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue-600);
  display: grid; place-items: center;
  font-size: 18px; font-weight: 400;
  transition: transform .3s, background .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: #241703; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a .faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-item.open { border-color: var(--blue-600); box-shadow: var(--shadow-sm); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: start; }
.contact-card {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 40px;
}
.contact-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.contact-card > p { color: #bfd8cf; font-size: 15px; margin-bottom: 26px; }
.contact-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-row svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 3px; }
.contact-row .cr-label { font-size: 13px; color: #8fb3a7; text-transform: uppercase; letter-spacing: 1px; }
.contact-row .cr-value { font-size: 16.5px; font-weight: 600; margin-top: 2px; }
.contact-row .cr-value a:hover { color: #f7c477; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px 40px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; font-weight: 800; color: var(--blue-900); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--blue-900); margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--blue-600); background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  padding: 64px 60px;
  background: linear-gradient(110deg, var(--blue-800), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.3px; }
.cta-banner p { color: #cbe0d7; margin-top: 10px; max-width: 520px; }
.cta-banner::before {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(232, 148, 28, .28);
}
.cta-banner::after {
  content: "";
  position: absolute; right: 60px; bottom: -120px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta-banner .cta-text, .cta-banner .btn { position: relative; z-index: 2; }

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-photos img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; box-shadow: var(--shadow-md); }
.about-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 16px;
}
.stat strong { display: block; font-size: 34px; font-weight: 800; color: var(--blue-600); letter-spacing: -.5px; }
.stat strong i { font-style: normal; color: var(--orange); }
.stat span { font-size: 14px; color: var(--muted); font-weight: 600; }
.milestone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.milestone { background: #fff; border-left: 4px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; padding: 26px 28px; box-shadow: var(--shadow-sm); }
.milestone h3 { font-size: 17px; font-weight: 700; color: var(--blue-900); margin-bottom: 8px; }
.milestone p { font-size: 14.5px; color: var(--muted); }

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--bg-dark);
  padding: 84px 0;
  overflow: hidden;
}
.page-hero .hero-bg img { opacity: .32; }
.page-hero .hero-bg::after {
  background: linear-gradient(100deg, rgba(7, 51, 44, .97) 20%, rgba(12, 74, 64, .75) 100%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.5px; }
.page-hero p { margin-top: 12px; color: #cbe0d7; max-width: 640px; font-size: 16.5px; }
.breadcrumb { font-size: 13.5px; color: #8fb3a7; margin-bottom: 16px; }
.breadcrumb a { color: #bfd8cf; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #b2c7bf; font-size: 14.5px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding: 70px 0 50px; }
.footer-main img { height: 40px; margin-bottom: 18px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer-main h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 18px; }
.footer-main p { line-height: 1.8; }
.footer-main ul li { margin-bottom: 11px; }
.footer-main a { color: #b2c7bf; transition: color .2s; }
.footer-main a:hover { color: var(--orange); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 13.5px; color: #7d9a90; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
/* compact desktop (small laptops): tighten the header so the 7-link nav
   still fits on a single line instead of wrapping inside the buttons */
@media (max-width: 1200px) and (min-width: 1025px) {
  .site-header .container { gap: 16px; }
  .logo img { height: 34px; }
  .nav { gap: 2px; }
  .nav a { padding: 9px 10px; font-size: 14.5px; }
  .nav-cta { margin-left: 4px; padding: 11px 18px; }
}

@media (max-width: 1024px) {
  .product-grid, .feature-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .process-grid, .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  /* topbar: keep it on one line, drop the e-mail so it never wraps */
  .topbar { font-size: 12px; }
  .topbar .tb-left, .topbar .tb-right { gap: 14px; }
  .topbar .tb-right a:last-child { display: none; }
  .logo img { height: 34px; }
}

/* header collapses to a drawer earlier than the content grids do,
   otherwise the 7-link nav collides with the logo on tablets */
@media (max-width: 1024px) {
  .menu-toggle { display: block; margin-left: 0; }
  .lang-switch { margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    margin-left: 0;
    max-height: 82vh; overflow-y: auto;
    background: #fff;
    padding: 12px 5%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform .3s ease;
    z-index: 99;
  }
  body.menu-open .nav { transform: none; }
  .nav a { padding: 13px 12px; font-size: 15.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active { background: transparent; color: var(--blue-600); }
  .nav-cta { margin: 14px 0 4px; text-align: center; justify-content: center; }
}

@media (max-width: 768px) {
  /* top bar becomes a single centred certification line — the company name
     already sits right below it in the logo, stacking both looks noisy */
  .topbar { font-size: 11.5px; letter-spacing: .3px; }
  .topbar .container { justify-content: center; padding: 9px 0; }
  .topbar .tb-left { gap: 0; justify-content: center; }
  .topbar .tb-left > span:first-child,
  .topbar .sep,
  .topbar .tb-right { display: none; }
  .topbar .tb-left > span:last-child { opacity: .95; }

  .site-header .container { height: 64px; gap: 12px; }
  .logo img { height: clamp(22px, 6.6vw, 30px); }
  .lang-btn { height: 40px; padding: 0 10px; gap: 6px; font-size: 13px; border-radius: 10px; }
  .menu-toggle { width: 40px; height: 40px; }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { left: 10px; width: 20px; }
  .menu-toggle span { top: 19px; }

  .section { padding: 64px 0; }
  .hero .container { padding: 80px 0 84px; }
  .product-grid, .feature-grid, .app-grid, .case-grid, .process-grid, .milestone-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 30px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding: 50px 0 36px; }
}

/* very narrow handsets (≤360px): claw back a few pixels of gutter */
@media (max-width: 360px) {
  .container { width: 94%; }
  .site-header .container { gap: 8px; }
  .lang-btn { padding: 0 8px; }
}
