
/* =========================================================
   OHGS FINAL CUSTOMER FIX
   Targets the actual HTML classes in this project:
   .hero-grid, .wrap, .card, .brand-panel, .footer-grid
   Fixes: non-sticky header, giant image, poor alignment,
   card spacing, mobile menu, header logo, light/dark mode.
   ========================================================= */

:root{
  --ohgs-bg:#07111f;
  --ohgs-bg-soft:#0b1a2f;
  --ohgs-card:#10223a;
  --ohgs-text:#eff6ff;
  --ohgs-muted:#b8c7d9;
  --ohgs-line:rgba(255,255,255,.13);
  --ohgs-blue:#00bfff;
  --ohgs-blue2:#0077b6;
  --ohgs-gold:#f59e0b;
  --ohgs-green:#18c75f;
  --ohgs-max:1220px;
  --ohgs-header:78px;
  --ohgs-radius:24px;
  --ohgs-shadow:0 18px 50px rgba(0,0,0,.28);
}

html{
  overflow-x:hidden !important;
  scroll-padding-top:calc(var(--ohgs-header) + 16px) !important;
}
*{box-sizing:border-box !important;}
body{
  margin:0 !important;
  overflow-x:hidden !important;
  background:var(--ohgs-bg) !important;
  color:var(--ohgs-text) !important;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  line-height:1.58 !important;
}
body.light,
html.light body,
html[data-theme="light"] body{
  --ohgs-bg:#f4f9ff;
  --ohgs-bg-soft:#eaf3fb;
  --ohgs-card:#ffffff;
  --ohgs-text:#0b1628;
  --ohgs-muted:#475569;
  --ohgs-line:rgba(15,23,42,.14);
  --ohgs-shadow:0 18px 42px rgba(15,23,42,.10);
  background:var(--ohgs-bg) !important;
  color:var(--ohgs-text) !important;
}
img{max-width:100% !important;}

/* Header: fixed and steady on every page */
.site-header{
  position:fixed !important;
  inset:0 0 auto 0 !important;
  z-index:999999 !important;
  height:var(--ohgs-header) !important;
  min-height:var(--ohgs-header) !important;
  width:100% !important;
  padding:10px clamp(18px,4vw,52px) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  background:rgba(4,10,20,.97) !important;
  border-bottom:1px solid var(--ohgs-line) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.20) !important;
  backdrop-filter:blur(16px) !important;
  transform:none !important;
  transition:height .2s ease, padding .2s ease, background .2s ease, box-shadow .2s ease !important;
}
body.light .site-header,
html.light .site-header,
html[data-theme="light"] .site-header{
  background:rgba(255,255,255,.98) !important;
  box-shadow:0 10px 28px rgba(15,23,42,.10) !important;
}
.site-header.scrolled,
body.ohgs-scrolled .site-header{
  height:66px !important;
  min-height:66px !important;
  padding-top:6px !important;
  padding-bottom:6px !important;
}

/* Header logo cleaned */
.brand{
  flex:0 0 auto !important;
  min-width:155px !important;
  max-width:210px !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  overflow:visible !important;
  text-decoration:none !important;
}
.brand img{
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  aspect-ratio:1/1 !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:50% !important;
  background:#fff !important;
  padding:2px !important;
  box-shadow:0 8px 22px rgba(0,0,0,.18) !important;
}
.brand > span,
.brand-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  min-width:0 !important;
}
.brand-title{
  color:var(--ohgs-text) !important;
  font-size:22px !important;
  font-weight:950 !important;
  letter-spacing:.13em !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.brand-subtitle{
  color:var(--ohgs-blue) !important;
  font-size:7px !important;
  font-weight:900 !important;
  letter-spacing:.18em !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

/* Desktop nav */
.nav-links,
.ohgs-main-menu,
#mainMenu{
  position:static !important;
  display:flex !important;
  flex:1 1 auto !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(6px,.9vw,16px) !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 auto !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  overflow:visible !important;
}
.nav-links a,
.ohgs-main-menu a,
#mainMenu a{
  min-width:0 !important;
  height:38px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:var(--ohgs-text) !important;
  font-size:clamp(12px,.86vw,14px) !important;
  font-weight:800 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  text-decoration:none !important;
}
.nav-links a.active,
.nav-links a:hover,
#mainMenu a.active,
#mainMenu a:hover{
  color:var(--ohgs-blue) !important;
  background:rgba(0,191,255,.09) !important;
  border:1px solid rgba(0,191,255,.32) !important;
}

