/* ==========================================================================
   FeSS Technology — PCB fabrication & assembly
   Design system / global stylesheet
   ========================================================================== */

:root {
  --ink: #081c24;
  --ink-soft: #12313d;
  --body: #3d525b;
  --muted: #6c7f87;
  --teal: #0f9d8f;
  --teal-dark: #0a7c72;
  --teal-deep: #075a53;
  --teal-soft: #e7f6f3;
  --teal-line: #c8e9e3;
  --amber: #f2a33c;
  --amber-soft: #fff4e2;
  --line: #dfe8ea;
  --line-soft: #edf2f3;
  --bg: #ffffff;
  --bg-soft: #f5f9f9;
  --bg-dark: #071a21;
  --shadow-sm: 0 2px 10px rgba(8, 28, 36, .06);
  --shadow: 0 18px 44px rgba(8, 28, 36, .10);
  --shadow-lg: 0 30px 70px rgba(8, 28, 36, .16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; border: 0; display: block; }

a { color: var(--teal-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal); }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(36px, 4.4vw, 58px); }
h2 { font-size: clamp(28px, 3vw, 40px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .45em; }

strong { color: var(--ink); font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(15, 157, 143, .28); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: 0 14px 30px rgba(15, 157, 143, .32); }

.btn-accent { background: var(--amber); color: #2b1c03; box-shadow: 0 10px 24px rgba(242, 163, 60, .28); }
.btn-accent:hover { background: #e8942a; color: #2b1c03; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #0d2b37; color: #fff; }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-soft); color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); border-color: #c8d4d8; }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-dark); background: #fff; }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .7); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--teal-dark);
}
.btn-link svg { width: 16px; height: 16px; transition: transform .18s ease; }
.btn-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Shared section scaffolding
   -------------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-tight { padding: 64px 0; }
.section-dark { background: var(--bg-dark); color: rgba(255, 255, 255, .74); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-soft { background: var(--bg-soft); }
.section-teal-soft { background: var(--teal-soft); }

.section-head { max-width: 780px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 17px; color: var(--muted); margin-top: 14px; }
.section-head h2 { margin-bottom: 0; }
.section-head .btn { margin-top: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
}
.section-dark .eyebrow { color: #6fe0d3; }
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge.amber { background: var(--amber-soft); color: #8a5606; }
.badge.dark { background: rgba(255, 255, 255, .1); color: #d9f4f0; }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
}
.icon-tile img { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .7);
  font-size: 12.5px;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 14px; height: 14px; color: #62d6c8; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #42d6a8; display: inline-block; box-shadow: 0 0 0 3px rgba(66, 214, 168, .16); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(8, 28, 36, .08); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 40px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav > ul > li { position: relative; margin: 0; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-active > a { color: var(--teal-dark); background: var(--teal-soft); }
.main-nav .caret {
  width: 9px;
  height: 9px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}

.main-nav .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 20;
  min-width: 540px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.main-nav li:hover > .dropdown,
.main-nav li:focus-within > .dropdown,
.main-nav li.dropdown-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 8px;
}
.main-nav .dropdown li { margin: 0; break-inside: avoid; }
.main-nav .dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.main-nav .dropdown a small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}
.main-nav .dropdown a:hover { background: var(--bg-soft); color: var(--teal-dark); }
.main-nav .dropdown a:hover small { color: var(--teal-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-mail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.header-mail svg { width: 16px; height: 16px; color: var(--teal); }
.header-mail:hover { color: var(--teal-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav .mobile-cta { display: none; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 22, 28, .5);
  z-index: 180;
  opacity: 0;
  transition: opacity .2s;
}
body.nav-open .nav-backdrop { display: block; opacity: 1; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .78);
  padding: 82px 0 64px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(100deg, #051920 8%, rgba(5, 25, 32, .94) 46%, rgba(5, 25, 32, .55) 78%, rgba(5, 25, 32, .3)), url("../images/hero-smt.jpg");
  background-size: cover;
  background-position: center right;
  opacity: .95;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 18%, rgba(15, 157, 143, .28), transparent 38%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: 64px;
  align-items: center;
}
.hero-copy h1 { color: #fff; margin-bottom: 20px; }
.hero-copy h1 em {
  font-style: normal;
  color: #6fe0d3;
  position: relative;
  white-space: nowrap;
}
.hero-copy > p { font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .76); max-width: 580px; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(111, 224, 211, .28);
  background: rgba(15, 157, 143, .12);
  color: #9becdf;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}
.hero-points li {
  position: relative;
  margin: 0;
  padding-left: 24px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .84);
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(15, 157, 143, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fe0d3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/9px no-repeat;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: #62d6c8; }

.quote-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  color: var(--body);
  position: relative;
}
.quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--teal), #6fe0d3);
}
.quote-card h2 { font-size: 23px; margin-bottom: 4px; }
.quote-card .qc-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.quote-card .field { margin-bottom: 13px; }
.quote-card .btn { margin-top: 4px; }
.quote-card .form-note { margin-top: 12px; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}
.stat .stat-value {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
}
.stat .stat-value small { font-size: .55em; font-weight: 700; color: #6fe0d3; margin-left: 2px; }
.stat .stat-label { margin-top: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .55); letter-spacing: .02em; }

/* Trust bar */
.trustbar { padding: 26px 0; background: #fff; border-bottom: 1px solid var(--line-soft); }
.trustbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.trustbar p { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.trust-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trust-items span {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #4c6169;
  background: #fff;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.card h3 { font-size: 19px; margin: 18px 0 8px; }
.card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.card .card-link { font-size: 14px; }

.card-service { display: flex; flex-direction: column; height: 100%; }
.card-service .card-link { margin-top: auto; }
.card-service .icon-tile { transition: background .2s, transform .2s; }
.card-service:hover .icon-tile { background: var(--teal); border-color: var(--teal); transform: scale(1.04); }
.card-service:hover .icon-tile img { filter: brightness(0) invert(1); }

.card-dark {
  background: #0d2a35;
  border-color: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
}
.card-dark h3 { color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .62); }

/* Split media */
.split-media { position: relative; }
.split-media .media-main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.split-media .media-float {
  position: absolute;
  right: -22px;
  bottom: -26px;
  width: 46%;
  border-radius: var(--radius);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.floating-proof {
  position: absolute;
  left: -22px;
  bottom: 34px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-proof .fp-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
}
.floating-proof .fp-icon img { width: 22px; height: 22px; }
.floating-proof b { display: block; font-size: 15px; color: var(--ink); line-height: 1.2; }
.floating-proof small { font-size: 11.5px; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 15.5px;
  color: #455a63;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f9d8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center/11px no-repeat;
}
.check-list li strong { display: block; color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--teal-line); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 14px;
}
.step .step-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step .step-icon img { width: 22px; height: 22px; }
.step h3 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.step .step-time {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--teal-soft);
  padding: 3px 9px;
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   Capability table / dark band
   -------------------------------------------------------------------------- */
.cap-band { position: relative; overflow: hidden; }
.cap-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 20%, rgba(15, 157, 143, .2), transparent 42%);
  pointer-events: none;
}
.cap-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; position: relative; }
.spec-panel {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 8px 28px;
  backdrop-filter: blur(6px);
}
.spec-row {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  font-size: 14px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .k { color: rgba(255, 255, 255, .5); }
.spec-row .v { color: #e8f5f2; font-weight: 600; }

/* --------------------------------------------------------------------------
   Quality / certifications
   -------------------------------------------------------------------------- */
.cert-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--teal-line);
  background: #fff;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--teal-deep);
}
.cert svg { width: 15px; height: 15px; }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quality-media { position: relative; }
.quality-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.quality-media .media-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(7, 26, 33, .86);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.quality-media .media-tag b { color: #6fe0d3; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 15px; height: 15px; color: var(--amber); fill: var(--amber); }
.testimonial blockquote { margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: #3c515a; }
.testimonial .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.testimonial .who b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.testimonial .who small { font-size: 11.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 40px 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; background: var(--teal); color: #fff; }
.faq-item .faq-answer { padding: 0 56px 24px 0; font-size: 15px; color: var(--muted); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--teal-deep), var(--teal) 60%, #18b3a3);
  color: rgba(255, 255, 255, .82);
  padding: 64px 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .8), transparent 70%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.cta-inner p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #061820; color: rgba(255, 255, 255, .62); padding: 64px 0 0; font-size: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.25fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand .logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 7px 12px;
  margin-bottom: 18px;
}
.footer-brand .logo-chip img { height: 28px; width: auto; }
.footer-brand p { color: rgba(255, 255, 255, .55); font-size: 13.5px; line-height: 1.7; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.footer-badges span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}
.site-footer h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255, 255, 255, .58); font-size: 13.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: rgba(255, 255, 255, .58); }
.footer-contact svg { width: 16px; height: 16px; color: #4fd1c1; flex: none; margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .38);
}
.footer-bottom a { color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: #fff; }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
  box-shadow: var(--shadow);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 18px; height: 18px; }

.mobile-bar { display: none; }

/* --------------------------------------------------------------------------
   Page hero / inner pages
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 58px;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .72);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(15, 157, 143, .26), transparent 46%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 10px; }
.page-hero p { max-width: 760px; font-size: 16.5px; color: rgba(255, 255, 255, .68); margin: 0; }
.page-hero .badge { background: rgba(15, 157, 143, .16); color: #8ce9dc; border: 1px solid rgba(111, 224, 211, .24); }

.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.breadcrumb a { color: rgba(255, 255, 255, .62); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .4; }

.page-wrap { padding: 72px 0 96px; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }

.sidebar { position: sticky; top: 102px; display: grid; gap: 20px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.side-card h3 { font-size: 17px; margin-bottom: 10px; }
.side-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.side-card .btn { width: 100%; }
.side-card.dark {
  background: var(--ink);
  border-color: transparent;
  color: rgba(255, 255, 255, .7);
  position: relative;
  overflow: hidden;
}
.side-card.dark::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(15, 157, 143, .25);
  filter: blur(12px);
}
.side-card.dark h3 { color: #fff; position: relative; }
.side-card.dark p { color: rgba(255, 255, 255, .6); position: relative; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.side-links li:last-child { border-bottom: 0; }
.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: #40555e;
}
.side-links a::after { content: "›"; color: var(--teal); font-size: 17px; line-height: 1; }
.side-links a:hover { color: var(--teal-dark); }

/* Prose */
.prose { font-size: 16px; color: #43575f; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.4vw, 31px); margin: 46px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; }
.prose h4 { font-size: 17px; margin: 26px 0 10px; }
.prose p { margin-bottom: 1.15em; }
.prose .lead { font-size: 19px; line-height: 1.65; color: #2f4650; margin-bottom: 1.3em; }
.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 1.35em; }
.prose li { margin-bottom: .55em; }
.prose img { border-radius: var(--radius); margin: 26px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--teal);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 17px;
  color: #2f4650;
}
.prose blockquote p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 540px; }
.spec-table th {
  background: var(--bg-soft);
  text-align: left;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); color: #4a5f67; vertical-align: top; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 700; color: var(--ink); width: 42%; }

.callout {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: var(--teal-soft);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  margin: 28px 0;
  font-size: 14.5px;
  color: #2c4a4a;
}
.callout svg { width: 22px; height: 22px; color: var(--teal-dark); flex: none; margin-top: 2px; }
.callout p:last-child { margin-bottom: 0; }
.callout.warn { background: var(--amber-soft); border-color: #f7dfb6; color: #6b4a13; }
.callout.warn svg { color: #b97a12; }

/* Hub cards */
.hub-section + .hub-section { margin-top: 64px; }
.hub-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.hub-head h2 { font-size: 26px; margin: 0; }
.hub-head p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.hub-card .icon-tile { width: 46px; height: 46px; border-radius: 11px; margin-bottom: 16px; }
.hub-card .icon-tile img { width: 23px; height: 23px; }
.hub-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.hub-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.hub-card .btn-link { margin-top: auto; font-size: 13.5px; }

/* Industries grid */
.industry-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.industry-card .icon-tile { margin-bottom: 16px; }
.industry-card h3 { font-size: 18px; }
.industry-card p { font-size: 13.5px; color: var(--muted); margin: 0; }
.industry-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--teal-soft);
  opacity: .6;
}

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .post-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card .post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; }
.post-card h3 { font-size: 17.5px; line-height: 1.4; margin-bottom: 9px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal-dark); }
.post-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.post-card .btn-link { margin-top: auto; font-size: 13px; }

