/* ============================================================
   Slavia Gratings — site.css
   All structural + visual styles. PHP templates use classes only.
   ============================================================ */

/* ----- CSS Custom Properties ----- */
:root {
  --c-orange:       rgb(226,98,44);
  --c-dark:         rgb(20,23,27);
  --c-darker:       rgb(14,17,21);
  --c-light:        rgb(245,246,248);
  --c-text:         rgb(43,49,58);
  --c-muted:        rgb(93,104,115);
  --c-faint:        rgb(139,148,158);
  --c-pale:         rgb(174,182,191);
  --c-hero-sub:     rgb(194,202,210);
  --c-body-dark:    rgb(65,71,78);
  --c-border:       rgb(226,230,234);
  --c-border-dark:  rgb(43,49,58);
  --c-border-inner: rgb(236,238,240);
  --c-border-row:   rgb(241,243,245);
  --font: 'Hanken Grotesk','Helvetica Neue',Arial,sans-serif;
  --wrap: 1280px;
}

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--c-orange); color: #fff; }

/* ----- Layout ----- */
.sg-wrap       { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sg-wrap-1000  { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.sg-wrap-880   { max-width: 880px;  margin: 0 auto; padding: 0 20px; }
.sg-pad        { padding: clamp(56px,7vw,100px) 20px; }
.sg-pad-sm     { padding: clamp(44px,5.5vw,72px) 20px; }
.sg-pad-hero   { padding: clamp(48px,6vw,84px) 24px; }
.sg-pad-6vw    { padding: clamp(48px,6vw,80px) 20px; }
.sg-pad-5vw    { padding: clamp(48px,6vw,80px) 20px; }

/* ----- Section backgrounds ----- */
.sg-hero { background: var(--c-dark); color: #fff; position: relative; overflow: hidden; }
.sg-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: 46px 46px; opacity: .6;
}
.sg-section-light { background: var(--c-light); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); }
.sg-section-dark  { background: var(--c-dark); color: #fff; }
.sg-border-b      { border-bottom: 1px solid var(--c-border); }

/* Hero inner containers */
.sg-hero__inner      { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px,6vw,84px) 24px; position: relative; }
.sg-hero__inner-sm   { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px,5.5vw,72px) 20px; position: relative; }
.sg-hero__inner-1000 { max-width: 1000px; margin: 0 auto; padding: clamp(48px,6vw,84px) 20px; position: relative; }
.sg-hero__inner-contact { max-width: var(--wrap); margin: 0 auto; padding: clamp(44px,5.5vw,84px) 20px; }

/* ----- Typography ----- */
.sg-kicker {
  font-size: 12.5px; letter-spacing: .2em; color: var(--c-orange);
  margin-bottom: 14px; display: block;
}
.sg-kicker--mb16 { margin-bottom: 16px; }
.sg-kicker--mb18 { margin-bottom: 18px; }
.sg-kicker--mb22 { margin-bottom: 22px; }

/* H1 sizes */
.sg-h1     { font-weight: 800; font-size: clamp(34px,4.6vw,58px); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 22px; }
.sg-h1--lg { font-size: clamp(32px,4.4vw,54px); line-height: 1.05; letter-spacing: -.01em; }
.sg-h1--md { font-size: clamp(30px,4.2vw,50px); line-height: 1.05; letter-spacing: -.01em; }
.sg-h1--sm { font-size: clamp(28px,3.6vw,44px); line-height: 1.1; }
.sg-h1--article { font-size: clamp(30px,4vw,46px); line-height: 1.08; }

/* H2 sizes */
.sg-h2        { font-weight: 800; line-height: 1.08; margin: 0; }
.sg-h2--xl    { font-size: clamp(30px,3.6vw,46px); }
.sg-h2--lg    { font-size: clamp(28px,3.4vw,42px); }
.sg-h2--md    { font-size: clamp(26px,3.2vw,38px); }
.sg-h2--md2   { font-size: clamp(26px,3.2vw,40px); }
.sg-h2--sm    { font-size: clamp(24px,3vw,36px); line-height: 1.1; }
.sg-h2--xs    { font-size: clamp(22px,2.8vw,32px); line-height: 1.2; }
.sg-h2--case  { font-size: clamp(20px,2.4vw,28px); line-height: 1.2; }
.sg-h2--spec  { font-size: clamp(22px,2.6vw,30px); margin: 0 0 22px; }
.sg-h2--apps  { font-size: clamp(24px,3vw,36px); margin: 0 0 30px; }
.sg-h2--mb16  { margin-bottom: 16px; }
.sg-h2--mb18  { margin-bottom: 18px; }
.sg-h2--mb20  { margin-bottom: 20px; }
.sg-h2--mb14  { margin-bottom: 14px; }
.sg-h2--mb22  { margin-bottom: 22px; }