.header-actions{
  flex:0 0 auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  width:auto !important;
}
.pill{
  height:42px !important;
  min-height:42px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px !important;
  background:rgba(255,255,255,.06) !important;
  border:1px solid var(--ohgs-line) !important;
  color:var(--ohgs-text) !important;
  font-size:13px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
.whatsapp{
  background:var(--ohgs-green) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.menu-toggle{display:none !important;}

/* Page offset below fixed header */
main,
body > section:first-of-type{
  padding-top:0 !important;
}
main > section:first-child,
body > section:first-of-type{
  margin-top:var(--ohgs-header) !important;
}

/* Universal wrappers */
.wrap,
.footer-grid,
.hero-grid{
  width:100% !important;
  max-width:var(--ohgs-max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Section rhythm, no huge empty gaps */
.section,
.detail-hero,
.stock-showcase,
.page-visual-boost,
.ohgs-brand-visual-section,
.latest-arrivals,
.project-picture-section,
.ohgs-extra-photos,
.ohgs-promise,
.contact-polish{
  width:100% !important;
  padding:clamp(42px,5vw,68px) clamp(20px,4.5vw,64px) !important;
  background:transparent !important;
  overflow:hidden !important;
  clear:both !important;
}
.section + .section,
section + section{
  padding-top:clamp(30px,3vw,46px) !important;
}

/* Home hero grid */
.hero{
  min-height:auto !important;
  margin-top:var(--ohgs-header) !important;
  padding:clamp(42px,5vw,68px) clamp(20px,4.5vw,64px) !important;
  background:linear-gradient(120deg,rgba(0,191,255,.06),transparent 48%) !important;
  overflow:hidden !important;
}
.hero-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(360px,.95fr) !important;
  gap:clamp(28px,4vw,58px) !important;
  align-items:center !important;
}
.hero h1,
.section h1,
.detail-hero h1{
  margin:0 0 18px !important;
  max-width:820px !important;
  color:var(--ohgs-text) !important;
  font-size:clamp(42px,5.1vw,70px) !important;
  line-height:1.05 !important;
  letter-spacing:-.045em !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
.section h2,
.detail-hero h2{
  margin:8px 0 16px !important;
  max-width:900px !important;
  color:var(--ohgs-text) !important;
  font-size:clamp(32px,4.1vw,56px) !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}
.kicker{
  display:block !important;
  margin:0 0 10px !important;
  color:var(--ohgs-gold) !important;
  text-transform:uppercase !important;
  letter-spacing:.16em !important;
  font-size:13px !important;
  font-weight:950 !important;
}
.lead,
.hero p,
.section > .wrap > p,
.section p,
.detail-hero p{
  max-width:850px !important;
  color:var(--ohgs-muted) !important;
  font-size:clamp(15px,1.25vw,18px) !important;
  line-height:1.65 !important;
  margin-top:0 !important;
}

/* Home image collage */
.hero-media{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
  transform:none !important;
}
.hero-media img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:4/3 !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:24px !important;
  border:1px solid var(--ohgs-line) !important;
  box-shadow:var(--ohgs-shadow) !important;
  transform:none !important;
}

/* Fix the large home/about logo panel */
.brand-panel{
  display:grid !important;
  grid-template-columns:260px minmax(0,1fr) !important;
  gap:28px !important;
  align-items:center !important;
  background:var(--ohgs-card) !important;
  border:1px solid var(--ohgs-line) !important;
  border-radius:26px !important;
  padding:28px !important;
  box-shadow:var(--ohgs-shadow) !important;
}
.brand-panel > img,
.brand-panel img[src*="ohgs"],
img[src*="ohgs-header-logo"],
img[src*="ohgs-logo"]{
  object-fit:contain !important;
}
.brand-panel > img{
  width:220px !important;
  height:220px !important;
  max-width:220px !important;
  max-height:220px !important;
  justify-self:center !important;
  border-radius:26px !important;
  padding:14px !important;
  background:#fff !important;
}

/* Grids and cards: target actual .grid/.card names */
.grid,
.products-grid,
.product-grid,
.stock-grid,
.premium-grid,
.promo-grid,
.video-grid,
.cards-grid,
.service-grid,
.service-grid-enhanced,
.project-picture-grid,
.ohgs-latest-grid,
.page-visual-grid,
.ohgs-brand-visual-grid,
.promise-grid,
.ohgs-extra-photo-grid,
.contact-grid-final{
  width:100% !important;
  max-width:var(--ohgs-max) !important;
  margin:24px auto 0 !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;
  gap:clamp(18px,2vw,26px) !important;
  align-items:stretch !important;
  justify-items:stretch !important;
}
.service-grid-enhanced,
.video-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)) !important;
}
.stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)) !important;}

