/* =========================================================
   STANDARD SCALES & SYSTEMS
   Global design tokens, layout, components and responsive UI
   ========================================================= */

:root {
    --color-navy: #142B45;
    --color-navy-deep: #0D2034;
    --color-steel: #315A82;
    --color-red: #B83A3A;
    --color-red-hover: #9F3030;
    --color-ink: #263443;
    --color-muted: #687786;
    --color-line: #E1E7EC;
    --color-paper: #F5F7F9;
    --color-white: #FFFFFF;

    --font-body: "DM Sans", Arial, sans-serif;
    --font-heading: "Manrope", Arial, sans-serif;

    --container: 1160px;
    --radius-sm: 3px;
    --shadow-card: 0 16px 40px rgba(16, 38, 61, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    z-index: 1000;
    padding: 10px 15px;
    color: #fff;
    background: var(--color-navy);
}
.skip-link:focus { left: 10px; }

.topbar { background: var(--color-navy-deep); color: #D6E0E8; font-size: 10px; letter-spacing: .13em; }
.topbar__inner { min-height: 35px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar__contact { display: inline-flex; align-items: center; gap: 22px; }
.topbar__contact a { color: #D6E0E8; }
.topbar__contact a:hover { color: #FFFFFF; }

.site-header { position: relative; z-index: 20; background: #fff; border-bottom: 1px solid rgba(20,43,69,.07); }
.header__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__text { color: var(--color-navy); font: 800 13px/1.25 var(--font-heading); letter-spacing: .075em; }
.brand__text small { display: block; margin-top: 4px; color: #7D8994; font: 700 9px/1.2 var(--font-body); letter-spacing: .19em; }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.3vw, 29px); }
.main-nav > a:not(.button) { color: #536271; font-size: 12px; font-weight: 700; transition: color .2s ease; }
.main-nav > a:not(.button):hover,
.main-nav > a.is-active { color: var(--color-navy); }
.menu-toggle { display: none; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 49px;
    padding: 13px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 42px; padding: 10px 15px; }
.button--accent { color: #fff; background: var(--color-red); }
.button--accent:hover { background: var(--color-red-hover); }
.button--ghost { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.06); }
.button--ghost:hover { background: rgba(255,255,255,.14); }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #758392; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.eyebrow > span { display: inline-block; width: 23px; height: 2px; background: var(--color-red); }
.eyebrow--light { color: #D5DEE6; }

.hero { position: relative; min-height: 625px; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--color-navy-deep); }
.hero__image {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1519003722824-194d4455a60e?auto=format&fit=crop&w=2000&q=85") center 54% / cover no-repeat;
    transform: scale(1.015);
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,25,42,.96) 0%, rgba(9,25,42,.83) 48%, rgba(9,25,42,.2) 100%); }
.hero__content { position: relative; z-index: 1; padding-block: 75px; }
.hero h1,
.closing-cta h2 {
    max-width: 760px;
    margin: 0 0 22px;
    font: 800 clamp(43px, 6vw, 72px)/1.08 var(--font-heading);
    letter-spacing: -.055em;
}
.hero h1 em,
.section-heading h2 em,
.capability h2 em { color: #D98787; font-style: normal; }
.hero__intro { max-width: 550px; margin: 0 0 30px; color: #D6E0E8; font-size: 15px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero__caption { display: flex; align-items: center; gap: 12px; margin-top: 70px; color: #C2CFDA; font-size: 9px; letter-spacing: .18em; }
.hero__caption span { width: 35px; height: 1px; background: var(--color-red); }
.hero__index { position: absolute; right: max(24px, calc((100vw - var(--container))/2)); bottom: 30px; color: #fff; font: 800 18px var(--font-heading); }
.hero__index span { color: #C5D0D9; font: 500 9px var(--font-body); letter-spacing: .13em; }

.proof-strip { background: var(--color-paper); border-bottom: 1px solid var(--color-line); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 24px; }
.proof-strip__grid > div { padding: 2px 22px; border-right: 1px solid #DCE3E9; }
.proof-strip__grid > div:first-child { padding-left: 0; }
.proof-strip__grid > div:last-child { border: 0; }
.proof-strip strong,
.proof-strip span { display: block; }
.proof-strip strong { color: var(--color-navy); font: 800 16px var(--font-heading); }
.proof-strip span { margin-top: 3px; color: var(--color-muted); font-size: 11px; }

.section { padding-block: 94px; }
.section--soft { background: var(--color-paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.section-heading h2,
.capability h2 {
    margin: 0;
    color: var(--color-navy);
    font: 800 clamp(32px, 4vw, 48px)/1.14 var(--font-heading);
    letter-spacing: -.045em;
}
.section-heading > p { max-width: 390px; margin: 0 0 5px; color: var(--color-muted); font-size: 13px; }

/* =========================================================
   HOMEPAGE – WEIGHING SOLUTIONS IMAGE ALIGNMENT
   ========================================================= */

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    border: 1px solid var(--color-line);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }

.solution-card__visual,
.solution-card--featured .solution-card__visual {
    position: relative;
    width: 100%;
    height: 245px;
    min-height: 245px;
    overflow: hidden;
    background: #F0F2F4;
}

.solution-card__visual > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.solution-card__visual > img.solution-image--weighbridge { object-fit: cover; }

.solution-card__visual > img.solution-image--platform,
.solution-card__visual > img.solution-image--laboratory {
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.solution-card__visual::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgba(10,29,47,.02), rgba(10,29,47,.25));
    pointer-events: none;
}

.solution-card__visual > span {
    position: absolute;
    z-index: 1;
    left: 20px;
    bottom: 17px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
}

.solution-card__body { flex: 1; padding: 22px; }
.solution-card__body h3,
.database-product h3 { margin: 0 0 8px; color: var(--color-navy); font: 800 20px var(--font-heading); }
.solution-card__body p,
.database-product p { min-height: 42px; margin: 0 0 17px; color: var(--color-muted); font-size: 12px; }
.text-link { color: var(--color-red); font-size: 11px; font-weight: 800; }
.text-link span { padding-left: 5px; }
.section-footnote { margin: 20px 0 0; color: var(--color-muted); font-size: 11px; }

.capability { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; color: #fff; background: var(--color-navy); }
.capability__visual { min-height: 350px; background: url("https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=1200&q=85") center / cover; }
.capability__content { align-self: center; padding: 70px clamp(32px, 7vw, 100px); }
.capability h2 { margin-bottom: 20px; color: #fff; }
.capability__content > p:not(.eyebrow) { max-width: 460px; margin: 0 0 27px; color: #C7D2DC; font-size: 13px; }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-grid article { padding: 25px 24px 28px; border-top: 2px solid var(--color-red); background: var(--color-paper); }
.benefit-grid article > span { color: var(--color-steel); font: 800 12px var(--font-heading); }
.benefit-grid h3 { margin: 17px 0 7px; color: var(--color-navy); font: 800 17px var(--font-heading); }
.benefit-grid p { margin: 0; color: var(--color-muted); font-size: 12px; }

.database-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.database-product { overflow: hidden; border: 1px solid var(--color-line); background: #fff; }
.database-product img { width: 100%; height: 190px; object-fit: cover; }
.database-product > div { padding: 20px; }
.database-product > div > span { color: var(--color-steel); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.database-product h3 { margin-top: 7px; }

.closing-cta { padding-block: 55px; color: #fff; background: var(--color-navy); }
.closing-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.closing-cta h2 { margin: 0; font-size: 35px; }
.closing-cta .eyebrow { margin-bottom: 13px; }

.site-footer { padding-top: 55px; color: #DCE4EA; background: #0C1D2D; }
.footer__main { display: grid; grid-template-columns: 1.4fr .7fr 1fr; gap: 55px; padding-bottom: 45px; }
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__text small { color: #AAB7C2; }
.footer__brand > p,
.footer__column p { max-width: 290px; color: #AAB7C2; font-size: 11px; }
.footer__column h2 { margin: 0 0 14px; color: #fff; font: 800 12px var(--font-heading); }
.footer__column > a { display: block; margin: 9px 0; color: #B9C5CE; font-size: 11px; }
.footer__column .footer__link { color: #E58A8A; font-weight: 800; }
.footer__note { display: block; margin-top: 12px; color: #8999A7; font-size: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 17px; border-top: 1px solid #FFFFFF20; color: #8FA0AE; font-size: 10px; }

/* =========================================================
   PRODUCT CATALOGUE AND PRODUCT DETAIL PAGES
   ========================================================= */

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.catalogue-hero { padding: 50px 0 66px; color: #fff; background: linear-gradient(115deg, #0D2034 0%, #193B5B 100%); }
.catalogue-hero__inner { max-width: var(--container); }
.catalogue-hero h1 { max-width: 760px; margin: 0 0 17px; font: 800 clamp(38px, 5vw, 59px)/1.1 var(--font-heading); letter-spacing: -.05em; }
.catalogue-hero h1 em { color: #D98787; font-style: normal; }
.catalogue-hero__inner > p:not(.eyebrow) { max-width: 620px; margin: 0; color: #D1DCE5; font-size: 14px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 25px; color: #788795; font-size: 10px; }
.breadcrumbs a:hover { color: var(--color-red); }
.breadcrumbs--light { color: #B9C7D2; }
.catalogue-hero .eyebrow { margin-bottom: 14px; }

.catalogue-section { padding: 66px 0 88px; background: #fff; }
.catalogue-intro { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.catalogue-intro h2 { margin: 0; color: var(--color-navy); font: 800 clamp(28px, 3vw, 37px)/1.2 var(--font-heading); letter-spacing: -.04em; }
.catalogue-intro__copy { max-width: 600px; margin: 9px 0 0; color: var(--color-muted); font-size: 12px; }
.catalogue-search { display: flex; flex: 0 1 390px; min-width: 280px; border: 1px solid #DCE3E9; background: #fff; }
.catalogue-search input { width: 100%; min-width: 0; min-height: 47px; padding: 0 14px; border: 0; outline: 0; color: var(--color-ink); font-size: 12px; }
.catalogue-search input:focus { box-shadow: inset 0 0 0 2px var(--color-steel); }
.catalogue-search button { flex: 0 0 auto; padding: 0 17px; border: 0; color: #fff; background: var(--color-navy); font-size: 11px; font-weight: 800; cursor: pointer; }

.catalogue-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); align-items: start; gap: 30px; }
.category-sidebar { padding: 22px 18px; border: 1px solid var(--color-line); background: #fff; }
.category-sidebar > h2 { margin: 0 0 14px; color: var(--color-navy); font: 800 16px var(--font-heading); }
.category-link { display: flex; justify-content: space-between; gap: 10px; padding: 10px 9px; border-bottom: 1px solid #EDF0F3; color: #536271; font-size: 11px; transition: background .2s ease, color .2s ease; }
.category-link:hover,
.category-link.is-active { color: var(--color-navy); background: #F1F4F7; font-weight: 800; }
.category-count { color: #8B98A4; font-size: 10px; }
.category-help { margin-top: 22px; padding: 17px 14px; background: #F4F6F8; }
.category-help strong { color: var(--color-navy); font: 800 12px var(--font-heading); }
.category-help p { margin: 7px 0 10px; color: var(--color-muted); font-size: 10px; }
.category-help a { color: var(--color-red); font-size: 10px; font-weight: 800; }

.catalogue-results { min-width: 0; }
.catalogue-results__bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 16px; color: var(--color-muted); font-size: 11px; }
.catalogue-results__bar p { margin: 0; }
.catalogue-results__bar strong { color: var(--color-navy); }
.catalogue-results__bar > a { color: var(--color-red); font-weight: 800; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--color-line); background: #fff; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.product-card__image { display: flex; align-items: center; justify-content: center; height: 190px; overflow: hidden; background: #F2F5F7; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.product-card:hover .product-card__image img { transform: scale(1.035); }
.product-placeholder { display: flex; width: 100%; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8B9AA8; background: linear-gradient(145deg, #F3F6F8, #E8EDF1); }
.product-placeholder > span { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #C8D2DB; border-radius: 50%; color: var(--color-steel); font: 800 13px var(--font-heading); letter-spacing: .08em; }
.product-placeholder small { max-width: 80%; text-align: center; font-size: 9px; }
.product-card__body { padding: 17px 17px 18px; }
.product-card__category { color: var(--color-steel); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card h3 { min-height: 46px; margin: 7px 0 5px; color: var(--color-navy); font: 800 15px/1.45 var(--font-heading); }
.product-card h3 a:hover,
.related-card h3 a:hover { color: var(--color-red); }
.product-card__model { margin: 0 0 7px; color: #788795; font-size: 10px; }
.product-card__description { min-height: 38px; margin: 0 0 14px; color: var(--color-muted); font-size: 10px; line-height: 1.6; }
.product-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--color-red); font-size: 10px; font-weight: 800; }

.catalogue-empty { padding: 70px 20px; text-align: center; border: 1px dashed #CDD6DE; background: #F8FAFB; }
.catalogue-empty__mark { display: block; color: #91A0AD; font-size: 38px; }
.catalogue-empty h2 { margin: 8px 0; color: var(--color-navy); font: 800 24px var(--font-heading); }
.catalogue-empty p { margin: 0 0 20px; color: var(--color-muted); font-size: 12px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 35px; color: var(--color-muted); font-size: 10px; }
.pagination a { color: var(--color-navy); font-weight: 800; }
.pagination .is-disabled { color: #AEB8C1; }

.catalogue-cta { padding: 52px 0; color: #fff; background: var(--color-navy); }
.catalogue-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.catalogue-cta h2 { margin: 0; font: 800 clamp(25px, 3vw, 35px)/1.2 var(--font-heading); letter-spacing: -.035em; }
.catalogue-cta__inner > div > p:not(.eyebrow) { margin: 10px 0 0; color: #C7D2DC; font-size: 12px; }

.product-detail-top { padding: 23px 0 0; }
.product-detail-top .breadcrumbs { margin-bottom: 14px; }
.back-to-catalogue { color: var(--color-steel); font-size: 10px; font-weight: 800; }
.product-detail-section { padding: 28px 0 85px; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: clamp(35px, 6vw, 80px); }
.product-detail-media { min-height: 410px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-line); background: #F4F6F8; }
.product-detail-media > img { width: 100%; max-height: 500px; object-fit: contain; mix-blend-mode: multiply; }
.product-placeholder--detail { min-height: 410px; }
.product-placeholder--detail > span { width: 70px; height: 70px; font-size: 18px; }
.product-detail-content { padding-top: 13px; }
.product-detail-content h1 { margin: 9px 0 10px; color: var(--color-navy); font: 800 clamp(30px, 4vw, 43px)/1.15 var(--font-heading); letter-spacing: -.045em; }
.product-detail-model { margin: 0 0 17px; color: var(--color-muted); font-size: 11px; }
.product-detail-model strong { color: var(--color-navy); }
.product-detail-summary { margin: 0 0 17px; color: #536271; font-size: 14px; }
.product-detail-description { color: var(--color-muted); font-size: 12px; }
.product-detail-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.button--outline { color: var(--color-navy); border-color: #C9D3DC; background: #fff; }
.button--outline:hover { border-color: var(--color-navy); background: #F5F7F9; }
.product-detail-note { margin: 13px 0 0; color: #84919D; font-size: 10px; }

.specifications-panel { margin-top: 68px; padding: 35px 38px; border: 1px solid var(--color-line); background: #F8FAFB; }
.specifications-panel__heading h2 { margin: 0; color: var(--color-navy); font: 800 27px var(--font-heading); }
.specifications-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 35px; margin: 24px 0 0; padding: 0; list-style: none; }
.specifications-list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid #E4E9ED; color: #536271; font-size: 11px; }
.specifications-list li::before { position: absolute; left: 0; top: 14px; color: var(--color-red); content: "✓"; font-weight: 800; }

.related-products { margin-top: 75px; }
.related-products .section-heading { margin-bottom: 24px; }
.related-products .section-heading h2 { font-size: 30px; }
.related-products__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.related-card { overflow: hidden; border: 1px solid var(--color-line); }
.related-card__image { display: block; height: 145px; background: #F2F5F7; }
.related-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.related-card > div { padding: 14px; }
.related-card h3 { min-height: 40px; margin: 0 0 8px; color: var(--color-navy); font: 800 12px/1.45 var(--font-heading); }

/* =========================================================
   RESPONSIVE STYLES
   ========================================================= */

@media (max-width: 1000px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalogue-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
    .related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .main-nav { gap: 14px; }
    .main-nav > a:not(.button) { font-size: 11px; }
    .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__main { gap: 30px; }
}

@media (max-width: 700px) {
    .container { width: min(var(--container), calc(100% - 34px)); }
    .topbar__inner { justify-content: center; min-height: 32px; font-size: 8px; }
    .topbar__inner > span:first-child { display: none; }
    .topbar__inner > span:last-child { display: flex; gap: 12px; font-size: 8px; letter-spacing: .02em; }
    .topbar__contact { gap: 12px; }

    .header__inner { min-height: 72px; }
    .brand { min-width: 0; gap: 9px; }
    .brand img { width: 44px; height: 44px; }
    .brand__text { font-size: 11px; }
    .brand__text small { font-size: 8px; }

    .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 23px; height: 2px; background: var(--color-navy); }

    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 12px 22px 22px; background: #fff; box-shadow: 0 15px 25px rgba(15,35,55,.12); }
    .main-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > a:not(.button) { padding: 12px 0; border-bottom: 1px solid var(--color-line); font-size: 12px; }
    .main-nav .button { margin-top: 14px; }

    .hero { min-height: 570px; }
    .hero__overlay { background: linear-gradient(90deg, rgba(9,25,42,.96), rgba(9,25,42,.68)); }
    .hero__content { padding-block: 65px; }
    .hero h1 { font-size: clamp(41px, 11vw, 52px); }
    .hero__intro { font-size: 13px; }
    .hero__caption { margin-top: 52px; }

    .proof-strip__grid { grid-template-columns: 1fr 1fr; row-gap: 18px; }
    .proof-strip__grid > div { padding-inline: 13px; }
    .proof-strip__grid > div:nth-child(odd) { padding-left: 0; }
    .proof-strip__grid > div:nth-child(even) { border-right: 0; }

    .section { padding-block: 65px; }
    .section-heading { display: block; margin-bottom: 28px; }
    .section-heading > p { margin-top: 17px; }

    .solution-grid { grid-template-columns: 1fr; }
    .solution-card__visual,
    .solution-card--featured .solution-card__visual { height: 230px; min-height: 230px; }

    .capability { grid-template-columns: 1fr; }
    .capability__visual { min-height: 250px; }
    .capability__content { padding: 52px 25px; }

    .benefit-grid,
    .database-products { grid-template-columns: 1fr; }

    .closing-cta__inner { display: block; }
    .closing-cta .button { margin-top: 23px; }

    .footer__main { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .footer__brand { grid-column: span 2; }
    .footer__bottom { flex-direction: column; gap: 6px; }

    .catalogue-hero { padding: 35px 0 48px; }
    .catalogue-section { padding: 45px 0 60px; }
    .catalogue-intro { display: block; }
    .catalogue-search { min-width: 0; margin-top: 22px; }
    .catalogue-layout { grid-template-columns: 1fr; }
    .category-sidebar { padding: 17px; }
    .category-sidebar > h2 { margin-bottom: 8px; }
    .category-link { padding: 8px 7px; }
    .category-help { margin-top: 14px; }

    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .product-card__image { height: 145px; }
    .product-card__body { padding: 12px; }
    .product-card h3 { min-height: 55px; font-size: 12px; }
    .product-card__description { font-size: 9px; }

    .catalogue-cta__inner { display: block; }
    .catalogue-cta .button { margin-top: 22px; }

    .product-detail-section { padding-top: 18px; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 25px; }
    .product-detail-media,
    .product-placeholder--detail { min-height: 280px; }
    .product-detail-content { padding-top: 0; }

    .specifications-panel { margin-top: 42px; padding: 25px 20px; }
    .specifications-list { grid-template-columns: 1fr; }
    .related-products { margin-top: 48px; }
    .related-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .related-card__image { height: 115px; }
}

@media (max-width: 390px) {
    .product-grid { grid-template-columns: 1fr; }
    .product-card__image { height: 190px; }
    .related-products__grid { grid-template-columns: 1fr; }
}

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


/* =========================================================
   HOMEPAGE - WEIGHING SOLUTIONS IMAGE ALIGNMENT
   Consistent image dimensions across all three cards
========================================================= */

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
}

/* Equal image containers, including the featured card */
.solution-card__visual,
.solution-card--featured .solution-card__visual {
    position: relative;
    width: 100%;
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    flex: 0 0 340px;
    overflow: hidden;
    background: #F0F2F4;
}

/* All images occupy exactly the same container dimensions */
.solution-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/* Weighbridge: fill the frame without distorting the photograph */
.solution-card__visual img.solution-image--weighbridge {
    object-fit: cover;
    object-position: center;
}

/* Platform scale: show the complete equipment */
.solution-card__visual img.solution-image--platform {
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

/* Laboratory scale: show the complete equipment */
.solution-card__visual img.solution-image--laboratory {
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

/* Keep card descriptions aligned */
.solution-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Tablet */
@media (max-width: 900px) {
    .solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-card__visual,
    .solution-card--featured .solution-card__visual {
        height: 260px;
        min-height: 260px;
        max-height: 260px;
        flex-basis: 260px;
    }
}


/* =========================================================
   WEIGHBRIDGE SOLUTIONS
   Services and installation project gallery
========================================================= */

/* Services grid */

.weighbridge-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.weighbridge-feature-grid article {
    min-width: 0;
    padding: 27px 24px 29px;
    border: 1px solid var(--color-line);
    background: #FFFFFF;
    transition: transform .22s ease, box-shadow .22s ease;
}

.weighbridge-feature-grid article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.weighbridge-feature-grid article > span {
    display: inline-block;
    margin-bottom: 17px;
    color: var(--color-red);
    font: 800 13px var(--font-heading);
}

.weighbridge-feature-grid article h3 {
    margin: 0 0 10px;
    color: var(--color-navy);
    font: 800 17px/1.35 var(--font-heading);
}

.weighbridge-feature-grid article p {
    margin: 0;
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.75;
}


/* Installation project gallery */

.weighbridge-projects {
    padding-block: 90px;
    background: var(--color-paper);
}

.weighbridge-projects .section-heading {
    margin-bottom: 38px;
}

.weighbridge-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 19px;
}

.weighbridge-project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--color-line);
    background: #FFFFFF;
    transition: transform .25s ease, box-shadow .25s ease;
}

.weighbridge-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}


/* Image area */

.weighbridge-project-card__image {
    position: relative;
    width: 100%;
    height: 235px;
    overflow: hidden;
    background: #E9EEF2;
}

.weighbridge-project-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.weighbridge-project-card:hover
.weighbridge-project-card__image img {
    transform: scale(1.045);
}


/* Number overlay */

.weighbridge-project-card__number {
    position: absolute;
    left: 15px;
    bottom: 14px;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    color: #FFFFFF;
    background: var(--color-red);
    font: 800 12px var(--font-heading);
}


/* Card text */

.weighbridge-project-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px 19px 23px;
}

.weighbridge-project-card__stage {
    margin: 0 0 10px;
    color: var(--color-steel);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.weighbridge-project-card__body h3 {
    margin: 0 0 10px;
    color: var(--color-navy);
    font: 800 17px/1.4 var(--font-heading);
}

.weighbridge-project-card__body > p:last-child {
    margin: 0;
    color: var(--color-muted);
    font-size: 11px;
    line-height: 1.75;
}


/* Tablet */

@media (max-width: 1000px) {

    .weighbridge-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .weighbridge-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .weighbridge-project-card__image {
        height: 250px;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .weighbridge-feature-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .weighbridge-feature-grid article {
        padding: 23px 20px;
    }

    .weighbridge-projects {
        padding-block: 60px;
    }

    .weighbridge-project-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .weighbridge-project-card__image {
        height: 245px;
    }

    .weighbridge-project-card__body {
        padding: 19px;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    .weighbridge-feature-grid article,
    .weighbridge-project-card,
    .weighbridge-project-card__image img {
        transition: none;
    }

    .weighbridge-feature-grid article:hover,
    .weighbridge-project-card:hover {
        transform: none;
    }

}

