/*
Theme Name: Morespring Evergreen
Theme URI: https://springsealant.com/
Author: Morespring
Description: Second Morespring website — sealant & adhesive manufacturer. Catalogue pages are rendered from catalog.json; the blog uses native WordPress posts.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: morespring-evergreen
*/

:root {
  --ink: #18302a;
  --muted: #5a6d66;
  --green-950: #0f2823;
  --green-900: #14342c;
  --green-800: #1a4238;
  --brand: #1d7563;
  --brand-deep: #155648;
  --mint: #e7f0eb;
  --stone: #f4f5f1;
  --line: #d7e1db;
  --copper: #b8611a;
  --copper-deep: #9a4f12;
  --gold: #e9aa55;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(15, 40, 35, .06), 0 8px 24px rgba(15, 40, 35, .08);
  --shadow-lift: 0 2px 4px rgba(15, 40, 35, .08), 0 18px 36px rgba(15, 40, 35, .14);
  --max: 1240px;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { 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: 400 1rem/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.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: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--white); color: var(--ink); font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 4vw, 48px) 0 clamp(56px, 6vw, 80px); }
.section-tint { background: var(--stone); }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow a:hover { text-decoration: underline; }
.accent-text { color: var(--brand); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-small { width: 1em; height: 1em; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 22px; border: 2px solid transparent; border-radius: var(--radius); font-size: .9rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2; transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s; }
.button .icon { width: 18px; height: 18px; transition: transform .18s; }
.button:hover .icon { transform: translateX(3px); }
.button-primary { background: var(--brand); color: var(--white); }
.button-primary:hover { background: var(--brand-deep); }
.button-accent { background: var(--copper); color: var(--white); box-shadow: 0 6px 16px rgba(184, 97, 26, .28); }
.button-accent:hover { background: var(--copper-deep); }
.button-ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); background: rgba(255, 255, 255, .06); }
.button-ghost:hover { background: var(--white); color: var(--green-900); }
.button-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.button-outline:hover { background: var(--brand); color: var(--white); }
.button-text { min-height: 0; padding: 0; color: var(--brand); border: 0; }
.button-text:hover { color: var(--brand-deep); }
.learn-more { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-size: .86rem; font-weight: 700; }
.learn-more .icon { width: 17px; height: 17px; transition: transform .18s; }