.card,
.product-card,
.stock-card,
.info-card,
.service-card,
.quote-card,
.promo-card,
.video-card,
.page-visual-card,
.ohgs-latest-card,
.promise-card,
.contact-card,
.service-link-card,
.project-image-card,
.ohgs-brand-visual-card,
.ohgs-extra-photo-card,
.stat{
  min-width:0 !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  background:var(--ohgs-card) !important;
  border:1px solid var(--ohgs-line) !important;
  border-radius:var(--ohgs-radius) !important;
  overflow:hidden !important;
  box-shadow:var(--ohgs-shadow) !important;
}
.card > img,
.card img:first-child,
.product-card img,
.stock-card img,
.page-visual-card img,
.ohgs-latest-card img,
.service-link-card img,
.project-image-card img,
.ohgs-brand-visual-card img,
.ohgs-extra-photo-card img,
.product-body img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:4/3 !important;
  object-fit:cover !important;
  object-position:center !important;
  background:var(--ohgs-bg-soft) !important;
}
.promo-card > img,
.promo-card img,
.gallery img{
  object-fit:contain !important;
  background:#f8fafc !important;
}
.card-body,
.product-body,
.stock-body,
.page-visual-body,
.ohgs-latest-body,
.promo-card > div,
.service-card,
.info-card,
.quote-card,
.video-card,
.promise-card,
.contact-card,
.stat{
  padding:20px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  flex:1 !important;
  min-width:0 !important;
}
.card h3,
.product-card h3,
.stock-card h3,
.page-visual-card h3,
.ohgs-latest-card h3,
.ohgs-brand-visual-card h3,
.service-card h3,
.info-card h3,
.video-card h3{
  margin:8px 0 6px !important;
  color:var(--ohgs-text) !important;
  font-size:clamp(20px,1.65vw,25px) !important;
  line-height:1.18 !important;
  word-break:normal !important;
}
.card p,
.product-card p,
.stock-card p,
.page-visual-card p,
.ohgs-latest-card p,
.service-card p,
.info-card p,
.video-card p{
  margin:0 !important;
  color:var(--ohgs-muted) !important;
  font-size:15px !important;
  line-height:1.58 !important;
}
.tag{
  width:max-content !important;
  max-width:100% !important;
  min-height:34px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  color:var(--ohgs-blue) !important;
  border:1px solid rgba(0,191,255,.35) !important;
  font-size:13px !important;
  font-weight:900 !important;
}
.mini-list{
  margin:4px 0 0 !important;
  padding-left:18px !important;
  color:var(--ohgs-muted) !important;
  font-size:14px !important;
}
.card-actions,
.actions,
.form-buttons,
.contact-actions,
.footer-actions{
  margin-top:auto !important;
  padding-top:14px !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:10px !important;
}
.btn,
.contact-btn,
.ohgs-oval-btn{
  min-height:46px !important;
  padding:0 20px !important;
  border-radius:16px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:linear-gradient(135deg,var(--ohgs-blue),var(--ohgs-blue2)) !important;
  border:1px solid rgba(0,191,255,.28) !important;
  color:#fff !important;
  font-weight:950 !important;
  box-shadow:0 10px 24px rgba(0,191,255,.15) !important;
}
.btn.ghost,
.ghost{
  background:transparent !important;
  color:var(--ohgs-text) !important;
  border-color:var(--ohgs-line) !important;
  box-shadow:none !important;
}
.card-actions .btn,
.footer-actions .btn{
  flex:1 1 150px !important;
  min-width:150px !important;
}

