:root {
  --navy: #12224a;
  --navy-2: #1c3166;
  --yellow: #f6c602;
  --yellow-2: #fcb800;
  --red: #e2231a;
  --line-green: #06c755;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 10px;
  --wrap: 1240px;
  --font: "IBM Plex Sans Thai", "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow", "IBM Plex Sans Thai", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.small { font-size: 13px; color: var(--muted); }
.muted { color: var(--muted); }
.link { background: none; border: 0; padding: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font-size: 14px; }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy); color: #cfd6e6; font-size: 14px; }
.topbar .wrap { display: flex; gap: 22px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--yellow); }

.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 12px rgba(18,34,74,.07); }
.head-row { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo img { height: 42px; width: auto; }
.search { flex: 1; display: flex; max-width: 560px; margin-left: auto; }
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px;
  border: 2px solid var(--navy); border-right: 0; border-radius: 8px 0 0 8px; outline: none;
}
.search input:focus { border-color: var(--navy-2); box-shadow: inset 0 0 0 1px var(--navy-2); }
.search button { border: 0; background: var(--navy); color: #fff; padding: 0 16px; border-radius: 0 8px 8px 0; cursor: pointer; }
.search button:hover { background: var(--navy-2); }
.quote-btn {
  position: relative; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy);
  font-weight: 600; padding: 9px 14px; border-radius: 8px; background: var(--yellow); white-space: nowrap;
}
.quote-btn:hover { background: var(--yellow-2); }
.quote-count {
  position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--red); color: #fff; font-size: 12px; display: grid; place-items: center;
}
.quote-count[hidden] { display: none; }
.quote-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; border: 0; background: none; padding: 6px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }

