/* =========================================================
   MENCE Transmission Technology (Suzhou) Co., Ltd.
   เว็บไซต์ภาษาไทย ·Reducer.omio.top
   ========================================================= */

:root {
  --navy-900: #071a2e;
  --navy-800: #0e2a47;
  --navy-700: #163b5f;
  --navy-600: #1f4c78;
  --steel-500: #3c6f9e;
  --brass: #c9a227;
  --brass-light: #e0bd54;
  --brass-dark: #a8861b;
  --ink: #17222e;
  --ink-soft: #4a5b6b;
  --line: #dde4ec;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-alt: #eef3f8;
  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 18px;
  --shadow-s: 0 2px 8px rgba(11, 33, 58, .07);
  --shadow: 0 12px 30px rgba(11, 33, 58, .10);
  --shadow-l: 0 24px 60px rgba(11, 33, 58, .16);
  --container: 1200px;
  --font: "IBM Plex Sans Thai", "Noto Sans Thai", "Sarabun", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5 { margin: 0 0 .55em; line-height: 1.35; font-weight: 700; color: var(--navy-800); letter-spacing: .2px; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.35em; }
li { margin-bottom: .45em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.section { padding: 82px 0; }
.section--soft { background: var(--bg-soft); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #eaf1f8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 56px 0; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--brass-dark); margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--brass-light); }
.section-head { max-width: 820px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.1rem; color: var(--ink-soft); }
.section--dark .lead { color: #c7d7e6; }
.text-center { text-align: center; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 190px; height: auto; max-height: 46px; object-fit: contain; }
.brand-fallback { font-weight: 700; color: var(--navy-800); font-size: 1.05rem; line-height: 1.2; }
.brand-fallback small { display: block; font-weight: 500; font-size: .74rem; color: var(--ink-soft); letter-spacing: 1.2px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-s); background: #fff; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--navy-800); transition: .25s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.main-nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 15px; font-weight: 500; font-size: .98rem;
  color: var(--navy-800); border-radius: var(--radius-s); position: relative;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy-700); }
.main-nav a.active { color: var(--brass-dark); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; background: var(--brass);
}
.nav-cta { margin-left: 6px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center; line-height: 1.4;
}
.btn-primary { background: linear-gradient(135deg, var(--brass), var(--brass-dark)); color: #171a12; box-shadow: 0 10px 24px rgba(168, 134, 27, .32); }
.btn-primary:hover { color: #10120c; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(168, 134, 27, .4); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: rgba(14, 42, 71, .28); }
.btn-ghost:hover { border-color: var(--navy-800); background: rgba(14, 42, 71, .05); color: var(--navy-800); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { color: var(--navy-700); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 17px 36px; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .48; filter: saturate(.85); }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7, 26, 46, .93) 0%, rgba(9, 32, 56, .82) 45%, rgba(12, 42, 71, .52) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 104px 0 108px; max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: #d3e0ee; font-size: 1.14rem; }
.hero .eyebrow { color: var(--brass-light); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 30px; padding: 0; list-style: none; }
.hero-points li { position: relative; padding-left: 26px; margin: 0; color: #e7eff7; font-weight: 500; font-size: .97rem; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(201, 162, 39, .22);
}
.hero-badge {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 26px;
  padding: 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, .16); margin-top: 34px;
}
.hero-badge span { font-size: .86rem; letter-spacing: 1.6px; color: #cddbe9; text-transform: uppercase; font-weight: 600; }

/* page header (sub pages) */
.page-head { position: relative; background: linear-gradient(140deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 62px 0 56px; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 88% 18%, rgba(201, 162, 39, .3), transparent 42%),
                    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, 52px 52px, 52px 52px;
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: 14px; }
.page-head p { color: #cad9e8; max-width: 820px; font-size: 1.06rem; }

/* breadcrumb */
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: #a8bdd2; }
.breadcrumb a { color: #d6e3f0; }
.breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb span + span::before { content: "›"; margin: 0 9px; color: rgba(255, 255, 255, .45); }

/* ---------------- stats ---------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { padding: 26px 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); }
.stat b { display: block; font-size: clamp(1.6rem, 3.2vw, 2.3rem); color: var(--brass-light); font-weight: 700; line-height: 1.2; }
.stat span { font-size: .94rem; color: #cddbe9; }

/* ---------------- cards ---------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p:last-child { margin-bottom: 0; }
.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(201, 162, 39, .18), rgba(31, 76, 120, .16));
  color: var(--navy-700); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px;
}

.feature-card { position: relative; overflow: hidden; }
.feature-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brass), transparent);
}

/* product cards */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .28s ease, box-shadow .28s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-tag { position: absolute; left: 14px; top: 14px; background: rgba(7, 26, 46, .86); color: #fff; font-size: .76rem; letter-spacing: 1px; padding: 6px 12px; border-radius: 999px; }
.product-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.22rem; }
.product-body p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip { font-size: .8rem; background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy-700); border-radius: 999px; padding: 4px 12px; }
.product-link { margin-top: auto; padding-top: 14px; font-weight: 600; color: var(--brass-dark); display: inline-flex; align-items: center; gap: 7px; }
.product-link::after { content: "→"; transition: transform .2s ease; }
.product-card:hover .product-link::after { transform: translateX(4px); }

/* ---------------- gallery ---------------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-s); background: var(--navy-800); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .55s ease, opacity .35s; }
.gallery figure:hover img { transform: scale(1.07); opacity: .88; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 13px; color: #fff; font-size: .9rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(7, 26, 46, .88));
}

.cases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.case div { padding: 14px 15px 18px; font-weight: 600; font-size: .95rem; color: var(--navy-800); text-align: center; }

/* ---------------- split layout ---------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-l); box-shadow: var(--shadow-l); }
.split-media::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px; border-radius: var(--radius-l);
  background: linear-gradient(135deg, rgba(201, 162, 39, .28), rgba(31, 76, 120, .16)); z-index: -1;
}
.split-body h2 { margin-top: 0; }
.checklist { list-style: none; padding: 0; margin: 22px 0 26px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(201, 162, 39, .18); color: var(--brass-dark); font-size: .8rem; font-weight: 700; display: grid; place-items: center;
}
.section--dark .checklist li { color: #dce8f3; }
.section--dark .checklist li::before { background: rgba(224, 189, 84, .2); color: var(--brass-light); }

/* ---------------- table ---------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-s); }
table.spec { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .97rem; }
table.spec caption { text-align: left; padding: 16px 20px; font-weight: 700; color: var(--navy-800); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
table.spec th, table.spec td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { width: 34%; background: #fbfcfe; color: var(--navy-700); font-weight: 600; }
table.spec tr:last-child th, table.spec tr:last-child td { border-bottom: 0; }
table.spec tbody tr:hover { background: var(--bg-soft); }

/* ---------------- steps / process ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step b { display: block; font-size: 1.9rem; color: rgba(201, 162, 39, .55); font-weight: 700; line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ---------------- CTA band ---------------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-600)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, .34), transparent 68%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; padding: 60px 22px; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p { color: #c8d8e8; margin: 0; max-width: 640px; }

.inline-cta { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 22px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.inline-cta h3 { margin: 0 0 6px; }
.inline-cta p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 54px 20px 24px; font-weight: 600; color: var(--navy-800); position: relative; font-size: 1.03rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg-alt); color: var(--navy-700);
  display: grid; place-items: center; font-size: 1.15rem; font-weight: 600; transition: .25s;
}
.faq-item[open] summary::after { content: "–"; background: var(--brass); color: #fff; }
.faq-item[open] summary { color: var(--brass-dark); }
.faq-answer { padding: 0 24px 22px; color: var(--ink-soft); border-top: 1px dashed var(--line); margin-top: -6px; padding-top: 16px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------------- product detail ---------------- */
.detail-hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 50px; align-items: center; }
.detail-media { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); background: var(--bg-alt); }
.detail-info h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.kv-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201, 162, 39, .13); border: 1px solid rgba(201, 162, 39, .38); color: var(--brass-dark); border-radius: 999px; padding: 7px 16px; font-size: .87rem; font-weight: 600; }
.detail-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; margin: 24px 0 28px; padding: 0; list-style: none; }
.detail-points li { position: relative; padding-left: 26px; font-size: .97rem; margin: 0; }
.detail-points li::before { content: "◆"; position: absolute; left: 0; top: 0; color: var(--brass); font-size: .8rem; }
.article h2 { margin-top: 46px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-alt); }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 28px; color: var(--navy-700); }
.article p { color: #2b3a48; text-align: justify; }
.article-note { background: var(--bg-soft); border-left: 3px solid var(--steel-500); padding: 16px 20px; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: .95rem; color: var(--ink-soft); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------------- form ---------------- */
.form-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 38px 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; color: var(--navy-800); }
.req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-s);
  background: #fcfdfe; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: #fff; box-shadow: 0 0 0 4px rgba(201, 162, 39, .15); }