/* Split, about, contact */
.split{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:clamp(24px,4vw,48px) !important;
  align-items:center !important;
}
.split img,
.detail-image,
.banner-img{
  width:100% !important;
  height:auto !important;
  max-height:520px !important;
  aspect-ratio:16/10 !important;
  object-fit:cover !important;
  object-position:center !important;
  border-radius:26px !important;
  border:1px solid var(--ohgs-line) !important;
  box-shadow:var(--ohgs-shadow) !important;
}
iframe{
  width:100% !important;
  min-height:360px !important;
  max-height:440px !important;
  border:0 !important;
  border-radius:22px !important;
}

/* Gallery */
.gallery{
  width:100% !important;
  max-width:var(--ohgs-max) !important;
  margin:24px auto 0 !important;
  columns:3 300px !important;
  column-gap:22px !important;
}
.gallery img{
  width:100% !important;
  height:auto !important;
  margin:0 0 22px !important;
  border-radius:22px !important;
  border:1px solid var(--ohgs-line) !important;
}

/* Footer */
.footer{
  padding:56px clamp(20px,4.5vw,64px) 28px !important;
  background:#050d19 !important;
  border-top:1px solid var(--ohgs-line) !important;
}
body.light .footer{background:#eaf3fb !important;}
.footer-grid{
  display:grid !important;
  grid-template-columns:1.2fr .8fr .8fr !important;
  gap:18px !important;
}
.footer-grid > div{
  min-width:0 !important;
}
.footer img{
  width:58px !important;
  height:58px !important;
  object-fit:contain !important;
  border-radius:50% !important;
  background:#fff !important;
  padding:4px !important;
}

/* Quick buttons */
.quick-contact{
  position:fixed !important;
  left:18px !important;
  bottom:90px !important;
  z-index:1000 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
}
.quick-contact a{
  width:48px !important;
  height:48px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  box-shadow:0 10px 30px rgba(0,0,0,.25) !important;
}
.back-top{
  position:fixed !important;
  right:24px !important;
  bottom:28px !important;
  width:54px !important;
  height:54px !important;
  border-radius:50% !important;
  display:grid !important;
  place-items:center !important;
  z-index:1000 !important;
  background:var(--ohgs-blue) !important;
  color:#fff !important;
}

/* Loader */
.ohgs-loader-screen,
#ohgsLoader{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  display:grid !important;
  place-items:center !important;
  align-content:center !important;
  gap:12px !important;
  background:radial-gradient(circle at center,#0d2842,#050d19 72%) !important;
  transition:opacity .45s ease, visibility .45s ease !important;
}
body.light .ohgs-loader-screen,
body.light #ohgsLoader{
  background:radial-gradient(circle at center,#fff,#eaf3fb 72%) !important;
}
.ohgs-loader-screen.hide,
#ohgsLoader.hide{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}
.ohgs-loader-core{
  width:90px !important;
  height:90px !important;
  position:relative !important;
  display:grid !important;
  place-items:center !important;
}
.ohgs-loader-svg{
  position:absolute !important;
  inset:0 !important;
  width:90px !important;
  height:90px !important;
}
.ohgs-loader-track{fill:none !important;stroke:rgba(125,211,252,.2) !important;stroke-width:8 !important;}
.ohgs-loader-bar{
  fill:none !important;
  stroke:var(--ohgs-blue) !important;
  stroke-width:8 !important;
  stroke-linecap:round !important;
  stroke-dasharray:110 190 !important;
  transform-origin:60px 60px !important;
  animation:ohgsLoaderSpin .95s linear infinite !important;
}
.ohgs-loader-logo{
  width:56px !important;
  height:56px !important;
  object-fit:contain !important;
  background:#fff !important;
  border-radius:50% !important;
  padding:4px !important;
  position:relative !important;
  z-index:2 !important;
}
@keyframes ohgsLoaderSpin{to{transform:rotate(360deg)}}

/* Mobile / tablet */
@media (max-width:980px){
  :root{--ohgs-header:64px;}
  .site-header,
  .site-header.scrolled{
    height:64px !important;
    min-height:64px !important;
    padding:8px 10px !important;
    display:grid !important;
    grid-template-columns:minmax(112px,1fr) 42px auto !important;
    grid-template-areas:"brand menu actions" !important;
    gap:8px !important;
  }
  .brand{
    grid-area:brand !important;
    min-width:0 !important;
    max-width:148px !important;
    gap:7px !important;
  }
  .brand img{
    width:38px !important;
    height:38px !important;
    min-width:38px !important;
  }
  .brand-title{font-size:17px !important;}
  .brand-subtitle{font-size:6px !important;}
  .menu-toggle{
    grid-area:menu !important;
    display:flex !important;
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    border:0 !important;
    border-radius:14px !important;
    background:linear-gradient(135deg,var(--ohgs-blue),var(--ohgs-blue2)) !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:column !important;
    gap:4px !important;
    padding:0 !important;
  }
  .menu-toggle span{
    display:block !important;
    width:18px !important;
    height:2px !important;
    background:#02131f !important;
    border-radius:999px !important;
    transition:.2s ease !important;
  }
  .menu-toggle.is-open span:nth-child(1){transform:translateY(6px) rotate(45deg) !important;}
  .menu-toggle.is-open span:nth-child(2){opacity:0 !important;}
  .menu-toggle.is-open span:nth-child(3){transform:translateY(-6px) rotate(-45deg) !important;}
  .header-actions{
    grid-area:actions !important;
    justify-self:end !important;
    gap:5px !important;
  }
  .pill{
    height:34px !important;
    min-height:34px !important;
    padding:0 8px !important;
    font-size:10px !important;
  }
  .theme-toggle{width:42px !important;max-width:42px !important;overflow:hidden !important;}
  .lang-toggle{width:58px !important;max-width:58px !important;}
  .whatsapp{width:72px !important;max-width:72px !important;}
  .nav-links,
  #mainMenu{
    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:10px !important;
    right:10px !important;
    width:auto !important;
    height:auto !important;
    max-height:min(70vh,520px) !important;
    overflow:auto !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
    padding:12px !important;
    margin:0 !important;
    background:rgba(5,15,28,.98) !important;
    border:1px solid var(--ohgs-line) !important;
    border-radius:20px !important;
    box-shadow:0 24px 70px rgba(0,0,0,.38) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(-8px) scale(.98) !important;
    transition:.2s ease !important;
  }
  body.light .nav-links,
  body.light #mainMenu{
    background:rgba(255,255,255,.98) !important;
  }
  body.menu-open .nav-links,
  body.menu-open #mainMenu,
  .nav-links.open,
  #mainMenu.open{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:none !important;
  }
  .nav-links a,
  #mainMenu a{
    width:100% !important;
    height:44px !important;
    padding:0 10px !important;
    border-radius:14px !important;
    background:rgba(255,255,255,.06) !important;
    font-size:13px !important;
  }
  body.light .nav-links a,
  body.light #mainMenu a{
    background:rgba(7,17,31,.05) !important;
  }

  .hero-grid,
  .split,
  .brand-panel{
    grid-template-columns:1fr !important;
  }
  .hero,
  .section,
  .detail-hero{
    padding-left:18px !important;
    padding-right:18px !important;
  }
  .hero h1,
  .section h1,
  .detail-hero h1{
    font-size:clamp(34px,10vw,52px) !important;
    line-height:1.08 !important;
  }
  .section h2,
  .detail-hero h2{
    font-size:clamp(30px,8.5vw,44px) !important;
  }
  .hero-media{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .brand-panel > img{
    width:160px !important;
    height:160px !important;
    max-width:160px !important;
    max-height:160px !important;
  }
  .card-actions,
  .actions,
  .form-buttons,
  .contact-actions,
  .footer-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
  }
  .card-actions .btn,
  .actions .btn,
  .footer-actions .btn{
    min-width:0 !important;
    width:100% !important;
  }
  .footer-grid{
    grid-template-columns:1fr !important;
  }
  .quick-contact{
    left:12px !important;
    bottom:78px !important;
  }
  .quick-contact a{
    width:44px !important;
    height:44px !important;
  }
}

