/* ==========================================================================
   MHF Engineering Works — public website styles
   Mobile-first. Tokens → base → layout → components → pages → motion.
   No inline styles anywhere (strict CSP).
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #08382d;
  --ink-2: #0b4a3a;
  --ink-3: #11594a;
  --steel: #52645e;
  --steel-2: #82958e;
  --line: #e2e7ee;
  --line-2: #d3dae4;
  --bg: #f4f6f9;
  --bg-2: #eaeef3;
  --surface: #ffffff;
  --brand: #c9651c;
  --brand-600: #a9520f;
  --brand-50: #fdf3ea;
  --brand-100: #f8e1cc;
  --amber: #f2a541;
  --ok: #17845c;
  --wa: #1fa855;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(8, 56, 45, .06), 0 1px 1px rgba(8, 56, 45, .04);
  --shadow: 0 10px 30px -12px rgba(8, 56, 45, .22), 0 2px 6px rgba(8, 56, 45, .05);
  --shadow-lg: 0 30px 60px -20px rgba(8, 56, 45, .35);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', 'Cascadia Mono', Consolas, monospace;
  --container: 1240px;
  --gutter: 20px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
main:focus { outline: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }
/* RFQ list switched off in Settings: hide its entry points. */
.no-rfq [data-rfq-add] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 860px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--ink); color: #dbe2ec; }
.mt-4 { margin-top: 16px !important; } .mt-6 { margin-top: 24px !important; } .mt-8 { margin-top: 40px !important; }
.text-center { text-align: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow.is-light { color: #f6a35a; }
.lead { font-size: 1.12rem; color: var(--steel); }
.code-chip { display: inline-flex; margin: 0; padding: 3px 9px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-3); background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn { --bh: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: var(--bh); padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 650; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn-xs { --bh: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.btn-xs .icon { width: 15px; height: 15px; }
.btn-lg { --bh: 54px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(201, 101, 28, .7); }
.btn-primary:hover { background: var(--brand-600); box-shadow: 0 12px 26px -8px rgba(201, 101, 28, .8); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-soft { background: var(--brand-50); color: var(--brand-600); border-color: var(--brand-100); }
.btn-soft:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-soft.is-added { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #178c46; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading .icon { animation: spin 1s linear infinite; }
.icon-btn { display: inline-grid; place-items: center; position: relative; width: 42px; height: 42px; padding: 0; border: 1px solid transparent; border-radius: 12px; background: transparent; color: inherit; text-decoration: none; transition: background .2s, border-color .2s; }
.icon-btn:hover { background: var(--bg-2); }
.icon-btn .icon { width: 20px; height: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14px; color: var(--ink); text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover .icon { transform: translateX(4px); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; }
.badge-brand { background: var(--brand); color: #fff; }
.badge-soft { background: var(--bg-2); color: var(--steel); }

/* ---- Utility bar & header ---------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }
/* ---------- Announcement marquee (Admin → Marquee) ---------- */
.marquee { position: relative; z-index: 101; display: flex; align-items: center; background: var(--brand, #c9651c); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .01em; }
.marquee-viewport { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll var(--marquee-duration, 45s) linear infinite; }
.marquee-slow { --marquee-duration: 70s; }
.marquee-fast { --marquee-duration: 26s; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.marquee-list li { display: inline-flex; align-items: center; white-space: nowrap; padding: 8px 0; }
.marquee-list li::after { content: ''; width: 6px; height: 6px; margin-inline: 22px; background: rgba(255, 255, 255, .75); transform: rotate(45deg); }
.marquee a { color: #fff; text-decoration: none; }
.marquee a:hover, .marquee a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.marquee-toggle { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 34px; background: rgba(0, 0, 0, .12); border: 0; color: #fff; cursor: pointer; }
.marquee-toggle:hover { background: rgba(0, 0, 0, .22); }
.marquee-toggle .icon { width: 13px; height: 13px; }
.marquee-toggle .i-play { display: none; }
.marquee.is-paused .marquee-toggle .i-play { display: block; }
.marquee.is-paused .marquee-toggle .i-pause { display: none; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.marquee-static .marquee-track { animation: none; width: auto; }
.marquee-static .marquee-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scrollbar-width: none; }
.marquee-static .marquee-list[aria-hidden="true"], .marquee-static .marquee-toggle { display: none; }
@media print { .marquee { display: none !important; } }

.utility-bar { display: none; background: var(--ink); color: #b3cbc3; font-size: 13px; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 22px; }
.utility-bar span, .utility-bar a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.utility-bar a:hover { color: #fff; }
.utility-bar .icon { width: 14px; height: 14px; color: #f6a35a; }
.social { display: inline-flex; gap: 6px; }
.social a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; }
.utility-social a .icon { color: #b3cbc3; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(8, 56, 45, .45); }
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand-logo { display: block; height: 58px; width: auto; }
.site-footer .brand-logo { height: 56px; }
.main-nav { display: none; margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--ink-3); text-decoration: none; border-radius: 10px; }
.nav-link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav-link::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after, .has-menu.is-open .nav-link::after { transform: scaleX(1); }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.has-menu.is-open .nav-link .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-cta { display: none; margin-left: 8px; }

/* Mega menu */
.has-menu { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s; }
.has-menu.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; grid-template-columns: 280px 1fr; gap: 36px; padding-top: 30px; padding-bottom: 34px; }
.mega-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 30px; border-right: 1px solid var(--line); }
.mega-title { margin: 0; font-size: 22px; font-weight: 750; line-height: 1.2; letter-spacing: -.02em; }
.mega-copy { margin: 0 0 6px; font-size: 14px; color: var(--steel); }
.mega-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; max-height: 62vh; overflow: auto; }
.mega-cat { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.mega-cat:hover { background: var(--bg); }
.mega-cat-media { width: 52px; height: 52px; flex: none; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.mega-cat-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega-cat:hover .mega-cat-img { transform: scale(1.08); }
.mega-cat-text { display: grid; line-height: 1.3; }
.mega-cat-name { font-weight: 650; font-size: 14.5px; }
.mega-cat-count { font-size: 12.5px; color: var(--steel-2); }

/* Drawer (mobile menu) */
.drawer { position: fixed; inset: 0; z-index: 150; }
/* Hide the DigiBot chat widget while the side menu is open. */
body:has(.drawer:not([hidden])) #ai-bot-widget-container { display: none !important; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 56, 45, .5); opacity: 0; transition: opacity .3s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); display: flex; flex-direction: column; background: var(--surface); transform: translateX(100%); transition: transform .4s var(--ease); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 10px 18px; }
.drawer-group summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; font-size: 17px; list-style: none; cursor: pointer; border-bottom: 1px solid var(--line); }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group[open] summary .icon { transform: rotate(180deg); }
.drawer-cats { list-style: none; padding: 8px 0; }
.drawer-cats a { display: flex; justify-content: space-between; padding: 9px 4px; text-decoration: none; color: var(--ink-3); font-size: 15px; }
.drawer-cats span { color: var(--steel-2); font-size: 13px; }
.drawer-links { list-style: none; }
.drawer-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 17px; }
.drawer-link .icon { color: var(--steel-2); }
.drawer-link.is-active { color: var(--brand); }
.drawer-foot { padding: 16px 18px 22px; border-top: 1px solid var(--line); }
.drawer-contact { display: grid; gap: 10px; margin-top: 14px; font-size: 14px; }
.drawer-contact a { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--steel); }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 160; }
.search-backdrop { position: absolute; inset: 0; background: rgba(8, 56, 45, .55); backdrop-filter: blur(4px); }
.search-panel { position: relative; width: min(760px, calc(100% - 24px)); margin: 10vh auto 0; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; animation: pop .35s var(--ease); }
.search-form { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.search-icon { width: 22px; height: 22px; color: var(--steel-2); }
.search-input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; font-size: 18px; background: transparent; }
.search-results { max-height: 55vh; overflow: auto; padding: 10px; }
.search-hint { margin: 0; padding: 14px 10px; color: var(--steel); font-size: 14px; }
.search-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; text-decoration: none; }
.search-item:hover, .search-item.is-active { background: var(--bg); }
.search-thumb { width: 52px; height: 52px; flex: none; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.search-thumb .img { width: 100%; height: 100%; object-fit: cover; }
.search-name { display: block; font-weight: 650; line-height: 1.3; }
.search-meta { display: block; font-size: 13px; color: var(--steel); }
.search-all { display: flex; justify-content: center; padding: 12px; font-weight: 650; color: var(--brand); text-decoration: none; }

/* Breadcrumbs */
.crumbs { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 12px 0; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--steel); }
.crumbs li + li::before { content: '/'; color: var(--line-2); margin-right: 2px; }
.crumbs a { text-decoration: none; color: var(--steel); }
.crumbs a:hover { color: var(--brand); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* ---- Sections & headings ------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.section-head.is-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-text { max-width: 720px; }
.section-title { margin: 0; font-size: clamp(28px, 4.2vw, 44px); font-weight: 780; letter-spacing: -.03em; }
.section-lead { margin: 14px 0 0; font-size: 1.08rem; color: var(--steel); }
.section-head.is-light .section-title { color: #fff; }
.section-head.is-light .section-lead { color: #a9c4bb; }

/* Interior hero */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, #176a56 0%, transparent 60%), linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding: 64px 0 56px; isolation: isolate; }
.page-hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000 0%, transparent 95%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 95%); }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--brand) 0 22%, transparent 22%); }
.page-hero-media { position: absolute; inset: 0 0 0 auto; width: 46%; z-index: -1; opacity: .35; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; } /* top-anchored: keeps photo badges out of the faded banner */
.page-hero-inner { position: relative; }
.page-title { max-width: 860px; margin: 0; font-size: clamp(32px, 5.4vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; }
.page-lead { max-width: 720px; margin: 18px 0 0; font-size: 1.12rem; color: #bcd2ca; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; font-size: 13.5px; color: #d7e5df; background: rgba(255, 255, 255, .04); }
.hero-chip .icon { width: 16px; height: 16px; color: #f6a35a; }

/* ---- Home hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 600px at 78% 35%, #176a56 0%, transparent 65%), radial-gradient(600px 400px at 10% 110%, rgba(201, 101, 28, .25), transparent 70%), linear-gradient(160deg, #06302a, #0c4d3d); }
.hero-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero-slides { position: relative; display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; gap: 28px; align-items: center; padding-top: 56px; padding-bottom: 96px; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-copy { max-width: 640px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; margin-bottom: 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; font-size: 13px; color: #cbdad4; background: rgba(255, 255, 255, .04); }
.hero-kicker b { padding: 3px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(36px, 6.4vw, 72px); font-weight: 820; line-height: 1.02; letter-spacing: -.04em; }
.hero-title em { font-style: normal; color: #f39a4c; }
.hero-text { margin: 22px 0 0; max-width: 560px; font-size: 1.15rem; color: #bcd2ca; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual { position: relative; justify-self: center; width: min(520px, 100%); aspect-ratio: 1; }
.hero-ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: spin 60s linear infinite; }
.hero-ring.is-2 { inset: 16%; border-style: solid; border-color: rgba(255, 255, 255, .08); animation-duration: 90s; animation-direction: reverse; }
.hero-frame { position: absolute; inset: 14%; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); transform: rotate(-3deg); transition: transform .8s var(--ease); }
.hero-slide.is-active .hero-frame { transform: rotate(0); }
.hero-frame .img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(11, 74, 58, .86); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; color: #e6ecf5; box-shadow: var(--shadow); }
.hero-tag .icon { color: #f6a35a; }
.hero-tag.is-a { left: 0; top: 18%; }
.hero-tag.is-b { right: 0; bottom: 16%; }
/* Full-image slide (traditional slider): media covers the slide, text on a green fade. */
.hero-slide.is-full { display: block; position: relative; padding: 0; min-height: min(78vh, 760px); }
.hero-full-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-full-media picture { display: block; width: 100%; height: 100%; }
.hero-full-media .hero-full-img, .hero-full-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide.is-full::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 56, 45, .85) 0%, rgba(8, 56, 45, .5) 40%, rgba(8, 56, 45, 0) 70%); }
.hero-slide.is-full.is-media-only::before { display: none; }
.hero-full-inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding-top: 72px; padding-bottom: 110px; }
.hero-slide.is-full.is-active .hero-full-img { animation: hero-zoom 9s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 34px; }
.hero-dots .container { display: flex; gap: 10px; align-items: center; }
.hero-arrows { display: flex; gap: 8px; margin-left: 14px; } /* beside the dots: the right corner holds WhatsApp + chat */
.hero-arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); background: rgba(8, 56, 45, .35); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, border-color .2s; }
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--brand); border-color: var(--brand); }
.hero-arrow .icon { width: 20px; height: 20px; }
.hero-dot { position: relative; width: 56px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.hero-dot::after { content: ''; position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: fill var(--interval, 6500ms) linear forwards; }
.hero-strip { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 24px 18px; border-right: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.stat-value { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat-label { font-size: 13.5px; color: #93b3a8; }
.stats.is-light .stat { border-color: var(--line); }
.stats .stat:nth-child(2n) { border-right: 0; }
.stats.is-light .stat-value { color: var(--ink); }
.stats.is-light .stat-label { color: var(--steel); }

/* Marquee of categories */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; list-style: none; }
.ticker-list li { display: inline-flex; align-items: center; gap: 18px; padding: 18px 26px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: var(--ink-3); white-space: nowrap; }
.ticker-list li::after { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); margin-left: 26px; }
.ticker-list a { text-decoration: none; }
.ticker-list a:hover { color: var(--brand); }

/* ---- Cards ---------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
/* Grid children may shrink below their content width (tables, chips, long words). */
.product-top > *, .catalogue > *, .rfq-layout > *, .contact-layout > *, .split > *, .grid > *, .hero-slide > *, .footer-grid > * { min-width: 0; }
.product-title, .page-title, .hero-title { overflow-wrap: anywhere; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3, .grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); transition: box-shadow .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.product-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.product-card-media { position: relative; display: block; aspect-ratio: 1 / .86; background: radial-gradient(circle at 50% 45%, #fff 0%, #eef1f5 75%); overflow: hidden; }
.product-card-img { width: 100%; height: 100%; object-fit: contain; padding: 14px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.product-card:hover .product-card-img { transform: scale(1.07); }
.product-card-media .badge { position: absolute; top: 12px; left: 12px; }
.product-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 16px 14px; border-top: 1px solid var(--line); }
.product-card-cat { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.product-card-title { margin: 0; font-size: 15.5px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }
.product-card-title a { text-decoration: none; background-image: linear-gradient(var(--brand), var(--brand)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .4s var(--ease); }
.product-card:hover .product-card-title a { background-size: 100% 2px; }
.product-card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card .code-chip { align-self: flex-start; }
.product-card-actions { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }

.img-placeholder { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; width: 100%; height: 100%; overflow: hidden; color: rgba(255, 255, 255, .72); background: radial-gradient(120% 90% at 50% 0%, #145f4d 0%, var(--ink, #0a3f33) 70%); }
.img-placeholder::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; }
.img-placeholder .ph-mark { position: relative; width: 26%; max-width: 64px; aspect-ratio: 153 / 240; background: url('../img/brand/logo-mark.png') center / contain no-repeat; opacity: .9; }
.img-placeholder .ph-label { position: relative; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.img-placeholder.is-mini { gap: 0; }
.img-placeholder.is-mini .ph-mark { width: 36%; max-width: none; }

.category-card { position: relative; display: flex; flex-direction: column; min-height: 320px; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); color: #fff; text-decoration: none; isolation: isolate; }
.category-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.category-card:hover::before { opacity: 1; }
.category-card-media { position: absolute; inset: 0; z-index: -1; background: #fff; }
.category-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.category-card:hover .category-card-img { transform: scale(1.06); }
.category-card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 56, 45, 0) 25%, rgba(8, 56, 45, .92) 100%); }
.category-card-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding: 22px; }
.category-card-count { align-self: flex-start; padding: 4px 10px; font-size: 12px; font-weight: 700; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.category-card-title { font-size: 22px; font-weight: 780; letter-spacing: -.02em; line-height: 1.15; }
.category-card-text { font-size: 14px; color: #c6d8d1; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.category-card:hover .category-card-text, .category-card:focus-visible .category-card-text { max-height: 90px; opacity: 1; }
.category-card-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 700; color: #f8b273; }
.category-card-cta .icon { transition: transform .35s var(--ease); }
.category-card:hover .category-card-cta .icon { transform: translate(3px, -3px); }
.bento { display: grid; gap: 18px; grid-template-columns: 1fr; }

.industry-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.industry-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), var(--brand-50), transparent 55%); opacity: 0; transition: opacity .3s; }
.industry-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-card:hover::before { opacity: 1; }
.industry-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; transition: background .3s; }
.industry-card:hover .industry-icon { background: var(--brand); }
.industry-icon .icon { width: 24px; height: 24px; }
.industry-name { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.industry-text { font-size: 14px; color: var(--steel); }
.industry-arrow { position: absolute; top: 20px; right: 20px; color: var(--line-2); transition: color .3s, transform .3s var(--ease); }
.industry-card:hover .industry-arrow { color: var(--brand); transform: translate(3px, -3px); }

.feature { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 12px; background: rgba(201, 101, 28, .15); color: #f6a35a; }
.feature h3 { margin: 0 0 6px; font-size: 17px; color: #fff; }
.feature p { margin: 0; font-size: 14.5px; color: #a9c4bb; }

/* Own range split */
.split { display: grid; gap: 36px; align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); aspect-ratio: 4 / 3.4; }
.split-media .img { width: 100%; height: 100%; object-fit: cover; }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; background: var(--surface); transition: border-color .2s, color .2s; }
.pill-link:hover { border-color: var(--brand); color: var(--brand); }

/* Process */
.process { display: grid; gap: 16px; counter-reset: step; list-style: none; }
.process-step { position: relative; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.process-step::before { content: '0' counter(step); display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--brand); }
.process-step h3 { margin: 0 0 6px; font-size: 17px; }
.process-step p { margin: 0; color: var(--steel); font-size: 14.5px; }
.process-step .icon { position: absolute; top: 22px; right: 22px; width: 26px; height: 26px; color: var(--line-2); }

/* Card rail */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 72%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
.rail-controls { display: flex; align-items: center; gap: 10px; }
.rail-btn { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; background: var(--surface); transition: background .2s, border-color .2s, color .2s; }
.rail-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-progress { height: 3px; margin-top: 18px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail-bar { height: 100%; background: var(--brand); transform: scaleX(.1); transform-origin: left; transition: transform .3s var(--ease); }

/* Gallery / lightbox */
.gallery-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.gallery-item { position: relative; display: block; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); cursor: zoom-in; }
.gallery-item .img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover .img { transform: scale(1.06); }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; font-size: 13.5px; font-weight: 600; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(8, 56, 45, .85)); transform: translateY(100%); transition: transform .4s var(--ease); }
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 180; display: grid; grid-template-rows: 1fr auto; background: rgba(4, 30, 24, .94); color: #fff; animation: fade .3s; }
.lightbox-stage { display: grid; place-items: center; padding: 56px 56px 10px; min-height: 0; }
.lightbox-img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; background: #fff; animation: pop .35s var(--ease); }
.lightbox-bar { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px; font-size: 14px; color: #bcd2ca; }
.lightbox .icon-btn { color: #fff; }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lightbox-close { position: absolute; top: 12px; right: 12px; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox-prev { left: 10px; } .lightbox-next { right: 10px; }
.album-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.album-tab { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; text-decoration: none; }
.album-tab.is-active, .album-tab:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Accordion */
.accordion { display: grid; gap: 10px; }
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.accordion-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.accordion-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 650; list-style: none; cursor: pointer; }
.accordion-item summary::-webkit-details-marker { display: none; }
.acc-icon { color: var(--brand); transition: transform .3s var(--ease); }
.accordion-item[open] .acc-icon { transform: rotate(45deg); }
.accordion-body { padding: 0 20px 18px; color: var(--steel); }
.faq-group-title { margin: 34px 0 14px; font-size: 20px; }

/* Prose */
.prose { color: #2c4a42; font-size: 1.03rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.6em 0 .55em; font-size: 1.5rem; color: var(--ink); }
.prose h3 { margin: 1.4em 0 .5em; font-size: 1.2rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { color: var(--brand); }
.prose a { color: var(--brand-600); }
.prose em { color: var(--steel); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--brand); color: var(--ink-3); }

/* CTA band */
.cta-band { padding: 0 0 72px; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 36px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--brand) 0%, #9a4a0e 100%); color: #fff; position: relative; overflow: hidden; }
.cta-inner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); }
.cta-copy { position: relative; z-index: 1; max-width: 640px; }
.cta-copy h2 { margin: 0 0 6px; font-size: clamp(24px, 3.2vw, 32px); }
.cta-copy p { margin: 0; color: #fde6d2; }
.cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-600); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }

/* Empty states */
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 56px 24px; text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state h3 { margin: 8px 0 0; font-size: 20px; }
.empty-state p { margin: 0; max-width: 480px; color: var(--steel); }
.empty-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--bg-2); color: var(--steel); }
.empty-icon .icon { width: 30px; height: 30px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }

/* ---- Catalogue ------------------------------------------------------------- */
.catalogue { display: grid; gap: 28px; }
.filters { display: grid; gap: 18px; align-content: start; }
.filter-toggle { display: inline-flex; }
.filters-panel { display: grid; gap: 22px; }
.filter-block h3 { margin: 0 0 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); }
.filter-list { display: grid; gap: 2px; list-style: none; max-height: 380px; overflow: auto; }
.filter-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; font-size: 14.5px; text-decoration: none; color: var(--ink-3); }
.filter-link span { font-size: 12.5px; color: var(--steel-2); }
.filter-link:hover { background: var(--bg); }
.filter-link.is-active { background: var(--ink); color: #fff; font-weight: 650; }
.filter-link.is-active span { color: #bcd2ca; }
.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.toolbar-count { margin: 0; color: var(--steel); font-size: 14.5px; }
.toolbar-count strong { color: var(--ink); }
.toolbar-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-box { position: relative; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--steel-2); }
.search-box .input { padding-left: 42px; min-width: 280px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px; font-size: 13px; font-weight: 600; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); text-decoration: none; }
.filter-chip .icon { width: 14px; height: 14px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.page-link { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; text-decoration: none; font-weight: 600; background: var(--surface); }
.page-link:hover { border-color: var(--ink); }
.page-link.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-link.is-disabled { opacity: .4; }
.page-gap { display: grid; place-items: center; width: 24px; color: var(--steel-2); }
.category-intro { display: grid; gap: 22px; margin-bottom: 36px; padding: 24px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }

/* Styled selects created by fx.js */
.xsel { position: relative; min-width: 180px; }
.xsel select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.xsel-button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); text-align: left; font-size: 14.5px; }
.xsel-chev { width: 9px; height: 9px; border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
.xsel.is-open .xsel-chev { transform: rotate(-135deg); }
.xsel-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow: auto; list-style: none; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.xsel.opens-up .xsel-list { top: auto; bottom: calc(100% + 6px); }
.xsel-option { padding: 9px 12px; border-radius: 8px; font-size: 14.5px; cursor: pointer; }
.xsel-option.is-active { background: var(--bg); }
.xsel-option[aria-selected="true"] { font-weight: 700; color: var(--brand-600); }
.xsel-group { padding: 8px 12px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }

/* ---- Product page ---------------------------------------------------------- */
.product-top { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 56px; }
.product-info .code-chip { align-self: flex-start; }
.quick-spec:last-child:nth-child(odd) { grid-column: 1 / -1; }
a.chip { text-decoration: none; transition: border-color .2s, color .2s; }
a.chip:hover { border-color: var(--brand); color: var(--brand); }
button.link-arrow { padding: 0; border: 0; background: none; cursor: pointer; }
.product-gallery { display: grid; gap: 12px; align-content: start; }
.gallery-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 45%, #fff 0%, #eef1f5 80%); aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.gallery-main .img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; transition: opacity .3s, transform .2s ease-out; }
.gallery-zoom-hint { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; border-radius: 999px; background: rgba(255, 255, 255, .9); color: var(--steel); box-shadow: var(--shadow-sm); }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 76px; height: 76px; flex: none; padding: 0; border: 2px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .2s; }
.gallery-thumb .img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery-thumb.is-active, .gallery-thumb:hover { border-color: var(--brand); }
.product-info { display: flex; flex-direction: column; gap: 18px; }
.product-cat-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: 13px; font-weight: 700; text-decoration: none; }
.product-title { margin: 0; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.product-summary { margin: 0; font-size: 1.08rem; color: var(--steel); }
.quick-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.quick-spec { padding: 14px 16px; background: var(--surface); }
.quick-spec dt { margin: 0 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.quick-spec dd { margin: 0; font-size: 14.5px; font-weight: 600; }
.option-group h3 { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--steel); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 11px; font-size: 13px; font-weight: 600; font-family: var(--mono); border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.chip.is-material { font-family: var(--font); background: var(--bg); }
.chip.is-pick { cursor: pointer; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.chip.is-pick:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-pick[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.product-cta { display: flex; flex-wrap: nowrap; gap: 10px; padding-top: 6px; }
.product-cta .btn { flex: 1 1 auto; min-width: 0; padding-inline: 18px; white-space: nowrap; }
.lbl-narrow { display: none; }
.product-assure { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--steel); }
.product-assure span { display: inline-flex; align-items: center; gap: 7px; }
.product-assure .icon { color: var(--ok); width: 17px; height: 17px; }
.tabs { position: relative; }
.tab-list { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 4px; overflow-x: auto; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tab-list::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; padding: 16px 18px; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--steel); }
.tab[aria-selected="true"] { color: var(--ink); }
.tab-indicator { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--brand); border-radius: 3px; transition: transform .35s var(--ease), width .35s var(--ease); }
.tab-panel { padding: 36px 0 8px; }
.tab-panel:focus-visible { outline: none; }
.feature-list { display: grid; gap: 10px; list-style: none; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.feature-list li { display: flex; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 14.5px; }
.feature-list .icon { color: var(--brand); margin-top: 3px; }
.spec-list { display: grid; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.spec-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(odd) { background: var(--bg); }
.spec-row dt { font-weight: 700; font-size: 14px; }
.spec-row dd { margin: 0; font-size: 14.5px; color: #2c4a42; }
.spec-table { margin: 0 0 28px; }
.spec-table figcaption { margin-bottom: 10px; font-weight: 750; font-size: 16px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.spec-table thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.spec-table tbody th { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.spec-table tbody tr:nth-child(even) { background: var(--bg); }
.spec-table tbody tr:hover { background: var(--brand-50); }
.table-note, .product-notes { margin: 10px 0 0; font-size: 13.5px; color: var(--steel); }
.download-list { display: grid; gap: 10px; }
.download-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.download-item:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.download-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.download-text { flex: 1; min-width: 0; }
.download-title { display: block; font-weight: 700; }
.download-meta { display: block; font-size: 13px; color: var(--steel); }
.download-item > .icon { color: var(--steel-2); }

/* Downloads page */
.download-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.download-card .download-icon { width: 54px; height: 54px; }
.download-card h3 { margin: 0; font-size: 17px; }
.download-card p { margin: 0; font-size: 14px; color: var(--steel); }
.download-card .btn { margin-top: auto; align-self: flex-start; }
.cert-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cert-media { display: block; padding: 0; border: 0; aspect-ratio: 4 / 5; background: var(--bg); cursor: zoom-in; }
.cert-media .img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cert-body { padding: 18px; display: grid; gap: 6px; }
.cert-body h3 { margin: 0; font-size: 17px; }
.cert-body p { margin: 0; font-size: 14px; color: var(--steel); }

/* ---- Forms ------------------------------------------------------------------ */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 650; }
.req { color: var(--brand); }
.opt { font-weight: 500; color: var(--steel-2); font-size: 12.5px; }
.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
textarea.input { resize: vertical; min-height: 96px; }
.input:hover { border-color: #bacbc4; }
.input:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(8, 56, 45, .08); }
.input.is-invalid { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(201, 101, 28, .12); }
.field-error { margin: 0; font-size: 13px; font-weight: 600; color: var(--brand-600); }
.form-error { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); font-weight: 600; font-size: 14px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form-note { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 13px; color: var(--steel); }
.form-note .icon { color: var(--ok); }
.form-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 22px; }
.form-success { display: grid; justify-items: center; gap: 10px; padding: 30px 10px; text-align: center; animation: pop .4s var(--ease); }
.form-success:focus { outline: none; }
.form-success h3 { margin: 0; font-size: 24px; }
.form-success p { margin: 0; color: var(--steel); max-width: 460px; }
.success-icon { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #e6f6ef; color: var(--ok); }
.success-icon .icon { width: 36px; height: 36px; }
.success-ref strong { font-family: var(--mono); font-size: 16px; color: var(--ink); padding: 4px 10px; border-radius: 8px; background: var(--bg-2); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
.success-note { font-size: 13px; }

/* Dialog */
.dialog { width: min(760px, calc(100% - 20px)); max-height: calc(100% - 20px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); }
.dialog::backdrop { background: rgba(8, 56, 45, .6); backdrop-filter: blur(3px); }
.dialog[open] { animation: pop .35s var(--ease); }
.dialog-inner { position: relative; padding: 28px 22px 24px; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.dialog-head { margin-bottom: 20px; padding-right: 40px; }
.dialog-head h2 { margin: 0 0 8px; font-size: 24px; }

/* RFQ page */
.rfq-layout { display: grid; gap: 28px; align-items: start; }
.rfq-items { display: grid; gap: 12px; }
.rfq-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); animation: pop .35s var(--ease); }
.rfq-thumb { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--bg-2); }
.rfq-thumb .img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.rfq-name { margin: 0 0 4px; font-weight: 700; line-height: 1.3; }
.rfq-name a { text-decoration: none; }
.rfq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; grid-column: 1 / -1; }
.rfq-fields .input { min-height: 42px; padding: 8px 12px; font-size: 14px; }
.rfq-fields label { font-size: 12.5px; font-weight: 650; color: var(--steel); }
.rfq-remove { color: var(--steel); }
.rfq-remove:hover { color: var(--brand); background: var(--brand-50); }
.rfq-add-custom { display: flex; gap: 10px; }
.rfq-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.rfq-empty { padding: 34px 20px; }

/* Contact */
.contact-layout { display: grid; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-card .feature-icon { background: var(--brand-50); color: var(--brand); }
.contact-card h3 { margin: 0 0 4px; font-size: 15px; }
.contact-card p, .contact-card a { margin: 0; font-size: 14.5px; color: var(--steel); text-decoration: none; }
.contact-card a:hover { color: var(--brand); }

/* ---- Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #a9c4bb; }
.footer-cta { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.footer-cta-title { margin: 0; max-width: 640px; font-size: clamp(24px, 3.4vw, 36px); color: #fff; letter-spacing: -.03em; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-grid { display: grid; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-about p { margin: 18px 0; font-size: 14.5px; max-width: 380px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px; color: #fff; transition: background .2s, border-color .2s; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); }
.footer-title { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.footer-links { display: grid; gap: 9px; list-style: none; font-size: 14.5px; }
.footer-links a, .footer-contact a { text-decoration: none; color: #a9c4bb; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; list-style: none; font-size: 14.5px; }
.footer-contact li { display: flex; gap: 10px; min-width: 0; }
.footer-contact li > :not(.icon) { min-width: 0; overflow-wrap: anywhere; }
.footer-contact .icon { margin-top: 4px; color: #f6a35a; width: 16px; height: 16px; }
.footer-muted a { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; padding-bottom: 22px; }
.footer-bottom p { margin: 0; }
.footer-legal { margin-left: 6px; color: #7f9a91; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-meta a { color: #a9c4bb; text-decoration: none; }
.footer-meta a:hover { color: #fff; }
.footer-meta .footer-credit { color: #ec9a5c; font-weight: 600; }
.footer-meta .footer-credit:hover { color: #f6bd8f; }

/* Dock & toasts */
/* Floating buttons. DigiBot's launcher is 60px at right:24px / bottom:52px, so WhatsApp sits centred
   just above it and back-to-top takes the free bottom-left corner. */
.dock { display: contents; }
.dock-btn { position: fixed; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .3s var(--ease); }
.dock-btn:hover { transform: translateY(-3px); }
.dock-btn .icon { width: 24px; height: 24px; }
.dock-whatsapp { right: 31px; bottom: 126px; background: var(--wa); }
/* Back to top: bottom-left, appears after scrolling. */
.dock-top { left: 18px; bottom: 20px; }
.dock-top { border: 0; cursor: pointer; background: var(--ink); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, visibility .25s, transform .3s var(--ease); }
.dock-top.is-visible { opacity: 1; visibility: visible; transform: none; }
/* Page-scroll progress ring: a white track and a copper bar, so the button stands out on green sections too. */
.dock-ring { position: absolute; top: -2px; left: -2px; width: calc(100% + 4px); height: calc(100% + 4px); max-width: none; transform: rotate(-90deg); pointer-events: none; filter: drop-shadow(0 0 1px rgba(8, 56, 45, .35)); }
.dock-ring circle { fill: none; stroke-width: 2.5; }
.dock-ring-track { stroke: #fff; }
.dock-ring-bar { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.dock-top.is-visible:hover { transform: translateY(-3px); }
.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 200; display: grid; gap: 8px; transform: translateX(-50%); width: min(420px, calc(100% - 24px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-lg); animation: toast-in .4s var(--ease); pointer-events: auto; }
.toast .icon { color: #5fd3a0; }
.toast a { color: #f8b273; font-weight: 700; margin-left: auto; }
.toast.is-leaving { animation: toast-out .3s forwards; }

/* ---- Motion (fx.js) ---------------------------------------------------------- */
.fx-ready [data-reveal]:not(.in-view) { opacity: 0; }
.fx-ready [data-reveal="up"]:not(.in-view), .fx-ready [data-reveal=""]:not(.in-view) { transform: translateY(28px); }
.fx-ready [data-reveal="left"]:not(.in-view) { transform: translateX(-36px); }
.fx-ready [data-reveal="right"]:not(.in-view) { transform: translateX(36px); }
.fx-ready [data-reveal="zoom"]:not(.in-view) { transform: scale(.94); }
.fx-ready [data-reveal="clip"]:not(.in-view) { clip-path: inset(0 0 100% 0); opacity: 1; }
[data-reveal] { transition: opacity .8s var(--ease), transform .9s var(--ease), clip-path 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.is-split .wi { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.is-split.in-view .wi { transform: none; }
.fx-reduced .is-split .wi { transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, .5), var(--shadow); } 50% { box-shadow: 0 0 0 12px rgba(31, 168, 85, 0), var(--shadow); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---- Responsive ------------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats .stat:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .stats.is-light .stat:nth-child(2n) { border-right-color: var(--line); }
  .stats .stat:nth-child(4n) { border-right: 0; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field.is-wide { grid-column: 1 / -1; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .rail-track { grid-auto-columns: minmax(240px, 44%); }
  .rfq-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .spec-row { grid-template-columns: 240px 1fr; gap: 20px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .dialog-inner { padding: 34px 34px 28px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .section { padding: 100px 0; }
  .header-cta { display: inline-flex; }
  .hero-slide { grid-template-columns: 1.1fr .9fr; padding-top: 80px; padding-bottom: 120px; min-height: min(78vh, 760px); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .catalogue { grid-template-columns: 270px 1fr; gap: 36px; }
  .filters { position: sticky; top: calc(var(--header-h) + 18px); max-height: calc(100vh - var(--header-h) - 36px); overflow: auto; padding-right: 6px; }
  .filter-toggle { display: none; }
  .filters-panel[hidden] { display: grid !important; }
  .product-top { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 48px; }
  .quick-specs { grid-template-columns: repeat(2, 1fr); }
  .product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .rail-track { grid-auto-columns: minmax(240px, calc(25% - 14px)); }
  .rfq-layout { grid-template-columns: 1fr 440px; }
  .contact-layout { grid-template-columns: 380px 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .process { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
  .bento .category-card { min-height: 0; }
  .bento .is-wide { grid-column: span 2; }
  .bento .is-tall { grid-row: span 2; }
  .category-intro { grid-template-columns: 1.4fr 1fr; align-items: center; }
}
@media (min-width: 1100px) {
  .utility-bar { display: block; }
  .main-nav { display: block; }
  .menu-btn { display: none; }
  .header-actions { margin-left: 8px; }
}
@media (max-width: 1099px) {
  .mega { display: none; }
}

@media print {
  .site-header, .utility-bar, .site-footer, .dock, .product-cta, .tab-list, .crumbs, .scroll-progress { display: none !important; }
  .tab-panel[hidden] { display: block !important; }
  body { color: #000; }
}

/* Social icons inside the light contact cards (footer styles are for a dark background) */
.contact-card .footer-social a { color: var(--ink); border-color: var(--line-2); }
.contact-card .footer-social a:hover { color: #fff; }
/*  ---- Phones (one block): tighter spacing, compact grids and forms ----  */
@media (max-width: 639px) {
  .brand-logo { height: 46px; }
  /* Two columns wherever it fits on phones */
  .footer-cta-actions, .cta-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .footer-cta-actions .btn, .cta-actions .btn { width: 100%; min-width: 0; padding-inline: 10px; font-size: 13.5px; white-space: nowrap; }
  .footer-cta-actions .btn .icon, .cta-actions .btn .icon { display: none; }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .contact-cards .contact-card { flex-direction: column; gap: 8px; }
  .contact-cards .contact-card:first-child, .contact-cards .contact-card:last-child { grid-column: 1 / -1; flex-direction: row; }
  .contact-cards .contact-card .feature-icon { width: 36px; height: 36px; }
  .contact-cards .contact-card p, .contact-cards .contact-card a { overflow-wrap: anywhere; font-size: 13.5px; }
  /* Why MHF: two cards per row, icon above the text */
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .feature-grid .feature { flex-direction: column; gap: 10px; padding: 14px; }
  .feature-grid .feature-icon { width: 38px; height: 38px; border-radius: 10px; }
  .feature-grid .feature-icon .icon { width: 18px; height: 18px; }
  .feature-grid .feature h3 { font-size: 14.5px; line-height: 1.25; }
  .feature-grid .feature p { font-size: 12.5px; line-height: 1.45; }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-arrows { gap: 6px; }
  .hero-slide.is-full { min-height: 560px; }
  .hero-slide.is-full::before { background: linear-gradient(180deg, rgba(8, 56, 45, 0) 30%, rgba(8, 56, 45, .88) 75%); }
  .hero-full-inner { align-items: flex-end; padding-top: 40px; padding-bottom: 64px; }
  .hero-tag { display: none; }
  .hero-visual { width: 48%; }
  .toolbar-form, .search-box, .search-box .input { width: 100%; min-width: 0; }
  .xsel { flex: 1; }
  .rfq-item { grid-template-columns: 52px 1fr auto; }
  .rfq-thumb { width: 52px; height: 52px; }
  .lightbox-stage { padding: 56px 12px 10px; }
  .cta-inner { padding: 22px; gap: 16px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bento .category-card, .category-card { min-height: 168px; border-radius: var(--radius); }
  .category-card-body { padding: 12px; gap: 4px; }
  .category-card-title { font-size: 15px; }
  .category-card-count { padding: 3px 8px; font-size: 11px; }
  .category-card-cta, .category-card-text { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-grid .product-card-body { padding: 10px 10px 12px; gap: 6px; }
  .product-grid .product-card-cat { font-size: 9.5px; letter-spacing: .06em; }
  .product-grid .product-card-title { font-size: 13.5px; }
  .product-grid .product-card-img { padding: 8px; }
  .product-grid .product-card-media .badge { top: 8px; left: 8px; font-size: 9.5px; padding: 3px 7px; }
  .product-grid .code-chip { font-size: 10.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .product-grid .product-card-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .product-grid .product-card-actions .link-arrow { display: none; }
  .product-grid .product-card-actions .btn { justify-content: center; width: 100%; }
  .img-placeholder .ph-label { font-size: .6rem; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .industry-grid .industry-card { padding: 14px; gap: 8px; }
  .industry-grid .industry-icon { width: 40px; height: 40px; border-radius: 11px; }
  .industry-grid .industry-icon .icon { width: 20px; height: 20px; }
  .industry-grid .industry-name { font-size: 14.5px; line-height: 1.3; }
  .industry-grid .industry-text { display: none; }
  .industry-grid .industry-arrow { top: 12px; right: 12px; }
  :root { --gutter: 18px; }
  .marquee { font-size: 12px; }
  .marquee-list li { padding: 6px 0; }
  .marquee-list li::after { margin-inline: 16px; width: 5px; height: 5px; }
  .marquee-toggle { width: 34px; height: 28px; }
  .section { padding: 36px 0; }
  .section-sm { padding: 30px 0; }
  .section-head { gap: 12px; margin-bottom: 16px; }
  .section-title { line-height: 1.15; font-size: 22px; }
  .section-lead { margin-top: 8px; font-size: .97rem; }
  .eyebrow { margin-bottom: 8px; font-size: 11px; }
  .lead { font-size: 1rem; }
  .crumbs { font-size: 12.5px; }
  .crumbs ol { padding: 8px 0; }
  .hero-slide { gap: 10px; padding-top: 18px; padding-bottom: 46px; }
  .hero-kicker { font-size: 12px; margin-bottom: 10px; }
  .hero-title { line-height: 1.06; font-size: 27px; }
  .hero-text { font-size: .94rem; margin-top: 8px; }
  .hero-actions { gap: 8px; margin-top: 14px; }
  .hero-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; font-size: 14px; }
  .hero-ring { display: none; }
  .hero-frame { inset: 4%; border-radius: 20px; }
  .hero-dots { bottom: 16px; }
  .stat { padding: 14px 16px; }
  .stat-value { font-size: 24px; }
  .stat-label { font-size: 12px; }
  .ticker { display: none; }
  .page-hero { padding: 22px 0 20px; }
  .page-title { font-size: 25px; }
  .page-lead { font-size: .94rem; margin-top: 6px; }
  .page-hero .hero-chip { padding: 6px 11px; font-size: 12.5px; }
  .split { gap: 20px; }
  .split-media { aspect-ratio: 16 / 10; }
  .feature { padding: 14px; gap: 12px; }
  .feature h3 { font-size: 15.5px; margin-bottom: 3px; }
  .feature p { font-size: 13.5px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .process-step { padding: 14px; }
  .process-step::before { margin-bottom: 6px; }
  .process-step h3 { font-size: 15px; }
  .process-step p { font-size: 13px; }
  .process-step .icon { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cta-band { padding-bottom: 44px; }
  .cta-copy h2 { font-size: 22px; }
  .product-top { gap: 22px; padding-top: 20px; padding-bottom: 36px; }
  body:has(.cta-band) .footer-cta { display: none; }
  .footer-cta-inner { padding-top: 32px; padding-bottom: 32px; gap: 16px; }
  .footer-cta-title { font-size: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; padding-top: 34px; padding-bottom: 26px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-about p { margin: 12px 0; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .footer-title { margin-bottom: 10px; font-size: 11.5px; }
  .footer-links { gap: 7px; font-size: 13.5px; }
  .footer-links li:nth-child(n+6):not(:last-child) { display: none; }
  .footer-bottom-inner { padding-top: 14px; padding-bottom: 18px; font-size: 12px; }
  .toolbar { gap: 8px; margin-bottom: 14px; }
  .toolbar-count { font-size: 13.5px; }
  .finder { flex-wrap: nowrap; gap: 8px; }
  .finder .search-box { flex: 1 1 auto; width: auto; }
  .finder .xsel, .finder > select { flex: 0 0 40%; min-width: 0; }
  .finder [type="submit"] { display: none; }
  .rail-controls { display: none; }
  .gallery-grid.is-home > :nth-child(n+7) { display: none; }
  .dock-top { left: 12px; bottom: 14px; }
  .dock-btn { width: 46px; height: 46px; }
  .dock-btn .icon { width: 21px; height: 21px; }
  .form-card { border-radius: var(--radius); box-shadow: none; padding: 14px; }
  .form-card h2 { margin-bottom: 4px; font-size: 17px; }
  .form-card h3 { font-size: 16px; }
  .form-card .lead { font-size: .92rem; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 8px; }
  .form-grid > .field { grid-column: 1 / -1; }
  .form-grid > .field:has(:is([name="city"], [name="country"], [name="designation"], [name="industry"], [name="requiredBy"], [name="deliveryLocation"], [name="quantity"])) { grid-column: auto; }
  .field { gap: 4px; }
  .field label { font-size: 12px; }
  .field .opt { font-size: 11px; }
  .input { border-radius: 10px; min-height: 40px; padding: 7px 11px; font-size: 14.5px; }
  textarea.input { min-height: 0; }
  .form-actions { gap: 8px; margin-top: 14px; }
  .form-actions .btn { width: 100%; }
  .form-note { font-size: 12px; }
  .dialog-inner { padding: 20px 16px 16px; }
  .dialog-head h2 { font-size: 20px; }
  body.page-rfq .footer-cta, body.page-contact .footer-cta { display: none; }
  .rfq-layout, .contact-layout { gap: 16px; }
  .rfq-layout .prose, .contact-layout .prose { font-size: .95rem; }
  .empty-state { padding: 18px 16px; gap: 6px; }
  .empty-state .empty-icon { display: none; }
  .empty-state h3 { font-size: 17px; margin-top: 2px; }
  .empty-state p { font-size: 14px; }
  .rfq-add-custom { gap: 8px; }
  .contact-card { padding: 14px; gap: 12px; }
  .contact-card h3 { font-size: 15px; }
  .crumbs li[aria-current] { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .gallery-zoom-hint { display: none; }
  .product-title { font-size: 22px; }
  .product-summary { font-size: 15px; }
  .product-cta { flex-wrap: nowrap; gap: 8px; }
  .product-cta .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 14px; }
  .product-cta { gap: 6px; }
  .product-cta .btn { min-height: 44px; padding-inline: 8px; font-size: 13.5px; gap: 6px; }
  .product-cta .btn .icon { width: 16px; height: 16px; }
  .product-cta .lbl-wide { display: none; }
  .product-cta .lbl-narrow { display: inline; }
  .product-cta .btn-whatsapp { flex: 0 0 44px; padding-inline: 0; }
  .product-cta .btn-whatsapp .btn-label { display: none; }
  .feature-list { gap: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .feature-list li { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; font-size: 14px; }
  .feature-list li:last-child { border-bottom: 0; }
  .tab-list { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}
