/* ==========================================================================
   Fine Engineering Works — Site Stylesheet
   Blue brand system · Space Grotesk + IBM Plex Sans/Mono
   ========================================================================== */

:root {
  --ink: #0B2545;
  --navy: #081B33;
  --navy-2: #0E2E54;
  --navy-3: #123A66;
  --accent: #2E8BD0;
  --accent-strong: #114A8C;
  --accent-light: #5FB0E6;
  --bg: #F4F7FA;
  --surface: #ffffff;
  --border: #E4E9F0;
  --border-2: #D9E0E8;
  --muted: #5C6B7D;
  --muted-2: #8497A8;
  --on-navy: #BFD2E6;
  --on-navy-dim: #9FB6CE;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 14px 26px; border-radius: 7px; border: none; cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(46,139,208,.28); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #E8F1FA; }
.btn-dark { background: #fff; color: var(--ink); }
.btn-dark:hover { background: #EAF2FA; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-outline-light:hover { background: rgba(11,37,69,.3); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1FBA59; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.brand-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.nav-link { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s ease; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { font-weight: 600; color: var(--ink); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero, .page-hero, .section-navy {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(46,139,208,.22), transparent 46%),
    linear-gradient(158deg, var(--ink) 0%, var(--navy-2) 58%, var(--navy-3) 100%);
}
.grid-overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
}
.hero-inner { position: relative; padding: 84px 0 96px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .eyebrow,
.page-hero .eyebrow,
.section-navy .eyebrow { color: var(--accent-light); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-light);
  border: 1px solid rgba(143,196,236,.32); padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
}
.hero-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-title { font-family: var(--font-display); font-weight: 700; font-size: 58px; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 22px; }
.hero-title .hl { color: var(--accent-light); }
.hero-sub { font-size: 18px; line-height: 1.6; color: var(--on-navy); max-width: 520px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats .num { font-family: var(--font-mono); font-size: 26px; font-weight: 600; color: #fff; }
.hero-stats .num span { color: var(--accent); }
.hero-stats .lbl { font-size: 12.5px; color: var(--on-navy-dim); }

.product-panel { position: relative; background: linear-gradient(160deg,#F4F8FC,#E4EFF8); border: 1px solid rgba(255,255,255,.5); border-radius: 16px; padding: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.product-panel .fig { position: absolute; top: 18px; left: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted-2); }
.product-panel img { width: 100%; aspect-ratio: 1/1; object-fit: contain; }
.spec-tag { position: absolute; right: 20px; bottom: 20px; background: var(--ink); color: #fff; border-radius: 9px; padding: 12px 16px; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.spec-tag .m { font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.spec-tag .s { font-family: var(--font-mono); font-size: 11px; color: #7FB4DE; margin-top: 2px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.trust-inner { padding: 20px 0; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; }
.trust-inner .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #6E86A0; }
.trust-inner .item { font-size: 14px; color: #C6D6E6; }
.trust-inner .sep { color: #33496A; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-light { background: var(--bg); }
.section-white { background: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.section-navy .section-title { color: #fff; }
.section-link { font-size: 14.5px; font-weight: 600; color: var(--accent); }
.section-link:hover { color: var(--accent-strong); }
.center { text-align: center; }
.center .section-head { display: block; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,37,69,.12); border-color: var(--accent); }
.cat-img { position: relative; background: linear-gradient(160deg,#FAFCFE,#EEF4F9); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #EDF1F6; }
.cat-img img { width: 78%; height: 78%; object-fit: contain; }
.cat-badge { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--ink); background: rgba(255,255,255,.85); border: 1px solid var(--border); padding: 4px 8px; border-radius: 5px; }
.cat-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-title { font-family: var(--font-display); font-weight: 600; font-size: 17px; margin: 0 0 7px; color: var(--ink); }
.cat-desc { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; flex: 1; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; }
.cat-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.cat-view { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---------- Why choose us ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feature-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 32px; }
.feature-icon { width: 52px; height: 52px; border-radius: 11px; background: rgba(46,139,208,.16); border: 1px solid rgba(46,139,208,.4); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.feature-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 10px; color: #fff; }
.feature-card p { font-size: 14.5px; line-height: 1.6; color: var(--on-navy); margin: 0; }
.section-navy .section-title.mb { margin-bottom: 52px; max-width: 620px; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.industry-tile { display: flex; align-items: center; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px; transition: border-color .18s ease, background .18s ease; }
.industry-tile:hover { border-color: var(--accent); background: #fff; }
.industry-no { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid var(--accent); border-radius: 5px; padding: 4px 7px; flex-shrink: 0; }
.industry-name { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: 18px; padding: 56px;
  background: radial-gradient(circle at 85% 30%, rgba(95,176,230,.4), transparent 50%), linear-gradient(120deg, var(--accent), var(--accent-strong)); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -.02em; color: #fff; margin: 0 0 8px; }
.cta-inner p { font-size: 16px; color: rgba(255,255,255,.9); margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-banner .btn-outline-light { background: rgba(11,37,69,.45); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C6D6E6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { height: 42px; width: auto; }
.footer-brand .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: .03em; color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: #92A8C0; margin: 0; max-width: 340px; }
.footer-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #6E86A0; margin: 0 0 16px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a, .footer-col a { font-size: 14px; color: #C6D6E6; transition: color .15s ease; }
.footer-links a:hover, .footer-col a:hover { color: #fff; }
.footer-col .muted { font-size: 14px; line-height: 1.6; color: #92A8C0; margin: 0 0 6px; }
.footer-col a.lit { color: #fff; display: block; margin-bottom: 14px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom .copy { font-size: 13px; color: #6E86A0; }
.footer-bottom .meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: #4D6379; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(37,211,102,.45); transition: transform .15s ease; }
.wa-float:hover { transform: scale(1.06); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--border); }
.breadcrumb.on-white { background: #fff; }
.breadcrumb .inner { padding: 12px 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2); }
.breadcrumb a { color: var(--accent); }
.breadcrumb .slash { color: #C2CCD6; }

/* ---------- Page hero (about/contact) ---------- */
.page-hero .inner { position: relative; padding: 70px 0; }
.page-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 50px; line-height: 1.05; letter-spacing: -.02em; margin: 0 0 16px; max-width: 760px; }
.page-hero p { font-size: 18px; line-height: 1.6; color: var(--on-navy); max-width: 600px; margin: 0; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.story h2 { font-family: var(--font-display); font-weight: 700; font-size: 34px; letter-spacing: -.02em; margin: 0 0 22px; line-height: 1.12; }
.story p { font-size: 15.5px; line-height: 1.7; color: #42566B; margin: 0 0 18px; }
.story p:last-child { margin-bottom: 0; }
.story-photo { position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; border: 1px solid var(--border);
  background: repeating-linear-gradient(135deg,#EEF3F8,#EEF3F8 14px,#E6EDF4 14px,#E6EDF4 28px);
  display: flex; align-items: center; justify-content: center; text-align: center; }
.story-photo .ph { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted-2); text-transform: uppercase; }
.story-photo .ph2 { font-family: var(--font-mono); font-size: 11px; color: #A9B6C4; margin-top: 8px; }

.stats-band { background: var(--ink); padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-cell { text-align: center; }
.stat-cell + .stat-cell { border-left: 1px solid rgba(255,255,255,.1); }
.stat-cell .n { font-family: var(--font-mono); font-size: 42px; font-weight: 600; color: #fff; }
.stat-cell .n span { color: var(--accent); }
.stat-cell .l { font-size: 13.5px; color: var(--on-navy-dim); margin-top: 6px; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.value-no { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.value-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 12px; }
.value-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; }
.form-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; margin: 0 0 6px; }
.form-card .sub { font-size: 14.5px; color: var(--muted); margin: 0 0 28px; }
.form-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: #42566B; }
.field input, .field select, .field textarea { padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 8px; font-size: 14.5px; color: var(--ink); outline: none; font-family: var(--font-body); background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,139,208,.12); }
.submit-btn { margin-top: 24px; width: 100%; padding: 15px; }
.success-card { background: #ECF7F0; border: 1px solid #BFE3CC; border-radius: 12px; padding: 28px; text-align: center; }
.success-card .ico { width: 48px; height: 48px; border-radius: 50%; background: #1E9E5A; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.success-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.success-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.info-cards { display: flex; flex-direction: column; gap: 16px; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.info-card h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.info-card .big { font-size: 15px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 6px; }
.info-card p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.6; }
.info-card .addr { font-size: 14.5px; line-height: 1.6; color: #42566B; margin: 0; }

.faq { max-width: 860px; margin: 0 auto; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
.faq-q span:first-child { font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-toggle { font-family: var(--font-mono); font-size: 22px; font-weight: 500; color: var(--accent); flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; padding: 0 24px 22px; }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Products catalog ---------- */
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; padding: 36px 0 80px; }
.filters { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - 110px); overflow-y: auto; padding-bottom: 24px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
.filters::-webkit-scrollbar { width: 4px; }
.filters::-webkit-scrollbar-track { background: transparent; }
.filters::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 4px; }
.filter-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.filter-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #42566B; margin: 0 0 14px; }
.search-input { width: 100%; padding: 11px 13px; border: 1px solid var(--border-2); border-radius: 8px; font-size: 14px; color: var(--ink); outline: none; }
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,139,208,.12); }
.check-list { display: flex; flex-direction: column; gap: 11px; }
.check-row { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13.5px; color: #42566B; }
.check-row input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.check-row .nm { flex: 1; }
.check-row .ct { font-family: var(--font-mono); font-size: 11px; color: #A9B6C4; }
.bore-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.bore-grid .check-row { font-size: 13px; gap: 7px; }
.bore-grid input { width: 15px; height: 15px; }
.reset-btn { width: 100%; padding: 12px; background: #fff; border: 1px solid var(--border-2); border-radius: 8px; color: #42566B; font-family: var(--font-body); font-size: 14px; font-weight: 600; cursor: pointer; }
.reset-btn:hover { background: #F0F4F8; }

.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.results-count { font-size: 14px; color: var(--muted); }
.results-count b { font-family: var(--font-mono); color: var(--ink); }
.view-toggle { display: flex; gap: 8px; }
.view-btn { padding: 8px 16px; border: 1px solid var(--border-2); background: #fff; color: #42566B; border-radius: 7px; font-family: var(--font-body); font-size: 13px; font-weight: 600; cursor: pointer; }
.view-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

#product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
#product-grid.compact { grid-template-columns: repeat(4,1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(11,37,69,.1); border-color: var(--accent); }
.pcard-img { position: relative; background: linear-gradient(160deg,#FAFCFE,#EEF4F9); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #EDF1F6; }
.pcard-img img { width: 76%; height: 76%; object-fit: contain; }
.pcard-badge { position: absolute; top: 11px; left: 11px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .05em; color: var(--ink); background: rgba(255,255,255,.85); border: 1px solid var(--border); padding: 4px 7px; border-radius: 5px; }
.pcard-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.pcard-type { font-family: var(--font-mono); font-size: 11px; color: var(--accent); margin-bottom: 5px; }
.pcard-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 12px; color: var(--ink); }
.pcard-specs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 12.5px; flex: 1; }
.spec-line { display: flex; justify-content: space-between; }
.spec-line .k { color: var(--muted-2); }
.spec-line .v { font-family: var(--font-mono); color: var(--ink); }
.pcard-link { font-size: 13px; font-weight: 600; color: var(--accent); }
.no-products { grid-column: 1 / -1; text-align: center; padding: 80px 20px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.no-products h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0 0 8px; color: var(--ink); }
.no-products p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Product detail ---------- */
.pd-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.pd-image { position: relative; background: linear-gradient(160deg,#F4F8FC,#E4EFF8); border: 1px solid var(--border); border-radius: 16px; padding: 32px; overflow: hidden; }
.pd-image .fig { position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2); z-index: 2; }
.pd-image img { width: 100%; aspect-ratio: 1/1; object-fit: contain; transform-origin: center; transform: scale(1) translate(0,0); transition: transform .18s ease; user-select: none; }

/* Inline zoom controls */
.pd-zoom {
  position: absolute; bottom: 14px; right: 14px; z-index: 10;
  display: flex; align-items: center; gap: 2px;
  background: rgba(11,37,69,.72); backdrop-filter: blur(6px);
  border-radius: 8px; padding: 4px 6px;
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.pd-image:hover .pd-zoom, .pd-zoom.active { opacity: 1; pointer-events: all; }
.pz-btn {
  width: 28px; height: 28px; background: transparent;
  color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 6px;
  cursor: pointer; font-size: 1.05rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.pz-btn:hover { background: var(--accent); border-color: var(--accent); }
.pz-level { color: rgba(255,255,255,.7); font-family: var(--font-mono); font-size: 11px; font-weight: 600; min-width: 36px; text-align: center; }
.pd-title { font-family: var(--font-display); font-weight: 700; font-size: 42px; letter-spacing: -.02em; margin: 0 0 16px; }
.badges { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.badge { font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 6px; }
.badge.secondary { color: var(--ink); background: #EEF3F8; border: 1px solid var(--border); }
.specs-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 24px; }
.summary-cell { background: #fff; padding: 14px 16px; }
.summary-cell .k { font-size: 12px; color: var(--muted-2); margin-bottom: 3px; }
.summary-cell .v { font-size: 15px; font-weight: 600; color: var(--ink); }
.summary-cell .v.mono { font-family: var(--font-mono); }
.pd-desc { font-size: 15px; line-height: 1.65; color: #42566B; margin: 0 0 26px; }
.pd-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.dispatch { font-size: 13.5px; color: #1E9E5A; font-weight: 600; margin: 0; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.tab-btn { padding: 14px 22px; background: none; border: none; border-bottom: 2px solid transparent; color: var(--muted-2); font-family: var(--font-body); font-size: 14.5px; font-weight: 600; cursor: pointer; margin-bottom: -1px; }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.spec-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.spec-card .head { padding: 16px 22px; border-bottom: 1px solid #EDF1F6; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #42566B; }
.spec-card .row { display: flex; justify-content: space-between; padding: 13px 22px; border-bottom: 1px solid #F2F5F8; }
.spec-card .row .k { font-size: 14px; color: #42566B; }
.spec-card .row .v { font-family: var(--font-mono); font-size: 14px; font-weight: 600; color: var(--ink); }
.weight-card { background: var(--ink); border-radius: 12px; padding: 22px; }
.weight-card .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7FB4DE; margin-bottom: 8px; }
.weight-card .v { font-family: var(--font-mono); font-size: 32px; font-weight: 600; color: #fff; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.feat-list { display: flex; flex-direction: column; gap: 10px; }
.feat-row { display: flex; gap: 10px; align-items: flex-start; }
.feat-row .ck { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.feat-row span:last-child { font-size: 14.5px; line-height: 1.5; color: #42566B; }
.app-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.app-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { font-size: 13px; color: #42566B; background: var(--bg); border: 1px solid var(--border); padding: 7px 13px; border-radius: 100px; }
.tab-panel h3.sub { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 14px; }
.downloads { max-width: 620px; display: flex; flex-direction: column; gap: 12px; }
.download-item { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px 22px; }
.download-item .nm { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.download-item .st { font-size: 13.5px; font-weight: 600; color: #A9B6C4; }
.downloads .note { font-size: 13px; color: var(--muted-2); margin: 8px 0 0; }
.related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.rcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.rcard:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(11,37,69,.1); border-color: var(--accent); }
.rcard .img { background: linear-gradient(160deg,#FAFCFE,#EEF4F9); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #EDF1F6; }
.rcard .img img { width: 74%; height: 74%; object-fit: contain; }
.rcard .body { padding: 15px 16px; }
.rcard h3 { font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 6px; }
.rcard .bore { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.empty-state { padding: 100px 0; text-align: center; }
.empty-state h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; margin: 0 0 10px; }
.empty-state p { font-size: 15px; color: var(--muted); margin: 0 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 46px; }
  .cat-grid, .industry-grid, .related-grid { grid-template-columns: repeat(2,1fr); }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  #product-grid, #product-grid.compact { grid-template-columns: repeat(2,1fr); }
  .story, .contact-grid, .pd-hero, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-cell:nth-child(3) { border-left: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 20px 20px; display: none; box-shadow: 0 14px 30px rgba(11,37,69,.1); }
  .site-header.open .main-nav { display: flex; }
  .main-nav .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav .btn { margin-top: 12px; justify-content: center; }
  .hamburger { display: flex; }
  .hero-title { font-size: 36px; }
  .section-title { font-size: 30px; }
  .page-hero h1 { font-size: 36px; }
  .pd-title { font-size: 32px; }
  .cat-grid, .industry-grid, .feature-grid, .values-grid, .related-grid, .form-rows, .specs-summary, .stats-grid { grid-template-columns: 1fr; }
  #product-grid, #product-grid.compact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .stat-cell { border-left: none !important; }
  .section { padding: 60px 0; }
  .cta-banner { padding: 36px 28px; }
  .form-card { padding: 28px; }
}