@media (max-width:430px){
  .site-header,
  .site-header.scrolled{
    grid-template-columns:minmax(96px,1fr) 38px auto !important;
    gap:6px !important;
  }
  .brand{max-width:126px !important;}
  .brand img{width:34px !important;height:34px !important;min-width:34px !important;}
  .brand-title{font-size:14px !important;}
  .brand-subtitle{font-size:5px !important;}
  .menu-toggle{width:38px !important;height:38px !important;min-width:38px !important;}
  .pill{height:31px !important;min-height:31px !important;font-size:8px !important;padding:0 6px !important;}
  .theme-toggle{width:36px !important;max-width:36px !important;}
  .lang-toggle{width:49px !important;max-width:49px !important;}
  .whatsapp{width:62px !important;max-width:62px !important;}
  .hero-media{grid-template-columns:1fr !important;}
}


/* =========================================================
   SAFE MONDAY + FINAL LOADER ALIGNMENT PATCH
   ========================================================= */

/* Loading screen: perfect center, smaller ring around logo */
.ohgs-loader-screen,
#ohgsLoader{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  text-align:center !important;
  padding:24px !important;
}
.ohgs-loader-core{
  width:82px !important;
  height:82px !important;
  min-width:82px !important;
  min-height:82px !important;
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  margin:0 auto !important;
}
.ohgs-loader-svg{
  position:absolute !important;
  inset:0 !important;
  width:82px !important;
  height:82px !important;
  transform:none !important;
}
.ohgs-loader-logo{
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  display:block !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:center !important;
  border-radius:50% !important;
  background:#fff !important;
  padding:3px !important;
}
.ohgs-loader-text,
#ohgsLoader p,
.ohgs-loader-screen p{
  margin:0 !important;
  max-width:280px !important;
  text-align:center !important;
  color:#dbeafe !important;
  font-size:13px !important;
  line-height:1.4 !important;
  letter-spacing:.02em !important;
}
body.light .ohgs-loader-text,
body.light #ohgsLoader p,
body.light .ohgs-loader-screen p{
  color:#102035 !important;
}

