/* ==========================================================================
   ALGA — Cable Ties & Fixing Solutions
   Palette from the brand board: #0F0F0F · #2E7D32 · #9A9A9A · #F5F5F5
   ========================================================================== */

/* Montserrat, self-hosted (SIL Open Font License — see assets/fonts/OFL.txt) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }

:root {
	--ink: #0F0F0F;
	--ink-2: #1A1A1A;
	--green: #2E7D32;
	--green-dark: #1F5E23;
	--green-light: #E8F2E9;
	--grey: #9A9A9A;
	--muted: #555555;
	--line: #E2E2E2;
	--soft: #F5F5F5;
	--white: #FFFFFF;
	--nylon: #E9E5DA;
	--radius: 4px;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 1px 2px rgba(15, 15, 15, .06), 0 12px 32px -12px rgba(15, 15, 15, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: #fff; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.container.narrow { max-width: calc(760px + 2 * var(--gutter)); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--light { color: #8FD694; }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--compact { padding: 36px 0; }
.section--grey { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-title { font-size: clamp(28px, 4vw, 44px); margin: 0; max-width: 18ch; }
.section-title--sm { font-size: clamp(22px, 2.6vw, 30px); max-width: none; }
.section-head--light .section-title { color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 4px; }
.link-arrow .icon { transition: transform .25s var(--ease); width: 18px; }
.link-arrow:hover { color: var(--green); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius); font-weight: 700; font-size: 15px; letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; background: none; }
.btn .icon { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2b2b2b; color: #fff; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-outline-light:hover { background: #fff; color: var(--green-dark); }
.btn-text { color: var(--ink); padding-left: 8px; padding-right: 8px; }
.btn-text:hover { color: var(--green); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.site-logo, .custom-logo-link { display: block; flex: 0 0 auto; }
.site-logo img, .custom-logo { width: auto; height: 34px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { display: block; padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; position: relative; }
.primary-nav .menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav .menu a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current-menu-ancestor > a::after, .primary-nav .current_page_item > a::after { transform: scaleX(1); }
.primary-nav .sub-menu { display: none; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s; overflow-y: auto; }
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open .nav-toggle .icon-menu { display: none; }
	.nav-open .nav-toggle .icon-close { display: block; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; }
	.primary-nav .menu a { font-size: 22px; font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.primary-nav .menu a::after { display: none; }
	.nav-cta { margin-top: 24px; min-height: 52px; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(48px, 8vw, 96px) 0 clamp(120px, 14vw, 170px); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 45%, rgba(46, 125, 50, .22), transparent 70%); }
.hero__chevron { position: absolute; width: 140px; height: 900px; top: -120px; transform: skewX(-38deg); }
.hero__chevron--green { right: 34%; background: linear-gradient(180deg, rgba(46, 125, 50, .55), rgba(46, 125, 50, 0) 85%); width: 90px; }
.hero__chevron--line { right: 22%; border-left: 1px solid rgba(255, 255, 255, .08); border-right: 1px solid rgba(255, 255, 255, .08); width: 260px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero__title { font-size: clamp(48px, 8.4vw, 104px); line-height: .95; letter-spacing: -.045em; margin: 0 0 24px; }
.hero__title::after { content: ""; display: block; width: 84px; height: 12px; margin-top: 26px; background: var(--green); transform: skewX(-38deg); transform-origin: left; }
.hero__text { font-size: clamp(17px, 1.6vw, 20px); color: #D3D3D3; max-width: 34em; line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 44px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__stats > div { padding: 18px 16px 0 0; }
.hero__stats > div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero__stats dt { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #A8A8A8; order: 2; }
.hero__stats dd { margin: 0 0 4px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.hero__stats dd small { font-size: .5em; font-weight: 600; margin-left: 3px; color: #A8A8A8; letter-spacing: 0; }
.hero__stats > div { display: flex; flex-direction: column-reverse; }

.hero__visual { position: relative; }
.tie-anim { position: relative; display: block; width: 100%; max-width: 560px; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; border-radius: 50%; }
.tie-anim svg { width: 100%; height: auto; overflow: visible; }
.tie-anim .cable { transform: translate(var(--dx), var(--dy)); animation: cable-in 1.5s var(--ease) .35s forwards; }
.tie-anim__strap { transform-origin: 260px 280px; transform: scale(1.32) rotate(-24deg); opacity: 0; animation: strap-in 1.5s var(--ease) .35s forwards; }
.tie-anim__tail { transform: translateX(-120px); animation: tail-out 1.5s var(--ease) .35s forwards; }
.tie-anim__pulse { fill: none; stroke: var(--green); stroke-width: 3; opacity: 0; transform-origin: 260px 280px; animation: pulse 1.1s ease-out 1.75s forwards; }
.tie-anim__label { position: absolute; left: 50%; bottom: 2%; transform: translate(-50%, 10px); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; opacity: 0; animation: label-in .5s var(--ease) 1.9s forwards; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.tie-anim__label .icon { width: 16px; height: 16px; }
.tie-anim.is-replay .cable, .tie-anim.is-replay .tie-anim__strap, .tie-anim.is-replay .tie-anim__tail, .tie-anim.is-replay .tie-anim__pulse, .tie-anim.is-replay .tie-anim__label { animation: none; }
/* Real-time 3D version (WebGL). The SVG above stays as the fallback. */
.tie-anim { aspect-ratio: 1; touch-action: pan-y; }
.tie3d { position: absolute; inset: -6%; display: block; }
.tie3d__canvas { width: 100%; height: 100%; display: block; cursor: grab; -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
.is-3d ~ .hero__chips li:nth-child(3) { display: none; }
.tie-anim:active .tie3d__canvas { cursor: grabbing; }
.tie-anim.is-3d { border-radius: 0; }
.tie-anim.is-3d svg { visibility: hidden; }
.tie-anim.is-3d .tie-anim__label { animation: none; opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.tie-anim.is-3d.is-locked .tie-anim__label { opacity: 1; transform: translate(-50%, 0); }
.tie-anim__hint { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #8a8a8a; white-space: nowrap; opacity: 0; transition: opacity .6s; }
.tie-anim.is-3d.is-locked .tie-anim__hint { opacity: 1; }
@media (hover: none) { .tie-anim__hint { display: none; } }
@keyframes cable-in { to { transform: translate(0, 0); } }
@keyframes strap-in { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes tail-out { to { transform: translateX(0); } }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes label-in { to { opacity: 1; transform: translate(-50%, 0); } }

.hero__chips { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; pointer-events: none; }
.hero__chips li { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; animation: chip-in .6s var(--ease) forwards; }
.hero__chips .icon { width: 16px; height: 16px; color: #8FD694; }
.hero__chips li:nth-child(1) { top: 8%; left: 0; animation-delay: 2.1s; }
.hero__chips li:nth-child(2) { top: 0; right: 0; animation-delay: 2.25s; }
.hero__chips li:nth-child(3) { bottom: 24%; left: -2%; animation-delay: 2.4s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hero__strap { position: absolute; left: 0; right: 0; bottom: 0; height: 18px; background: repeating-linear-gradient(90deg, #262626 0 3px, #1A1A1A 3px 9px); border-top: 1px solid #2c2c2c; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 420px; width: 100%; margin: 8px auto 0; order: -1; }
	.hero__chips li { font-size: 12px; }
}
@media (max-width: 600px) {
	.hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.hero__stats > div:nth-child(n+3) { margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__visual { max-width: 320px; }
	.hero__chips li:nth-child(n+2) { display: none; }
	.hero__chips li:nth-child(1) { top: 0; }
}

/* ---------- Tie Finder ---------- */
.finder-wrap { position: relative; margin-top: clamp(-110px, -10vw, -72px); z-index: 2; }
.finder { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 48px; background: #fff; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.finder__title { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 10px; }
.finder__intro p:last-child { color: var(--muted); margin: 0; }
.finder__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; align-content: start; }
.finder__field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.finder__field--range { grid-column: 1 / -1; }
.finder__field output { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); text-transform: none; }
.finder__field select { width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; border: 1.5px solid #CFCFCF; border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F0F0F' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-weight: 600; cursor: pointer; }
.finder__field select:focus { border-color: var(--green); }
.finder input[type=range] { width: 100%; height: 28px; appearance: none; background: transparent; cursor: pointer; }
.finder input[type=range]::-webkit-slider-runnable-track { height: 10px; background: linear-gradient(90deg, var(--green) var(--fill, 6%), #E4E4E4 var(--fill, 6%)); border-radius: 0; }
.finder input[type=range]::-moz-range-track { height: 10px; background: #E4E4E4; }
.finder input[type=range]::-moz-range-progress { height: 10px; background: var(--green); }
.finder input[type=range]::-webkit-slider-thumb { appearance: none; width: 26px; height: 26px; margin-top: -8px; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink); border-radius: 50%; }
.finder input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--ink); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--ink); border-radius: 50%; }
.finder__scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 2px; }
.finder__results { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }
.finder__count { font-weight: 700; margin: 0 0 12px; }
.finder__count strong { color: var(--green); }
.finder__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.finder__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--green); color: var(--ink); text-decoration: none; transition: border-color .2s, background .2s; }
.finder__list a:hover { background: var(--green-light); border-color: var(--green); }
.finder__list .ref { font-weight: 800; }
.finder__list .t { font-weight: 700; font-size: 13px; text-align: right; }
.finder__list .meta { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.finder__more { margin-top: 14px; }
@media (max-width: 860px) {
	.finder { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.finder__form { grid-template-columns: 1fr; }
}

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat-card { position: relative; display: flex; flex-direction: column; background: var(--soft); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.cat-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: #ECECEC; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { position: relative; padding: 22px 64px 24px 24px; background: #fff; border: 1px solid var(--line); border-top: 0; flex: 1; }
.cat-card__count { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.cat-card__title { font-size: 21px; margin: 6px 0 6px; }
.cat-card__body p { margin: 0; color: var(--muted); font-size: 15px; }
.cat-card__go { position: absolute; right: 20px; bottom: 22px; width: 40px; height: 40px; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .2s; }
.cat-card:hover .cat-card__go { background: var(--green); }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__head p:not(.eyebrow) { color: var(--muted); margin: 18px 0 28px; max-width: 32em; }
.why__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 2px solid var(--line); }
.why__grid li { background: #fff; padding: 28px 24px; }
.why__icon { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: #fff; margin-bottom: 18px; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.why__icon .icon { width: 22px; height: 22px; }
.why__grid h3 { font-size: 18px; margin-bottom: 6px; }
.why__grid p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.product-card { background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .3s, transform .3s var(--ease); }
.product-card:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card[hidden] { display: none; }
.product-card__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.product-card__link:hover { color: var(--ink); }
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__num { position: absolute; top: 0; left: 0; padding: 5px 12px 5px 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card__body .eyebrow { font-size: 10.5px; margin-bottom: 8px; letter-spacing: .16em; }
.product-card__body .eyebrow::before { width: 14px; }
.product-card__title { font-size: 18px; margin: 0 0 12px; letter-spacing: -.01em; }
.product-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.product-card__meta dt { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.product-card__meta dd { margin: 0; font-weight: 700; font-size: 14px; }
.product-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--green); }
.product-card__more .icon { width: 16px; transition: transform .25s var(--ease); }
.product-card:hover .product-card__more .icon { transform: translateX(4px); }
@media (max-width: 520px) {
	.product-card__body { padding: 12px; }
	.product-card__title { font-size: 15px; }
	.product-card__meta { grid-template-columns: 1fr; gap: 4px; }
	.product-card__meta dd { font-size: 13px; }
}

/* ---------- Industries ---------- */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.industries li { padding: 32px 28px 8px 0; }
.industries li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.industries .icon { width: 36px; height: 36px; color: #8FD694; margin-bottom: 20px; stroke-width: 1.5; }
.industries h3 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.industries p { color: #BDBDBD; font-size: 15px; margin: 0; }
@media (max-width: 960px) {
	.industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.industries li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
	.industries { grid-template-columns: 1fr; }
	.industries li, .industries li + li { padding: 24px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
}

/* ---------- Approvals strip ---------- */
.approvals { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.approvals__label { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.approvals ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.approvals li { padding: 8px 14px; border: 1.5px solid var(--ink); font-weight: 800; font-size: 14px; letter-spacing: .02em; }

/* ---------- CTA band ---------- */
.cta { position: relative; background: var(--green); color: #fff; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; z-index: -1; right: 10%; top: -40%; width: 220px; height: 200%; background: rgba(0, 0, 0, .14); transform: skewX(-38deg); }
.cta::after { content: ""; position: absolute; z-index: -1; right: calc(10% + 260px); top: -40%; width: 40px; height: 200%; background: rgba(255, 255, 255, .12); transform: skewX(-38deg); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: clamp(44px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 72px); }
.cta__title { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 10px; max-width: 20ch; }
.cta p { margin: 0; color: #E3F1E4; max-width: 40em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #BDBDBD; font-size: 15px; }
.site-footer a { color: #E6E6E6; text-decoration: none; }
.site-footer a:hover { color: #8FD694; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.site-footer__brand .site-logo img { height: 36px; width: auto; margin-bottom: 22px; }
.site-footer__brand p { max-width: 30em; }
.site-footer__title { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer .btn { margin-top: 18px; color: #fff; }
.site-footer__bottom { border-top: 1px solid #262626; font-size: 13px; }
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; } }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--green); }
.contact-list--footer .icon, .contact-list--light .icon { color: #8FD694; }
.contact-list--light a, .contact-list--light span { color: #fff; }
.contact-list .is-placeholder a { color: inherit; text-decoration: underline; }
.brand-of { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.brand-of strong, .brand-of a { color: var(--ink); font-weight: 700; }
.site-footer .brand-of { color: #BDBDBD; }
.site-footer .brand-of strong, .site-footer .brand-of a, .brand-of--light strong, .brand-of--light a { color: #fff; }
.brand-of--light { color: #BDBDBD; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.16); }
.fact-card .brand-of { margin: -8px 0 20px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.social a:hover { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.page-hero__title { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.035em; margin: 0; max-width: 16ch; }
.page-hero__intro { color: #CFCFCF; font-size: clamp(16px, 1.5vw, 19px); max-width: 40em; margin: 18px 0 0; }
.page-hero__chevron { position: absolute; z-index: -1; right: 8%; top: -30%; width: 110px; height: 180%; background: linear-gradient(180deg, rgba(46, 125, 50, .7), rgba(46, 125, 50, 0)); transform: skewX(-38deg); }
.page-hero__chevron::after { content: ""; position: absolute; left: 170px; top: 0; bottom: 0; width: 26px; background: rgba(255, 255, 255, .07); }
.breadcrumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; font-weight: 600; }
.breadcrumbs li { color: #9A9A9A; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #666; }
.breadcrumbs a { color: #D6D6D6; text-decoration: none; }
.breadcrumbs a:hover { color: #8FD694; }
.product-top .breadcrumbs li { color: var(--muted); }
.product-top .breadcrumbs a { color: var(--ink); }
.product-top .breadcrumbs li + li::before { color: #BBB; }

/* ---------- Catalogue tools ---------- */
.catalog-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid #D0D0D0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; transition: all .2s; }
.chip span { font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: #BDBDBD; }
.search-field { position: relative; display: block; flex: 0 1 340px; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; }
.search-field input { width: 100%; min-height: 48px; padding: 10px 14px 10px 42px; border: 1.5px solid #D0D0D0; border-radius: var(--radius); background: #fff; }
.search-field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(46, 125, 50, .2); }
.search-field--sm { flex-basis: 260px; }
.catalog-empty { padding: 40px 0; color: var(--muted); }

/* ---------- Single product ---------- */
.product-top { padding: 32px 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--soft) 0, var(--soft) 70%, #fff 70%); }
.product-top__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery__main { position: relative; background: #fff; border: 1px solid var(--line); aspect-ratio: 1; overflow: hidden; }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.gallery__img--drawing { object-fit: contain; background: #fff; padding: 4%; }
.gallery__img.is-active { opacity: 1; }
.gallery__zoom-icon { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--ink); color: #fff; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery__thumb { display: flex; align-items: center; gap: 12px; padding: 6px 16px 6px 6px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; font-weight: 700; font-size: 14px; min-height: 60px; }
.gallery__thumb img { width: 48px; height: 48px; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--green); }
.product-title { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -.035em; margin: 0 0 18px; }
.product-lead { font-size: 18px; color: var(--muted); }
.keyfigs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0; border-top: 3px solid var(--ink); }
.keyfigs > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.keyfigs > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.keyfigs dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.keyfigs dd { margin: 0 0 4px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.quickfacts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.quickfacts li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.quickfacts .icon { color: var(--green); width: 18px; margin-top: 3px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@media (max-width: 900px) { .product-top__grid { grid-template-columns: 1fr; } .product-top { background: var(--soft); } }

.product-tabs { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .product-tabs { top: calc(var(--header-h) + 32px); }
.product-tabs .container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.product-tabs a { flex: 0 0 auto; padding: 16px 18px; font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.product-tabs a:hover, .product-tabs a.is-active { color: var(--ink); border-color: var(--green); }

.block-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.block-head .block-title { margin: 0; }
.block-title { display: flex; align-items: center; gap: 14px; font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 24px; }
.block-title__mark { width: 26px; height: 12px; background: var(--ink); transform: skewX(-38deg); flex: 0 0 auto; }
.block-title__mark--green { background: var(--green); }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.specs > div { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.specs > div.is-wide { grid-column: span 2; }
.specs dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.specs dd { margin: 0; font-weight: 600; font-size: 15.5px; }
@media (max-width: 860px) { .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .specs { grid-template-columns: 1fr; } .specs > div.is-wide { grid-column: auto; } }

.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.datasheet { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; min-width: 640px; }
.datasheet thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: left; padding: 14px 16px; white-space: nowrap; }
.datasheet tbody th, .datasheet td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.datasheet tbody th { font-weight: 800; position: sticky; left: 0; background: inherit; }
.datasheet tbody tr { background: #fff; }
.datasheet tbody tr:nth-child(even) { background: #FAFAFA; }
.datasheet tbody tr:hover { background: var(--green-light); }
.datasheet tbody tr[hidden] { display: none; }
.datasheet a { color: var(--ink); font-weight: 800; }
.datasheet--quality td, .datasheet--quality tbody th { white-space: normal; min-width: 140px; vertical-align: top; }
.datasheet--dense { font-size: 13.5px; }
.datasheet--dense thead th, .datasheet--dense tbody th, .datasheet--dense td { padding-left: 10px; padding-right: 10px; }
.product-top__info .eyebrow { display: block; line-height: 1.6; }
.product-top__info .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 10px; }
.table-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.drawing-figure { margin: 0; background: #fff; border: 1px solid var(--line); padding: clamp(12px, 3vw, 32px); }
.drawing-figure img { margin: 0 auto; max-height: 820px; width: auto; }

.lightbox { border: 0; padding: 0; max-width: min(92vw, 1100px); max-height: 92vh; background: #fff; }
.lightbox::backdrop { background: rgba(15, 15, 15, .86); }
.lightbox img { max-height: 88vh; width: auto; margin: 0 auto; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: var(--ink); color: #fff; cursor: pointer; }

/* ---------- Content ---------- */
.entry-content { font-size: 17px; line-height: 1.7; }
.entry-content h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 1.6em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { font-size: 21px; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content img { height: auto; }
.product-content { margin-bottom: 28px; max-width: 760px; }

.about { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.fact-card { border: 1px solid var(--line); border-top: 4px solid var(--green); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.fact-card img { height: 30px; width: auto; margin-bottom: 20px; }
.fact-card dl { margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.fact-card dt { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact-card dd { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__aside { position: static; } }

.range-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.range-list a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr) 24px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: padding .25s var(--ease), background .2s; }
.range-list a:hover { background: var(--soft); padding-left: 12px; padding-right: 12px; color: var(--ink); }
.range-list__num { font-weight: 800; color: var(--green); }
.range-list strong { font-size: 19px; }
.range-list span:not(.range-list__num) { color: var(--muted); }
@media (max-width: 700px) { .range-list a { grid-template-columns: 40px 1fr 20px; } .range-list span:not(.range-list__num) { display: none; } }

.standards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.standards li { border: 1px solid var(--line); padding: 22px; }
.standards__tag { display: inline-block; padding: 6px 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; margin-bottom: 14px; }
.standards p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .standards { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.card + .card { margin-top: 20px; }
.card--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card__title { font-size: 20px; margin-bottom: 20px; }
.contact__form .entry-content { color: var(--muted); font-size: 16px; margin: 12px 0 24px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checklist .icon { color: var(--green); width: 20px; margin-top: 2px; }
.map { margin-top: 20px; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.quote-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.quote-form .field { margin: 0 0 18px; }
.quote-form .field.is-wide { grid-column: 1 / -1; }
.quote-form label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.quote-form .req { color: var(--green); }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #CFCFCF; border-radius: var(--radius); background: #fff; }
.quote-form textarea { resize: vertical; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(46, 125, 50, .2); }
.quote-form .hp { position: absolute; left: -9999px; }
.form-notice { padding: 14px 18px; margin-bottom: 20px; font-weight: 600; }
.form-notice.is-success { background: var(--green-light); border-left: 4px solid var(--green); }
.form-notice.is-error { background: #FDECEC; border-left: 4px solid #B3261E; }
@media (max-width: 600px) { .quote-form .form-grid { grid-template-columns: 1fr; } }

.post-list { display: grid; gap: 32px; }
.post-item { padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.post-item__title a { color: var(--ink); text-decoration: none; }
.post-figure { margin: 0 auto 32px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal:nth-child(2) { transition-delay: .08s; }
.hero .reveal:nth-child(3) { transition-delay: .16s; }
.hero .reveal:nth-child(4) { transition-delay: .24s; }
.hero .reveal:nth-child(5) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print (product datasheet → PDF) ---------- */
@media print {
	@page { size: A4; margin: 14mm; }
	body { font-size: 11pt; }
	.site-header, .site-footer, .cta, .product-tabs, .related, .product-actions, .gallery__thumbs, .gallery__zoom-icon, .search-field, .breadcrumbs, .lightbox, .skip-link { display: none !important; }
	.product-top { background: none; padding: 0; }
	.product-top::before { content: ""; display: block; height: 34px; margin-bottom: 18px; background: url("../img/logo-dark.png") no-repeat left center / contain; }
	.product-top__grid { grid-template-columns: 40% 1fr; gap: 24px; }
	.gallery__main { aspect-ratio: 1; }
	.gallery__img { opacity: 1 !important; position: static; height: auto; }
	.gallery__img--drawing { display: none; }
	.section { padding: 16px 0; }
	.section--grey { background: none; }
	.table-scroll { overflow: visible; border: 0; }
	.datasheet { min-width: 0; font-size: 9pt; }
	.datasheet thead th { background: #0F0F0F !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; padding: 6px 8px; }
	.datasheet tbody th, .datasheet td { padding: 5px 8px; }
	#drawing { break-before: page; }
	a { color: inherit; text-decoration: none; }
}

/* ==========================================================================
   v1.1 — 3D product showcase (hero), bundle animation, product 3D viewer
   ========================================================================== */
.alga3d__canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.alga3d__canvas:active { cursor: grabbing; }

.hero--showcase { min-height: clamp(700px, 94vh, 900px); display: flex; flex-direction: column; justify-content: center; padding-top: clamp(40px, 6vw, 72px); }
.hero--showcase .hero__grid { position: relative; z-index: 2; grid-template-columns: minmax(0, 580px); pointer-events: none; }
.hero--showcase .hero__copy { pointer-events: auto; }
.hero--showcase .hero__title { font-size: clamp(48px, 7.2vw, 96px); }
.hero--showcase .hero__actions { margin: 28px 0 36px; }

.showcase { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 64%; }
.showcase__stage { position: absolute; inset: 0; }
.showcase__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42% 38% at 58% 42%, rgba(255, 255, 255, .085), transparent 70%), radial-gradient(30% 26% at 62% 46%, rgba(46, 125, 50, .22), transparent 75%); }
.showcase__stage .alga3d__canvas { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 94%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 94%, transparent 100%); }
.showcase__fallback { position: absolute; top: 50%; left: 58%; width: min(44%, 420px); height: auto; transform: translate(-50%, -58%); border-radius: 2px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); transition: opacity .4s; }
.showcase.is-3d .showcase__fallback { display: none; }
.showcase__card { position: absolute; z-index: 3; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: clamp(190px, 18vw, 230px); width: 290px; padding: 20px 22px 18px; background: rgba(15, 15, 15, .72); border: 1px solid rgba(255, 255, 255, .14); border-top: 3px solid var(--green); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.showcase__card.is-changing { opacity: 0; transform: translateY(8px); }
.showcase__card .eyebrow { font-size: 10.5px; margin-bottom: 8px; }
.showcase__card .eyebrow::before { width: 16px; }
.showcase__name { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 14px; }
.showcase__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 18px; margin: 0 0 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); }
.showcase__specs > div { display: flex; flex-direction: column-reverse; }
.showcase__specs dt { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; }
.showcase__specs dd { margin: 0; font-weight: 700; font-size: 14.5px; white-space: nowrap; }
.showcase__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: #8FD694; text-decoration: none; }
.showcase__link .icon { width: 16px; transition: transform .25s var(--ease); }
.showcase__link:hover { color: #fff; }
.showcase__link:hover .icon { transform: translateX(4px); }
.showcase__hint { position: absolute; z-index: 3; top: 28px; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #7d7d7d; opacity: 0; transition: opacity .6s; }
.showcase.is-3d .showcase__hint { opacity: 1; }
@media (hover: none) { .showcase__hint { display: none; } }

.showcase__tabs { position: relative; z-index: 3; display: flex; gap: 6px; margin-top: clamp(28px, 4vw, 48px); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.showcase__tabs::-webkit-scrollbar { display: none; }
.showcase__tab { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); color: #CFCFCF; font-weight: 600; font-size: 14px; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s, color .2s; }
.showcase__tab:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.showcase__tab.is-active { color: #fff; background: rgba(46, 125, 50, .2); border-color: var(--green); }
.showcase__num { font-size: 11px; font-weight: 700; color: #8FD694; }
.showcase__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--green); }
.showcase__tab:not(.is-active) .showcase__bar { width: 0; }

@media (max-width: 960px) {
	.hero--showcase { display: block; min-height: 0; padding-top: 0; }
	.showcase { position: relative; width: auto; height: auto; }
	.showcase__stage { position: relative; height: clamp(260px, 68vw, 420px); }
	.showcase__stage .alga3d__canvas { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
	.showcase__card { position: relative; right: auto; bottom: auto; width: auto; margin: -28px var(--gutter) 28px; }
	.showcase__hint { display: none; }
	.showcase__fallback { left: 50%; width: 60%; }
	.hero--showcase .hero__grid { grid-template-columns: 1fr; }
}

/* Bundle animation in the Applications band */
.apps-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.apps-head__text { color: #BDBDBD; max-width: 30em; margin: 18px 0 0; font-size: 17px; }
.bundle3d { position: relative; width: 100%; max-width: 500px; justify-self: end; aspect-ratio: 1; cursor: grab; }
.no-webgl .bundle3d { display: none; }
@media (max-width: 860px) { .apps-head { grid-template-columns: 1fr; } .bundle3d { justify-self: center; max-width: 380px; } }

/* Product page 3D viewer */
.gallery__3d { position: absolute; inset: 0; z-index: 2; opacity: 0; visibility: hidden; background: radial-gradient(circle at 50% 42%, #3a3a3a 0, #1a1a1a 55%, #0f0f0f 100%); transition: opacity .35s, visibility .35s; }
.gallery.is-3d-view .gallery__3d { opacity: 1; visibility: visible; }
.gallery.is-3d-view .gallery__zoom-icon { display: none; }
.gallery__3d-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #8a8a8a; pointer-events: none; }
.gallery__thumb--3d { display: none; }
.has-webgl .gallery__thumb--3d { display: flex; }
.gallery__3d-icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: #8FD694; font-weight: 800; font-size: 15px; letter-spacing: .02em; }
@media print { .gallery__3d, .gallery__thumb--3d { display: none !important; } }

/* Language switch (EN | IT) */
.lang-switch{display:inline-flex;align-items:center;border:1.5px solid var(--line,#E2E2E2);border-radius:999px;padding:3px;gap:2px;margin-inline:10px 6px;flex:0 0 auto}
.lang-switch a{display:inline-block;min-width:34px;text-align:center;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.06em;color:inherit;text-decoration:none;line-height:1.2}
.lang-switch a:hover{background:rgba(46,125,50,.1)}
.lang-switch a.is-active{background:#0F0F0F;color:#fff}
@media (max-width:960px){.lang-switch--nav{margin:14px 0 4px;align-self:flex-start}}