/* Top bar & header */
.topbar { background: var(--green-950); color: #d5e5dc; font-size: .8rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar-contacts li { display: flex; align-items: center; gap: 7px; }
.topbar-contacts a:hover { color: var(--white); text-decoration: underline; }
.topbar-contacts > li > a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 15px; height: 15px; color: var(--gold); }
.topbar .sep { color: #6f8f83; margin: 0 2px; }
.topbar-note { margin: 0; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(15, 40, 35, .1); }
body.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 46px; height: 46px; }
.brand-name { font-family: var(--display); font-size: 1.85rem; font-weight: 700; letter-spacing: .01em; color: var(--green-900); line-height: 1; }
.brand-light .brand-name { color: var(--white); }
.main-nav { margin-left: auto; display: flex; align-items: center; height: 100%; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; height: 100%; }
.main-nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }
.main-nav > ul > li > a { display: flex; align-items: center; height: 100%; padding: 0 14px; font-size: .95rem; font-weight: 700; color: var(--ink); border-bottom: 3px solid transparent; border-top: 3px solid transparent; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.mega-toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -10px; border: 0; background: none; color: var(--ink); }
.mega-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.has-mega.is-open .mega-toggle .icon { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 50%; display: grid; grid-template-columns: 1.15fr 1fr 230px; gap: 34px; width: min(860px, 92vw); padding: 30px 32px; background: var(--white); border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-mega.is-closed .mega { opacity: 0; visibility: hidden; }
.mega-title { margin: 0 0 12px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 500; font-size: .95rem; border-bottom: 1px solid var(--stone); }
.mega-col a:hover { color: var(--brand); }
.mega-num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mint); color: var(--brand); font-size: .72rem; font-weight: 700; }
.mega-promo { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #000; }
.mega-promo img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .3s; }
.mega-promo:hover img { transform: scale(1.04); }
.mega-promo span { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 14px 16px; color: var(--white); font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.mega-promo .icon { width: 17px; height: 17px; }
.header-cta { flex: none; min-height: 46px; }
.menu-toggle, .nav-cta-mobile { display: none; }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; min-height: min(760px, calc(100svh - 120px)); color: var(--white); background: var(--green-950); overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 30, 25, .9) 0%, rgba(12, 38, 32, .72) 42%, rgba(12, 38, 32, .2) 100%), linear-gradient(0deg, rgba(8, 24, 20, .55), transparent 40%); }
.hero-inner { flex: 1; display: flex; align-items: center; padding: 80px 0 40px; }
.hero-copy { max-width: 760px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: clamp(3rem, 6.6vw, 6rem); line-height: .95; }
.hero h1 span { display: block; color: var(--gold); }
.hero-lead { max-width: 560px; margin: 24px 0 0; color: #e3eee8; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; }
.hero-tags { margin: 0; color: #cfe0d7; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hero-tags span { color: var(--gold); margin: 0 6px; }
.video-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(0, 0, 0, .2); color: var(--white); }
.video-toggle-icon { width: 12px; height: 12px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.video-toggle.is-paused .video-toggle-icon { border-right: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid currentColor; width: 0; height: 0; margin-left: 3px; }

/* Section heads */
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head-left { margin-left: 0; text-align: left; }
.section-intro { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.small-heading { margin-bottom: 22px; font-size: 1.6rem; }

/* Split layout (about) */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-copy h2 { margin-bottom: 22px; }
.split-copy > p { color: var(--muted); max-width: 560px; }
.framed { position: relative; }
.framed img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lift); }
.framed::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; border-radius: var(--radius); background: var(--mint); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 30px 0 34px; border-block: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; gap: 4px; padding: 22px 16px 20px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stat-icon { width: 38px; height: 38px; margin-bottom: 10px; background: var(--brand); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.stats strong { font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--green-900); }
.stats span:last-child { color: var(--muted); font-size: .82rem; line-height: 1.35; }

/* Category cards */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.category-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.category-card-media { display: block; background: #000; aspect-ratio: 4 / 3; overflow: hidden; }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.category-card:hover .category-card-media img { transform: scale(1.04); }
.category-card-body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.category-card-count { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.category-card h2, .category-card h3 { font-family: var(--display); font-size: 1.55rem; text-transform: uppercase; line-height: 1.08; min-height: 2.16em; }
.category-card .learn-more { margin-top: 6px; }
.category-card:hover .learn-more .icon, .product-card:hover .learn-more .icon { transform: translateX(4px); }

/* Application cards */
.applications-band { background: var(--green-900); color: var(--white); }
.applications-band .eyebrow { color: var(--gold); }
.application-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.application-card { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--green-950); color: var(--white); }
.application-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.application-card:hover img { transform: scale(1.06); }
.application-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10, 30, 25, .88)); }
.application-card-label { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 18px; }
.application-card h2, .application-card h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 700; text-transform: uppercase; line-height: 1.05; }
.application-card .icon { width: 22px; height: 22px; color: var(--gold); }
.application-grid-compact .application-card { aspect-ratio: 4 / 3; }
.application-grid-compact { grid-template-columns: repeat(4, 1fr); }

/* Factory */
.factory-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.factory-copy h2 { margin-bottom: 20px; }
.factory-copy p { color: var(--muted); margin-bottom: 28px; }
.factory-media { display: grid; gap: 12px; }
.video-frame { overflow: hidden; border-radius: var(--radius); background: var(--green-950); box-shadow: var(--shadow-lift); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.factory-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.factory-photos a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.factory-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.factory-photos a:hover img { transform: scale(1.05); }
.factory-photos span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; color: var(--white); font-size: .75rem; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

/* OEM */
.oem { background: linear-gradient(180deg, var(--mint), var(--white)); }
.oem-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.oem-head h2 { margin-bottom: 14px; }
.oem-head p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.oem-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: step; }
.oem-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 10px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); }
.oem-steps li:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -12px; z-index: 1; width: 10px; height: 10px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: translateY(-50%) rotate(45deg); }
.oem-step-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--brand); }
.oem-step-icon .icon { width: 30px; height: 30px; }
.oem-step-number { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: var(--white); font-size: .8rem; font-weight: 700; }
.oem-step-label { font-size: .88rem; font-weight: 700; line-height: 1.3; }