/* Safe Monday promotional section */
.safe-monday-section{
  background:
    radial-gradient(circle at 12% 12%, rgba(245,158,11,.12), transparent 32%),
    linear-gradient(135deg, rgba(0,191,255,.06), transparent 45%) !important;
}
.safe-monday-wrap{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(300px,440px) !important;
  gap:clamp(24px,4vw,56px) !important;
  align-items:center !important;
}
.safe-monday-copy{
  min-width:0 !important;
}
.safe-monday-copy h2{
  margin-left:0 !important;
  margin-right:0 !important;
}
.safe-feature-list{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:18px 0 4px !important;
}
.safe-feature-list span{
  display:inline-flex !important;
  align-items:center !important;
  min-height:36px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  background:rgba(245,158,11,.12) !important;
  border:1px solid rgba(245,158,11,.35) !important;
  color:#fbbf24 !important;
  font-size:13px !important;
  font-weight:900 !important;
}
body.light .safe-feature-list span{
  background:#fff7ed !important;
  color:#9a3412 !important;
  border-color:#fed7aa !important;
}
.safe-monday-poster-card{
  width:100% !important;
  max-width:440px !important;
  justify-self:end !important;
  border-radius:28px !important;
  overflow:hidden !important;
  background:var(--ohgs-card) !important;
  border:1px solid var(--ohgs-line) !important;
  box-shadow:var(--ohgs-shadow) !important;
}
.safe-monday-poster-card img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:3/4 !important;
  object-fit:cover !important;
  object-position:center top !important;
  display:block !important;
}
.safe-monday-card img{
  aspect-ratio:4/3 !important;
  object-fit:cover !important;
  object-position:center !important;
}