/* Subtitles */
.sg-sub      { font-size: clamp(16px,1.4vw,18.5px); line-height: 1.65; color: var(--c-hero-sub); max-width: 680px; margin: 0; }
.sg-sub--sm  { font-size: clamp(15px,1.3vw,18px); line-height: 1.6; max-width: 600px; color: var(--c-hero-sub); }
.sg-sub--560 { max-width: 560px; }
.sg-sub--480 { max-width: 480px; color: var(--c-hero-sub); }

/* ----- Buttons ----- */
.sg-btn          { display: inline-block; font-weight: 700; font-size: 15.5px; padding: 16px 28px; text-decoration: none; white-space: nowrap; font-family: var(--font); }
.sg-btn--primary { background: var(--c-orange); color: #fff; }
.sg-btn--outline { border: 1px solid rgb(58,64,73); color: #fff; }
.sg-btn--dark    { background: var(--c-dark); color: #fff; }
.sg-btn--white   { background: #fff; color: var(--c-dark); }
.sg-btn--sm      { font-size: 14px; padding: 12px; }
.sg-btn--sm2     { font-size: 14px; padding: 12px 16px; }
.sg-btn--md      { font-size: 15px; padding: 15px 26px; }
.sg-btn--lg      { font-size: 16px; padding: 16px; }
.sg-btn--full    { flex: 1; text-align: center; }
.sg-btn--center  { text-align: center; }
.sg-btn--block   { display: block; text-align: center; }

.sg-link-orange  { font-weight: 700; color: var(--c-orange); }
.sg-link-ul      { font-size: 13px; color: var(--c-dark); border-bottom: 2px solid var(--c-orange); padding-bottom: 4px; white-space: nowrap; }

/* Hover states for all buttons */
.sg-btn--primary:hover,
.sg-header-cta:hover,
.sg-mobile-cta:hover,
.sg-cta-btn:hover  { filter: brightness(.9); }
.sg-btn--outline:hover,
.sg-btn--dark:hover { opacity: .88; }

/* ----- Section heading block ----- */
.sg-sec-head        { margin-bottom: 44px; }
.sg-sec-head--48    { margin-bottom: 48px; }
.sg-sec-head--40    { margin-bottom: 40px; }
.sg-sec-head--36    { margin-bottom: 36px; }
.sg-sec-head--32    { margin-bottom: 32px; }
.sg-sec-head--flex  { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

/* ----- Grid layouts ----- */
.sg-grid-2col  { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(330px,100%),1fr)); gap: clamp(36px,5vw,64px); align-items: center; }
.sg-grid-2col--top   { align-items: start; }
.sg-grid-2col--quote { grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: clamp(40px,5vw,72px); }
.sg-grid-2col--cov   { grid-template-columns: repeat(auto-fit,minmax(min(280px,100%),1fr)); gap: clamp(32px,4vw,48px); align-items: center; }
.sg-grid-2col--prod  { grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: clamp(32px,4vw,56px); }
.sg-grid-2col--story { grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: clamp(36px,5vw,64px); align-items: center; }
.sg-grid-2col--contact { grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); gap: clamp(36px,5vw,64px); }
.sg-grid-cards  { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); gap: 22px; }
.sg-grid-ind    { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: 16px; }
.sg-grid-fac    { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)); gap: 14px; }
.sg-grid-certs  { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.sg-grid-caps   { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(245px,100%),1fr)); gap: 1px; background: var(--c-border); border: 1px solid var(--c-border); }
.sg-grid-caps-dark { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(180px,100%),1fr)); gap: 1px; background: var(--c-border-dark); border: 1px solid var(--c-border-dark); }
.sg-grid-thumb  { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.sg-grid-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(200px,100%),1fr)); gap: 12px; }
.sg-grid-colours { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(90px,100%),1fr)); gap: 12px; margin-bottom: 26px; }
.sg-grid-stats3 { display: grid; grid-template-columns: repeat(3,1fr); border-style: none solid solid; border-width: 0 1px 1px; border-color: var(--c-border-dark); }
.sg-grid-story2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-grid-case-row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); }
.sg-grid-apps   { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: 16px; }
.sg-grid-stat-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(160px,100%),1fr)); }