/* Global */
.global-layout { display: grid; grid-template-columns: .7fr 1.5fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.global-copy h2 { margin-bottom: 26px; }
.global-figure { display: flex; align-items: center; gap: 14px; margin: 0; }
.global-figure strong { font-family: var(--display); font-size: 5rem; line-height: .9; color: var(--brand); }
.global-figure span { max-width: 110px; font-weight: 700; line-height: 1.3; }
.global-map img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Contact band + enquiry panel */
.contact-band { background: var(--green-900); color: var(--white); }
.contact-band .eyebrow { color: var(--gold); }
.contact-band-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact-band-info h2 { margin-bottom: 14px; }
.contact-band-info > p { color: #cfe0d7; margin-bottom: 28px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; margin-top: 3px; color: var(--gold); }
.contact-list span { display: flex; flex-direction: column; font-size: .95rem; }
.contact-list small { color: #9fbcb0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a:hover { text-decoration: underline; }
.enquiry-panel { padding: clamp(24px, 3.5vw, 40px); border-radius: 10px; background: var(--green-800); box-shadow: 0 24px 50px rgba(0, 0, 0, .25); color: var(--white); }
.enquiry-panel h2, .enquiry-panel h3 { margin-bottom: 22px; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: uppercase; }
.badge { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 99px; background: rgba(233, 170, 85, .16); color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #c9d6cf; border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(233, 170, 85, .55); outline-offset: 0; border-color: var(--gold); }
.enquiry-form-dark .field input, .enquiry-form-dark .field select, .enquiry-form-dark .field textarea { border-color: rgba(255, 255, 255, .18); background: rgba(5, 20, 17, .45); color: var(--white); }
.enquiry-form-dark .field select option, .enquiry-form-dark .field select optgroup { background: var(--white); color: var(--ink); }
.enquiry-form-dark ::placeholder { color: #8fa89e; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: .86rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.check a { text-decoration: underline; }
.field-trap { position: absolute; left: -9999px; }
.button-submit { width: 100%; margin-top: 20px; min-height: 54px; }
.button-submit[disabled] { opacity: .65; cursor: wait; }
.form-message { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form-message.is-error { color: #ffb4a6; }
.form-message.is-success { color: #9be7b8; }
.enquiry-form-light .form-message.is-error { color: #b42318; }
.enquiry-form-light .form-message.is-success { color: var(--brand-deep); }
.cf-turnstile { margin-top: 16px; }
.enquiry-fallback a { text-decoration: underline; }

/* Inner page hero */
.page-hero { position: relative; padding: 34px 0 64px; background: var(--green-900); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero-image { padding: 34px 0 110px; background: var(--green-950) var(--hero) center / cover no-repeat; }
.page-hero-image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 30, 25, .9), rgba(10, 30, 25, .6) 55%, rgba(10, 30, 25, .25)); }
.page-hero .hero-video { z-index: -2; }
.page-hero .eyebrow { color: var(--gold); margin-top: 40px; }
.page-hero h1 { max-width: 900px; }
.page-hero-lead { max-width: 640px; margin: 20px 0 0; color: #dbe8e1; font-size: 1.1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: '/'; opacity: .5; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero .breadcrumb { color: #b9cfc5; }
.page-hero .breadcrumb [aria-current] { color: var(--white); }
.section .breadcrumb { color: var(--muted); margin-bottom: 26px; }
.section .breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }

/* Category page */
.category-banner { background: var(--stone); }
.category-banner img { width: 100%; max-height: 520px; object-fit: cover; }
.category-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding-bottom: 32px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.category-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-weight: 700; font-size: .88rem; }
.chip-nav a:hover { border-color: var(--brand); color: var(--brand); }
.chip-nav span { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--mint); color: var(--brand); font-size: .75rem; }
.product-group + .product-group { margin-top: 56px; }
.group-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 2px solid var(--brand); font-size: 2rem; }
.group-title span { font-family: var(--body); font-size: .76rem; letter-spacing: .1em; color: var(--muted); }
.other-categories { margin-top: 70px; padding-top: 30px; border-top: 1px solid var(--line); }
.other-categories ul { display: flex; flex-wrap: wrap; gap: 10px; }
.other-categories a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--radius); background: var(--stone); font-weight: 700; font-size: .9rem; }
.other-categories a:hover { background: var(--mint); color: var(--brand); }
.other-categories .icon { width: 16px; height: 16px; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-lift); }
.product-card-media { display: block; aspect-ratio: 1; background: #000; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-card-media img { transform: scale(1.04); }
.product-card-body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 18px 18px 20px; }
.product-card-kicker { color: var(--brand); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card h2, .product-card h3 { font-family: var(--body); font-size: 1.04rem; font-weight: 700; text-transform: none; line-height: 1.3; }
.product-card-summary { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.product-card .learn-more { margin-top: auto; padding-top: 10px; }

/* Product detail */
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
/* Grid items may shrink below their content (a scrolling thumbnail strip must not widen the page). */
.product-layout > *, .split > *, .factory-layout > *, .global-layout > *, .group-layout > *, .contact-layout > *, .contact-band-layout > * { min-width: 0; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--stone); cursor: zoom-in; }
.gallery-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .25s; }
.gallery-shot.is-active { opacity: 1; }
.gallery-nav, .gallery-zoom { position: absolute; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow); }
.gallery-nav:hover, .gallery-zoom:hover { background: var(--white); color: var(--brand); }
.gallery-prev { left: 14px; top: 50%; transform: translateY(-50%) scaleX(-1); }
.gallery-next { right: 14px; top: 50%; transform: translateY(-50%); }
.gallery-zoom { right: 14px; top: 14px; width: 40px; height: 40px; }
.gallery-count { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 3px 10px; border-radius: 99px; background: rgba(15, 40, 35, .75); color: var(--white); font-size: .78rem; font-weight: 700; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery-thumb { flex: 0 0 78px; height: 78px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: var(--radius); background: var(--stone); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.is-active { border-color: var(--brand); }
.product-summary h1 { font-size: clamp(2.3rem, 4vw, 3.6rem); margin-bottom: 18px; }
.product-lead { color: var(--muted); font-size: 1.08rem; }
.product-highlights { display: grid; gap: 10px; margin: 22px 0 28px; }
.product-highlights li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.product-highlights .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--brand); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--stone); color: var(--muted); font-size: .88rem; }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spec { padding: 26px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.spec-wide, .spec-colour { grid-column: 1 / -1; }
.spec-colour { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 40px; }
.spec-colour h3 { grid-row: span 2; margin: 0; }
.spec-colour .swatches { margin: 0; }
.spec h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--display); font-size: 1.45rem; text-transform: uppercase; color: var(--green-900); }
.spec h3 span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--white); font-family: var(--body); font-size: .8rem; }
.spec p { color: var(--muted); }
.spec-list { display: grid; gap: 9px; }
.spec-wide .spec-list { grid-template-columns: repeat(2, 1fr); gap: 10px 32px; }
.spec-list li { position: relative; padding-left: 20px; font-size: .95rem; line-height: 1.55; }
.spec-list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.spec-lines { display: grid; gap: 6px; }
.spec-lines li { padding: 8px 12px; border-radius: 4px; background: var(--stone); font-size: .93rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 14px; }
.swatches li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.swatch-clear { background: repeating-conic-gradient(#d8dfdb 0 25%, #fff 0 50%) 0 0 / 10px 10px; }
.swatch-custom { background: conic-gradient(#e44 0deg, #fb3 72deg, #4c6 144deg, #39f 216deg, #a5e 288deg, #e44 360deg); }
.used-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.used-in h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.used-in ul { display: flex; flex-wrap: wrap; gap: 10px; }
.used-in a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; }
.used-in a:hover { border-color: var(--brand); color: var(--brand); }
.used-in .icon { width: 15px; height: 15px; }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: #fff; }
.lightbox::backdrop { background: rgba(8, 20, 17, .82); }
.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--green-900); color: var(--white); }

/* Application page */
.group-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.group-copy h2 { margin-bottom: 22px; font-family: var(--body); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; text-transform: none; line-height: 1.35; }
.tile-grid { display: grid; gap: 16px; }
.tile-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tile { overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.tile a { display: flex; flex-direction: column; height: 100%; }
.tile-media { display: block; aspect-ratio: 1; overflow: hidden; background: #000; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.tile a:hover img { transform: scale(1.05); }
.tile-label { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 15px; background: var(--white); font-weight: 700; font-size: .92rem; line-height: 1.3; }
.tile-label .icon { width: 17px; height: 17px; color: var(--brand); transition: transform .18s; }
.tile a:hover .tile-label { color: var(--brand); }
.tile a:hover .tile-label .icon { transform: translateX(3px); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.application-list { display: grid; gap: 28px; }
.application-row { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.application-row img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.application-row h2 { margin-bottom: 12px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.application-row h2 a:hover { color: var(--brand); }
.application-row p:not(.eyebrow) { color: var(--muted); }
.other-applications { background: var(--stone); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.contact-details h2 { margin-bottom: 26px; }
.contact-details .contact-list .icon { color: var(--brand); }
.contact-details .contact-list small { color: var(--muted); }
.whatsapp-card { display: flex; gap: 14px; align-items: center; margin-top: 30px; padding: 18px 20px; border-radius: var(--radius); background: #e7f7ee; color: #0e5a33; }
.whatsapp-card .icon { width: 34px; height: 34px; }
.whatsapp-card span { display: flex; flex-direction: column; font-size: .88rem; }
.whatsapp-card strong { font-size: 1.05rem; }
.whatsapp-card:hover { background: #d6f2e2; }

/* Closing CTA */
.closing-cta { background: var(--brand); color: var(--white); padding: clamp(48px, 6vw, 72px) 0; }
.closing-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.closing-cta .eyebrow { color: #f4d6a9; }
.closing-cta h2 { margin-bottom: 12px; }
.closing-cta p:not(.eyebrow) { max-width: 620px; color: #dcefe6; }
.closing-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s, transform .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.post-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px; }
.post-meta { margin: 0; color: var(--brand); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.post-card h2 { font-family: var(--body); font-size: 1.2rem; font-weight: 700; text-transform: none; line-height: 1.3; }
.post-card h2 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .92rem; }
.post-card .learn-more { margin-top: auto; }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.pagination .current { background: var(--brand); border-color: var(--brand); color: var(--white); }
.empty-state { max-width: 640px; margin: 0 auto; padding: 50px 0; text-align: center; }
.empty-state h2 { margin-bottom: 14px; }
.empty-state p { color: var(--muted); }
.empty-state a { color: var(--brand); text-decoration: underline; }
.article-hero { padding-bottom: 56px; }
.article-meta { margin: 18px 0 0; color: #cfe0d7; }
.article-body { padding: 56px 0 90px; }
.article-featured { max-width: 980px; margin: 0 auto 44px; }
.article-featured img { width: 100%; border-radius: var(--radius); }
.article-back { max-width: 760px; margin: 50px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 700; }
.article-back a { color: var(--brand); }
.prose { max-width: 760px; margin-inline: auto; font-size: 1.05rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; font-size: 2rem; }
.prose h3 { margin-top: 1.4em; font-size: 1.3rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.4em; }
.prose ol { list-style: decimal; padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); color: var(--muted); }
.prose figure figcaption { margin-top: 8px; color: var(--muted); font-size: .85rem; }

/* Footer */
.site-footer { background: var(--green-950); color: #c7d8cf; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .9fr .9fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding: 72px 0 56px; }
.footer-brand p { margin: 18px 0 24px; max-width: 320px; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-family: var(--body); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.site-footer nav li + li { margin-top: 10px; }
.site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.footer-subhead { margin-top: 30px !important; }
.footer-contact .contact-list { gap: 14px; }
.footer-contact .contact-list span { font-size: .9rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #9fb7ab; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--white); text-decoration: underline; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #1fa855; color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float .icon { width: 30px; height: 30px; }
.cookie-banner { position: fixed; left: 20px; bottom: 20px; z-index: 120; max-width: 460px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lift); font-size: .9rem; }
.cookie-banner a { color: var(--brand); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cookie-actions .button { min-height: 42px; padding: 8px 16px; }

/* Responsive */
@media (max-width: 1180px) {
  .header-inner { gap: 18px; }
  .main-nav > ul > li > a { padding: 0 10px; font-size: .9rem; }
  .application-grid { grid-template-columns: repeat(3, 1fr); }
  .oem-steps { grid-template-columns: repeat(4, 1fr); row-gap: 22px; }
  .oem-steps li:nth-child(4)::after { display: none; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .topbar-note { display: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .shell { width: min(var(--max), calc(100% - 40px)); }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
  .menu-toggle .icon { width: 24px; height: 24px; }
  .menu-toggle .icon-close, .menu-toggle[aria-expanded="true"] .icon-open { display: none; }
  .menu-toggle[aria-expanded="true"] .icon-close { display: block; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0; display: none; flex-direction: column; align-items: stretch; height: auto; margin: 0; padding: 12px 20px 30px; overflow-y: auto; background: var(--white); border-top: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav > ul { flex-direction: column; align-items: stretch; height: auto; gap: 0; }
  .main-nav > ul > li { flex-wrap: wrap; height: auto; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { flex: 1; height: auto; padding: 15px 4px; font-size: 1.05rem; border: 0; }
  .main-nav > ul > li > a[aria-current="page"] { border: 0; }
  .mega-toggle { width: 46px; height: 46px; margin: 0; }
  .mega { position: static; display: none; width: 100%; grid-template-columns: 1fr; gap: 16px; padding: 4px 4px 18px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.is-open .mega { display: grid; transform: none; }
  .mega-promo { display: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 24px; }
  .split, .factory-layout, .global-layout, .contact-band-layout, .product-layout, .group-layout, .contact-layout, .category-head { grid-template-columns: 1fr; }
  .framed::before { inset: 14px -10px -14px 14px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { position: static; }
  .oem-head, .closing-cta-inner { flex-direction: column; align-items: flex-start; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .application-row { grid-template-columns: 280px 1fr; gap: 26px; }
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  .topbar-inner { justify-content: center; min-height: 36px; }
  .topbar-contacts { justify-content: center; gap: 4px 16px; font-size: .74rem; }
  .topbar-contacts li:nth-child(2) { display: none; }
  .hero { min-height: 600px; }
  .hero-inner { padding: 60px 0 30px; }
  .hero-actions .button { flex: 1 1 220px; }
  .hero-tags { font-size: .64rem; letter-spacing: .12em; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .application-grid, .application-grid-compact { grid-template-columns: repeat(2, 1fr); }
  .application-card { aspect-ratio: 4 / 3; }
  .application-grid > .application-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .factory-photos { grid-template-columns: repeat(2, 1fr); }
  .oem-steps { grid-template-columns: 1fr; gap: 10px; }
  .oem-steps li { flex-direction: row; text-align: left; padding: 14px 16px; }
  .oem-steps li::after { display: none; }
  .oem-step-icon { width: 48px; height: 48px; }
  .oem-step-icon .icon { width: 24px; height: 24px; }
  .oem-step-number { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card-body { padding: 14px; }
  .product-card-summary { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .spec-grid, .spec-wide .spec-list { grid-template-columns: 1fr; }
  .spec { padding: 22px 20px; }
  .spec-colour { grid-template-columns: 1fr; }
  .spec-colour h3 { grid-row: auto; margin-bottom: 8px; }
  .application-card h2, .application-card h3 { font-size: 1.15rem; }
  .application-card-label { padding: 14px; }
  .tile-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .application-row { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .global-figure strong { font-size: 4rem; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .brand-name { font-size: 1.55rem; }
  .brand img { width: 40px; height: 40px; }
  .category-grid { grid-template-columns: 1fr; }
  .tile-label { font-size: .84rem; padding: 11px 12px; }
  .topbar-phones .sep, .topbar-phones a + .sep + a { display: none; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