/* Stronger image alignment on all cards */
.card > img,
.card img:first-child,
.product-card img,
.stock-card img,
.page-visual-card img,
.ohgs-latest-card img,
.service-link-card img,
.project-image-card img,
.ohgs-brand-visual-card img,
.ohgs-extra-photo-card img{
  width:100% !important;
  min-height:220px !important;
  max-height:340px !important;
  object-fit:cover !important;
  object-position:center !important;
}
.promo-card img{
  min-height:260px !important;
  max-height:420px !important;
  object-fit:cover !important;
  object-position:center !important;
}

/* Prevent cards from becoming thin and ugly when zoomed out */
.grid,
.products-grid,
.product-grid,
.stock-grid,
.premium-grid,
.promo-grid,
.video-grid,
.cards-grid,
.service-grid,
.service-grid-enhanced,
.project-picture-grid,
.ohgs-latest-grid,
.page-visual-grid,
.ohgs-brand-visual-grid,
.promise-grid,
.ohgs-extra-photo-grid,
.contact-grid-final{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr)) !important;
}

/* Mobile */
@media (max-width:760px){
  .safe-monday-wrap{
    grid-template-columns:1fr !important;
  }
  .safe-monday-poster-card{
    max-width:100% !important;
    justify-self:center !important;
  }
  .safe-monday-poster-card img{
    aspect-ratio:4/5 !important;
  }
  .safe-feature-list{
    gap:8px !important;
  }
  .safe-feature-list span{
    font-size:12px !important;
    min-height:34px !important;
  }
  .card > img,
  .card img:first-child,
  .product-card img,
  .stock-card img,
  .page-visual-card img,
  .ohgs-latest-card img,
  .service-link-card img,
  .project-image-card img,
  .ohgs-brand-visual-card img,
  .ohgs-extra-photo-card img{
    min-height:200px !important;
    max-height:300px !important;
    aspect-ratio:16/10 !important;
  }
}


/* =========================================================
   FINAL HEADER LOGO + LANGUAGE BUTTON STABILITY FIX
   ========================================================= */

/* Header brand logo must show full logo, not zoomed/cropped */
.site-header .brand,
header.site-header .brand {
  flex: 0 0 auto !important;
  width: clamp(128px, 15vw, 176px) !important;
  min-width: clamp(128px, 15vw, 176px) !important;
  max-width: clamp(128px, 15vw, 176px) !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  overflow: visible !important;
}

.site-header .brand img,
header.site-header .brand img {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  padding: 2px !important;
  transform: none !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.16) !important;
}

.site-header .brand > span,
header.site-header .brand > span,
.site-header .brand-copy,
header.site-header .brand-copy {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: visible !important;
}

.site-header .brand-title,
header.site-header .brand-title {
  font-size: clamp(14px, 1.45vw, 21px) !important;
  line-height: .95 !important;
  letter-spacing: .105em !important;
  white-space: nowrap !important;
}