/* ----- Utility bar ----- */
.sg-util { background: var(--c-dark); color: var(--c-pale); font-size: 12.5px; letter-spacing: .02em; }
.sg-util__inner { max-width: var(--wrap); margin: 0 auto; padding: 9px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.sg-util__left  { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.sg-util__uk    { color: var(--c-orange); font-weight: 700; }
.sg-util__sep   { color: var(--c-muted); }
.sg-util__phone { color: rgb(230,234,238); }

/* ----- Language switcher ----- */
.sg-lang { display: flex; align-items: center; gap: 6px; }
.sg-lang__a {
  cursor: pointer; font-size: 12.5px; padding: 3px 7px;
  border: 1px solid var(--c-border-dark);
  background: transparent; color: var(--c-pale);
}
.sg-lang__a.is-active { background: var(--c-orange); color: #fff; }

/* ----- Header ----- */
.sg-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--c-border); }
.sg-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.sg-logo-link { display: flex; align-items: center; }
.sg-logo      { display: block; width: auto; height: 40px; }
.sg-nav       { display: flex; align-items: center; gap: 24px; }
.sg-nav__a    { padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--c-dark); }
.sg-nav__a.is-active { color: var(--c-orange); font-weight: 700; }
.sg-nav__a:hover { color: var(--c-orange); }
.sg-header-right { display: flex; align-items: center; gap: 12px; }
.sg-header-cta   { background: var(--c-orange); color: #fff; font-weight: 700; font-size: 14px; padding: 12px 20px; white-space: nowrap; }
.sg-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 1px solid var(--c-border); padding: 11px 10px; cursor: pointer; }
.sg-burger__line { display: block; width: 22px; height: 2px; background: var(--c-dark); }
.sg-mobile-menu { display: none; border-top: 1px solid var(--c-border); background: #fff; padding: 8px 20px 20px; }
.sg-mobile-menu__a   { display: block; padding: 15px 4px; font-size: 16px; font-weight: 600; color: var(--c-dark); border-bottom: 1px solid #eceef0; }
.sg-mobile-cta       { display: block; text-align: center; margin-top: 16px; background: var(--c-orange); color: #fff; font-weight: 700; font-size: 16px; padding: 15px; }
@media (max-width: 900px) {
  .sg-nav, .sg-header-cta { display: none !important; }
  .sg-burger { display: flex !important; }
  .sg-mobile-menu.is-open { display: block !important; }
}

/* ----- Hero content ----- */
.sg-hero-kicker { font-size: 12.5px; letter-spacing: .2em; color: var(--c-orange); margin-bottom: 22px; }
.sg-hero-h1     { font-weight: 800; font-size: clamp(34px,4.6vw,58px); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 22px; }
.sg-hero-sub    { font-size: clamp(16px,1.4vw,18.5px); line-height: 1.6; color: var(--c-hero-sub); max-width: 560px; margin: 0 0 32px; }
.sg-hero-btns   { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 38px; }
.sg-hero-chips  { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-chip        { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em; color: rgb(223,228,233); border: 1px solid var(--c-border-dark); padding: 8px 12px; }
.sg-chip__dot   { width: 6px; height: 6px; background: var(--c-orange); display: inline-block; flex-shrink: 0; }

.sg-hero-img    { position: relative; aspect-ratio: 4/3.2; border: 1px solid var(--c-border-dark); overflow: hidden; }
.sg-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-hero-stat   { padding: 18px 16px; border-right: 1px solid var(--c-border-dark); }
.sg-hero-stat__n { font-weight: 800; font-size: 26px; color: #fff; }
.sg-hero-stat__l { font-size: 10.5px; letter-spacing: .08em; color: var(--c-faint); margin-top: 4px; }

/* ----- Trust strip ----- */
.sg-trust { background: var(--c-light); border-bottom: 1px solid var(--c-border); }
.sg-trust__text { font-size: 12px; letter-spacing: .1em; color: var(--c-muted); display: block; text-align: center; padding: 30px 24px; }

/* ----- Benefits / caps grid items ----- */
.sg-benefit      { background: #fff; padding: 30px 26px; }
.sg-benefit__num { font-size: 12px; color: var(--c-orange); margin-bottom: 16px; }
.sg-benefit__h   { font-size: 18px; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.sg-benefit__p   { font-size: 14px; line-height: 1.6; color: var(--c-muted); margin: 0; }

.sg-caps-item      { background: #fff; padding: 30px 26px; }
.sg-caps-item__n   { font-size: 12px; color: var(--c-orange); margin-bottom: 14px; font-weight: 700; letter-spacing: .06em; }
.sg-caps-item__h   { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.sg-caps-item__p   { font-size: 14px; line-height: 1.6; color: var(--c-muted); margin: 0; }

/* ----- Cards (product / news / case) ----- */
.sg-card         { background: #fff; border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.sg-card__thumb  { display: block; aspect-ratio: 16/10; position: relative; overflow: hidden; }
.sg-card__img    { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-card__tag    { position: absolute; top: 14px; left: 14px; background: var(--c-dark); color: #fff; font-size: 10.5px; letter-spacing: .08em; padding: 5px 9px; }
.sg-card__tag--orange { background: var(--c-orange); }
.sg-card__body   { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.sg-card__title  { font-size: 20px; font-weight: 700; margin: 0 0 4px; }
.sg-card__blurb  { font-size: 13.5px; line-height: 1.55; color: var(--c-muted); margin: 0 0 18px; }
.sg-card__date   { font-size: 12px; color: var(--c-muted); letter-spacing: .04em; margin-bottom: 10px; }
.sg-card__date--lg { font-size: 12.5px; margin-bottom: 14px; }
.sg-card__read   { font-size: 13px; font-weight: 700; color: var(--c-orange); margin-top: auto; }
.sg-card__read--lg { font-size: 14px; }
.sg-card__blurb--news { font-size: 13.5px; line-height: 1.6; color: var(--c-muted); margin: 0 0 16px; }

/* Specs table inside card */
.sg-specs        { border-top: 1px solid var(--c-border-inner); font-size: 12px; }
.sg-spec-row     { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--c-border-row); }
.sg-spec-row__k  { color: var(--c-faint); letter-spacing: .04em; }
.sg-spec-row__v  { color: var(--c-dark); text-align: right; }
.sg-spec-row__v--bold { font-weight: 600; }

/* Price row */
.sg-price        { display: flex; align-items: baseline; gap: 8px; margin: 18px 0; }
.sg-price__from  { font-size: 11px; color: var(--c-faint); letter-spacing: .06em; }
.sg-price__num   { font-weight: 800; font-size: 24px; color: var(--c-dark); }
.sg-price__unit  { font-size: 12px; color: var(--c-faint); }
.sg-price--lg    { border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 18px 0; margin-bottom: 24px; }
.sg-price--lg .sg-price__num  { font-size: 32px; }
.sg-price--lg .sg-price__unit { font-size: 14px; }
.sg-price--lg .sg-price__from { font-size: 12px; }

/* Card actions */
.sg-card-actions          { display: flex; gap: 10px; margin-top: auto; }
.sg-card-actions__primary { flex: 1; text-align: center; background: var(--c-orange); color: #fff; font-weight: 700; font-size: 14px; padding: 12px; }
.sg-card-actions__sec     { text-align: center; border: 1px solid var(--c-border); color: var(--c-dark); font-weight: 600; font-size: 14px; padding: 12px 16px; }

/* ----- Industry tiles ----- */
.sg-tile          { position: relative; aspect-ratio: 1/1.05; background: var(--c-dark); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; }
.sg-tile__img     { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.sg-tile__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(20,23,27,.25) 0%,rgba(20,23,27,.95) 100%); }
.sg-tile__body    { position: relative; }
.sg-tile__code    { font-size: 10.5px; letter-spacing: .1em; color: var(--c-orange); margin-bottom: 8px; }
.sg-tile__h3      { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.sg-tile__p       { font-size: 12.5px; line-height: 1.5; color: var(--c-pale); margin: 0; }

/* ----- Process steps ----- */
.sg-step         { background: var(--c-dark); padding: 26px 22px; }
.sg-step__top    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sg-step__num    { font-weight: 800; font-size: 30px; color: var(--c-orange); }
.sg-step__tag    { font-size: 10.5px; color: var(--c-faint); border: 1px solid var(--c-border-dark); padding: 4px 7px; }
.sg-step__h3     { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.sg-step__p      { font-size: 13px; line-height: 1.55; color: var(--c-pale); margin: 0; }
.sg-process-cta  { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.sg-process-lead { font-size: 12.5px; color: var(--c-faint); }

/* ----- Cases (homepage cards) ----- */
.sg-case-card    { border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.sg-case-thumb   { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.sg-case-body    { padding: 24px; }
.sg-case-meta    { font-size: 12.5px; }
.sg-case-row     { padding: 9px 0; border-top: 1px solid var(--c-border-inner); }
.sg-case-label   { color: var(--c-orange); font-weight: 600; }
.sg-case-val     { color: var(--c-muted); }

/* ----- Factory gallery ----- */
.sg-fac-thumb            { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--c-border-dark); }
.sg-fac-thumb__img       { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-fac-thumb__caption   { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent,rgba(0,0,0,.8)); color: #fff; font-size: 13px; font-weight: 500; padding: 30px 16px 14px; }

/* ----- Certification boxes ----- */
.sg-cert-box       { aspect-ratio: 1/1; background: #fff; border: 1px solid var(--c-border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px; text-align: center; }
.sg-cert-box__ring { width: 34px; height: 34px; border: 2px solid var(--c-dark); border-radius: 50%; }
.sg-cert-box__name { font-size: 11px; letter-spacing: .04em; color: var(--c-dark); line-height: 1.3; }

/* ----- FAQ ----- */
.sg-faq-wrap   { border-top: 1px solid var(--c-border); }
.sg-faq-item   { border-bottom: 1px solid var(--c-border); }
.sg-faq-toggle { width: 100%; background: none; border: none; cursor: pointer; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-family: var(--font); }
.sg-faq-q      { font-size: 17px; font-weight: 600; color: var(--c-dark); }
.sg-faq-sign   { font-size: 22px; color: var(--c-orange); line-height: 1; }
.sg-faq-answer { font-size: 15px; line-height: 1.65; color: var(--c-muted); margin: 0; padding: 0 0 24px; max-width: 680px; display: none; }
.sg-faq-item.is-open .sg-faq-answer { display: block; }

/* ----- Quote section contact info ----- */
.sg-qcontact       { display: flex; flex-direction: column; gap: 18px; font-size: 14.5px; }
.sg-qcontact__row  { display: flex; gap: 14px; align-items: center; }
.sg-qcontact__lbl  { color: var(--c-orange); font-size: 12px; min-width: 48px; }
.sg-qcontact__phone { font-size: 18px; font-weight: 700; color: #fff; }
.sg-qcontact__email { color: #fff; }
.sg-qcontact__hours { color: var(--c-hero-sub); }
.sg-form-wrap      { background: #fff; color: var(--c-dark); padding: clamp(24px,3vw,38px); }
.sg-form-wrap--lg  { padding: clamp(24px,3vw,40px); }

/* ----- Quote form ----- */
.sg-form           { display: flex; flex-direction: column; gap: 14px; }
.sg-form__honeypot { position: absolute; left: -9999px; }
.sg-form__grid     { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(140px,100%),1fr)); gap: 14px; }
.sg-form__label    { display: flex; flex-direction: column; gap: 6px; }
.sg-form__label--upload { display: flex; flex-direction: column; gap: 8px; cursor: pointer; border: 1px dashed var(--c-border); padding: 14px; }
.sg-form__span     { font-size: 11px; letter-spacing: .08em; color: var(--c-muted); }
.sg-form__input,
.sg-form__select,
.sg-form__textarea { border: 1px solid var(--c-border); padding: 12px; font-size: 14px; font-family: var(--font); width: 100%; }
.sg-form__select   { background: #fff; }
.sg-form__textarea { resize: vertical; }
.sg-form__file     { font-size: 13px; font-family: var(--font); }
.sg-form__btn      { background: var(--c-orange); color: #fff; font-weight: 700; font-size: 16px; padding: 16px; border: none; cursor: pointer; font-family: var(--font); }
.sg-form__btn:hover { filter: brightness(.9); }
.sg-form__privacy  { font-size: 11.5px; color: var(--c-faint); line-height: 1.5; }
.sg-form__privacy a { color: var(--c-faint); }
.sg-form-error     { background: #fdecea; color: #b71017; padding: 12px 14px; font-size: 13.5px; margin: 0 0 14px; }
.sg-form-title     { font-weight: 800; font-size: 20px; margin: 0 0 18px; }

/* Form success */
.sg-success        { min-height: 380px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.sg-success__icon  { width: 56px; height: 56px; background: var(--c-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.sg-success__h3    { font-weight: 800; font-size: 24px; margin: 0; }
.sg-success__p     { color: var(--c-muted); font-size: 15px; margin: 0; max-width: 320px; }

/* Focus states */
.sg-form__input:focus,
.sg-form__select:focus,
.sg-form__textarea:focus { outline: none; border-color: var(--c-orange); }

/* ----- Footer — CTA band ----- */
.sg-cta-band        { background: var(--c-orange); color: #fff; }
.sg-cta-band__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px,5vw,64px) 20px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.sg-cta-band__h2    { font-weight: 800; font-size: clamp(24px,3vw,36px); line-height: 1.1; margin: 0 0 8px; }
.sg-cta-band__p     { font-size: 16px; line-height: 1.5; color: rgb(255,230,218); margin: 0; max-width: 520px; }
.sg-cta-band__btns  { display: flex; flex-wrap: wrap; gap: 12px; }

/* Footer */
.sg-footer           { background: rgb(14,17,21); color: var(--c-pale); }
.sg-footer__grid     { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px,6vw,72px) 20px 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(200px,100%),1fr)); gap: 36px; }
.sg-footer__col1     { min-width: 220px; }
.sg-footer__logo-row { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.sg-footer__icon     { width: 34px; height: 34px; background: var(--c-orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.sg-footer__name     { font-weight: 800; font-size: 16px; color: #fff; }
.sg-footer__blurb    { font-size: 13.5px; line-height: 1.65; margin: 0 0 18px; max-width: 280px; }
.sg-footer__certs    { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-footer__cert     { font-size: 10px; color: var(--c-faint); border: 1px solid var(--c-border-dark); padding: 4px 7px; }
.sg-footer__h4       { font-size: 11px; letter-spacing: .12em; color: #fff; margin: 0 0 16px; }
.sg-footer__links    { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.sg-footer__a        { color: inherit; }
.sg-footer__contact  { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.sg-footer__phone    { color: #fff; font-weight: 700; font-size: 16px; }
.sg-footer__email    { color: inherit; }
.sg-footer__hours    { }
.sg-footer__delivery { color: var(--c-faint); }
.sg-footer__addr     { font-size: 12px; color: var(--c-muted); line-height: 1.6; }
.sg-footer__cta      { margin-top: 6px; background: var(--c-orange); color: #fff; font-weight: 700; text-align: center; padding: 12px; display: block; }
.sg-footer__bottom   { max-width: var(--wrap); margin: 40px auto 0; padding: 28px 20px; border-top: 1px solid rgb(28,33,40); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: 11.5px; color: var(--c-muted); }
.sg-footer__legal    { display: flex; gap: 16px; flex-wrap: wrap; }
.sg-footer__legal a  { color: inherit; }
.sg-footer__a:hover,
.sg-footer__phone:hover,
.sg-footer__email:hover,
.sg-footer__legal a:hover { color: var(--c-orange); }
.sg-footer__cta:hover { filter: brightness(.9); }

/* ----- About page ----- */
.sg-stat-strip { border-bottom: 1px solid var(--c-border); }
.sg-stat-item  { padding: 36px 24px; border-right: 1px solid var(--c-border); }
.sg-stat-item__n { font-weight: 800; font-size: clamp(30px,4vw,44px); color: var(--c-dark); line-height: 1; }
.sg-stat-item__l { font-size: 13px; letter-spacing: .06em; color: var(--c-muted); margin-top: 10px; text-transform: uppercase; }

.sg-story-points    { display: flex; flex-direction: column; gap: 12px; }
.sg-story-point     { display: flex; gap: 12px; align-items: flex-start; }
.sg-story-point__ar { color: var(--c-orange); font-weight: 800; font-size: 18px; line-height: 1.2; }
.sg-story-point__tx { font-size: 15px; line-height: 1.6; color: var(--c-text); }

.sg-brand-quote     { border-left: 3px solid var(--c-orange); padding: 6px 0 6px 26px; }
.sg-brand-quote__k  { font-size: 12.5px; letter-spacing: .2em; color: var(--c-orange); margin-bottom: 14px; }
.sg-brand-quote__p  { font-size: clamp(17px,1.8vw,21px); line-height: 1.6; color: var(--c-text); margin: 0; font-weight: 500; }

/* ----- Single product page ----- */
.sg-breadcrumb       { border-bottom: 1px solid var(--c-border); background: var(--c-light); }
.sg-breadcrumb__inner { max-width: var(--wrap); margin: 0 auto; padding: 13px 20px; font-size: 13px; color: var(--c-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.sg-breadcrumb__cur  { color: var(--c-dark); }
.sg-breadcrumb__a    { color: inherit; }

.sg-product-badge   { display: inline-block; background: var(--c-dark); color: #fff; font-size: 11px; letter-spacing: .08em; padding: 5px 10px; margin-bottom: 16px; }
.sg-product-thumb   { aspect-ratio: 4/3; border: 1px solid var(--c-border); overflow: hidden; margin-bottom: 12px; }
.sg-product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-gallery-btn     { border: 1px solid var(--c-border); padding: 0; aspect-ratio: 1/1; overflow: hidden; cursor: pointer; background: none; }
.sg-gallery-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sg-spec-table     { background: #fff; border: 1px solid var(--c-border); }
.sg-spec-table__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--c-border-inner); font-size: 14px; }
.sg-spec-table__k  { color: var(--c-muted); }
.sg-spec-table__v  { color: var(--c-dark); font-weight: 600; text-align: right; }

.sg-swatch__box  { aspect-ratio: 1/1; border: 1px solid rgb(212,217,222); }
.sg-swatch__name { font-size: 12px; color: var(--c-muted); margin-top: 6px; text-align: center; }
.sg-colours-note { font-size: 13.5px; line-height: 1.6; color: var(--c-muted); margin: 0 0 22px; }
.sg-standards-h  { font-weight: 700; font-size: 16px; margin: 0 0 12px; }
.sg-standard-badge { font-size: 12px; color: var(--c-dark); border: 1px solid var(--c-border); background: #fff; padding: 6px 11px; }
.sg-standards    { display: flex; flex-wrap: wrap; gap: 8px; }

.sg-highlight    { display: flex; gap: 10px; align-items: flex-start; }
.sg-highlight__chk { color: var(--c-orange); font-weight: 800; }
.sg-highlight__tx  { font-size: 14.5px; line-height: 1.55; color: var(--c-text); }
.sg-highlights     { display: flex; flex-direction: column; gap: 10px; }

.sg-app-card      { border: 1px solid var(--c-border); padding: 24px; }
.sg-app-card__code { font-size: 12px; color: var(--c-orange); font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }
.sg-app-card__h   { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.sg-app-card__p   { font-size: 13.5px; line-height: 1.6; color: var(--c-muted); margin: 0; }

/* ----- Contact page ----- */
.sg-contact-row      { display: flex; gap: 16px; align-items: flex-start; border-top: 1px solid var(--c-border-dark); padding-top: 18px; }
.sg-contact-row__lbl { font-size: 11px; letter-spacing: .1em; color: var(--c-orange); font-weight: 700; min-width: 72px; padding-top: 3px; }
.sg-contact-row__inner { display: flex; flex-direction: column; gap: 3px; }
.sg-contact-row__v   { font-size: 17px; font-weight: 700; color: #fff; }
.sg-contact-row__sub { font-size: 13px; color: var(--c-faint); }

.sg-contact-info     { background: var(--c-dark); color: var(--c-pale); padding: clamp(28px,3.5vw,44px); display: flex; flex-direction: column; gap: 24px; }
.sg-ci-h             { font-size: 11px; letter-spacing: .12em; color: var(--c-orange); margin-bottom: 8px; }
.sg-ci-h2            { font-size: 11px; letter-spacing: .12em; color: var(--c-faint); margin-bottom: 6px; }
.sg-ci-phone         { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.sg-ci-email         { color: var(--c-orange); font-size: 15px; }
.sg-ci-text          { font-size: 14px; line-height: 1.6; }
.sg-ci-addr          { font-size: 13.5px; line-height: 1.7; color: var(--c-pale); }
.sg-ci-certs         { border-top: 1px solid var(--c-border-dark); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.sg-ci-cert          { font-size: 10px; color: var(--c-faint); border: 1px solid var(--c-border-dark); padding: 4px 8px; }

.sg-regions  { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-region   { font-size: 13px; color: var(--c-dark); border: 1px solid var(--c-border); padding: 8px 14px; }

/* ----- Case study rows (archive) ----- */
.sg-cs-row         { border: 1px solid var(--c-border); display: grid; grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); }
.sg-cs-img         { position: relative; min-height: 260px; overflow: hidden; }
.sg-cs-img__thumb  { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-cs-body        { padding: clamp(24px,3vw,40px); }
.sg-cs-blk         { padding: 14px 0; border-top: 1px solid var(--c-border-inner); }
.sg-cs-blk__lbl    { display: block; font-size: 11px; letter-spacing: .1em; color: var(--c-orange); font-weight: 700; margin-bottom: 5px; }
.sg-cs-blk__tx     { font-size: 14.5px; line-height: 1.6; color: var(--c-body-dark); }

/* ----- Single case study ----- */
.sg-single-cs         { max-width: 1000px; margin: 0 auto; padding: clamp(40px,5vw,72px) 20px; }
.sg-single-cs__ind    { font-size: 12.5px; letter-spacing: .2em; color: var(--c-orange); margin-bottom: 14px; }
.sg-single-cs__thumb  { margin: 0 0 28px; overflow: hidden; border: 1px solid var(--c-border); }
.sg-single-cs__thumb img { width: 100%; height: auto; display: block; }
.sg-single-cs__grid   { display: grid; gap: 0; margin-bottom: 28px; }
.sg-single-cs__blk    { padding: 16px 0; border-top: 1px solid var(--c-border-inner); }
.sg-single-cs__blk-lbl { display: block; font-size: 11px; letter-spacing: .1em; color: var(--c-orange); font-weight: 700; margin-bottom: 6px; }
.sg-single-cs__blk-tx  { font-size: 15.5px; line-height: 1.7; color: var(--c-body-dark); }
.sg-single-cs__content { font-size: 16px; line-height: 1.75; color: var(--c-text); }
.sg-single-cs__back    { margin-top: 36px; }

/* ----- Single news article ----- */
.sg-article          { max-width: 820px; margin: 0 auto; padding: clamp(44px,5.5vw,80px) 20px; }
.sg-article__meta    { font-size: 12.5px; color: var(--c-muted); letter-spacing: .04em; margin-bottom: 14px; }
.sg-article__thumb   { margin: 0 0 28px; overflow: hidden; }
.sg-article__thumb img { width: 100%; height: auto; display: block; }
.sg-article__content { font-size: 16.5px; line-height: 1.75; color: var(--c-text); }
.sg-article__back    { margin-top: 40px; }

/* ----- News index ----- */
.sg-featured       { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(320px,100%),1fr)); border: 1px solid var(--c-border); }
.sg-featured__img  { position: relative; min-height: 280px; overflow: hidden; }
.sg-featured__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-featured__tag  { position: absolute; top: 16px; left: 16px; background: var(--c-orange); color: #fff; font-size: 11px; letter-spacing: .08em; padding: 6px 11px; }
.sg-featured__body { padding: clamp(28px,3.5vw,48px); display: flex; flex-direction: column; justify-content: center; }
.sg-featured__date { font-size: 12.5px; color: var(--c-muted); letter-spacing: .04em; margin-bottom: 14px; }
.sg-featured__h2   { font-weight: 800; font-size: clamp(22px,2.8vw,32px); line-height: 1.2; margin: 0 0 14px; }
.sg-featured__exc  { font-size: 15.5px; line-height: 1.65; color: var(--c-body-dark); margin: 0 0 20px; max-width: 520px; }
.sg-featured__read { font-size: 14px; font-weight: 700; color: var(--c-orange); }

.sg-news-card      { border: 1px solid var(--c-border); display: flex; flex-direction: column; }
.sg-news-card--a   { text-decoration: none; color: inherit; }
.sg-news-thumb     { aspect-ratio: 16/10; overflow: hidden; }
.sg-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-news-body      { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.sg-news-excerpt   { font-size: 13.5px; line-height: 1.6; color: var(--c-muted); margin: 0 0 16px; }

/* ----- Gallery (projects archive) ----- */
.sg-gallery-item     { aspect-ratio: 1/1; overflow: hidden; border: 1px solid var(--c-border); }
.sg-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ----- 404 page ----- */
.sg-404        { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 80px 20px; background: #fff; }
.sg-404__inner { max-width: 600px; text-align: center; }
.sg-404__num   { font-size: 96px; font-weight: 800; color: var(--c-orange); line-height: 1; }
.sg-404__h1    { font-size: 32px; font-weight: 800; color: rgb(14,17,21); margin: 16px 0 12px; }
.sg-404__p     { font-size: 16px; color: var(--c-muted); line-height: 1.6; margin: 0 0 32px; }
.sg-404__btn   { display: inline-block; background: var(--c-orange); color: #fff; font-weight: 700; font-size: 15px; padding: 14px 28px; letter-spacing: .02em; }

/* ----- Card hover effects ----- */
.card-hover { transition: box-shadow .15s, border-color .15s; }
.card-hover:hover { box-shadow: 0 8px 24px rgba(20,23,27,.07); border-color: #c8ced4 !important; }
.tile-hover { transition: opacity .15s; }
.tile-hover:hover { outline: 2px solid var(--c-orange); outline-offset: -2px; }

/* ----- Filter bar (products archive) ----- */
.sg-filter-bar       { position: sticky; top: 74px; z-index: 40; background: var(--c-light); border-bottom: 1px solid var(--c-border); }
.sg-filter-bar__inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg-filter-bar__lbl   { font-size: 12px; letter-spacing: .06em; color: var(--c-muted); margin-right: 6px; text-transform: uppercase; }
.sg-filter-btn        { font-size: 13px; font-weight: 600; padding: 9px 16px; border: 1px solid var(--c-border); color: var(--c-text); background: #fff; }
.sg-filter-btn--active { background: var(--c-dark); color: #fff; border-color: var(--c-dark); }

/* ----- Margin modifiers ----- */
.sg-mb-16  { margin-bottom: 16px; }
.sg-mb-20  { margin-bottom: 20px; }
.sg-mb-22  { margin-bottom: 22px; }
.sg-mb-24  { margin-bottom: 24px; }
.sg-mb-26  { margin-bottom: 26px; }
.sg-mb-34  { margin-bottom: 34px; }
.sg-mt-0   { margin-top: 0; }
.sg-m-0    { margin: 0; }

/* ----- Padding-top for content sections ----- */
.sg-pt-hero { padding-top: clamp(44px,5.5vw,72px); }

/* ----- Flex column stacks ----- */
.sg-col-gap-20 { display: flex; flex-direction: column; gap: 20px; }
.sg-col-gap-24 { display: flex; flex-direction: column; gap: 24px; }

/* ----- Datasheet button variant ----- */
.sg-btn--outline-dark { border: 1px solid var(--c-border); color: var(--c-dark); }

/* ----- Product action buttons row ----- */
.sg-product-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

/* ----- Story image grid images ----- */
.sg-story-img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 1/1; }

/* ----- Demo case img fallback ----- */
.sg-cs-img--demo { position: relative; min-height: 260px; overflow: hidden; }
.sg-cs-img--demo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ----- News card h3 ----- */
.sg-news-h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }

/* ----- Max-width modifiers for headings ----- */
.sg-mw-480 { max-width: 480px; }
.sg-mw-520 { max-width: 520px; }
.sg-mw-560 { max-width: 560px; }
.sg-mw-600 { max-width: 600px; }
.sg-mw-620 { max-width: 620px; }
.sg-mw-640 { max-width: 640px; }
.sg-mw-680 { max-width: 680px; }
.sg-mw-760 { max-width: 760px; }
.sg-mw-820 { max-width: 820px; }

/* ----- Body text paragraphs ----- */
.sg-body-p    { font-size: 15.5px; line-height: 1.7; color: var(--c-body-dark); margin: 0 0 16px; }
.sg-body-p--sm { font-size: 15px; line-height: 1.65; color: var(--c-muted); margin: 0; }
.sg-body-p--quote { font-size: 16px; line-height: 1.65; color: var(--c-hero-sub); margin: 0 0 32px; max-width: 480px; }
.sg-body-p--cert  { font-size: 15px; line-height: 1.65; color: var(--c-muted); margin: 0; }
.sg-body-p--cov   { font-size: 15.5px; line-height: 1.7; color: var(--c-body-dark); margin: 0 0 20px; }
.sg-body-p--intro { font-size: 16px; line-height: 1.7; color: var(--c-body-dark); margin: 0 0 24px; }

/* ----- Case card h3 override ----- */
.sg-case-card__h3 { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 16px; }

/* ----- Kicker uppercase variant ----- */
.sg-kicker--upper { text-transform: uppercase; }

/* ----- Fallback index article ----- */
.sg-index-article { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--c-border); }
.sg-index-article__h2 { font-weight: 800; font-size: 26px; margin: 0 0 10px; }

/* ----- Coming soon notice ----- */
.sg-notice { padding: 32px 24px; background: var(--c-light); border: 1px solid var(--c-border); text-align: center; }
.sg-notice__h { font-size: 16px; font-weight: 600; color: var(--c-dark); margin: 0 0 8px; }
.sg-notice__p { font-size: 14px; color: var(--c-muted); margin: 0 0 20px; }
