/* Legend Service - catalogue pages, two-level product menu and mobile fixes.
   Loaded AFTER style.css so it can safely override it. */
:root{--cg-red:var(--red,#e8343a);--cg-ink:var(--ink,#1d1b1c);--cg-line:#e6dfdc;--cg-bone:#f7f3f1;--cg-mute:#6b6465}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
img,video,canvas,iframe{max-width:100%}
img{height:auto}
.brand img{width:auto;max-width:100%;max-height:50px}
.photo,.split>img{width:100%;height:auto;object-fit:cover}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Products & Services menu (Brand > Category) ---------- */
.mega .mega-in{display:block!important;grid-template-columns:none!important}
.mg{display:grid;grid-template-columns:250px 1fr;grid-auto-rows:min-content;gap:0 32px;align-items:start}
.mg-brand{display:contents}
.mg-bt{grid-column:1;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0 0 8px;padding:14px 16px;border:1px solid rgba(128,128,128,.35);border-radius:6px;background:transparent;color:inherit;font:700 1.15rem/1.2 "Barlow Condensed",Barlow,sans-serif;letter-spacing:.02em;text-align:left;cursor:pointer}
.mg-logo{display:inline-flex;align-items:center;background:#fff;border-radius:4px;padding:5px 10px;line-height:0}
.mg-logo img{display:block;height:28px;width:auto;max-width:130px}
.mg-brand.is-active .mg-bt{padding-top:10px;padding-bottom:10px}
.mg-bt small{font:500 .78rem Barlow,sans-serif;opacity:.7}
.mg-brand.is-active .mg-bt{background:var(--cg-red);border-color:var(--cg-red);color:#fff}
.mg-panel{display:none;grid-column:2;grid-row:1/span 6}
.mg-brand.is-active .mg-panel{display:grid;grid-template-columns:minmax(0,440px);gap:0;align-content:start}
.mg-col{min-width:0}
.mg-gap{margin-top:22px!important}
.mg-all{grid-column:1/-1;margin:16px 0 0;padding-top:12px;border-top:1px solid rgba(128,128,128,.3);font-weight:600}
.mg-all a{color:var(--cg-red)}
.mg-panel li a{display:flex;justify-content:space-between;gap:10px}
.mg-extra{grid-column:1;margin-top:18px}
.mg-extra ul{margin-bottom:14px}
/* small laptops */
@media (max-width:1180px){.mg{grid-template-columns:220px 1fr;gap:0 20px}}
/* mobile nav (class set by catalog.js when the burger is visible) */
.is-mobile-nav .nav{max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px);overflow-y:auto;-webkit-overflow-scrolling:touch}
.is-mobile-nav .mega .mega-in{padding:0!important}
.is-mobile-nav .mg{display:block}
.is-mobile-nav .mg-brand{display:block;margin-bottom:8px}
.is-mobile-nav .mg-panel,.is-mobile-nav .mg-brand.is-active .mg-panel{grid-column:auto}
.is-mobile-nav .mg-brand.is-active .mg-panel{display:block;padding:8px 4px 4px}
.is-mobile-nav .mg-extra{margin-top:12px}
.is-mobile-nav .mg-bt{margin:0}

/* ---------- catalogue pages ---------- */
.pc-sec{padding-top:44px}
.pc-intro{max-width:78ch;margin:0 0 22px;font-size:1.05rem;line-height:1.65}
.pc-chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;margin:0 0 10px;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.pc-chips a{flex:0 0 auto;padding:8px 14px;border:1px solid var(--cg-line);border-radius:999px;background:#fff;color:var(--cg-ink);font:600 .9rem Barlow,sans-serif;text-decoration:none;white-space:nowrap}
.pc-chips a:hover{border-color:var(--cg-red);color:var(--cg-red)}
.pc-chips a[aria-current="page"]{background:var(--cg-ink);border-color:var(--cg-ink);color:#fff}
.pc-search{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 22px}
.pc-search input{flex:1 1 260px;max-width:460px;min-height:46px;padding:10px 14px;border:1px solid #cfc6c3;border-radius:6px;font:inherit;background:#fff;color:var(--cg-ink)}
.pc-search input:focus{outline:2px solid var(--cg-red);outline-offset:1px}
.pc-count{font-size:.9rem;color:var(--cg-mute)}
.pc-badge{display:inline-block;margin:0 0 18px;padding:6px 12px;border-radius:4px;background:var(--cg-red);color:#fff;font:700 .85rem Barlow,sans-serif}
.pc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}
.pc-card,.pc-cat{display:flex;flex-direction:column;background:#fff;border:1px solid var(--cg-line);border-radius:8px;overflow:hidden;color:var(--cg-ink);text-decoration:none;min-width:0}
.pc-cat{transition:box-shadow .2s,border-color .2s}
.pc-cat:hover{border-color:var(--cg-red);box-shadow:0 8px 22px rgba(0,0,0,.09)}
.pc-img{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;background:#fff;border-bottom:1px solid var(--cg-line);padding:10px}
.pc-img img{display:block;width:100%;height:100%;object-fit:contain}
.pc-body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.pc-body h3{margin:0;font:700 1.3rem/1.2 "Barlow Condensed",Barlow,sans-serif;letter-spacing:.01em;overflow-wrap:anywhere}
.pc-body p{margin:0;font-size:.95rem;line-height:1.55;color:var(--cg-mute)}
.pc-body ul{margin:2px 0 4px;padding-left:18px;font-size:.93rem;line-height:1.5}
.pc-body li{margin:0 0 4px;overflow-wrap:anywhere}
.pc-body .pc-apps{color:var(--cg-ink);font-size:.9rem}
.pc-brand{align-self:flex-start;padding:3px 9px;border-radius:3px;background:var(--cg-bone);border:1px solid var(--cg-line);font:600 .75rem Barlow,sans-serif;letter-spacing:.03em;color:var(--cg-ink)}
.pc-enq{display:inline-flex;align-items:center;gap:8px;margin-top:auto;padding:10px 14px;min-height:44px;border-radius:6px;background:#1faa59;color:#fff;font:600 .92rem Barlow,sans-serif;text-decoration:none;align-self:flex-start}
.pc-enq svg{width:18px;height:18px;flex:none}
.pc-enq:hover{filter:brightness(.92)}
.pc-body ul+.pc-enq,.pc-body p+.pc-enq,.pc-body h3+.pc-enq{margin-top:10px}
.pc-card .pc-enq{margin-top:auto}
.pc-more{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;border-top:1px solid var(--cg-line);font:600 .88rem Barlow,sans-serif}
.pc-more span:last-child{color:var(--cg-red)}
.pc-h2{margin:44px 0 18px;font:700 clamp(1.5rem,3vw,2rem)/1.15 "Barlow Condensed",Barlow,sans-serif}
.pc-h2:first-of-type{margin-top:8px}
.pc-note{max-width:80ch;margin:14px 0 0;font-size:.88rem;line-height:1.55;color:var(--cg-mute)}
.pc-none{margin:20px 0}
.pc-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--cg-line);border-radius:8px;background:#fff}
.pc-table{width:100%;border-collapse:collapse;font-size:.92rem;min-width:520px}
.pc-table th,.pc-table td{padding:10px 14px;border-bottom:1px solid var(--cg-line);text-align:center;vertical-align:middle}
.pc-table thead th{background:var(--cg-red);color:#fff;font:700 1rem "Barlow Condensed",Barlow,sans-serif;white-space:nowrap}
.pc-table tbody th{text-align:left;font-weight:600;background:var(--cg-bone);min-width:150px;position:sticky;left:0;z-index:1}
.pc-table thead th:first-child{text-align:left;position:sticky;left:0;z-index:2}
.pc-table tr:last-child th,.pc-table tr:last-child td{border-bottom:0}
.pc-cta{padding:44px 0;background:var(--cg-ink);color:#fff}
.pc-cta .wrap{display:flex;gap:24px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.pc-cta h2{margin:0 0 6px;font:700 clamp(1.5rem,3vw,2rem)/1.15 "Barlow Condensed",Barlow,sans-serif;color:#fff}
.pc-cta p{margin:0;max-width:56ch;opacity:.85}
.pc-cta-btns{display:flex;gap:12px;flex-wrap:wrap}
.pc-service{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:34px;padding:24px;border:1px solid var(--cg-line);border-radius:8px;background:var(--cg-bone)}
.pc-service h2{margin:0 0 4px;font:700 1.5rem "Barlow Condensed",Barlow,sans-serif}.pc-service p{margin:0;color:var(--cg-mute)}
/* brand tiles (home + products page) */
.bt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
.bt{display:flex;flex-direction:column;background:#fff;border:1px solid var(--cg-line);border-radius:10px;overflow:hidden;min-width:0}
.bt-img{aspect-ratio:16/9;background:#fff;display:flex;align-items:center;justify-content:center;padding:14px;border-bottom:1px solid var(--cg-line)}
.bt-img img{width:100%;height:100%;object-fit:contain}
.bt.honda .bt-img{background:#fff}
.bt-body{display:flex;flex-direction:column;gap:10px;padding:22px;flex:1}
.bt-body h3{margin:0;font:700 1.8rem/1.1 "Barlow Condensed",Barlow,sans-serif}
.bt-body>p{margin:0;color:var(--cg-mute)}
.bt-body ul{list-style:none;margin:6px 0 10px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px}
.bt-body li a{display:block;padding:7px 0;border-bottom:1px solid var(--cg-line);color:var(--cg-ink);text-decoration:none;font-weight:500}
.bt-body li a:hover{color:var(--cg-red)}
.bt-body .btn{align-self:flex-start;margin-top:auto}

/* ---------- mobile friendly fixes for the whole site ---------- */
@media (max-width:980px){
 .bt-grid{grid-template-columns:1fr}
 .split,.contact-grid{grid-template-columns:1fr!important}
 .split>*{min-width:0}
 .hero .wrap{grid-template-columns:1fr!important;gap:28px}
 .hero{overflow:hidden}
 .gauge-wrap{max-width:340px;margin-inline:auto}
 .sec-head-row{flex-direction:column;align-items:flex-start;gap:16px}
 .plate{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .foot{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px}
 .svc-grid,.steps{grid-template-columns:1fr!important}
}
@media (max-width:760px){
 .topbar .tb-right{display:none}
 .topbar .tb-left{gap:14px;flex-wrap:wrap}
 .topbar .tb-left a:nth-child(n+2){display:none}
 .brand img{max-height:40px}
 .hero h1{font-size:clamp(1.9rem,8vw,2.6rem);line-height:1.1}
 .hero-cta{flex-wrap:wrap}
 .hero-gear{display:none}
 .sec{padding-top:44px;padding-bottom:44px}
 .parallax{background-attachment:scroll!important}
 .two{grid-template-columns:1fr!important}
 .field input,.field select,.field textarea{font-size:16px}
 .map-wrap iframe,.map{width:100%!important;min-height:300px!important;height:300px}
 .gal{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;column-count:auto!important}
 .gal figure{margin:0;width:auto}
 .gal figure.wide{grid-column:1/-1}
 .gal img{width:100%;height:auto;object-fit:cover}
 .cat-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}
 .cta-band .wrap{flex-direction:column;align-items:flex-start;gap:16px}
 .qc{width:calc(100vw - 20px)!important;max-width:560px;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);overflow:auto;margin:auto}
 .pc-sec{padding-top:28px}
 .pc-cta .wrap{flex-direction:column;align-items:flex-start}
 .pc-service{padding:18px}
 .legal{flex-direction:column;gap:6px;text-align:left}
}
@media (max-width:560px){
 .pc-grid{grid-template-columns:1fr;gap:16px}
 .pc-grid.cats{grid-template-columns:1fr}
 .bt-body ul{grid-template-columns:1fr}
 .bt-body{padding:18px}
 .foot{grid-template-columns:1fr!important}
 .page-head h1{font-size:clamp(1.8rem,9vw,2.4rem)}
 .pc-table{font-size:.85rem}
 .pc-table th,.pc-table td{padding:8px 10px}
}
@media (max-width:360px){.plate{grid-template-columns:1fr!important}}

/* brand logos used in place of headings */
.brand-badge{display:inline-flex;align-items:center;background:#fff;border-radius:6px;padding:8px 14px;line-height:0;margin:2px 0 12px}
.brand-badge img{display:block;height:34px;width:auto;max-width:100%}
.brand-badge.big{padding:12px 20px;margin:4px 0 8px}
.brand-badge.big img{height:clamp(40px,7vw,64px)}
.page-head h1 .brand-badge{vertical-align:middle}
.bt-logo{display:inline-flex;line-height:0}
.bt-logo img{display:block;height:44px;width:auto;max-width:100%}
.pc-h3{margin:30px 0 12px;font:700 1.3rem "Barlow Condensed",Barlow,sans-serif}
.pc-table tr.sub th{background:var(--cg-ink);color:#fff;text-align:left;position:static;font-weight:600}
.pc-table.wide-first tbody th{min-width:180px}
@media (max-width:560px){.brand-badge img{height:28px}.bt-logo img{height:36px}}

/* tagline, vision & mission, certificates */
.hero-tag{margin:14px 0 0;font:italic 600 1.15rem/1.4 "Playfair Display",Georgia,serif;opacity:.95}
.tagline-foot{margin:0 0 10px;font:italic 600 1.05rem/1.4 "Playfair Display",Georgia,serif}
.vm-tag{margin:0 0 26px;font:italic 700 clamp(1.4rem,3.4vw,2.1rem)/1.3 "Playfair Display",Georgia,serif;text-align:center;color:var(--cg-ink)}
.vm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.vm-card{background:#fff;border:1px solid var(--cg-line);border-top:4px solid var(--cg-red);border-radius:8px;padding:26px}
.vm-card h2{margin:0 0 12px;font:700 1.8rem "Barlow Condensed",Barlow,sans-serif}
.vm-card p{margin:0;font-size:1.1rem;line-height:1.6}
.vm-card ul{margin:0;padding-left:20px;font-size:1.08rem;line-height:1.8}
.vm-link{text-align:center;margin:26px 0 0}
.cert-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.cert{display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--cg-line);border-radius:8px;padding:18px;min-width:0}
.cert-top h3{margin:6px 0 0;font:700 1.25rem "Barlow Condensed",Barlow,sans-serif}
.cert-frame{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;border:1px dashed #cfc6c3;border-radius:6px;background:var(--cg-bone);overflow:hidden;text-decoration:none}
.cert-frame img{width:100%;height:100%;object-fit:contain}
.cert-frame .cert-ph{display:none;padding:20px;text-align:center;color:var(--cg-mute);font-size:.95rem}
.cert-frame.missing .cert-ph{display:block}
.cert p{margin:0;color:var(--cg-mute);font-size:.95rem}
.cert-reg{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:0}
.cert-reg div{background:#fff;border:1px solid var(--cg-line);border-radius:8px;padding:16px}
.cert-reg dt{font-size:.85rem;color:var(--cg-mute)}.cert-reg dd{margin:4px 0 0;font:700 1.2rem "Barlow Condensed",Barlow,sans-serif}
@media (max-width:760px){.vm-grid{grid-template-columns:1fr}.cert-grid{grid-template-columns:1fr}}