.site-header .brand-subtitle,
header.site-header .brand-subtitle {
  font-size: clamp(5px, .62vw, 7px) !important;
  line-height: 1 !important;
  letter-spacing: .17em !important;
  white-space: nowrap !important;
}

/* Header actions must not jump when EN/SW changes */
.site-header .header-actions,
header.site-header .header-actions {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 7px !important;
  margin-left: 8px !important;
}

.site-header .pill,
header.site-header .pill {
  flex: 0 0 auto !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border-radius: 999px !important;
  padding: 0 11px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: clip !important;
}

.site-header .theme-toggle,
header.site-header .theme-toggle {
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  padding: 0 !important;
}

.site-header .lang-toggle,
header.site-header .lang-toggle {
  width: 58px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 !important;
}

.site-header .whatsapp,
header.site-header .whatsapp {
  width: 76px !important;
  min-width: 76px !important;
  max-width: 76px !important;
  padding: 0 !important;
}

/* On mobile: keep logo readable and actions from sliding left */
@media (max-width: 980px) {
  .site-header,
  header.site-header,
  .site-header.scrolled,
  body.ohgs-scrolled .site-header {
    grid-template-columns: minmax(116px, 1fr) 40px auto !important;
    gap: 6px !important;
  }

  .site-header .brand,
  header.site-header .brand {
    width: 116px !important;
    min-width: 116px !important;
    max-width: 116px !important;
    gap: 6px !important;
  }

  .site-header .brand img,
  header.site-header .brand img {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 2px !important;
  }

  .site-header .brand-title,
  header.site-header .brand-title {
    font-size: 13px !important;
    letter-spacing: .09em !important;
  }

  .site-header .brand-subtitle,
  header.site-header .brand-subtitle {
    font-size: 5px !important;
    letter-spacing: .13em !important;
  }

  .site-header .header-actions,
  header.site-header .header-actions {
    justify-self: end !important;
    gap: 4px !important;
    margin-left: 0 !important;
    min-width: 0 !important;
  }

  .site-header .pill,
  header.site-header .pill {
    height: 31px !important;
    min-height: 31px !important;
    max-height: 31px !important;
    font-size: 8.5px !important;
  }

  .site-header .theme-toggle,
  header.site-header .theme-toggle {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }

  .site-header .lang-toggle,
  header.site-header .lang-toggle {
    width: 43px !important;
    min-width: 43px !important;
    max-width: 43px !important;
  }

  .site-header .whatsapp,
  header.site-header .whatsapp {
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
  }
}

/* Very small phones */
@media (max-width: 390px) {
  .site-header,
  header.site-header,
  .site-header.scrolled,
  body.ohgs-scrolled .site-header {
    grid-template-columns: minmax(96px, 1fr) 36px auto !important;
    gap: 4px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .site-header .brand,
  header.site-header .brand {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    gap: 5px !important;
  }

  .site-header .brand img,
  header.site-header .brand img {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
  }

  .site-header .brand-title,
  header.site-header .brand-title {
    font-size: 11px !important;
  }

  .site-header .brand-subtitle,
  header.site-header .brand-subtitle {
    font-size: 4.4px !important;
  }

  .site-header .theme-toggle,
  header.site-header .theme-toggle {
    width: 29px !important;
    min-width: 29px !important;
    max-width: 29px !important;
  }

  .site-header .lang-toggle,
  header.site-header .lang-toggle {
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
  }

  .site-header .whatsapp,
  header.site-header .whatsapp {
    width: 51px !important;
    min-width: 51px !important;
    max-width: 51px !important;
  }
}

/* Light mode logo clarity */
body.light .site-header .brand img,
html.light .site-header .brand img,
html[data-theme="light"] .site-header .brand img {
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15,23,42,.14) !important;
}

/* Dark mode logo clarity */
body:not(.light) .site-header .brand img,
html:not(.light) .site-header .brand img {
  background: #ffffff !important;
  box-shadow: 0 5px 16px rgba(0,0,0,.22) !important;
}