.nav { background: var(--navy); border-bottom: 3px solid var(--yellow); }
.nav-row { display: flex; gap: 2px; position: relative; }
.nav-row > a {
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 11px 16px; letter-spacing: .02em;
}
.nav-row > a:hover, .nav-row > a[aria-current="page"] { background: var(--navy-2); color: var(--yellow); }
.mega {
  display: none; position: absolute; top: 100%; left: 20px; z-index: 60; background: #fff; color: var(--ink);
  border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0,0,0,.15); padding: 22px 26px;
  grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 8px 40px; border-top: 3px solid var(--yellow);
}
.mega h4 { margin: 0 0 8px; font-family: var(--font-head); color: var(--red); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.mega a { display: block; text-decoration: none; padding: 5px 0; color: var(--navy); font-weight: 500; }
.mega a:hover { color: var(--red); }
.nav-row > a:first-child:hover ~ .mega, .mega:hover { display: grid; }

.crumbs { font-size: 14px; color: var(--muted); padding-top: 14px; padding-bottom: 4px; }
.crumbs a { color: var(--navy-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; margin: 0 6px; color: #b5bccb; }

/* ---------- generic ---------- */
section { padding: 70px 0; }
section.tight { padding: 30px 0 60px; }
section.soft { background: var(--bg-soft); }
.sec-head { margin-bottom: 30px; max-width: 760px; }
.row-head { display: flex; justify-content: space-between; align-items: end; max-width: none; gap: 20px; }
.kicker { font-family: var(--font-head); font-weight: 700; color: var(--red); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
.sec-head h2, .h2 { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; color: var(--navy); margin: 6px 0 10px; }
.sec-head p { color: var(--muted); margin: 0; }
.more { font-weight: 600; color: var(--navy-2); text-decoration: none; white-space: nowrap; }
.more:hover { color: var(--red); }
.group-title { font-family: var(--font-head); color: var(--navy); font-size: 22px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.group-title::before { content: ""; width: 6px; height: 22px; background: var(--yellow); border-radius: 2px; flex: none; }

.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.2;
  padding: 12px 20px; border-radius: 8px; text-decoration: none; border: 2px solid transparent;
}
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b04b; }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }

.page-head { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #dfe5f1; padding: 40px 0; }
.page-head h1 { font-family: var(--font-head); color: #fff; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; margin: 4px 0 10px; }
.page-head p { margin: 0 0 8px; max-width: 760px; }
.page-head .kicker { color: var(--yellow); }
.page-head a { color: #fff; }
.page-head .btn-ghost-dark { margin-top: 8px; }
.line-head-grid { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; }
.line-head img { border-radius: 12px; border: 3px solid var(--yellow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.line-head .th { color: var(--yellow); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { background: rgba(255,255,255,.12); color: #fff; border-radius: 20px; padding: 2px 12px; font-size: 13px; font-weight: 600; }

/* ---------- home ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg { position: absolute; top: 0; right: 0; width: 68%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(18,34,74,1) 0%, rgba(18,34,74,1) 32%, rgba(18,34,74,.55) 42%, rgba(18,34,74,0) 54%);
}
.hero-grid { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(460px, 42vw, 600px); padding-top: 48px; padding-bottom: 48px; }
.hero-grid > div { max-width: 540px; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--yellow); padding: 4px 10px; border-radius: 4px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(30px, 3.5vw, 48px); line-height: 1.12; margin: 18px 0 14px; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.hero h1 span { color: var(--yellow); white-space: nowrap; }
.hero .lead { font-size: 18px; color: #d7deee; margin: 0 0 24px; }
.hero-search { display: flex; gap: 8px; }
.hero-search input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 13px 16px; border-radius: 8px; border: 0; }
.hint { font-size: 14px; color: #b9c3d8; margin-top: 12px; }
.hint a { color: #fff; }

.strip { background: var(--yellow); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip div { padding: 16px 12px; text-align: center; font-family: var(--font-head); color: var(--navy); }
.strip b { display: block; font-size: 19px; }
.strip span { font-size: 14px; }

.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; text-decoration: none; text-align: center;
  border-bottom: 3px solid var(--navy); transition: transform .15s, border-color .15s;
}
.brand:hover { transform: translateY(-2px); border-bottom-color: var(--yellow); }
.brand b { display: block; font-family: var(--font-head); font-size: 18px; color: var(--navy); letter-spacing: .03em; }
.brand small { color: var(--muted); }

.lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.lcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.lcard:hover { box-shadow: 0 12px 26px rgba(18,34,74,.12); transform: translateY(-3px); }
.lcard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.lcard span { display: block; padding: 12px 14px; border-top: 3px solid var(--yellow); }
.lcard b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 16px; line-height: 1.3; }
.lcard small { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--bg-soft); border-radius: var(--radius); padding: 22px 22px 22px 70px; position: relative; }
.steps li::before {
  content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: var(--yellow); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.steps b { display: block; color: var(--navy); font-family: var(--font-head); font-size: 18px; }
.steps span { color: var(--muted); font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat { background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,34,74,.12); }
.cat img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.cat .body { padding: 16px 18px 18px; border-top: 4px solid var(--yellow); flex: 1; }
.cat h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 4px; font-size: 19px; }
.cat p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { position: relative; border-radius: 12px; overflow: hidden; background: var(--navy); }
.slides { display: flex; transition: transform .6s ease; }
.slides img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 1; object-fit: cover; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #c6ccd8; cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: var(--navy); width: 26px; border-radius: 6px; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); cursor: pointer; font-size: 22px; line-height: 1; }
.arrow.prev { left: 12px; } .arrow.next { right: 12px; }

.cta-band { background: var(--yellow); padding: 30px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band p { margin: 0; font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 20px; max-width: 640px; }

/* ---------- shop listing ---------- */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; background: #fff; }
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters-head b { font-family: var(--font-head); color: var(--navy); font-size: 18px; }
.fsearch { display: block; margin-bottom: 14px; }
.fsearch span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.fsearch input { width: 100%; font: inherit; padding: 8px 10px; border: 1px solid #c9cfdb; border-radius: 6px; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); padding: 12px 0 6px; margin: 0; }
.filters legend { font-weight: 600; color: var(--navy); font-size: 14px; padding: 0; margin-bottom: 4px; float: left; width: 100%; }
.filters label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; clear: both; }
.filters label i { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12px; }
.filters input[type="checkbox"] { accent-color: var(--navy); width: 16px; height: 16px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.result-count { font-weight: 600; color: var(--navy); }
.filter-toggle { display: none; padding: 8px 14px; font-size: 14px; }
.empty { padding: 30px; text-align: center; background: var(--bg-soft); border-radius: var(--radius); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.pgrid.wide { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.pcard:hover { box-shadow: 0 10px 24px rgba(18,34,74,.1); }
.pcard[hidden] { display: none; }
.pcard-img img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #fff; }
.pcard-body { padding: 10px 12px 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-name { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; line-height: 1.3; font-size: 15px; }
.pcard-name:hover { color: var(--red); }
.pcard small { color: var(--muted); font-size: 12px; }
.pcard .add {
  margin-top: auto; align-self: flex-start; border: 1.5px solid var(--navy); background: #fff; color: var(--navy);
  border-radius: 6px; padding: 5px 10px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.pcard .add:hover, .pcard .add.added { background: var(--navy); color: #fff; }

/* ---------- product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.pdp-main { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pdp-main img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs button { width: 78px; height: 78px; padding: 0; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-info h1 { font-family: var(--font-head); color: var(--navy); font-size: clamp(26px, 3vw, 34px); line-height: 1.2; margin: 6px 0 16px; }
.facts { margin: 0 0 16px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }
.facts a { color: var(--navy-2); }
.buy { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin: 20px 0 12px; }
.buy label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.buy .qty { width: 90px; font: inherit; font-size: 16px; padding: 10px; border: 1.5px solid #c9cfdb; border-radius: 8px; }
.buy .btn { flex: 1; min-width: 220px; }
.ask { display: flex; gap: 10px; flex-wrap: wrap; }
.ask .btn { flex: 1; min-width: 160px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 640px)); gap: 20px; }
.specs figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs figcaption { font-size: 13px; color: var(--muted); padding: 8px 12px; border-top: 1px solid var(--line); }

/* ---------- services / machines ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; text-decoration: none; }
.svc-card:hover { box-shadow: 0 10px 24px rgba(18,34,74,.1); }
.svc-card img { height: 100%; object-fit: cover; }
.svc-card div { padding: 20px; }
.svc-card h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 6px; }
.svc-card p { margin: 0; color: var(--muted); font-size: 15px; }
.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.job { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; background: #fff; }
.job:hover { box-shadow: 0 10px 24px rgba(18,34,74,.1); }
.job img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.job span { display: block; padding: 10px 12px; font-weight: 600; color: var(--navy); font-size: 14px; line-height: 1.35; border-top: 3px solid var(--yellow); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.photo-grid a { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.photo-grid img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .25s; }
.photo-grid a:hover img { transform: scale(1.04); }
.more-jobs { margin-top: 40px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.links a { background: var(--bg-soft); border-radius: 20px; padding: 6px 14px; font-size: 14px; text-decoration: none; color: var(--navy); }
.links a:hover { background: var(--yellow); }
.machine { margin-bottom: 50px; }
.machine-head { display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: center; margin-bottom: 18px; }
.machine-head img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.machine-head h2 { font-family: var(--font-head); color: var(--navy); margin: 0 0 6px; }
.machine-head p { color: var(--muted); }

/* ---------- catalog / contact / quote ---------- */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.doc { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--radius); padding: 18px; text-decoration: none; min-height: 150px; }
.doc:hover { box-shadow: 0 10px 24px rgba(18,34,74,.12); }
.doc b { font-family: var(--font-head); color: var(--navy); font-size: 17px; line-height: 1.3; }
.doc span { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; }
.doc em { font-style: normal; font-weight: 700; color: var(--red); }

.contact { background: var(--navy); color: #dfe5f1; }
.contact .sec-head h1 { color: #fff; }
.contact .sec-head p { color: #b9c3d8; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.c-card { background: var(--navy-2); border-radius: 12px; padding: 26px; }
.c-card h2 { font-family: var(--font-head); color: #fff; margin: 0 0 4px; font-size: 22px; }
.c-card .en { color: #b9c3d8; margin: 0 0 18px; font-size: 14px; }
.c-card dl { margin: 0; }
.c-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.1); }
.c-row dt { color: var(--yellow); font-weight: 600; font-size: 14px; }
.c-row dd { margin: 0; }
.c-row a { color: #fff; text-decoration: none; }
.socials { display: grid; gap: 12px; align-content: start; }
.social { display: flex; align-items: center; gap: 14px; background: #fff; color: var(--navy); padding: 14px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.social:hover { background: var(--yellow); }
.social i { width: 40px; height: 40px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-family: var(--font-head); font-size: 13px; }
.social small { display: block; font-weight: 400; color: var(--muted); }
.map { border: 0; width: 100%; height: 230px; border-radius: 10px; margin-top: 14px; }

.quote { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: start; }
.q-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #fff; }
.q-item img { width: 76px; height: 76px; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); }
.q-item a { font-weight: 600; color: var(--navy); text-decoration: none; }
.q-item input[type="text"] { width: 100%; font: inherit; font-size: 13px; padding: 6px 8px; border: 1px solid #c9cfdb; border-radius: 6px; margin-top: 6px; }
.q-item .q-ctrl { display: flex; flex-direction: column; align-items: end; gap: 8px; }
.q-item input[type="number"] { width: 72px; font: inherit; padding: 6px 8px; border: 1px solid #c9cfdb; border-radius: 6px; }
.q-form { background: var(--bg-soft); border-radius: 12px; padding: 22px; position: sticky; top: 140px; }
.q-form h2 { font-family: var(--font-head); color: var(--navy); margin: 0 0 12px; font-size: 20px; }
.q-form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.q-form input, .q-form textarea { display: block; width: 100%; font: inherit; color: var(--ink); padding: 9px 11px; border: 1px solid #c9cfdb; border-radius: 6px; margin-top: 4px; background: #fff; }
.q-form .btn { width: 100%; margin-top: 8px; }
.q-error { color: var(--red); font-weight: 600; font-size: 14px; }

.prose { max-width: 860px; }
.prose h3 { font-family: var(--font-head); color: var(--navy); font-size: 26px; }
.prose h5 { color: var(--navy); font-size: 18px; }

/* ---------- footer etc ---------- */
.footer { background: #0b1633; color: #9aa6c0; font-size: 14px; padding: 44px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { background: #fff; padding: 6px 10px; border-radius: 6px; height: auto; margin-bottom: 12px; }
.footer h4 { color: #fff; font-family: var(--font-head); margin: 0 0 10px; font-size: 15px; letter-spacing: .05em; }
.footer a { color: #cdd5e6; text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.foot-grid > div > a { display: block; padding: 3px 0; }
.foot-social { display: flex; gap: 14px; margin-top: 10px; }
.foot-social a { color: var(--yellow) !important; font-weight: 600; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding-top: 16px; padding-bottom: 18px; }

.float-line { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: var(--line-green); color: #fff; border-radius: 30px; padding: 12px 18px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-family: var(--font-head); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); z-index: 70; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .25s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: var(--yellow); font-weight: 700; margin-left: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .pdp, .quote, .contact-grid { grid-template-columns: 1fr; }
  .hero-bg { width: 75%; }
  .hero::before { background: linear-gradient(90deg, rgba(18,34,74,1) 0%, rgba(18,34,74,.95) 40%, rgba(18,34,74,.55) 60%, rgba(18,34,74,.15) 85%); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .q-form { position: static; }
  .shop { grid-template-columns: 1fr; }
  .filters { display: none; position: static; max-height: none; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .hero { display: flex; flex-direction: column; }
  .hero::before { display: none; }
  .hero-grid { min-height: 0; padding-top: 40px; padding-bottom: 28px; }
  .hero-bg { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; object-position: center; }
  html { scroll-padding-top: 80px; }
  .head-row { height: 62px; gap: 10px; }
  .logo img { height: 34px; }
  .search { display: none; }
  .quote-btn { margin-left: auto; padding: 8px 10px; }
  .menu-btn { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-row { flex-direction: column; padding-top: 6px; padding-bottom: 10px; }
  .nav-row > a { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mega, .nav-row > a:first-child:hover ~ .mega { display: none !important; }
  .topbar .wrap { justify-content: center; gap: 14px; font-size: 13px; }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .line-head-grid { grid-template-columns: 1fr; }
  .line-head img { max-width: 360px; }
  .machine-head { grid-template-columns: 1fr; }
  .machine-head img { max-width: 420px; }
  .filters { top: 70px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 50px 0; }
  .hero-search { flex-direction: column; }
  .cats { grid-template-columns: 1fr; }
  .pgrid, .pgrid.wide { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .jobs-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-card img { aspect-ratio: 16 / 9; }
  .slides img { aspect-ratio: 2 / 1; }
  .c-row { grid-template-columns: 1fr; gap: 2px; }
  .facts div { grid-template-columns: 110px 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .topbar .hide-sm, .quote-btn .hide-sm { display: none; }
  .row-head { flex-direction: column; align-items: start; }
  .q-item { grid-template-columns: 60px 1fr; }
  .q-item img { width: 60px; height: 60px; }
  .q-item .q-ctrl { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .cta-band p { font-size: 18px; }
  .float-line { padding: 10px 14px; font-size: 14px; }
}

/* ---------- FAQ & category text ---------- */
.faq { max-width: 860px; }
.qa { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.qa summary { cursor: pointer; padding: 16px 48px 16px 18px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 17px; list-style: none; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--red); }
.qa[open] summary::after { content: "–"; }
.qa[open] summary { border-bottom: 1px solid var(--line); }
.qa div { padding: 14px 18px 18px; color: var(--ink); }
.qa a, .about a { color: var(--navy-2); }
.about p { color: var(--ink); max-width: 820px; }
.q-copied { background: #e8f8ee; border: 1px solid #b6e6c8; border-radius: 8px; padding: 12px 14px; margin-top: 12px; }
.q-copied p { margin: 0 0 8px; font-size: 14px; color: var(--ink); }
.q-copied .btn { width: 100%; }
.q-copied[hidden] { display: none; }

/* ---------- LINE QR modal ---------- */
.line-modal { border: 0; border-radius: 16px; padding: 30px 28px 24px; width: min(380px, calc(100% - 32px)); text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.line-modal::backdrop { background: rgba(11,22,51,.65); }
.line-modal h2 { font-family: var(--font-head); color: var(--navy); margin: 0 0 6px; font-size: 24px; }
.lm-sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.lm-qr { width: 240px; height: 240px; margin: 0 auto 14px; padding: 10px; border: 3px solid var(--line-green); border-radius: 14px; background: #fff; }
.lm-id { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; font-size: 15px; }
.lm-id span { color: var(--muted); }
.lm-id b { font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.lm-open { width: 100%; }
.lm-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 8px; }
.lm-close:hover { color: var(--ink); }
.lm-note { background: #e8f8ee; border: 1px solid #b6e6c8; color: var(--ink); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 6px 0 14px; text-align: left; }
.lm-note[hidden] { display: none; }

/* ---------- spec tables & machine text ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.spec { border-collapse: collapse; width: 100%; font-size: 14px; }
table.spec th { background: var(--navy); color: #fff; text-align: left; padding: 9px 12px; white-space: nowrap; font-weight: 600; }
table.spec td { padding: 8px 12px; border-top: 1px solid var(--line); white-space: nowrap; }
table.spec tbody tr:nth-child(even) td { background: var(--bg-soft); }
.lead-p { font-size: 16px; color: var(--ink); margin: 0 0 10px; }
.mtext { margin-bottom: 34px; max-width: 900px; }
.mtext p { color: var(--ink); }
.mcols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 18px; }
.mcols h3 { font-family: var(--font-head); color: var(--navy); margin: 0 0 8px; font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 5px 0 5px 26px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border-left: 2.5px solid var(--line-green); border-bottom: 2.5px solid var(--line-green); transform: rotate(-45deg); }
.page-head .th { color: var(--yellow); font-weight: 600; }
.lcard small { display: block; }
@media (max-width: 640px) { .mcols { grid-template-columns: 1fr; } }
.nf-search { max-width: 620px; margin-bottom: 24px; }
.nf-search input { border: 2px solid var(--navy); }

/* ---------- cookie consent ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 980px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--yellow); border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.22);
  padding: 16px 18px; display: flex; align-items: center; gap: 18px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; flex: 1; }
.cookie-bar a { color: var(--navy-2); }
.cb-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-btns .btn { padding: 9px 16px; font-size: 15px; }
body.cb-open .float-line { bottom: 110px; }
.cookie-modal { border: 0; border-radius: 16px; padding: 26px 24px 18px; width: min(460px, calc(100% - 32px)); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.cookie-modal::backdrop { background: rgba(11,22,51,.6); }
.cookie-modal h2 { font-family: var(--font-head); color: var(--navy); margin: 0 0 12px; }
.ck-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ck-row b { display: block; color: var(--navy); }
.ck-row small { color: var(--muted); }
.ck-row input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
.cookie-modal .cb-btns { margin-top: 14px; justify-content: flex-end; }
.foot-link { background: none; border: 0; padding: 3px 0; color: #cdd5e6; cursor: pointer; font: inherit; text-align: left; display: block; }
.foot-link:hover { color: var(--yellow); }
.map-ph { display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; background: var(--navy) url("../img/og-default.jpg") center/cover; position: relative; padding: 20px; }
.map-ph::before { content: ""; position: absolute; inset: 0; background: rgba(18,34,74,.82); border-radius: 10px; }
.map-ph > * { position: relative; }
.map-ph p { margin: 0; font-size: 14px; color: #dfe5f1; }
.map-ph a { color: #fff; font-size: 14px; }
.privacy h2 { font-family: var(--font-head); color: var(--navy); font-size: 21px; margin: 28px 0 8px; }
.privacy code { font-size: 13px; }
@media (max-width: 760px) {
  .cookie-bar { flex-direction: column; align-items: stretch; left: 10px; right: 10px; bottom: 10px; }
  .cb-btns .btn { flex: 1; }
  body.cb-open .float-line { display: none; }
}
.privacy table.spec td, .privacy table.spec th { white-space: normal; vertical-align: top; }
.privacy table.spec td:nth-child(2) { white-space: nowrap; }
