@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0b2347;--navy2:#12365f;--blue:#1a91c5;--cyan:#49c5e8;--ink:#14243a;--muted:#637184;--paper:#f5f7fa;--line:#dce3eb;--white:#fff;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}.container{width:min(var(--max),calc(100% - 44px));margin-inline:auto}.site-header{height:88px;background:#fff;display:flex;align-items:center;position:relative;z-index:20;border-bottom:1px solid #e9edf2}.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;min-width:230px}.brand img{width:49px;height:49px}.brand img.bei-full-logo{width:245px;height:auto;max-height:62px;object-fit:contain}.brand span{display:flex;flex-direction:column;line-height:1.2}.brand b{font:800 13px/1.4 Manrope,sans-serif;letter-spacing:.045em;color:var(--navy)}.brand small{font-size:9px;letter-spacing:.16em;color:#60728b;margin-top:4px}.main-nav{display:flex;align-items:center;gap:28px;font-size:12px;font-weight:700;color:#34445a}.main-nav>a:not(.nav-cta){padding:12px 0;position:relative}.main-nav>a.active:not(.nav-cta),.main-nav>a:hover:not(.nav-cta){color:#1689bc}.main-nav>a.active:not(.nav-cta):after{content:"";height:2px;position:absolute;bottom:4px;left:0;right:0;background:var(--cyan)}.nav-cta{background:var(--navy);color:#fff;padding:13px 17px;border-radius:3px}.nav-cta span{margin-left:10px;color:var(--cyan)}.menu-toggle{display:none;background:none;border:0;font-size:26px;color:var(--navy)}
.hero{position:relative;min-height:600px;color:#fff;background:#0b2347 url('https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=2000&q=85') center 52%/cover no-repeat;display:flex;align-items:center;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,21,44,.96) 0%,rgba(7,28,55,.86) 44%,rgba(8,31,55,.25) 100%),linear-gradient(0deg,rgba(5,21,44,.3),transparent 60%)}.hero-content{position:relative;padding:88px 0 72px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.19em;display:flex;align-items:center;gap:10px;margin:0 0 23px}.eyebrow>span{display:inline-block;width:25px;height:2px;background:var(--cyan)}.eyebrow.dark{color:#50708d}.light-eyebrow{color:#c7d9e8}.hero h1,.page-hero h1{font:600 clamp(42px,6vw,76px)/1.08 Manrope,sans-serif;letter-spacing:-.055em;margin:0;max-width:800px}.hero h1 em,.page-hero h1 em,.section h2 em,.cta-band h2 em,.enquiry-panel h2 em{font-style:normal;color:var(--cyan)}.hero-copy{max-width:540px;color:#d7e1ec;font-size:16px;line-height:1.8;margin:24px 0 30px}.hero-actions{display:flex;align-items:center;gap:28px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;padding:14px 20px;font-size:12px;font-weight:700;border:1px solid transparent;transition:.2s}.button span{font-size:17px}.button-light{background:#fff;color:var(--navy)}.button-light:hover{background:var(--cyan);color:var(--navy)}.text-link{font-size:12px;font-weight:700;color:#137eae}.text-link span{margin-left:10px}.light-link{color:#fff}.light-link span{color:var(--cyan);font-size:17px}.hero-note{display:flex;align-items:center;gap:12px;margin-top:68px;color:#d3deea;font-size:10px;letter-spacing:.04em}.note-line{height:1px;width:36px;background:var(--cyan)}.note-dot{color:var(--cyan)}.hero-index{position:absolute;bottom:26px;right:calc((100% - min(var(--max),calc(100% - 44px)))/2);font:700 12px Manrope,sans-serif;letter-spacing:.1em}.hero-index span{font-size:9px;color:#9eb3c9;margin-left:12px}
.trust-strip{background:var(--paper);border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0}.trust-grid>div{padding:4px 28px;border-right:1px solid #d8e0e9;display:flex;flex-direction:column;gap:3px}.trust-grid>div:first-child{padding-left:0}.trust-grid>div:last-child{border:0}.trust-grid strong{font:800 22px Manrope,sans-serif;color:var(--navy)}.trust-grid strong small{font-size:11px}.trust-grid span{font-size:10px;color:var(--muted)}
.section{padding:92px 0}.split-intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}.section h2,.contact-details h2{font:600 clamp(32px,4vw,48px)/1.18 Manrope,sans-serif;letter-spacing:-.04em;color:var(--navy);margin:0}.intro-copy{max-width:550px;padding-top:6px;color:#596a7d;font-size:14px}.intro-copy p{margin:0 0 18px}.intro-copy .text-link{display:inline-block;margin-top:10px}.feature-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;margin-top:54px}.feature-card{min-height:370px;position:relative;overflow:hidden;padding:26px;color:#fff;background:var(--navy)}.feature-image{background:#183a5a url('https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=900&q=80') center/cover}.feature-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(5,19,38,.96),rgba(5,19,38,.04) 90%)}.card-number{font-size:9px;letter-spacing:.16em;color:#a9c6d9;position:relative}.feature-content{position:absolute;left:26px;right:26px;bottom:25px}.feature-content h3{font:700 25px/1.25 Manrope,sans-serif;margin:0 0 12px}.feature-content p{font-size:12px;line-height:1.7;color:#c6d6e4;max-width:260px}.feature-content>a{display:inline-flex;border:1px solid rgba(255,255,255,.4);width:36px;height:36px;align-items:center;justify-content:center;margin-top:8px}.feature-products{background:linear-gradient(140deg,#15395c,#0b2347)}.product-orbit{position:absolute;border:1px solid rgba(73,197,232,.35);border-radius:50%;width:260px;height:260px;right:-80px;top:35px}.orbit-two{width:180px;height:180px;right:-40px;top:75px;border-color:rgba(255,255,255,.22)}.product-metal{position:absolute;right:36px;top:95px;width:88px;height:88px;border-radius:50%;background:linear-gradient(135deg,#dce4ec,#66798b 35%,#eff4f7 55%,#45586a 76%,#c6d0d8);box-shadow:0 20px 30px #06172c}.product-metal:after{content:"";position:absolute;inset:23px;border-radius:50%;background:linear-gradient(135deg,#10233a,#7b8c9b,#15273a);box-shadow:inset 0 0 0 5px #b8c6d1}.feature-quality{background:#eaf0f5;color:var(--navy)}.feature-quality .card-number{color:#6b8297}.feature-quality .feature-content p{color:#5e6e7f}.feature-quality .feature-content>a{border-color:#9eb2c3}.quality-symbol{position:absolute;top:62px;right:38px;width:88px;height:88px;border:1px solid #b4c6d5;border-radius:50%;display:grid;place-items:center;font:300 48px Manrope;color:#1689bc}.cta-band{background:var(--navy);color:#fff;padding:65px 0}.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-band h2{font:600 clamp(30px,4vw,44px)/1.2 Manrope,sans-serif;letter-spacing:-.04em;margin:0}.cta-band .eyebrow{margin-bottom:15px}.button-outline{border-color:#7289a2;color:#fff}.button-outline:hover{background:#fff;color:var(--navy)}.site-footer{background:#071a34;color:#fff;padding:52px 0 0}.footer-main{display:grid;grid-template-columns:1.4fr .8fr 1.2fr;gap:65px;padding-bottom:40px}.brand-footer b{color:#fff}.brand-footer small{color:#9bb1c7}.footer-brand>p,.footer-main>div>p{color:#a7b8ca;font-size:11px;line-height:1.9}.footer-main h4{font:700 12px Manrope,sans-serif;margin:0 0 18px;color:#fff}.footer-main>div:not(:first-child)>a{display:block;color:#a7b8ca;font-size:11px;margin:9px 0}.footer-main a:hover{color:var(--cyan)}.footer-bottom{border-top:1px solid #263a52;display:flex;justify-content:space-between;gap:20px;padding:18px 0;color:#8ca1b7;font-size:10px}
.page-hero{padding:100px 0 95px;color:#fff;background-color:var(--navy);background-size:cover;background-position:center;position:relative}.page-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,21,44,.94),rgba(5,21,44,.48))}.page-hero .container{position:relative}.page-hero h1{font-size:clamp(40px,5.5vw,66px)}.page-hero p:not(.eyebrow){color:#d3dfeb;max-width:560px;margin:22px 0 0}.page-hero-about{background-image:url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1800&q=80')}.page-hero-products{background-image:url('https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=1800&q=80')}.page-hero-facilities{background-image:url('https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=1800&q=80')}.page-hero-quality{background-image:url('https://images.unsplash.com/photo-1581092334651-ddf26d9a09d0?auto=format&fit=crop&w=1800&q=80')}.page-hero-contact{background-image:url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80')}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:55px}.value-grid article,.quality-cards article{border:1px solid var(--line);padding:28px;background:#fff}.value-no{font:700 12px Manrope;color:#1597c8}.value-grid h3,.quality-cards h3{font:700 19px Manrope;color:var(--navy);margin:22px 0 10px}.value-grid p,.quality-cards p{font-size:12px;color:var(--muted);margin:0}.stats-band{background:var(--paper);border-block:1px solid var(--line)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:36px 0}.stats-grid>div{display:flex;flex-direction:column;border-right:1px solid var(--line);padding:0 28px}.stats-grid>div:first-child{padding-left:0}.stats-grid>div:last-child{border:0}.stats-grid strong{font:800 27px Manrope;color:var(--navy)}.stats-grid span{font-size:11px;color:var(--muted)}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:35px}.section-heading>p{max-width:450px;font-size:13px;color:var(--muted);margin:0 0 5px}.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product-card{border:1px solid var(--line);background:#fff;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(11,35,71,.09)}.product-visual{height:205px;background:linear-gradient(145deg,#edf2f6,#d8e1e9);position:relative;overflow:hidden;display:grid;place-items:center}.product-label{position:absolute;left:16px;top:14px;font:700 10px Manrope;color:#708398}.hex-shape{width:110px;height:100px;background:linear-gradient(135deg,#dce5eb,#778b9c 30%,#f7fafb 50%,#53687a 72%,#c8d4de);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);position:relative;filter:drop-shadow(0 12px 8px #8797a355)}.hex-shape:after{content:"";position:absolute;inset:29px;background:#8c9ba8;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.bush-shape{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#aebdc8,#eef3f6 25%,#657b8e 55%,#dfe7ed 70%,#6b7f90);position:relative;box-shadow:0 18px 20px #7d8d9c66}.bush-shape:after{content:"";position:absolute;inset:25px;border-radius:50%;background:linear-gradient(135deg,#8193a2,#24384a);box-shadow:inset 0 0 0 7px #d3dde5}.spacer-shape{width:135px;height:52px;border-radius:8px;background:linear-gradient(0deg,#718596,#edf3f6 35%,#9cabb7 55%,#e9eff3);box-shadow:0 15px 20px #7d8d9c66;transform:rotate(-22deg)}.pin-shape{width:34px;height:125px;border-radius:8px;background:linear-gradient(90deg,#7a8e9f,#eef3f6 40%,#8c9eac 65%,#d7e1e8);box-shadow:0 15px 20px #7d8d9c66;transform:rotate(32deg)}.bolt-shape{width:25px;height:115px;background:linear-gradient(90deg,#7a8e9f,#eef3f6 40%,#8c9eac 65%,#d7e1e8);border-radius:4px;position:relative;transform:rotate(38deg)}.bolt-shape:before{content:"";position:absolute;top:-20px;left:-14px;width:53px;height:29px;background:linear-gradient(135deg,#eaf0f4,#788c9c,#d9e2e9);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}.insert-shape{width:90px;height:90px;border-radius:50%;background:linear-gradient(135deg,#dfe7ed,#778c9e 40%,#f3f6f8 55%,#62798b);position:relative}.insert-shape:after{content:"";position:absolute;inset:23px;border-radius:50%;background:linear-gradient(135deg,#122b46,#8294a2);box-shadow:inset 0 0 0 5px #cad5de}.product-info{padding:20px 22px 23px}.product-info h3{font:700 17px Manrope;color:var(--navy);margin:0 0 7px}.product-info p{font-size:12px;color:var(--muted);margin:0}
.capability-list{margin-top:45px}.capability-list article{display:grid;grid-template-columns:65px 1fr 30px;gap:20px;align-items:center;padding:24px 0;border-top:1px solid var(--line)}.capability-list article:last-child{border-bottom:1px solid var(--line)}.cap-icon{width:48px;height:48px;background:#edf5f9;display:grid;place-items:center;color:#138bbd;font:700 12px Manrope}.capability-list h3{font:700 19px Manrope;color:var(--navy);margin:0 0 5px}.capability-list p{font-size:12px;color:var(--muted);margin:0;max-width:720px}.cap-arrow{color:#138bbd;font-size:20px}.quality-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:48px}.quality-card-icon{width:46px;height:46px;border:1px solid #b8d9e7;border-radius:50%;display:grid;place-items:center;color:#138bbd;font:700 12px Manrope}.certification-note{margin-top:24px;background:#edf3f7;padding:30px;display:flex;align-items:center;gap:24px}.cert-mark{width:66px;height:66px;border:2px solid #1a8fbd;border-radius:50%;display:grid;place-items:center;font:800 28px Manrope;color:#1689bc;flex-shrink:0}.certification-note h3{font:800 24px Manrope;color:var(--navy);margin:0 0 8px}.certification-note p:not(.eyebrow){font-size:12px;color:var(--muted);margin:0}.certification-note .eyebrow{margin-bottom:8px}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.contact-details h2{margin-bottom:32px}.contact-item{display:flex;gap:17px;padding:19px 0;border-top:1px solid var(--line)}.contact-icon{width:38px;height:38px;background:#edf5f9;color:#138bbd;display:grid;place-items:center;font-size:20px;flex-shrink:0}.contact-item h3{font:700 13px Manrope;color:var(--navy);margin:0 0 5px}.contact-item p,.contact-item a{font-size:12px;color:var(--muted);margin:0;line-height:1.8}.contact-item a:hover{color:#138bbd}.contact-item .text-link{display:inline-block;color:#138bbd;margin-top:8px}.gst-box{background:var(--paper);padding:16px 20px;display:flex;justify-content:space-between;gap:20px;font-size:11px;margin-top:14px}.gst-box span{color:var(--muted)}.gst-box strong{color:var(--navy);letter-spacing:.04em}.enquiry-panel{background:var(--navy);padding:34px;color:#fff}.enquiry-panel h2{font:600 36px/1.15 Manrope;letter-spacing:-.04em;margin:0 0 15px}.form-intro{font-size:12px;color:#b9cad9;line-height:1.7;margin-bottom:24px}.enquiry-panel form{display:grid;gap:8px}.enquiry-panel label{font-size:11px;color:#d9e5ef;margin-top:7px}.enquiry-panel input,.enquiry-panel textarea{width:100%;border:1px solid #38506e;background:#102d50;color:#fff;padding:12px 13px;font:12px "DM Sans",sans-serif;border-radius:2px;outline:none}.enquiry-panel input:focus,.enquiry-panel textarea:focus{border-color:var(--cyan)}.enquiry-panel input::placeholder,.enquiry-panel textarea::placeholder{color:#8fa5bc}.enquiry-panel textarea{resize:vertical}.form-submit{margin-top:12px;border:0;cursor:pointer}.form-status{font-size:10px;color:#a9bfd4;margin:4px 0 0}
@media(max-width:950px){.main-nav{gap:16px}.brand{min-width:190px}.brand b{font-size:11px}.main-nav{font-size:11px}.feature-grid{grid-template-columns:1fr 1fr}.feature-card:first-child{grid-column:span 2;min-height:330px}.contact-layout{gap:35px}.footer-main{gap:30px}}
@media(max-width:760px){.site-header{height:74px}.container{width:calc(100% - 34px)}.brand{min-width:0}.brand img{width:43px;height:43px}.brand img.bei-full-logo{width:200px;height:auto;max-height:52px;object-fit:contain}.brand b{font-size:11px}.brand small{font-size:8px}.menu-toggle{display:block;cursor:pointer}.main-nav{display:none;position:absolute;top:74px;left:0;right:0;background:#fff;padding:16px 24px 24px;box-shadow:0 15px 25px #0b23471a;align-items:stretch;gap:4px;flex-direction:column}.main-nav.is-open{display:flex}.main-nav>a:not(.nav-cta){padding:10px 0}.main-nav>a.active:not(.nav-cta):after{display:none}.nav-cta{text-align:center;margin-top:8px}.hero{min-height:570px;background-position:60% center}.hero-content{padding:70px 0 62px}.hero h1{font-size:clamp(42px,12vw,62px)}.hero-copy{font-size:14px}.hero-note{margin-top:50px;flex-wrap:wrap}.hero-index{right:17px}.trust-grid{grid-template-columns:1fr 1fr;padding:12px 0}.trust-grid>div{padding:15px 12px;border-bottom:1px solid var(--line)}.trust-grid>div:first-child{padding-left:12px}.trust-grid>div:nth-child(2){border-right:0}.trust-grid>div:nth-child(3),.trust-grid>div:nth-child(4){border-bottom:0}.trust-grid strong{font-size:19px}.section{padding:64px 0}.split-intro{grid-template-columns:1fr;gap:22px}.section h2,.contact-details h2{font-size:36px}.feature-grid{grid-template-columns:1fr}.feature-card:first-child{grid-column:auto}.feature-card{min-height:330px}.cta-inner{align-items:flex-start;flex-direction:column}.cta-band{padding:48px 0}.footer-main{grid-template-columns:1fr 1fr;gap:28px}.footer-brand{grid-column:span 2}.footer-main>div:last-child{grid-column:span 2}.footer-bottom{flex-direction:column;gap:5px}.page-hero{padding:75px 0 68px}.page-hero h1{font-size:clamp(40px,11vw,58px)}.value-grid,.quality-cards{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr;gap:18px}.stats-grid>div,.stats-grid>div:first-child{border-right:0;border-bottom:1px solid var(--line);padding:0 0 15px}.stats-grid>div:last-child{border:0;padding-bottom:0}.section-heading{display:block}.section-heading>p{margin-top:20px}.products-grid{grid-template-columns:1fr 1fr;gap:12px}.product-visual{height:150px}.product-info{padding:15px}.product-info h3{font-size:14px}.product-info p{font-size:11px}.contact-layout{grid-template-columns:1fr;gap:35px}.enquiry-panel{padding:25px}.capability-list article{grid-template-columns:48px 1fr 20px;gap:12px}.cap-icon{width:42px;height:42px}.capability-list h3{font-size:16px}.certification-note{align-items:flex-start;padding:22px;gap:16px}.cert-mark{width:48px;height:48px;font-size:22px}.gst-box{flex-direction:column;gap:4px}}
@media(max-width:420px){.products-grid{grid-template-columns:1fr}.product-visual{height:190px}.hero-actions{align-items:flex-start;flex-direction:column;gap:18px}.hero-note{font-size:9px}.footer-main{grid-template-columns:1fr}.footer-brand,.footer-main>div:last-child{grid-column:auto}.brand b{font-size:10px}}

/* Updated machinery gallery */
.machine-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:44px}
.machine-card{border:1px solid var(--line);background:#fff;overflow:hidden;transition:transform .2s,box-shadow .2s}
.machine-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(11,35,71,.10)}
.machine-card>img{display:block;width:100%;height:190px;object-fit:cover;background:#e5ebf0}
.machine-card-body{padding:20px 21px 22px}
.machine-category{font-size:9px;letter-spacing:.16em;font-weight:800;color:#138bbd}
.machine-card h3{font:700 18px Manrope,sans-serif;color:var(--navy);margin:8px 0}
.machine-card p{font-size:12px;line-height:1.75;color:var(--muted);margin:0 0 14px}
.machine-card small{display:block;padding-top:12px;border-top:1px solid var(--line);font-size:10px;color:#708397}
.gallery-note{margin-top:22px;background:#fff8e8;border-left:3px solid #d7a443;padding:16px 18px;font-size:11px;line-height:1.8;color:#6b5a35}
.list-heading{margin:48px 0 8px}
.list-heading h2{font:600 clamp(28px,3vw,38px)/1.2 Manrope,sans-serif;letter-spacing:-.04em;color:var(--navy);margin:0}
.list-heading h2 em{font-style:normal;color:#1689bc}
@media(max-width:900px){.machine-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.machine-gallery{grid-template-columns:1fr}.machine-card>img{height:210px}}

.certificate-preview{margin-top:2.5rem;padding:2rem;border:1px solid var(--line, #d9e0e5);border-radius:12px;background:#fff}.certificate-preview h3{margin:0 0 .5rem}.certificate-preview p{margin:0 0 1.25rem;color:#586775}.certificate-preview object{display:block;border:1px solid #e2e6e9;background:#f7f9fa;border-radius:6px}

/* Supplied Electronica InspecVista machine image */
.machine-card>img.machine-image-contain{object-fit:contain;padding:10px;background:#fff}
.vision-machine-feature{display:grid;grid-template-columns:minmax(220px, 320px) 1fr;gap:30px;align-items:center;margin-top:28px;padding:26px;border:1px solid var(--line);background:#fff}
.vision-machine-photo{height:300px;display:flex;align-items:center;justify-content:center;background:#f7f9fb}
.vision-machine-photo img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.vision-machine-feature h3{font:800 24px Manrope;color:var(--navy);margin:8px 0 12px}
.vision-machine-feature p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--muted)}
@media(max-width:760px){.vision-machine-feature{grid-template-columns:1fr}.vision-machine-photo{height:260px}}

/* Real BEI product photographs */
.product-collage-wrap{margin-bottom:34px}
.product-collage{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;background:#fff;border:1px solid var(--line);padding:10px}
.image-caption{font-size:11px;color:var(--muted);margin:8px 0 0;text-align:right}
.products-grid-real{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-visual.product-photo{background:#fff;padding:10px}
.product-visual.product-photo img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:760px){.products-grid-real{grid-template-columns:repeat(2,minmax(0,1fr))}.product-visual.product-photo{padding:6px}}
@media(max-width:420px){.products-grid-real{grid-template-columns:1fr}.product-visual.product-photo{height:190px}}

/* Clients page */
.page-hero-clients{background-image:url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80')}
.clients-section{padding-top:76px}
.clients-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:38px}
.client-card{border:1px solid var(--line);background:#fff;border-radius:4px;overflow:hidden;transition:transform .2s,box-shadow .2s;min-width:0}
.client-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(11,35,71,.08)}
.client-logo{height:220px;padding:8px;background:#fff;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #edf1f5;overflow:hidden}
.client-logo img{display:block;width:80%;height:80%;object-fit:contain;transform:none}
.client-card h3{font:700 14px/1.45 Manrope,sans-serif;color:var(--navy);margin:0;padding:16px 15px;min-height:62px;display:flex;align-items:center;justify-content:center;text-align:center}
.clients-note{font-size:11px;color:var(--muted);margin:26px 0 0;line-height:1.7}
@media(max-width:900px){.clients-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.client-logo{height:165px;padding:8px}.client-logo img{width:80%;height:80%;transform:none}.client-card h3{font-size:13px;padding:12px;min-height:58px}}

/* Client logos: use individually cropped source artwork so each logo reads clearly. */
.clients-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.client-logo{height:210px;padding:14px;background:#fff;display:flex;align-items:center;justify-content:center}
.client-logo img{display:block;width:90%;height:82%;object-fit:contain;max-width:100%;max-height:100%}
@media(max-width:900px){.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-logo{height:190px}}
@media(max-width:600px){.clients-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.client-logo{height:150px;padding:10px}.client-logo img{width:92%;height:84%}.client-card h3{font-size:13px;padding:12px;min-height:58px}}

/* Original supplied BEI product photos: preserve full image, no crop or sharpening */
.original-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.original-photo { height: 330px; background: #fff; display:flex; align-items:center; justify-content:center; padding: 16px; }
.original-photo img { width:100%; height:100%; object-fit:contain; object-position:center; display:block; }
@media (max-width: 700px) { .original-product-grid { grid-template-columns: 1fr; } .original-photo { height: 280px; } }

/* BEI brand tagline */
.brand{flex-direction:column;align-items:flex-start;gap:3px;min-width:245px}.brand img.bei-full-logo{display:block;width:245px;max-height:54px}.brand .brand-tagline{display:block;font-size:10px;line-height:1.2;font-weight:600;letter-spacing:.08em;color:#168fa4;margin:0 0 0 2px}.brand-footer .brand-tagline{color:#65c8da}@media(max-width:950px){.brand{min-width:200px}.brand img.bei-full-logo{width:200px}.brand .brand-tagline{font-size:9px}}@media(max-width:760px){.site-header{height:auto;min-height:84px;padding:10px 0}.brand{min-width:0;gap:2px}.brand img.bei-full-logo{width:190px;max-height:43px}.brand .brand-tagline{font-size:8px}.nav-wrap{align-items:center}.main-nav{top:84px}}


/* Measurement instruments gallery: show instrument images only, without slide labels or decorative frame. */
.measurement-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line,#e5eaf0)}
.measurement-tools img{display:block;width:100%;height:78px;object-fit:contain;background:#fff;border-radius:4px}
.measurement-card{grid-column:span 2}
@media(max-width:900px){.measurement-tools{grid-template-columns:repeat(4,minmax(0,1fr))}.measurement-card{grid-column:span 2}}
@media(max-width:600px){.measurement-card{grid-column:span 1}.measurement-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.measurement-tools img{height:90px}}


/* Final footer styling: refined navy industrial theme, responsive across pages. */
.site-footer{background:linear-gradient(120deg,#061a35 0%,#09264a 65%,#0b3158 100%);color:#f5f8fc;padding:46px 0 0;position:relative;overflow:hidden}
.site-footer:before{content:"";position:absolute;inset:0 0 44px auto;width:34%;pointer-events:none;background:linear-gradient(90deg,rgba(6,26,53,0),rgba(6,26,53,.24)),url('https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=900&q=75') center/cover no-repeat;opacity:.14}
.site-footer .container{position:relative;z-index:1}
.footer-main{grid-template-columns:1.2fr .65fr 1.35fr;gap:48px;padding-bottom:34px}
.footer-main h4{font-size:15px;margin-bottom:16px}
.footer-main>div:not(:first-child)>a,.footer-brand>p,.footer-main>div>p{font-size:12px;color:#d1deeb}
.footer-main>div:not(:first-child)>a{margin:8px 0}
.footer-bottom{border-top:1px solid rgba(204,222,241,.28);padding:18px 0;color:#d1deeb;font-size:11px}
.footer-brand .brand img.bei-full-logo{width:270px;max-height:64px}
.footer-brand .brand-tagline{font-size:11px;letter-spacing:.07em}
.instrument-section{margin-top:54px}
.instrument-section .section-heading{align-items:end}
.instrument-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}
.instrument-card{border:1px solid var(--line);background:#fff;overflow:hidden}
.instrument-photo{height:190px;padding:18px;display:flex;align-items:center;justify-content:center;background:#fff}
.instrument-photo img{width:100%;height:100%;object-fit:contain;display:block}
.instrument-card h3{font:700 15px Manrope,sans-serif;color:var(--navy);text-align:center;margin:0;padding:14px 10px 16px;border-top:1px solid #edf1f5}
.quality-cards-compact{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.instrument-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-main{gap:28px}}
@media(max-width:760px){.instrument-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.instrument-photo{height:165px}.quality-cards-compact{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr 1fr}.footer-brand{grid-column:span 2}.footer-main>div:last-child{grid-column:span 2}.site-footer:before{width:55%;opacity:.08}}
@media(max-width:420px){.instrument-grid{grid-template-columns:1fr 1fr;gap:10px}.instrument-photo{height:135px;padding:10px}.instrument-card h3{font-size:12px}.footer-main{grid-template-columns:1fr}.footer-brand,.footer-main>div:last-child{grid-column:auto}.footer-brand .brand img.bei-full-logo{width:220px}}

/* Individual machine cards: image, name and model */
.machine-gallery-individual { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.machine-gallery-individual .machine-card { overflow: hidden; }
.machine-gallery-individual .machine-image-contain { width: 100%; height: 250px; object-fit: contain; background: #fff; padding: 16px; display: block; }
.machine-gallery-individual .machine-card-body { min-height: 138px; }
.machine-gallery-individual .machine-card-body h3 { margin-top: 8px; }
.machine-gallery-individual .machine-card-body p { margin-bottom: 0; }
@media (max-width: 900px) { .machine-gallery-individual { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .machine-gallery-individual { grid-template-columns: 1fr; } .machine-gallery-individual .machine-image-contain { height: 230px; } }

/* Individual measurement equipment features */
.measurement-feature-list{display:grid;gap:26px;margin-top:36px;margin-bottom:48px}
.instrument-feature{align-items:center;gap:clamp(28px,5vw,64px);padding:28px;border:1px solid #e3eaf0;border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(16,39,66,.05)}
.instrument-feature .vision-machine-photo{width:100%;max-width:460px;min-height:230px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;overflow:hidden}
.instrument-feature .vision-machine-photo img{width:100%;height:300px;object-fit:contain;background:#fff}
.instrument-feature .vision-machine-photo.dual-photo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:8px}
.instrument-feature .vision-machine-photo.dual-photo img{height:260px;min-width:0}
.instrument-feature h3{font-size:clamp(1.45rem,2.4vw,2rem);margin:.5rem 0 1rem;color:#15345a}
.instrument-feature p:not(.eyebrow){line-height:1.75;color:#566578;max-width:520px}
@media(min-width:800px){.instrument-feature.reverse-feature{grid-template-columns:1fr 1fr}.instrument-feature.reverse-feature .vision-machine-photo{order:2}.instrument-feature.reverse-feature>div:last-child{order:1}}
@media(max-width:799px){.instrument-feature{padding:18px;display:flex;flex-direction:column;align-items:stretch}.instrument-feature .vision-machine-photo{max-width:none}.instrument-feature .vision-machine-photo img{height:230px}.instrument-feature .vision-machine-photo.dual-photo img{height:190px}}

/* Brand clarity improvement: readable logo and supporting text in the actual website */
.footer-brand .brand-footer {
  min-width: 0;
  gap: 9px;
}
.footer-brand .brand-footer img.bei-full-logo {
  width: min(100%, 360px);
  max-width: 360px;
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.footer-brand .brand-footer .brand-tagline {
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: .045em;
  font-weight: 700;
  margin: 0 0 2px 2px;
  color: #42d6ee;
}
.footer-brand > p {
  font-size: 14px;
  line-height: 1.8;
  color: #e0e9f4;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .footer-brand .brand-footer img.bei-full-logo {
    width: min(100%, 320px);
  }
  .footer-brand .brand-footer .brand-tagline {
    font-size: 12px;
  }
  .footer-brand > p {
    font-size: 13px;
  }
}
