/* LADETECH site styles, layout B: modern industrial B2B.
   Logo blue #144090 for links and secondary actions, deep navy for dark bands, amber for the main
   "Get a quote" action, green for WhatsApp. System fonts only. Colours are tokens in :root. */
:root {
  --brand: #144090;
  --brand-600: #0f3272;
  --brand-50: #eef3fb;
  --brand-100: #dbe6f6;
  --navy: #0a1630;
  --navy-2: #12244a;
  --accent: #f5a623;
  --accent-600: #e08e0b;
  --wa: #128c4b;
  --wa-600: #0d7a40;
  --ink: #0f1b2d;
  --text: #475467;
  --muted: #667085;
  --line: #e4e8ef;
  --soft: #f5f7fb;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 40px rgba(10, 22, 48, .18);
  --wrap: 1240px;
  --util-h: 36px;
  --bar-h: 76px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body { margin: 0; font: 15px/1.6 var(--font); color: var(--text); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; vertical-align: middle; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
button, input, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--navy); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 8px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.sec-h { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; }

/* ---------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { flex: 0 0 auto; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: var(--accent-600); color: var(--navy); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-600); color: #fff; }
.btn-line { background: #fff; border-color: var(--brand-100); color: var(--brand); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: var(--brand-50); color: var(--brand); }
.btn-ghost:hover { background: var(--brand-100); color: var(--brand-600); }

/* ---------------- header: dark utility bar + white bar (sticky; the utility bar scrolls away) */
.site-header { position: sticky; top: calc(-1 * var(--util-h)); z-index: 50; background: #fff; }
.util { background: var(--navy); color: #c9d3e6; font-size: 13px; }
.util-row { height: var(--util-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.util a { color: #c9d3e6; }
.util a:hover { color: #fff; }
.util-contact { display: flex; gap: 22px; min-width: 0; }
.util-contact a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.util-right { display: flex; align-items: center; gap: 18px; }
.socials { display: flex; align-items: center; gap: 14px; }
.socials > * { display: inline-flex; color: #c9d3e6; cursor: pointer; }
.socials > *:hover { color: #fff; }
.langs { display: flex; gap: 2px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .15); }
.langs a { padding: 3px 8px; border-radius: 5px; font-weight: 600; font-size: 12px; letter-spacing: .04em; }
.langs a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
.wechat { position: relative; }
.wechat .qr { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 10px; background: #fff; padding: 8px; border-radius: 8px; box-shadow: var(--shadow-lg); z-index: 70; }
.wechat .qr img { width: 130px; max-width: none; display: block; }
.wechat:hover .qr, .wechat:focus .qr, .wechat:focus-within .qr { display: block; }

.bar { border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.scrolled .bar { box-shadow: 0 6px 20px rgba(10, 22, 48, .08); }
.bar-row { height: var(--bar-h); display: flex; align-items: center; gap: 28px; }
.logo { flex: 0 0 auto; display: block; }
.logo img { width: 220px; display: block; }
.navbar { flex: 1; align-self: stretch; }
.nav { display: flex; height: 100%; gap: 4px; }
.nav > li { display: flex; align-items: stretch; }
.nav > li > a, .nav-top { display: flex; align-items: center; gap: 6px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--ink); background: none; border: 0; cursor: pointer; position: relative; white-space: nowrap; }
.nav > li > a:hover, .nav-top:hover, .nav > li.open > .nav-top { color: var(--brand); }
.nav > li.active > a::after, .nav > li.active > .nav-top::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); }
.nav-top i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.nav-prod:hover .nav-top i, .nav-prod.open .nav-top i { transform: translateY(1px) rotate(-135deg); }
.bar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* products mega menu */
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--bar-h)); overflow-y: auto; }
.nav-prod:hover > .mega, .nav-prod:focus-within > .mega, .nav-prod.open > .mega { display: block; }
.mega-in { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 36px; padding-top: 28px; padding-bottom: 32px; }
.mega-foot { display: flex; justify-content: flex-end; padding-bottom: 22px; }
.mega-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.mega-foot a:hover { text-decoration: underline; }
.mg-h { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.mg-big > ul { columns: 3; column-gap: 28px; }
.mg-big > ul > li { break-inside: avoid; margin-bottom: 14px; }
.mg ul ul { margin: 2px 0 0; }
.mg a { color: var(--text); }
.mg a:hover { color: var(--brand); }
.mc { display: block; font-weight: 600; color: var(--ink) !important; padding: 3px 0; }
.mc:hover { color: var(--brand) !important; }
.mg ul ul a { display: block; padding: 2px 0 2px 12px; font-size: 14px; border-left: 2px solid var(--line); }
.mg ul ul a:hover { border-left-color: var(--brand); }
.mg-side { display: grid; gap: 22px; align-content: start; padding-left: 28px; border-left: 1px solid var(--line); }
.mg-side .mg > ul > li { margin-bottom: 4px; }
.mg > .sub-btn { display: none; }

/* search in the bar: the magnifier opens a box */
.search-box { position: relative; display: flex; align-items: center; }
.search-box input { width: 220px; height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 0 44px 0 14px; background: var(--soft); color: var(--ink); }
.js .search-box input { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 0; padding: 0; border-width: 0; opacity: 0; transition: width .25s, opacity .2s; }
.js .search-box.open input { width: 260px; padding: 0 44px 0 14px; border-width: 1px; opacity: 1; background: #fff; box-shadow: var(--shadow); }
.search-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 8px; background: none; color: var(--ink); cursor: pointer; }
.search-btn:hover { background: var(--soft); color: var(--brand); }
.nav-toggle { display: none; }

/* ---------------- page band (breadcrumb + title) */
.pband { background: linear-gradient(180deg, var(--soft), #fff); border-bottom: 1px solid var(--line); padding: 18px 0 30px; }
.pband-thin { padding-bottom: 6px; background: var(--soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0 0 12px; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #b8c0cc; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; }
.page-h, .cat-top h1 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin: 6px 0 0; }
.cat-top p { margin: 10px 0 0; max-width: 760px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); }
.chip { padding-right: 14px; }
.chip span { color: var(--muted); font-weight: 400; font-size: 13px; }
.chip:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------- home */
.hero { position: relative; color: #d8e0ee; background: radial-gradient(1200px 500px at 85% 0%, rgba(20, 64, 144, .55), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); padding: 64px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 54px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-lead { font-size: 17px; line-height: 1.65; margin: 0 0 28px; color: #c3cde0; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.banner { position: relative; border-radius: 14px; overflow: hidden; background: #e9edf4; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); aspect-ratio: 1920 / 940; }
.slides, .slide, .slide picture { display: block; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.js .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; pointer-events: none; }
.js .slide.is-on { opacity: 1; pointer-events: auto; }
html:not(.js) .slide + .slide { display: none; }
.sl-prev, .sl-next { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--navy); cursor: pointer; z-index: 2; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s; }
.banner:hover .sl-prev, .banner:hover .sl-next, .sl-prev:focus-visible, .sl-next:focus-visible { opacity: 1; }
.sl-prev { left: 12px; } .sl-next { right: 12px; }
.sl-prev::after, .sl-next::after { content: ""; display: block; width: 9px; height: 9px; border-top: 2px solid currentColor; border-left: 2px solid currentColor; margin: auto; }
.sl-prev::after { transform: translateX(2px) rotate(-45deg); }
.sl-next::after { transform: translateX(-2px) rotate(135deg); }
.sl-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.sl-dots button { width: 22px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(10, 22, 48, .25); cursor: pointer; }
.sl-dots button[aria-current] { background: var(--brand); width: 34px; }

.figs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 56px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.figs li { padding: 26px 24px 30px 0; }
.figs li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.figs b { display: block; font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -.02em; }
.figs span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.45; color: #aab6cc; }
.figs-light, .figs-mini { border-top: 1px solid var(--line); }
.figs-light b, .figs-mini b { color: var(--brand); }
.figs-light span, .figs-mini span { color: var(--muted); }
.figs-light li + li, .figs-mini li + li { border-left-color: var(--line); }
.figs-light { margin-top: 36px; }
.figs-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.figs-mini li { padding: 14px 14px 0 0; }
.figs-mini li + li { padding-left: 14px; }
.figs-mini li:nth-child(3) { padding-left: 0; border-left: 0; }
.figs-mini b { font-size: 22px; }
.figs-mini span { font-size: 13px; }

.home-sec { padding-top: 80px; }
.sec-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-top .sec-h { margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tile { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.tile-img { display: block; aspect-ratio: 467 / 360; background: #fff; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; margin-top: auto; border-top: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.tile-name svg { flex: 0 0 auto; color: var(--brand); transition: transform .2s; }
.tile:hover .tile-name svg { transform: translateX(4px); }
.tile-project { background: var(--brand); border-color: var(--brand); }
.tile-project .tile-name { color: #fff; border-top-color: rgba(255, 255, 255, .2); }
.tile-project .tile-name svg { color: var(--accent); }
/* all-products page: one tile grid per product group; product photos shown whole */
.all-sec { padding-top: 40px; }
.all-sec:last-of-type { padding-bottom: 56px; }
.all-sec .sec-h a { color: inherit; }
.tile-img-fit { padding: 14px; }
.tile-img-fit img { object-fit: contain; }
.tile-name small { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; color: var(--muted); }

.about-sec { padding: 96px 0; }
.about-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; display: block; border-radius: 14px; aspect-ratio: 749 / 421; object-fit: cover; }
.about-badge { position: absolute; right: -18px; bottom: -28px; max-width: 240px; padding: 18px 22px; border-radius: 12px; background: var(--accent); color: var(--navy); font-size: 13px; font-weight: 600; line-height: 1.4; box-shadow: var(--shadow-lg); }
.about-badge b { display: block; font-size: 34px; line-height: 1; font-weight: 800; margin-bottom: 4px; }
.about-txt p { margin: 0 0 14px; font-size: 16px; }
.about-txt .eyebrow { font-size: 13px; }
.about-btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 10px; }

.service-sec { background: var(--navy); color: #c3cde0; padding: 88px 0; }
.service-sec .eyebrow { color: var(--accent); }
.service-sec .sec-h { color: #fff; max-width: 780px; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.service-list li { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .03); font-size: 16px; font-weight: 600; line-height: 1.45; color: #e6ebf5; }
.service-list b { flex: 0 0 auto; font-size: 14px; color: var(--accent); padding-top: 2px; font-variant-numeric: tabular-nums; }

.cert-sec { padding: 88px 24px 80px; text-align: center; }
.certs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.certs > div { display: flex; align-items: center; justify-content: center; height: 300px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.certs img { max-height: 100%; width: auto; object-fit: contain; box-shadow: var(--shadow); background: #fff; }

.qband { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-600) 100%); color: #dfe8f7; padding: 56px 0; }
.qband-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.qband h2 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 10px; }
.qband p { margin: 0; font-size: 16px; max-width: 640px; }
.qband-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 460px; }
.qband-mail { display: inline-flex; align-items: center; gap: 8px; flex-basis: 100%; color: #dfe8f7; font-size: 14px; }
.qband-mail:hover { color: #fff; }

/* ---------------- side columns (category: left; product: right) */
.layout { display: grid; gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.layout-cat { grid-template-columns: 270px minmax(0, 1fr); }
.layout-pdp { grid-template-columns: minmax(0, 1fr) 290px; padding-top: 8px; }
.side { display: grid; gap: 20px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.side-title { margin: 0; padding: 14px 16px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--soft); border-bottom: 1px solid var(--line); }
.side-title a { color: var(--ink); }
.side-title a:hover { color: var(--brand); }
.side-group + .side-group { border-top: 1px solid var(--line); }
.side-group summary { display: flex; align-items: center; list-style: none; cursor: pointer; }
.side-group summary::-webkit-details-marker { display: none; }
.side-group summary a { flex: 1; padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ink); }
.side-group summary a.cur, .side-group summary a:hover { color: var(--brand); }
.side-group summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-right: 18px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); transition: transform .2s; }
.side-group[open] summary::after { transform: rotate(45deg); }
.side-group ul { padding: 0 0 10px; }
.side-group li a, .side-cats li a { display: block; padding: 7px 16px 7px 28px; font-size: 14px; color: var(--text); position: relative; }
.side-group li a:hover, .side-cats li a:hover { color: var(--brand); background: var(--soft); }
.side-group li.cur a, .side-cats li.cur a { color: var(--brand); font-weight: 700; background: var(--brand-50); }
.side-group li.cur a::before, .side-cats li.cur a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }
.side-cats ul { padding: 8px 0; }
.side-cats li a { padding-left: 16px; }
.side-new { padding-bottom: 6px; }
.side-new a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; }
.side-new a + a { border-top: 1px solid var(--line); }
.side-new a:hover { background: var(--soft); }
.side-new img { width: 72px; height: 54px; object-fit: contain; background: #fff; border-radius: 6px; }
.side-new span { font-size: 13px; line-height: 1.35; color: var(--ink); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- product cards (category lists, search) */
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.prow { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.prow:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.prow-img { display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); padding: 10px; }
.prow-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.prow-txt { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.prow-txt h3 { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0 0 12px; }
.prow-txt h3 a { color: var(--ink); }
.prow-txt h3 a:hover { color: var(--brand); }
.prow .ptable { font-size: 13px; margin-bottom: 16px; }
.prow .ptable td { padding: 5px 0; border: 0; border-bottom: 1px dashed var(--line); text-align: left; }
.prow .ptable td:first-child { color: var(--muted); padding-right: 10px; width: 45%; }
.prow .ptable td:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.prow-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.prow-btns .btn { padding: 0 10px; white-space: normal; }

/* ---------------- product page */
.pshow { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; padding-top: 28px; padding-bottom: 40px; align-items: start; }
.gallery-main { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 84px; height: 64px; padding: 3px; border: 2px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.thumbs button[aria-current] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pinfo { position: sticky; top: calc(var(--bar-h) + 16px); }
.pinfo h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.2; margin: 0 0 18px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--ink); margin-bottom: 20px; }
.pinfo .ptable { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pinfo .ptable td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pinfo .ptable tr:last-child td { border-bottom: 0; }
.pinfo .ptable td:first-child { width: 42%; background: var(--soft); color: var(--muted); font-weight: 600; }
.pbtns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.note { margin: 0; font-size: 13px; color: var(--muted); }

.tabs { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.tab-list { position: sticky; top: var(--bar-h); z-index: 5; display: flex; overflow-x: auto; scrollbar-width: none; background: #fff; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; padding: 0 12px; }
.tab-list::-webkit-scrollbar { display: none; }
.tab-list button { flex: 0 0 auto; padding: 16px 14px 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--muted); font-size: 15px; font-weight: 700; cursor: pointer; }
.tab-list button:hover { color: var(--ink); }
.tab-list button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }
html:not(.js) .tab-list { display: none; }
.tab-panel { padding: 24px 28px 28px; }
html:not(.js) .tab-panel + .tab-panel { border-top: 1px solid var(--line); }
.js .tab-list ~ .tab-panel ~ .tab-panel { display: none; }
.js .panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.panel-h { font-size: 20px; }
.rich { font-size: 15px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
.rich h2, .rich h3 { color: var(--ink); }
.rich h3 { font-size: 18px; margin-top: 1.4em; }
.rich table { width: 100%; border-collapse: collapse; margin: 14px 0; display: block; overflow-x: auto; font-size: 14px; }
.rich td, .rich th { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.rich tr:nth-child(odd) td { background: var(--soft); }
.rich td p, .rich th p { margin: 0; }
.rich img { margin: 10px 0; border-radius: 8px; }
.rich ul, .rich ol { padding-left: 1.3em; }
.rich ul { list-style: disc; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; max-width: 880px; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt button { position: absolute; inset: 0; margin: auto; width: 76px; height: 54px; border-radius: 14px; border: 0; background: #e62117; color: #fff; font-size: 24px; cursor: pointer; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.related { padding-bottom: 72px; }
.related .sec-h { font-size: 26px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s; }
.card a:hover { box-shadow: var(--shadow-lg); }
.card-img { display: block; aspect-ratio: 4 / 3; padding: 10px; border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 12px 14px 14px; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--ink); }

/* ---------------- company / project / contact pages */
.static { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; padding-top: 40px; padding-bottom: 80px; }
.static-one { grid-template-columns: minmax(0, 1fr); }
.static .rich { font-size: 16px; }
.static .rich h2 { font-size: 22px; margin-top: 1.6em; }
.static .rich li { margin-bottom: 6px; }
.contact-cards { display: grid; gap: 12px; margin: 28px 0; }
.contact-cards > div { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.contact-cards svg { grid-row: span 2; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--brand); color: #fff; }
.contact-cards h3 { font-size: 13px; margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-cards p { font-size: 16px !important; font-weight: 600; color: var(--ink); }
.contact-cards p { margin: 0; overflow-wrap: anywhere; font-size: 14px; }
.form-sec { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--bar-h) + 16px); }
.form-sec h2 { font-size: 22px; margin-bottom: 4px; }
.form-sub { margin: 0 0 18px; font-size: 14px; color: var(--muted); }

/* ---------------- search page */
.search-big { display: flex; gap: 10px; max-width: 680px; margin: 20px 0 10px; }
.search-big input { flex: 1; min-width: 0; height: 52px; border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; background: #fff; color: var(--ink); font-size: 16px; }
.search-big input:focus { border-color: var(--brand); outline: 2px solid var(--brand-100); }
.search-big .btn { min-height: 52px; }
.search-status { margin: 0; color: var(--muted); }
.search-page { padding-top: 32px; padding-bottom: 72px; }
.search-inq { position: static; max-width: 760px; margin-top: 10px; }

/* ---------------- inquiry form (inline and in the pop-up) */
.inquiry { display: grid; gap: 12px; }
.inquiry label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.inquiry input, .inquiry textarea { font-size: 15px; font-weight: 400; padding: 11px 13px; border: 1px solid #d5dbe5; border-radius: 8px; width: 100%; color: var(--ink); background: #fff; }
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--brand-100); border-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.btn-send { min-height: 48px; font-size: 16px; width: 100%; }
.form-status { margin: 0; font-weight: 600; font-size: 14px; }
.form-status.ok { color: var(--wa); }
.form-status.fail { color: #b42318; }
.tab-panel .inquiry { max-width: 720px; }
.tab-panel .btn-send { width: auto; justify-self: start; padding: 0 32px; }
.inq-dialog { border: 0; padding: 0; width: min(500px, calc(100vw - 24px)); max-height: calc(100vh - 24px); border-radius: 14px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.inq-dialog::backdrop { background: rgba(10, 22, 48, .6); }
.inq-head { position: relative; padding: 22px 56px 18px 24px; background: var(--navy); color: #c3cde0; }
.inq-head p { margin: 0; }
.inq-head #inq-title { font-size: 21px; font-weight: 800; color: #fff; }
.inq-sub { font-size: 14px; margin-top: 4px !important; }
.inq-x { position: absolute; right: 12px; top: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.inq-x:hover { background: rgba(255, 255, 255, .2); }
.inq-dialog .inquiry { padding: 20px 24px 22px; }

/* ---------------- footer */
.site-footer { background: var(--navy); color: #aab6cc; font-size: 14px; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.flogo { width: 200px; display: block; margin-bottom: 18px; }
.fabout { margin: 0 0 18px; line-height: 1.6; }
.fcontact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.fcontact svg { flex: 0 0 auto; margin-top: 3px; color: var(--accent); }
.fcontact a, .fcontact span { color: #d8e0ee; overflow-wrap: anywhere; }
.fcontact a:hover { color: #fff; }
.fshare { display: flex; gap: 10px; margin: 18px 0 0; }
.fshare > * { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #d8e0ee; cursor: pointer; }
.fshare > *:hover { background: var(--brand); color: #fff; }
.fshare .wechat .qr { top: auto; bottom: 100%; margin: 0 0 10px; }
.fh { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fh a { color: #fff; }
.fh:not(:first-child) { margin-top: 26px; }
.flinks a { display: block; padding: 4px 0; color: #aab6cc; }
.flinks a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 13px; color: #7d8aa3; }

/* ---------------- floating WhatsApp / inquiry buttons */
.side-tools { position: fixed; right: 20px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.st { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; background: var(--brand); box-shadow: 0 6px 18px rgba(10, 22, 48, .25); transition: transform .15s, background .15s; }
.st:hover { transform: translateY(-2px); color: #fff; }
.st-wa { background: var(--wa); width: 58px; height: 58px; }
.st-wa:hover { background: var(--wa-600); }
.st-inq { background: var(--accent); color: var(--navy); }
.st-inq:hover { background: var(--accent-600); color: var(--navy); }
.st-wx { background: #fff; color: var(--wa); }
.st-top { background: #fff; color: var(--ink); width: 44px; height: 44px; align-self: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.scrolled .st-top { opacity: 1; pointer-events: auto; }
.st-pop { display: none; position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: var(--navy); color: #fff; padding: 8px 12px; border-radius: 8px; white-space: nowrap; font-size: 13px; font-weight: 600; }
.st-wx .st-pop { background: #fff; padding: 8px; box-shadow: var(--shadow-lg); }
.st-wx .st-pop img { width: 130px; max-width: none; display: block; }
.st:hover .st-pop, .st:focus-visible .st-pop, .st-wx:focus .st-pop { display: block; }

/* ---------------- smaller computers / tablets */
@media (max-width: 1180px) {
  .nav > li > a, .nav-top { padding: 0 10px; font-size: 14px; }
  .logo img { width: 190px; }
  .bar-row { gap: 18px; }
  .util-contact a:first-child span { display: none; }
}
@media (max-width: 1060px) {
  :root { --bar-h: 64px; }
  .logo img { width: 170px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navbar { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--bar-h)); max-height: calc(100dvh - var(--bar-h)); overflow-y: auto; overscroll-behavior: contain; }
  .navbar.open { display: block; }
  .nav { display: block; height: auto; padding: 6px 0 16px; }
  .nav > li { display: block; position: relative; border-bottom: 1px solid var(--line); }
  .nav > li > a, .nav-top { width: 100%; padding: 15px 24px; font-size: 16px; justify-content: space-between; }
  .nav > li.active > a::after, .nav > li.active > .nav-top::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; border-radius: 0; }
  .nav-prod:hover .nav-top i { transform: translateY(-2px) rotate(45deg); }
  .nav-prod.open .nav-top i { transform: translateY(1px) rotate(-135deg); }
  .mega, .nav-prod:hover > .mega, .nav-prod:focus-within > .mega { display: none; position: static; box-shadow: none; max-height: none; border-top: 0; background: var(--soft); }
  .nav-prod.open > .mega { display: block; }
  .mega-in { display: block; padding: 0; }
  .mega .mega-foot { justify-content: flex-start; padding: 14px 24px 16px 40px; }
  .mg-side { display: block; padding: 0; border: 0; }
  .mg { position: relative; border-top: 1px solid var(--line); }
  .mg-h { margin: 0; padding: 14px 64px 14px 24px; border: 0; font-size: 14px; }
  .mg > .sub-btn { display: block; position: absolute; right: 0; top: 0; width: 56px; height: 48px; border: 0; border-left: 1px solid var(--line); background: none; cursor: pointer; }
  .mg > .sub-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s; }
  .mg.open > .sub-btn::after { transform: translate(-50%, -30%) rotate(-135deg); }
  .mg > ul { display: none; columns: 1 !important; padding: 0 0 12px; background: #fff; }
  .mg.open > ul { display: block; }
  .mg > ul > li { margin: 0 !important; }
  .mc { padding: 10px 24px 10px 36px; }
  .mg ul ul { padding-bottom: 6px; }
  .mg ul ul a { margin-left: 36px; padding: 6px 12px; }
  .btn-quote { min-height: 42px; }
  .js .search-box { position: static; }
  .js .search-box.open input { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); transform: none; width: auto; height: 48px; z-index: 61; font-size: 16px; }
  .bar-row { position: relative; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-in { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .about-badge { right: 16px; }
  .layout-cat, .layout-pdp { grid-template-columns: minmax(0, 1fr); }
  .layout-cat .side { order: 2; }
  .side { position: static; }
  .pshow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pinfo { position: static; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .static { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .form-sec { position: static; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qband-in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
/* ---------------- phones */
@media (max-width: 640px) {
  :root { --util-h: 34px; --bar-h: 60px; }
  body { font-size: 15px; padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .util-contact { display: none; }
  .util-row { justify-content: flex-end; }
  .util-right { width: 100%; justify-content: space-between; }
  .socials { gap: 16px; }
  .langs { border-left: 0; padding-left: 0; }
  .logo img { width: 150px; }
  .bar-row { gap: 8px; }
  .bar-actions { gap: 6px; }
  .btn-quote { display: none; }
  .search-btn { width: 40px; height: 40px; }
  .nav-toggle { width: 42px; height: 40px; }
  .hero { padding-top: 36px; }
  .hero-lead { font-size: 15px; margin-bottom: 22px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .figs li, .figs li + li { padding: 18px 12px 18px 0; border-left: 0; }
  .figs li:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .12); }
  .figs li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
  .figs-light li:nth-child(even), .figs-mini li:nth-child(even) { border-left-color: var(--line); }
  .figs-light li:nth-child(n+3), .figs-mini li:nth-child(n+3) { border-top-color: var(--line); }
  .figs-mini li:nth-child(n+3) { padding-top: 14px; }
  .figs span { font-size: 13px; }
  .figs b, .figs-mini b { font-size: clamp(20px, 6vw, 26px); overflow-wrap: anywhere; }
  .figs li { min-width: 0; }
  .home-sec { padding-top: 56px; }
  .tiles { gap: 10px; }
  .tile-name { padding: 10px 12px; font-size: 14px; }
  .tile-name svg { display: none; }
  .about-sec { padding: 64px 0 72px; }
  .about-txt p { font-size: 15px; }
  .about-badge { right: 10px; bottom: -22px; padding: 12px 14px; max-width: 200px; font-size: 12px; }
  .about-badge b { font-size: 26px; }
  .service-sec { padding: 64px 0; }
  .service-list { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .service-list li { padding: 16px 18px; font-size: 15px; }
  .cert-sec { padding: 64px 16px 56px; }
  .certs { gap: 10px; }
  .certs > div { height: 150px; padding: 10px; }
  .qband { padding: 44px 0; }
  .qband-btns .btn { flex: 1 1 auto; }
  .pband { padding: 14px 0 22px; }
  .chip { font-size: 13px; }
  .plist { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .prow { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
  .prow-img { border-bottom: 0; border-right: 1px solid var(--line); padding: 6px; aspect-ratio: auto; }
  .prow-txt { padding: 12px 14px; }
  .prow-txt h3 { font-size: 15px; margin-bottom: 8px; }
  .prow .ptable { display: none; }
  .prow-btns { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .prow-btns .btn { min-height: 36px; font-size: 13px; }
  .pshow { padding-top: 16px; }
  .pbtns .btn { flex: 1 1 auto; }
  .tab-panel { padding: 18px 16px 20px; }
  .tab-list { padding: 0 4px; }
  .tab-list button { padding: 14px 10px 12px; font-size: 14px; }
  .cards { gap: 10px; }
  .form-sec { padding: 20px 16px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .search-big { flex-wrap: wrap; }
  .search-big .btn { width: 100%; }
  .fgrid { gap: 28px 16px; padding-top: 48px; }
  .fbrand { grid-column: 1 / -1; }
  .flinks a { font-size: 13px; }
  /* bottom action bar on phones: WhatsApp + inquiry always one tap away */
  .side-tools { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(10, 22, 48, .08); }
  .st, .st-wa { flex: 1; width: auto; height: 46px; border-radius: 8px; box-shadow: none; gap: 8px; font-size: 15px; font-weight: 700; }
  .st + .st { margin-left: 8px; }
  .st:hover { transform: none; }
  .st-pop { display: inline !important; position: static; transform: none; background: none; padding: 0; color: inherit; font-size: 15px; }
  .st-num { display: none; }
  .st-wx, .st-top { display: none; }
  .inq-dialog { width: calc(100vw - 16px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
