/* GPS Corp V3.6: isolated, screenshot-matched header layout */
.header{position:relative!important;z-index:100!important;background:var(--bg,#fff)!important;box-shadow:none!important}
.header>.gps-header-row{display:grid!important;grid-template-columns:minmax(170px,1fr) auto minmax(160px,235px) 46px 46px!important;align-items:center!important;gap:clamp(10px,1.1vw,22px)!important;min-height:118px!important;width:calc(100% - 48px)!important;max-width:1340px!important;margin:0 auto!important;padding:0!important}
.header .gps-header-row>.brand{display:block!important;min-width:0!important;margin:0!important;padding:0!important;position:static!important}
.header .gps-header-row>.brand img{width:215px!important;max-width:100%!important;height:auto!important;max-height:68px!important;object-fit:contain!important}
.header .gps-header-row>.nav{display:flex!important;position:static!important;align-items:center!important;justify-content:center!important;flex-direction:row!important;gap:clamp(13px,1.6vw,28px)!important;min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;background:transparent!important;transform:none!important;box-shadow:none!important}
.header .gps-header-row>.nav>a,.header .gps-header-row>.nav>.gps-mega>button{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;font-size:14px!important;font-weight:650!important;line-height:1.4!important;padding:8px 0!important;color:var(--gps-ink)!important}
.header .gps-header-row>.gps-header-search{display:flex!important;align-items:center!important;position:relative!important;width:100%!important;max-width:none!important;min-width:0!important;height:46px!important;padding:0 13px 0 19px!important;border-radius:28px!important;border:0!important;background:#eef1f5!important;margin:0!important;box-shadow:none!important;transform:none!important}
.header .gps-header-search input{flex:1!important;min-width:0!important;width:100%!important;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;font-size:13px!important;color:#18386f!important;padding:0!important}
.header .gps-header-search button{flex:none!important;border:0!important;background:transparent!important;color:#153b7c!important;padding:5px!important;font-size:17px!important;cursor:pointer!important}
.header .gps-header-row>.gps-lang,.header .gps-header-row>.gps-theme-btn{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;margin:0!important;padding:0!important;position:static!important;border:1px solid #dbe4ef!important;border-radius:13px!important;background:transparent!important;color:var(--gps-ink)!important;text-decoration:none!important;font-size:13px!important;font-weight:600!important;transform:none!important}
.header .gps-header-row>.menubtn{display:none!important}
.header .gps-mega{position:relative!important}.header .gps-mega-panel{z-index:1500!important}
.gps-top-contact{font-size:12px!important;white-space:nowrap}.gps-top-contact a{color:#fff;text-decoration:none}.gps-top-contact a:last-child{color:#ffcb4e;font-weight:800}
.gps-sub-social a{display:inline-flex;align-items:center;justify-content:center;font-size:14px!important;color:inherit!important}
.gps-search-results{position:absolute;top:calc(100% + 8px);left:0;right:0;z-index:1600;max-height:300px;overflow:auto;background:var(--bg,#fff);border:1px solid var(--gps-line,#dce5f0);border-radius:12px;box-shadow:0 14px 35px #001c3e25;padding:6px}.gps-search-results[hidden]{display:none!important}.gps-search-results a{display:block;padding:9px 10px;color:var(--gps-ink);text-decoration:none;font-size:12px}.gps-search-results small{display:block;font-size:11px}
html[data-gps-theme=dark] .header .gps-header-row>.gps-header-search{background:#24344a!important}html[data-gps-theme=dark] .gps-header-search input{color:#f3f7ff!important}
.wa{display:grid!important;place-items:center!important}.wa i{font-size:25px!important;line-height:1!important}
@media(max-width:1250px){.header>.gps-header-row{grid-template-columns:minmax(135px,1fr) auto minmax(135px,180px) 42px 42px!important;gap:10px!important}.header .gps-header-row>.nav{gap:13px!important}.header .gps-header-row>.nav>a,.header .gps-header-row>.nav>.gps-mega>button{font-size:12px!important}.header .gps-header-row>.brand img{width:165px!important}}
@media(max-width:980px){.header>.gps-header-row{grid-template-columns:minmax(110px,1fr) minmax(130px,230px) 42px 42px 42px!important;min-height:83px!important}.header .gps-header-row>.nav{display:none!important}.header .gps-header-row>.menubtn{display:grid!important;place-items:center!important;grid-column:5!important}.header .gps-header-row>.brand img{width:150px!important}}
@media(max-width:570px){.header>.gps-header-row{width:calc(100% - 24px)!important;grid-template-columns:minmax(85px,1fr) minmax(80px,120px) 34px 34px 34px!important;gap:5px!important}.header .gps-header-row>.brand img{width:115px!important}.header .gps-header-row>.gps-header-search{height:36px!important;padding:0 7px!important}.header .gps-header-row>.gps-lang,.header .gps-header-row>.gps-theme-btn{min-width:34px!important;width:34px!important;height:36px!important}.gps-top-contact{font-size:10px!important}}

/* V3.7: header aligned with the same boxed content width as the site */
@media (min-width:1251px){
 .header>.gps-header-row{width:min(1190px,calc(100% - 48px))!important;max-width:1190px!important;grid-template-columns:210px minmax(0,1fr) 220px 44px 44px!important;gap:12px!important}
 .header .gps-header-row>.nav{justify-content:flex-end!important;gap:clamp(12px,1.05vw,19px)!important}
 .header .gps-header-row>.brand img{width:205px!important}
}
@media (min-width:981px) and (max-width:1250px){
 .header>.gps-header-row{width:min(1190px,calc(100% - 48px))!important;max-width:1190px!important;grid-template-columns:165px minmax(0,1fr) 170px 42px 42px!important;gap:9px!important}
 .header .gps-header-row>.nav{justify-content:flex-end!important;gap:11px!important}
}

/* V3.8: compact desktop header height only; preserve all horizontal alignment */
@media (min-width:981px){
 .header>.gps-header-row{min-height:76px!important;height:76px!important;padding-top:4px!important;padding-bottom:4px!important}
 .header .gps-header-row>.brand img{max-height:54px!important}
 .header .gps-header-row>.gps-header-search{height:44px!important}
 .header .gps-header-row>.gps-lang,.header .gps-header-row>.gps-theme-btn{height:42px!important}
}

/* V4.2: sticky ONLY the desktop main menu, keeping both upper strips scrollable. */
@media (min-width:981px){
  body > .header{position:sticky!important;top:0!important;z-index:1500!important;background:var(--bg,#fff)!important;}
}
/* Footer certification arrangement: 3 ISO on top, 1 ISO + 4 emblems below. */
.gps-footer-v3 .gps-cert-grid{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;gap:6px!important;align-items:center!important;}
.gps-footer-v3 .gps-cert-grid>.gps-cert-link{grid-column:span 3!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.gps-footer-v3 .gps-cert-grid>.gps-cert-link:nth-child(-n+3){grid-column:span 4!important;}
.gps-footer-v3 .gps-cert-grid>.gps-cert-link img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;}
@media(max-width:570px){.gps-footer-v3 .gps-cert-grid{gap:4px!important;}}

/* V4.3: certification layout - 3 ISO logos on first row, 5 badges on second row. */
@media (min-width: 571px) {
  .gps-footer-v3 .gps-cert-grid {
    grid-template-columns: repeat(15,minmax(0,1fr)) !important;
    gap: 6px !important;
    align-items: center !important;
  }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link { grid-column: span 3 !important; min-width:0 !important; min-height:0 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(-n+3) { grid-column: span 5 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(n+4) { grid-row: 2 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(4) { grid-column: 1 / span 3 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(5) { grid-column: 4 / span 3 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(6) { grid-column: 7 / span 3 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(7) { grid-column: 10 / span 3 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(8) { grid-column: 13 / span 3 !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(n+4) img { width:100% !important; max-height:72px !important; }
}
@media (max-width:570px) {
  .gps-footer-v3 .gps-cert-grid { grid-template-columns:repeat(15,minmax(0,1fr)) !important; gap:4px !important; }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(-n+3) {grid-column:span 5 !important;}
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(n+4) {grid-column:span 3 !important;}
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link {min-height:0 !important;}
}

/* V4.4: ISO 45001 matches the width of each ISO on the first row. */
.gps-footer-v3 .gps-cert-grid{
  grid-template-columns:repeat(60,minmax(0,1fr))!important;
  gap:6px 0!important;
  align-items:center!important;
}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(-n+3){grid-column:span 20!important;grid-row:1!important;padding-right:6px!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(4){grid-column:1 / span 20!important;grid-row:2!important;padding-right:6px!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(5){grid-column:21 / span 10!important;grid-row:2!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(6){grid-column:31 / span 10!important;grid-row:2!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(7){grid-column:41 / span 10!important;grid-row:2!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(8){grid-column:51 / span 10!important;grid-row:2!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(4) img{width:100%!important;max-height:none!important;}
.gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(n+5) img{width:86%!important;max-height:74px!important;}

/* V4.6 - tidy certification grid, desktop only; all other sections unchanged. */
@media (min-width: 701px) {
  .gps-footer-v3 .gps-cert-grid {
    display:grid!important;
    grid-template-columns:repeat(12,minmax(0,1fr))!important;
    column-gap:8px!important;
    row-gap:8px!important;
    align-items:center!important;
  }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link {
    box-sizing:border-box!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
  }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(-n+3) {
    grid-row:1!important;
    grid-column:span 4!important;
    padding:0!important;
  }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(4) {
    grid-row:2!important;
    grid-column:1 / span 4!important;
    padding:0!important;
  }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(5) {grid-row:2!important;grid-column:5 / span 2!important;}
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(6) {grid-row:2!important;grid-column:7 / span 2!important;}
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(7) {grid-row:2!important;grid-column:9 / span 2!important;}
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(8) {grid-row:2!important;grid-column:11 / span 2!important;}
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link img {
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    max-height:none!important;
    height:auto!important;
    object-fit:contain!important;
  }
  .gps-footer-v3 .gps-cert-grid > .gps-cert-link:nth-child(n+5) img {
    width:92%!important;
    max-height:90px!important;
  }
}
