/* Magayon Ventures — friendlier look, logo colours (green + black), 2026-11-26 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;600&display=swap");
:root {
  --bg: #f6f8f6; --surface: #fff; --ink: #161a17; --muted: #5a645d; --line: #e0e7e2;
  --brand: #1e7b34; --brand-2: #10291a; --accent: #4cb050; --accent-ink: #1e7b34; --ok: #1d7a46; --warn: #a15c00;
  --media: #eef5f0; --soft: #e7f4ea; --cream: #f1f8ee;
  --r: 14px; --r-sm: 10px;
  --shadow: 0 1px 2px rgba(22,26,23,.05), 0 6px 20px rgba(22,26,23,.06);
  --shadow-lg: 0 4px 10px rgba(22,26,23,.06), 0 18px 40px rgba(22,26,23,.12);
  --hdr: 84px;
  --sans: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--sans); }
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.mono { font-family: var(--mono); }
.kicker { font: 700 13px var(--sans); letter-spacing: .02em; color: var(--brand); }
.kicker.y { color: var(--accent-ink); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

.preview-flag { background: #111; color: #fff; font: 600 12px/1.4 var(--sans); text-align: center; padding: 6px 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; text-decoration: none; background: var(--brand); color: #fff; transition: transform .15s, box-shadow .15s, filter .15s; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(30,123,52,.22); }
.btn.y { background: var(--accent); color: var(--ink); }
.btn.y:hover { box-shadow: 0 6px 16px rgba(76,176,80,.35); }
.btn.line { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.line:hover { border-color: var(--brand); box-shadow: none; }
.btn.lg { padding: 13px 24px; font-size: 16px; }
.btn.sm { padding: 7px 13px; font-size: 13px; }
.link { border: 0; background: none; padding: 0; color: var(--brand); text-decoration: underline; }

/* header */
.site-header { background: #fff; color: var(--ink); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.logo { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.logo-img { width: 58px; height: 58px; object-fit: contain; flex: none; }
.logo-name { font-weight: 800; font-size: 21px; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
.logo small { display: block; font: 500 12.5px var(--sans); color: var(--muted); letter-spacing: .01em; }
.nav { display: flex; gap: 4px; }
.nav a { white-space: nowrap; color: #3a433d; text-decoration: none; padding: 8px 13px; font-size: 15px; font-weight: 600; border-radius: 999px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--soft); color: var(--brand); }
.nav a[aria-current] { background: var(--brand); color: #fff; }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.hdr-right a.tel { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rfq-btn { white-space: nowrap; border: 0; border-radius: 999px; background: var(--accent); color: var(--ink); font-weight: 700; padding: 9px 10px 9px 16px; display: flex; gap: 8px; align-items: center; text-decoration: none; font-family: var(--sans); font-size: 14px; transition: box-shadow .15s, transform .15s; }
.rfq-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(76,176,80,.35); }
.rfq-btn b { background: var(--ink); color: var(--accent); padding: 1px 8px; border-radius: 999px; font-size: 13px; }
.menu-btn { display: none; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); padding: 7px 14px; font-size: 14px; font-weight: 600; }

/* page head */
.page-head { background: linear-gradient(180deg, var(--soft), var(--bg)); color: var(--ink); padding: 38px 0 32px; position: relative; overflow: hidden; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin: 8px 0 6px; font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--brand); }
.page-head p { margin: 0; color: var(--muted); max-width: 46em; }
.crumbs { font-size: 13px; color: var(--muted); } .crumbs a { color: var(--brand); }

/* home hero */
.hero { background: radial-gradient(900px 420px at 85% 10%, var(--cream), transparent 60%), linear-gradient(180deg, var(--soft), var(--bg)); color: var(--ink); overflow: hidden; position: relative; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 64px 0 56px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.03em; margin: 12px 0 18px; font-weight: 800; color: var(--ink); }
.hero p { color: #414a44; font-size: 17.5px; max-width: 34em; margin: 0 0 26px; }
.term-search { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; max-width: 580px; padding: 5px; box-shadow: var(--shadow); }
.term-search:focus-within { border-color: var(--brand); }
.term-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); padding: 11px 16px; font-size: 15px; }
.term-search input::placeholder { color: #869089; }
.term-search input:focus { outline: none; }
.term-search button { border: 0; border-radius: 999px; background: var(--accent); font-weight: 700; padding: 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 600px; }
.chips a { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px 6px 9px; font-size: 13px; font-weight: 600; color: #3a433d; text-decoration: none; transition: border-color .15s, color .15s, transform .15s; }
.chips a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.chips svg { width: 20px; color: var(--brand); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; max-width: 580px; }
.hero-stats div { padding: 14px 16px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: var(--r-sm); }
.hero-stats b { display: block; font-size: 24px; font-weight: 800; color: var(--brand); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.spec-card { background: #fff; color: var(--ink); padding: 26px; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.spec-card .top { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.spec-card .top .media { background: var(--media); padding: 16px; color: var(--brand); border-radius: var(--r-sm); }
.spec-card h3 { margin: 4px 0; font-size: 20px; }
.spec-card table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.spec-card td { border-top: 1px solid var(--line); padding: 8px 0; } .spec-card td:last-child { text-align: right; font-family: var(--mono); }
.spec-card .row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* home: big link cards */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.door { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr auto; column-gap: 16px; row-gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c3dcc8; }
.door-ic { grid-row: 1 / 4; width: 56px; height: 56px; border-radius: 14px; background: var(--soft); color: var(--brand); display: grid; place-items: center; transition: background .18s, color .18s; }
.door-ic svg { width: 32px; }
.door:hover .door-ic { background: var(--brand); color: #fff; }
.door strong { font-size: 17.5px; font-weight: 700; }
.door > span:not(.door-ic) { color: var(--muted); font-size: 14px; }
.door b { color: var(--ink); }
.door em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--brand); margin-top: 8px; }
.door em span { display: inline-block; transition: transform .18s; }
.door:hover em span { transform: translateX(4px); }

/* category bar */
.catbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--hdr); z-index: 15; }
.catbar .wrap { display: flex; overflow-x: auto; gap: 6px; padding: 10px 0; }
.catbar a, .catbar button { flex: none; border: 1px solid transparent; border-radius: 999px; background: none; padding: 7px 14px; font-weight: 600; font-size: 14px; color: var(--muted); text-decoration: none; }
.catbar a:hover, .catbar button:hover { background: var(--soft); color: var(--brand); }
.catbar .on { color: #fff; background: var(--brand); }
.catbar .on:hover { background: var(--brand); color: #fff; }

section.block { padding: 56px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { margin: 4px 0 0; font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; }
.sec-head a { font-weight: 700; }

/* category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-grid a { background: #fff; padding: 20px 16px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.cat-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-grid svg { width: 46px; color: var(--brand); margin-bottom: 4px; }
.cat-grid strong { font-size: 15px; line-height: 1.25; } .cat-grid span { font-size: 12.5px; color: var(--muted); }
.cat-grid em { font-style: normal; font-size: 12px; color: var(--muted); }

/* catalogue */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.toolbar input, .toolbar select { border: 1px solid var(--line); background: #fff; padding: 8px 12px; font-size: 13px; border-radius: var(--r-sm); }
.toolbar input[type=search] { min-width: 220px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: #fff; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.seg button.on { background: var(--brand); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card { background: #fff; display: flex; flex-direction: column; position: relative; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); z-index: 1; }
.card-media { display: grid; place-items: center; background: var(--media); color: var(--brand); height: 200px; padding: 36px 26%; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media.photo { background: #fff; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.card-media.photo img { min-height: 0; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.card h3 { margin: 2px 0 0; font-size: 16px; line-height: 1.3; }
.card h3 a { color: var(--ink); text-decoration: none; } .card h3 a:hover { text-decoration: underline; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .model { margin: 0; font: 12px var(--mono); color: var(--muted); }
.spec-mini { font: 12px var(--mono); color: var(--muted); border-top: 1px dashed var(--line); padding-top: 6px; margin: 4px 0 6px; display: grid; gap: 2px; }
.price { margin: 4px 0 10px; font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.price.rfq { font-size: 14px; font-weight: 700; color: var(--brand); }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; position: relative; z-index: 2; }
.card-actions .btn { flex: 1 1 auto; }
.cmp { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.stock { text-transform: none; letter-spacing: 0; }
.stock[data-s="In stock"] { color: var(--ok); } .stock[data-s="Pre-order"], .stock[data-s="Made to order"] { color: var(--warn); } .stock[data-s="Out of stock"] { color: #a33; }
.grid.list { grid-template-columns: 1fr; gap: 10px; }
.grid.list .card { flex-direction: row; align-items: center; }
.grid.list .card:hover { transform: none; }
.grid.list .card-media { width: 120px; flex: none; height: 120px; padding: 22px; border-bottom: 0; }
.grid.list .card-media.photo { padding: 8px; }
.grid.list .card-body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.grid.list .card-body > * { margin: 0; }
.grid.list .card-meta { width: 100%; justify-content: flex-start; }
.grid.list h3 { flex: 1 1 260px; }
.grid.list .spec-mini { display: none; }
.grid.list .card-actions { margin: 0; }
.empty { grid-column: 1 / -1; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; color: var(--muted); }

.compare-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 12px 10px 18px; border-radius: 999px; display: flex; gap: 14px; align-items: center; z-index: 25; box-shadow: 0 14px 40px rgba(0,0,0,.3); font-size: 14px; max-width: calc(100vw - 24px); }
.compare-tray[hidden] { display: none; }
.compare-tray .link { color: #c6d6ca; }

/* product page */
.product { display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px; align-items: start; }
.product-media { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12%; color: var(--brand); position: sticky; top: calc(var(--hdr) + 24px); box-shadow: var(--shadow); }
.product-media .note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 14px; }
.product-info h1 { margin: 6px 0 4px; font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.product-info .big-price { font-weight: 800; font-size: 28px; margin: 16px 0 2px; font-variant-numeric: tabular-nums; }
.product-info .big-price.rfq { font-size: 20px; color: var(--brand); }
.qty-row { display: flex; gap: 10px; align-items: end; margin: 16px 0; flex-wrap: wrap; }
.qty-row label { display: grid; font-size: 12px; color: var(--muted); }
.qty-row input { width: 84px; padding: 11px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.spec-table caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.spec-table th { width: 42%; color: var(--muted); font-weight: 500; }
.spec-table td { font-family: var(--mono); font-size: 13px; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.doc-links a, .doc-links button { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 14px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.doc-links a:hover, .doc-links button:hover { border-color: var(--brand); }
.doc-links .tag { font: 600 10px var(--mono); background: var(--brand); color: #fff; padding: 1px 6px; border-radius: 4px; }

/* chat buttons */
.chat-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chat { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; transition: border-color .15s; }
.chat:hover { border-color: var(--c); }
.chat::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chat-whatsapp { --c: #25d366; } .chat-viber { --c: #7360f2; } .chat-messenger { --c: #0a7cff; } .chat-email { --c: #8a8f98; } .chat-phone { --c: var(--accent); }

/* panels and forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.panel h2, .panel h3 { margin-top: 0; font-weight: 700; }
.form { display: grid; gap: 12px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.form label b { color: var(--ink); font-weight: 600; }
.form input:not([type=checkbox]), .form textarea, .form select { padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: var(--r-sm); width: 100%; }
.form input:not([type=checkbox]):focus, .form textarea:focus, .form select:focus { background: #fff; }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: 14px; }
.form-msg { padding: 12px 14px; font-size: 14px; border-left: 4px solid var(--accent); background: var(--cream); border-radius: 6px; }
.form-msg.ok { border-color: var(--ok); background: #e9f6ee; }

/* quote page */
.quote-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.qlines { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.qlines th { text-align: left; font: 700 12px var(--sans); color: var(--muted); padding: 12px; border-bottom: 1px solid var(--line); background: #f8faf8; }
.qlines td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.qlines tbody tr:first-child td { border-top: 0; }
.qlines td.item { display: flex; gap: 12px; align-items: center; }
.qlines td.item svg, .qlines td.item img { width: 44px; flex: none; color: var(--brand); }
.qlines td.item a { color: var(--ink); font-weight: 600; text-decoration: none; }
.qlines td.item span { display: block; font: 12px var(--mono); color: var(--muted); }
.qlines input { width: 70px; padding: 7px; border: 1px solid var(--line); border-radius: 8px; }
.qlines .num { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.print-only { display: none; }

/* compare */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); table-layout: fixed; }
.cmp-table th, .cmp-table td { padding: 10px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.cmp-table thead th { vertical-align: bottom; border-top: 0; }
.cmp-table thead svg { width: 70px; color: var(--brand); margin-bottom: 8px; }
.cmp-table tbody th { color: var(--muted); font-weight: 500; width: 22%; }
.cmp-table td { font-family: var(--mono); font-size: 13px; }
.cmp-wrap { overflow-x: auto; }

/* procurement, sectors, brands, news, contact */
.proc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: p; }
.steps li { counter-increment: p; display: grid; grid-template-columns: 56px 1fr; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(p); width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.steps strong { display: block; } .steps span { color: var(--muted); font-size: 14px; }
.doc-box { background: var(--brand); color: #fff; padding: 30px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.doc-box h3 { margin: 0 0 6px; font-weight: 700; font-size: 20px; }
.doc-box p { color: #d4e5d8; margin: 0 0 14px; font-size: 14px; }
.doc-box ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: 14px; }
.doc-box li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tiles > * { background: #fff; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.tiles h3 { margin: 6px 0; font-weight: 700; } .tiles p { margin: 0; color: var(--muted); font-size: 14px; }
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-grid a { background: #fff; padding: 26px 8px; text-align: center; font-weight: 800; font-size: 14px; color: #8b93a2; letter-spacing: .06em; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); transition: color .15s, transform .15s; }
.brand-grid a:hover { color: var(--brand); transform: translateY(-2px); }
.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.brand-cards article { background: #fff; padding: 24px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.brand-cards .logo-ph { height: 70px; border: 1px dashed var(--line); border-radius: var(--r-sm); display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #8b93a2; letter-spacing: .06em; }
.brand-cards h3 { margin: 6px 0 0; font-weight: 700; }
.brand-cards p { margin: 0; color: var(--muted); font-size: 14px; }
.news-list a, .news-list article { display: grid; grid-template-columns: 140px 110px 1fr; gap: 16px; padding: 18px 16px; margin-bottom: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; align-items: baseline; }
.news-list .d { font-size: 13px; color: var(--muted); } .news-list .t { font-weight: 700; font-size: 12px; color: var(--brand); }
.news-list h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; } .news-list p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-grid > div { background: #fff; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.contact-grid b { display: block; font-weight: 700; font-size: 16px; margin: 6px 0 10px; word-break: break-word; }
.prose { max-width: 46em; } .prose h2 { font-weight: 800; letter-spacing: -.01em; margin-top: 30px; } .prose p, .prose li { color: #2c3340; }
.draft-note { font-size: 13px; background: var(--cream); border-left: 4px solid var(--accent); border-radius: 6px; padding: 8px 12px; margin-bottom: 20px; }
.map-ph { background: var(--media); border: 1px solid var(--line); border-radius: var(--r); aspect-ratio: 16/9; display: grid; place-items: center; color: var(--muted); font-size: 13px; }

/* footer */
.site-footer { background: var(--brand-2); color: #a8b9ad; padding: 44px 0 30px; font-size: 14px; margin-top: 40px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-weight: 700; font-size: 15px; }
.site-footer a { display: block; color: #d4e5d8; text-decoration: none; padding: 3px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.mobile-bar { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: #14171c; color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; z-index: 60; transition: .2s; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: var(--hdr); left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 1.25rem 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .menu-btn { display: block; }
  .hdr-right .tel { display: none; }
}
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 40px 0 44px; }
  .spec-card { display: none; }
  .doors { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .proc, .tiles, .quote-layout, .product { grid-template-columns: 1fr; }
  .product-media { position: static; padding: 10% 25%; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-cards { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --hdr: 68px; }
  .wrap { width: calc(100% - 2rem); }
  .logo > span > small { display: none; }
  .site-header .wrap { gap: 10px; }
  .logo { gap: 10px; }
  .logo-name { font-size: 16px; }
  .logo-img { width: 46px; height: 46px; }
  .hdr-right .rfq-btn { display: none; } /* the bottom bar has "Quote list" on phones */
  .hdr-right { gap: 8px; }
  .menu-btn { padding: 7px 11px; }
  .meta-cat { display: none; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .term-search button { padding: 0 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -1rem; padding-right: 1rem; scrollbar-width: none; }
  .chips a { flex: none; }
  .hero-stats { gap: 8px; } .hero-stats div { padding: 10px; } .hero-stats b { font-size: 18px; } .hero-stats span { font-size: 12px; }
  .doors { grid-template-columns: 1fr; gap: 10px; }
  .door { padding: 16px; grid-template-columns: 48px 1fr; column-gap: 14px; }
  .door-ic { width: 48px; height: 48px; border-radius: 12px; } .door-ic svg { width: 28px; }
  .door em { margin-top: 4px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .grid { gap: 10px; grid-template-columns: 1fr 1fr; }
  .card .spec-mini, .card .cmp { display: none; }
  .card-body { padding: 10px 12px 12px; } .card h3 { font-size: 14px; } .price { font-size: 15px; }
  .card-media { height: 140px; padding: 24px 22%; } .card-media.photo { padding: 8px; }
  .seg { display: none; }
  .toolbar input[type=search] { min-width: 0; flex: 1 1 100%; }
  .news-list a, .news-list article { grid-template-columns: 1fr; gap: 2px; }
  .contact-grid, .brand-cards { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .qlines thead { display: none; }
  .qlines tr { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--line); }
  .qlines tbody tr:first-child { border-top: 0; }
  .qlines td { border: 0; padding: 8px 12px; }
  .qlines td.item { grid-column: 1 / -1; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; }
  .mobile-bar a { border: 0; padding: 14px; font-weight: 700; text-align: center; text-decoration: none; font-size: 14px; }
  .mobile-bar a:first-child { background: var(--brand); color: #fff; } .mobile-bar a:last-child { background: var(--accent); color: var(--ink); }
  body { padding-bottom: 50px; }
  .compare-tray { bottom: 60px; }
}
@media print {
  .site-header, .site-footer, .mobile-bar, .preview-flag, .page-head, .no-print, .toast, .compare-tray { display: none !important; }
  body { background: #fff; padding: 0; font-size: 12px; }
  .print-only { display: block; }
  .quote-layout { display: block; }
  .qlines { border-radius: 0; }
  .qlines input { border: 0; padding: 0; width: auto; }
  .qlines td.item svg { display: none; }
  .wrap { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.cmp-box { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 8px 14px; font-size: 14px; }

/* product options (rows sharing a "group" in products.csv) */
.opt-mini { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 6px; }
.opt-mini span { font-size: 12px; font-weight: 600; color: var(--brand); background: var(--soft); border-radius: 999px; padding: 2px 9px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 12px; align-items: stretch; }
.opts-label { width: 100%; font-size: 13px; font-weight: 700; color: var(--muted); }
.opt { display: grid; gap: 1px; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 8px 14px; min-width: 92px; transition: border-color .15s, background .15s; }
.opt b { font-size: 14px; } .opt span { font-size: 12px; color: var(--muted); }
.opt:hover { border-color: var(--brand); }
.opt.on { border-color: var(--brand); background: var(--soft); box-shadow: inset 0 0 0 1px var(--brand); }
.opt.on span { color: var(--brand); }
@media (max-width: 760px) { .card .opt-mini span:nth-child(n+4) { display: none; } }
.price .or-rfq { font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