.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(30px, 3.4vw, 44px); margin: 14px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { width: 15px; height: 15px; color: var(--teal); }
.article-body { max-width: 820px; margin-top: 36px; }

/* Pagination */
.pagebar { margin-top: 44px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #43575f;
  background: #fff;
}
.pagination a:hover { border-color: var(--teal); color: var(--teal-dark); }
.pagination .active, .pagination .current { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .form-sub { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); letter-spacing: .01em; }
.field label .req { color: #d9534f; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink);
  background: #fbfdfd;
  border: 1px solid #d8e3e5;
  border-radius: 9px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aabb1; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 157, 143, .12);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c7f87' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.form-note { font-size: 11.5px; line-height: 1.55; color: var(--muted); }
.form-note a { font-weight: 600; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 8px; font-size: 13px; }
.form-status.ok { display: block; background: var(--teal-soft); color: var(--teal-deep); }
.form-status.err { display: block; background: #fdeceb; color: #b8403a; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-list li:last-child { border-bottom: 0; }
.info-list .ii {
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: var(--teal-soft);
  display: flex; align-items: center; justify-content: center;
}
.info-list .ii img { width: 20px; height: 20px; }
.info-list b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.info-list span, .info-list a { font-size: 14.5px; color: var(--ink-soft); font-weight: 600; line-height: 1.5; }
.info-list a:hover { color: var(--teal-dark); }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.calc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.calc-result {
  background: var(--ink);
  color: rgba(255, 255, 255, .7);
  border-radius: var(--radius-lg);
  padding: 34px;
  position: sticky;
  top: 102px;
}
.calc-result h3 { color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.calc-number { font-size: clamp(44px, 5vw, 62px); font-weight: 800; line-height: 1; color: #6fe0d3; letter-spacing: -.03em; margin: 18px 0 4px; }
.calc-number small { font-size: 16px; color: rgba(255, 255, 255, .55); font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.calc-result p { font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.calc-detail { margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: 13px; display: grid; gap: 8px; }
.calc-detail div { display: flex; justify-content: space-between; gap: 16px; }
.calc-detail b { color: #fff; font-weight: 600; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.lead { font-size: 18px; line-height: 1.65; }
.nowrap { white-space: nowrap; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav > ul > li > a { padding: 12px 9px; font-size: 14px; }
  .header-inner { gap: 18px; }
  .header-mail { display: none; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy > p { max-width: none; }
  .quote-card { max-width: 560px; }
  .hero::before { background-position: center; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .cap-grid, .split, .quality-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .post-grid, .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split-media .media-float { right: 0; }
}

@media (max-width: 1080px) {
  .header-inner { min-height: 70px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .brand img { height: 36px; }
  .header-mail { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 210; }
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 190;
    width: min(380px, 88vw);
    margin: 0;
    background: #fff;
    padding: 84px 20px 28px;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, visibility .25s;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .18);
  }
  body.nav-open .main-nav { transform: none; visibility: visible; pointer-events: auto; }
  .main-nav > ul { display: block; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line-soft); }
  .main-nav > ul > li > a { padding: 14px 4px; font-size: 15px; border-radius: 0; }
  .main-nav > ul > li > a:hover { background: transparent; }
  .main-nav .mobile-cta { display: block; padding: 18px 0 0; border-bottom: 0; }
  .main-nav .mobile-cta a { justify-content: center; padding: 0 18px; }
  .main-nav .caret { margin-left: auto; transform: rotate(45deg); transition: transform .2s; }
  .main-nav li.dropdown-open > a .caret { transform: rotate(225deg); }
  .main-nav .dropdown {
    position: static;
    min-width: 0;
    width: auto;
    padding: 0 0 10px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
  }
  .main-nav li.dropdown-open > .dropdown { display: block; }
  .main-nav .dropdown ul { columns: 1; }
  .main-nav .dropdown a { padding: 9px 10px; font-size: 13.5px; }
  .nav-backdrop { z-index: 185; }
}

@media (max-width: 860px) {
  .topbar { display: none; }

  .hero { padding: 56px 0 46px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; margin-top: 40px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section { padding: 64px 0; }
  .grid-3, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid, .post-grid, .hub-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(8, 28, 36, .08);
  }
  .mobile-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 4px 8px;
    font-size: 10.5px;
    font-weight: 700;
    color: #52666e;
  }
  .mobile-bar a svg { width: 19px; height: 19px; color: var(--teal-dark); }
  .mobile-bar a.primary { background: var(--teal); color: #fff; }
  .mobile-bar a.primary svg { color: #fff; }
  body { padding-bottom: 56px; }
  .back-top { bottom: 70px; right: 14px; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  h1 { font-size: 32px; }
  .hero-copy h1 { font-size: 33px; }
  .hero-points { gap: 8px 16px; }
  .grid-2, .grid-3, .grid-4, .process-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .quote-card { padding: 24px 20px; }
  .spec-panel { padding: 4px 18px; }
  .spec-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .floating-proof { left: 10px; bottom: 14px; padding: 10px 14px; }
  .split-media .media-float { display: none; }
  .hub-card, .card { padding: 22px; }
  .page-hero { padding: 40px 0 42px; }
  .page-wrap { padding: 48px 0 72px; }
  .with-sidebar { gap: 32px; }
  .form-card { padding: 24px 20px; }
  .footer-bottom { justify-content: flex-start; }
}
