/*
 * COMMAND 3100_062G — CCO / IRONSERVICE Modern Industrial Master
 * Homepage visual layer. Load LAST. Cache: ?v=062g
 * Scope: body.cw-r2.cw-g
 */
body.cw-r2.cw-g {
  --g-steel-black: #111315;
  --g-gun: #1C2023;
  --g-dark: #272C2F;
  --g-graphite: #302C28;
  --g-iron: #3B3D3E;
  --g-rust: #4C3527;
  --g-wood: #6A452B;
  --g-burnt: #C56F24;
  --g-copper: #B87333;
  --g-amber: #E89A32;
  --g-ivory: #F1ECE3;
  --g-muted: #AAA49B;
  --g-cyan: #3EE0FF;
  --g-mag: #C84CFF;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(62, 224, 255, 0.06), transparent 42%),
    radial-gradient(ellipse at 10% 100%, rgba(200, 76, 255, 0.05), transparent 40%),
    linear-gradient(180deg, #1C2023, #272C2F 40%, #302C28);
  color: var(--g-ivory);
}

/* Header assembly */
body.cw-r2.cw-g #main-header.cw-g-header {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 28%),
    linear-gradient(180deg, #272C2F, #111315);
  border-top: 2px solid var(--g-amber);
  border-bottom: 1px solid #5A6166;
  box-shadow:
    0 0 18px rgba(62, 224, 255, 0.12),
    0 12px 28px rgba(0,0,0,0.45);
}
body.cw-r2.cw-g .cw-g-header-inner { min-height: 84px; }
body.cw-r2.cw-g .cw-g-brand {
  display: flex; align-items: center; gap: 0.8rem;
  text-decoration: none; color: inherit; min-width: 0;
}
body.cw-r2.cw-g .cw-g-mono-wrap {
  position: relative;
  width: 58px; height: 58px; flex-shrink: 0;
  background: linear-gradient(160deg, #3B3D3E, #111315);
  border: 1px solid #8A9094;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 0 12px rgba(62,224,255,0.15);
}
body.cw-r2.cw-g .cw-g-mono-wrap img { width: 100%; height: 100%; display: block; }
body.cw-r2.cw-g .cw-g-stack { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
body.cw-r2.cw-g .cw-g-master {
  font-family: 'Oswald', 'Outfit', sans-serif;
  font-weight: 700; letter-spacing: 0.14em; font-size: 0.92rem;
  color: var(--g-ivory);
}
body.cw-r2.cw-g .cw-g-lp {
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--g-muted);
}
body.cw-r2.cw-g .cw-g-store {
  font-family: 'Outfit', sans-serif; font-weight: 800; letter-spacing: 0.18em;
  font-size: 0.78rem; color: var(--g-amber); margin-top: 0.12rem;
  text-shadow: 0 0 10px rgba(232,154,50,0.35);
}
body.cw-r2.cw-g .cw-g-style {
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--g-cyan);
}
body.cw-r2.cw-g .primary-nav.desktop-nav a {
  font-family: 'Oswald', sans-serif; letter-spacing: 0.12em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--g-ivory); min-height: 44px;
  border: 1px solid transparent; padding: 0 0.55rem;
  background: transparent;
}
body.cw-r2.cw-g .primary-nav.desktop-nav a:hover { color: var(--g-amber); }
body.cw-r2.cw-g .primary-nav.desktop-nav a.active,
body.cw-r2.cw-g .primary-nav.desktop-nav a[aria-current="page"] {
  color: var(--g-amber);
  box-shadow: inset 0 -2px 0 var(--g-amber);
}
body.cw-r2.cw-g .cw-header-cta {
  min-height: 44px; border-radius: 2px;
  background: linear-gradient(180deg, #3B3D3E, #111315);
  color: var(--g-ivory); border: 1px solid var(--g-amber);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 12px rgba(232,154,50,0.2);
  font-family: 'Kanit', sans-serif; font-weight: 700;
}

/* Beams + cyberpunk edge */
body.cw-r2.cw-g .cw-g-beam {
  height: 16px;
  background: linear-gradient(#6A7074, #272C2F 22%, #111315 50%, #272C2F 78%, #6A7074);
  box-shadow: 0 -1px 0 rgba(62,224,255,0.35), 0 1px 0 rgba(200,76,255,0.28), 0 8px 16px rgba(0,0,0,0.4);
  position: relative;
}
body.cw-r2.cw-g .cw-g-bolt,
body.cw-r2.cw-g .cw-im-plate::before,
body.cw-r2.cw-g .cw-im-plate::after {
  background: radial-gradient(circle at 35% 30%, #DDD, #6A6A6A 45%, #222 70%);
}

/* Hero */
body.cw-r2.cw-g .cw-im-hero.cw-hero-062c::before,
body.cw-r2.cw-g .cw-im-hero.cw-image-overlay::after { content: none !important; background: none !important; }
body.cw-r2.cw-g .cw-im-hero-vignette {
  background:
    linear-gradient(90deg, rgba(17,19,21,0.62) 0%, rgba(17,19,21,0.28) 42%, rgba(17,19,21,0.1) 70%),
    radial-gradient(ellipse at 78% 18%, rgba(232,154,50,0.22), transparent 38%),
    radial-gradient(ellipse at 8% 80%, rgba(62,224,255,0.1), transparent 36%);
}
body.cw-r2.cw-g .cw-im-hero h1 {
  font-family: 'Kanit', sans-serif; font-weight: 800; color: var(--g-ivory);
  text-shadow: 0 1px 0 #000, 0 2px 0 rgba(232,154,50,0.25), 0 16px 28px rgba(0,0,0,0.5);
}
body.cw-r2.cw-g .cw-g-mi {
  display: block; color: var(--g-amber);
  text-shadow: 0 0 14px rgba(232,154,50,0.35), 0 0 22px rgba(62,224,255,0.18);
}
body.cw-r2.cw-g .cw-im-hero-serif {
  font-family: 'Oswald', sans-serif; font-style: normal; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--g-cyan);
}
body.cw-r2.cw-g .cw-im-hero .btn-primary {
  background: linear-gradient(180deg, #E89A32, #C56F24); color: #111; border-radius: 2px;
}
body.cw-r2.cw-g .cw-im-hero .btn-secondary {
  background: #1C2023; color: var(--g-ivory); border: 1px solid #8A9094; border-radius: 2px;
}

/* Section rhythm */
body.cw-r2.cw-g .cw-g-checker {
  background: linear-gradient(180deg, rgba(17,19,21,0.72), rgba(17,19,21,0.78)), url("assets/tex-diamond-plate.png") center / 280px repeat;
}
body.cw-r2.cw-g .cw-g-gun { background: linear-gradient(180deg, #272C2F, #1C2023); }
body.cw-r2.cw-g .cw-g-concrete { background: linear-gradient(180deg, #302C28, #1C2023); }
body.cw-r2.cw-g .cw-g-workshop { background: linear-gradient(180deg, #4C3527, #272C2F); }
body.cw-r2.cw-g .cw-g-wood { background: linear-gradient(180deg, #6A452B 0%, #302C28 55%, #1C2023); }
body.cw-r2.cw-g .cw-g-fab { background: linear-gradient(180deg, #3B3D3E, #111315); }
body.cw-r2.cw-g .main-footer {
  background: linear-gradient(180deg, rgba(17,19,21,0.88), #111315), url("assets/tex-diamond-plate.png") center / 320px repeat;
  border-top: 3px solid var(--g-amber);
}

body.cw-r2.cw-g .cw-trust-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0.75rem;
}
body.cw-r2.cw-g .cw-trust-item {
  border: 1px solid #5A6166; padding: 0.9rem 0.75rem;
  background: rgba(17,19,21,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
body.cw-r2.cw-g .cw-trust-item p { color: var(--g-ivory); margin: 0; font-family: 'Kanit', sans-serif; }

/* Category steel panels */
body.cw-r2.cw-g .cw-im-plate {
  position: relative;
  background: #1C2023;
  border: 1px solid #6A7074;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(62,224,255,0.12), 0 16px 28px rgba(0,0,0,0.4);
}
body.cw-r2.cw-g .cw-im-plate .cw-shop-cat-visual {
  margin: 10px 10px 0; border: 1px solid #3B3D3E;
  box-shadow: inset 0 8px 18px rgba(0,0,0,0.45);
}
body.cw-r2.cw-g .cw-im-plate .cw-shop-cat-copy {
  margin: 0 10px 10px;
  background: linear-gradient(180deg, #272C2F, #111315), url("assets/tex-diamond-plate.png") center / 140px repeat;
  border-top: 2px solid var(--g-amber);
}

/* Contact dock */
body.cw-r2.cw-g .cw-g-dock.contact-widget-container .floating-buttons-row {
  background: linear-gradient(180deg, #272C2F, #111315);
  border: 1px solid #8A9094;
  padding: 0.45rem;
  box-shadow: 0 0 16px rgba(62,224,255,0.16), 0 12px 24px rgba(0,0,0,0.45);
}
body.cw-r2.cw-g .cw-g-dock .contact-main-toggle,
body.cw-r2.cw-g .cw-g-dock .contact-call-btn {
  border-radius: 4px;
  background: #1C2023;
  border: 1px solid var(--g-amber);
  color: var(--g-ivory);
}
body.cw-r2.cw-g .cw-im-sticky {
  background: #1C2023; border-top: 2px solid var(--g-amber);
}

body.cw-r2.cw-g .cw-custom-step,
body.cw-r2.cw-g .cw-process-step,
body.cw-r2.cw-g .cw-benefit-card {
  background: linear-gradient(180deg, #272C2F, #111315);
  border: 1px solid #5A6166;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

@media (max-width: 1023px) {
  body.cw-r2.cw-g .header-row-nav { display: none; }
  body.cw-r2.cw-g .cw-trust-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  body.cw-r2.cw-g .cw-g-lp { display: none; }
  body.cw-r2.cw-g .cw-header-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.cw-r2.cw-g * { box-shadow: none !important; }
}