.field .hint { font-size: .82rem; color: var(--ink-soft); }
.field-error { font-size: .84rem; color: #c0392b; display: none; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #e07a6f; background: #fff8f7; }
.field.is-invalid .field-error { display: block; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.form-foot .policy { font-size: .85rem; color: var(--ink-soft); max-width: 420px; margin: 0; }
.submit-btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.alert { display: none; border-radius: var(--radius); padding: 20px 22px; margin-bottom: 22px; border: 1px solid transparent; }
.alert.show { display: block; animation: pop .35s ease; }
.alert-success { background: #eef8ef; border-color: #b7e0b9; color: #1f612a; }
.alert-success h3 { color: #1f612a; margin-bottom: 8px; }
.alert-error { background: #fdf0ee; border-color: #f0c1b8; color: #98372a; }
.alert-success ul { margin: 10px 0 0; padding-left: 20px; font-size: .94rem; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-600)); color: #dce7f2; border-radius: var(--radius-l); padding: 32px 30px; box-shadow: var(--shadow); }
.info-card h2, .info-card h3 { color: #fff; }
.info-card dl { margin: 0; }
.info-card dt { font-weight: 600; color: var(--brass-light); margin-top: 18px; font-size: .92rem; letter-spacing: .4px; }
.info-card dd { margin: 4px 0 0; font-size: .98rem; color: #e6eef6; }
.info-card--light { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.info-card--light h3 { color: var(--navy-800); }
.info-card--light p { font-size: .96rem; color: var(--ink-soft); }

/* ---------------- trust strip ---------------- */
.trust { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.trust-item { min-width: 180px; flex: 1 1 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-align: center; }
.trust-item b { display: block; color: var(--navy-800); font-size: 1.05rem; }
.trust-item span { font-size: .88rem; color: var(--ink-soft); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--navy-900); color: #b6c8da; padding: 66px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #b6c8da; }
.site-footer a:hover { color: var(--brass-light); }
.footer-brand img { width: 210px; background: #fff; padding: 10px 14px; border-radius: var(--radius-s); margin-bottom: 18px; }
.footer-note { font-size: .93rem; color: #91a8bd; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 30px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; color: #8ba0b6; }

/* ---------------- misc ---------------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: .9rem; color: var(--navy-700); }
.section--dark .badge { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #e2ecf5; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.back-top { position: fixed; right: 20px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy-800); color: #fff; cursor: pointer; opacity: 0; pointer-events: none; transition: .3s; z-index: 60; font-size: 1.1rem; }
.back-top.show { opacity: .92; pointer-events: auto; }
.back-top:hover { background: var(--brass-dark); opacity: 1; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 12px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 6px; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .grid-4, .cases { grid-template-columns: repeat(3, 1fr); }
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .form-shell, .split, .detail-hero { grid-template-columns: 1fr; gap: 34px; }
  .split--rev .split-media { order: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  body { font-size: 16px; }
  .section { padding: 62px 0; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 22px 22px; gap: 2px; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--bg-soft); }
  .main-nav a.active::after { display: none; }
  .nav-cta { margin: 12px 0 0; }
  .hero-inner { padding: 66px 0 72px; }
  .grid-3, .grid-2, .related-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .brand img { width: 158px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .grid-4, .related-grid, .cases, .gallery { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .detail-points { grid-template-columns: 1fr; }
  .cta-band .container { padding: 46px 18px; flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .back-top, .form-card { display: none; }
  body { color: #000; }
}
