/* G1 Gunther premium visual layer
   This file intentionally sits after the original styles so the existing
   structure and interactions remain intact while the brand system evolves. */

:root {
  --bg: #020202;
  --bg-soft: #080808;
  --bg-raised: #101010;
  --bg-card: rgba(255, 255, 255, 0.045);
  --bg-card-strong: rgba(255, 255, 255, 0.085);
  --text: #f3f3f2;
  --silver: #d9dade;
  --silver-shadow: #96979b;
  --muted: #96979b;
  --muted-strong: #d9dade;
  --gold: #d5a62e;
  --primary: #d5a62e;
  --gold-light: #f5d36d;
  --gold-deep: #8c5f0c;
  --gold-soft: rgba(213, 166, 46, 0.14);
  --primary-soft: rgba(213, 166, 46, 0.14);
  --line: rgba(213, 166, 46, 0.17);
  --line-strong: rgba(235, 193, 85, 0.38);
  --glass: rgba(3, 3, 3, 0.84);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
  --font-display: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-body: "Avenir Next", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

html { color-scheme: dark; }

body {
  position: relative;
  isolation: isolate;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at 8% -8%, rgba(213, 166, 46, 0.13), transparent 27rem),
    radial-gradient(circle at 95% 12%, rgba(213, 166, 46, 0.055), transparent 24rem),
    linear-gradient(180deg, #020202 0%, #080706 48%, #020202 100%);
  font-feature-settings: "kern" 1, "liga" 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .78;
  background-image:
    radial-gradient(circle at 20px 20px, rgba(245,211,109,.54) 0 2px, transparent 2.8px),
    linear-gradient(90deg, transparent 0 20px, rgba(213,166,46,.19) 20px 108px, transparent 108px),
    linear-gradient(0deg, transparent 0 20px, rgba(213,166,46,.12) 20px 82px, transparent 82px),
    linear-gradient(135deg, transparent 0 48%, rgba(213,166,46,.10) 48% 48.5%, transparent 48.5% 100%);
  background-size: 180px 150px, 180px 150px, 240px 210px, 360px 300px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.40) 38%, rgba(0,0,0,.40) 62%, rgba(0,0,0,.94));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .72;
  background:
    radial-gradient(circle at 7% 18%, var(--gold-light) 0 3px, transparent 4px),
    radial-gradient(circle at 93% 30%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(circle at 10% 74%, rgba(217,218,222,.72) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 83%, var(--gold-light) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(213,166,46,.44), transparent) 0 18% / 24% 1px no-repeat,
    linear-gradient(270deg, rgba(213,166,46,.38), transparent) 100% 30% / 25% 1px no-repeat,
    linear-gradient(90deg, rgba(217,218,222,.22), transparent) 0 74% / 20% 1px no-repeat,
    linear-gradient(270deg, rgba(213,166,46,.40), transparent) 100% 83% / 22% 1px no-repeat;
}

main,
footer,
.site-footer {
  position: relative;
  z-index: 1;
}

h1, h2, h3, .hero-title, .page-title {
  font-family: var(--font-display);
  text-wrap: balance;
}

p { text-wrap: pretty; }

section > .container { position: relative; }

.section-head { position: relative; }

.section-head::after {
  content: "";
  display: block;
  width: min(220px, 52vw);
  height: 7px;
  margin-top: 24px;
  background:
    radial-gradient(circle at 75% 50%, var(--gold-light) 0 3px, transparent 3.5px),
    linear-gradient(90deg, var(--gold-deep), var(--gold) 68%, transparent 68%) center / 100% 1px no-repeat;
  opacity: .82;
}

::selection {
  color: #171007;
  background: var(--gold-light);
}

.progress-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light), var(--gold-deep));
  box-shadow: 0 0 18px rgba(213,166,46,.48);
}

.site-header {
  background: rgba(2, 2, 2, .76);
  border-bottom-color: rgba(213,166,46,.10);
  box-shadow: 0 14px 45px rgba(0,0,0,.15);
}

.site-header.scrolled {
  background: rgba(2, 2, 2, .95);
  border-bottom-color: var(--line);
}

.brand-mark {
  border-color: rgba(226,199,139,.30);
  border-radius: 11px;
  background:
    linear-gradient(#070707, #070707) padding-box,
    linear-gradient(145deg, var(--gold-light), var(--gold-deep)) border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.28);
}

.brand-mark span,
.gradient-text,
.hero-title-accent,
.letter-word > span {
  background-image: linear-gradient(115deg, #f8f8f8 0%, #bfc0c3 25%, var(--gold-light) 48%, var(--gold) 72%, #fff1b4 100%);
}

.brand-copy strong,
.brand-text strong {
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-copy small,
.brand-text small {
  color: #91897e;
  letter-spacing: .075em;
}

.nav-link,
.nav-links a,
.nav-service-link,
.submenu-toggle {
  font-size: .82rem;
  font-weight: 720;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active,
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(213,166,46,.08);
}

.submenu,
.services-submenu {
  border-color: rgba(226,199,139,.22);
  background: rgba(3, 3, 3, .985);
  box-shadow: 0 30px 90px rgba(0,0,0,.62);
}

.submenu a:hover,
.services-submenu a:hover {
  background: rgba(213,166,46,.09);
}

.btn {
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.btn-primary {
  color: #171107;
  border-color: rgba(255,242,207,.42);
  background: linear-gradient(110deg, #8c5f0c 0%, #f0c651 43%, #c99215 72%, #f5d36d 100%);
  box-shadow: 0 16px 38px rgba(166,116,17,.28), inset 0 1px 0 rgba(255,255,255,.42);
}

.btn-primary:hover {
  box-shadow: 0 20px 48px rgba(170,127,54,.36), inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-secondary {
  color: #f4eee4;
  border-color: rgba(226,199,139,.28);
  background: rgba(255,250,238,.035);
}

.btn-secondary:hover {
  color: var(--gold-light);
  border-color: rgba(226,199,139,.52);
  background: rgba(213,166,46,.075);
}

.eyebrow,
.section-kicker,
.project-tag,
.process-step strong,
.text-link {
  color: var(--gold-light);
}

.hero,
.home-hero,
.page-hero {
  isolation: isolate;
}

.hero {
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(213,166,46,.09) 8% 8.12%, transparent 8.12% 92%, rgba(213,166,46,.09) 92% 92.12%, transparent 92.12%),
    radial-gradient(circle at 78% 35%, rgba(213,166,46,.13), transparent 25rem),
    linear-gradient(145deg, rgba(2,2,2,.86) 0%, rgba(8,7,6,.70) 58%, rgba(3,3,3,.82) 100%);
}

.home-hero {
  background:
    linear-gradient(90deg, rgba(2,2,2,.98) 0%, rgba(2,2,2,.79) 48%, rgba(2,2,2,.26) 100%),
    linear-gradient(180deg, rgba(2,2,2,.08), #020202 98%),
    url("../images/g1-gunther-hero.png") center / cover no-repeat;
}

.page-hero {
  background:
    linear-gradient(90deg, transparent 0 6%, rgba(213,166,46,.08) 6% 6.1%, transparent 6.1% 94%, rgba(213,166,46,.08) 94% 94.1%, transparent 94.1%),
    radial-gradient(circle at 14% 0%, rgba(213,166,46,.16), transparent 30rem),
    linear-gradient(180deg, rgba(255,247,230,.022), transparent);
}

.hero-title,
.home-title,
.page-title {
  letter-spacing: -.055em;
  text-shadow: 0 18px 55px rgba(0,0,0,.38);
}

.hero-copy,
.section-lead,
.page-lead {
  color: #b6aea2;
  line-height: 1.72;
}

.device-panel,
.service-detail,
.contact-panel,
.cta-band {
  border-color: rgba(226,199,139,.23);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,166,46,.13), transparent 38%),
    linear-gradient(145deg, rgba(255,250,238,.075), rgba(255,250,238,.025));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.055);
}

/* Native smart-property console: no hero image, only responsive HTML and CSS. */
.hero-visual {
  min-height: 658px;
  aspect-ratio: auto;
  padding: 0 0 58px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.hero-visual::before {
  display: none;
}

.hero-visual .device-panel {
  min-height: 600px;
  height: 100%;
  padding: 22px;
  border-radius: 22px;
  border-color: rgba(245,211,109,.20);
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(213,166,46,.075) 12% 12.2%, transparent 12.2% 88%, rgba(213,166,46,.075) 88% 88.2%, transparent 88.2%),
    radial-gradient(circle at 92% 8%, rgba(213,166,46,.14), transparent 30%),
    linear-gradient(155deg, #0d0d0d 0%, #050505 55%, #0a0804 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.065), inset 0 0 80px rgba(0,0,0,.35);
}

.hero-visual .mock-header {
  min-height: 30px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(213,166,46,.18);
  color: var(--silver-shadow);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-visual .mock-dots i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(213,166,46,.52);
}

.hero-visual .mock-dots i:nth-child(2) { background: #b7b8bb; box-shadow: none; }
.hero-visual .mock-dots i:nth-child(3) { background: #55565a; box-shadow: none; }

.hero-visual .camera-grid { gap: 12px; }

.hero-visual .camera-feed {
  min-height: 142px;
  padding: 12px;
  border-radius: 16px;
  border-color: rgba(213,166,46,.16);
  background:
    radial-gradient(circle at 70% 28%, rgba(213,166,46,.12), transparent 30%),
    linear-gradient(145deg, #171717, #090909);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-visual .camera-feed:nth-child(2) {
  background: radial-gradient(circle at 25% 75%, rgba(217,218,222,.10), transparent 34%), linear-gradient(145deg, #121212, #070707);
}

.hero-visual .camera-feed:nth-child(3) {
  background: radial-gradient(circle at 75% 72%, rgba(213,166,46,.12), transparent 32%), linear-gradient(145deg, #15130f, #070707);
}

.hero-visual .camera-feed:nth-child(4) {
  background: radial-gradient(circle at 35% 28%, rgba(217,218,222,.09), transparent 34%), linear-gradient(145deg, #111214, #070707);
}

.hero-visual .camera-feed::before {
  inset: 34px 16px 16px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(213,166,46,.18) 46% 46.8%, transparent 46.8%),
    linear-gradient(35deg, transparent 0 58%, rgba(217,218,222,.09) 58% 59%, transparent 59%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 16px);
}

.hero-visual .camera-feed::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,211,109,.72), transparent);
  box-shadow: 0 0 12px rgba(213,166,46,.35);
  animation: g1-scan 4.8s ease-in-out infinite alternate;
}

.hero-visual .camera-feed:nth-child(2)::after { animation-delay: -1.2s; }
.hero-visual .camera-feed:nth-child(3)::after { animation-delay: -2.4s; }
.hero-visual .camera-feed:nth-child(4)::after { animation-delay: -3.6s; }

@keyframes g1-scan {
  from { transform: translateY(-26px); opacity: .30; }
  to { transform: translateY(42px); opacity: .92; }
}

.hero-visual .camera-feed span {
  color: var(--gold-light);
  border: 1px solid rgba(213,166,46,.18);
  background: rgba(3,3,3,.72);
  letter-spacing: .045em;
}

.hero-visual .system-card {
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 22px;
  border-radius: 20px;
  border-color: rgba(235,193,85,.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(213,166,46,.16), transparent 42%),
    rgba(5,5,5,.90);
  box-shadow: 0 24px 60px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.055);
}

.hero-visual .system-card h3 {
  margin-bottom: 7px;
  font-size: clamp(1.25rem, 2.1vw, 1.65rem);
  color: #f4f1e9;
}

.hero-visual .system-card p { color: #999a9e; }

.hero-visual .status-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hero-visual .status-item {
  min-width: 0;
  display: grid;
  align-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border: 1px solid rgba(213,166,46,.11);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}

.hero-visual .status-item span {
  color: #8f9094;
  font-size: .69rem;
  letter-spacing: .035em;
}

.hero-visual .status-item strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e9e9e7;
  font-size: .75rem;
}

.hero-visual .status-item strong::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 11px rgba(245,211,109,.72);
}

.console-viewport {
  height: 600px;
  overflow: hidden;
  border-radius: 22px;
}

.console-track {
  display: flex;
  height: 100%;
  transition: transform .72s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.console-slide {
  min-width: 100%;
  height: 100%;
}

.console-slide .device-panel { width: 100%; }

.console-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 10px;
  z-index: 5;
  min-height: 38px;
  display: grid;
  grid-template-columns: 38px 1fr auto 38px;
  align-items: center;
  gap: 10px;
}

.console-arrow {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(213,166,46,.24);
  border-radius: 50%;
  color: var(--gold-light);
  background: rgba(4,4,4,.72);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.console-arrow:hover,
.console-arrow:focus-visible {
  color: #111;
  border-color: var(--gold-light);
  background: var(--gold-light);
  outline: none;
  transform: scale(1.05);
}

.console-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.console-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(217,218,222,.22);
  cursor: pointer;
  transition: width .25s ease, background .25s ease, box-shadow .25s ease;
}

.console-dot.is-active {
  width: 52px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  box-shadow: 0 0 12px rgba(213,166,46,.34);
}

.console-dot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 5px; }

.console-count {
  color: #77787c;
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .12em;
}

.console-count b { color: var(--gold-light); font-weight: 850; }

.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.automation-tile {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(213,166,46,.15);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(213,166,46,.13), transparent 42%),
    rgba(255,255,255,.025);
}

.automation-tile::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #67686b;
}

.automation-tile.is-on::after,
.automation-tile:nth-child(2)::after {
  background: var(--gold-light);
  box-shadow: 0 0 13px rgba(245,211,109,.62);
}

.automation-tile small {
  color: #8f9094;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.automation-tile strong {
  color: #f0ece3;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1;
}

.automation-tile span { color: #8f9094; font-size: .72rem; }

.network-stage {
  position: relative;
  container-type: inline-size;
  min-height: 306px;
  overflow: hidden;
  border: 1px solid rgba(213,166,46,.13);
  border-radius: 18px;
  background:
    radial-gradient(circle at center, rgba(213,166,46,.10), transparent 38%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.network-core {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 3;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(245,211,109,.42);
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, rgba(245,211,109,.25), transparent 38%), #090806;
  box-shadow: 0 0 46px rgba(213,166,46,.15), inset 0 1px 0 rgba(255,255,255,.08);
  transform: translate(-50%, -50%);
}

.network-core span {
  color: var(--gold-light);
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
}

.network-core strong { color: #aaa; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }

.network-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  border: 1px solid rgba(213,166,46,.20);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one { width: 190px; height: 190px; }
.ring-two { width: 286px; height: 286px; border-style: dashed; opacity: .62; animation: g1-orbit 22s linear infinite; }

@keyframes g1-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }

.network-node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(213,166,46,.16);
  border-radius: 999px;
  color: #a5a6a9;
  background: rgba(4,4,4,.84);
  font-size: .64rem;
  font-weight: 740;
}

.network-node i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(245,211,109,.66);
}

.node-home { left: 8%; top: 20%; }
.node-office { right: 7%; top: 17%; }
.node-audio { left: 10%; bottom: 20%; }
.node-theater { right: 6%; bottom: 22%; }

/* Four physical routes converging on the G1 CONNECTED core. */
.network-node::before {
  content: "";
  position: absolute;
  top: 50%;
  z-index: -1;
  width: var(--route-length);
  height: 8px;
  pointer-events: none;
  opacity: .94;
  background:
    radial-gradient(circle, rgba(245,211,109,.98) 0 1.8px, rgba(213,166,46,.52) 2px, transparent 2.7px)
    0 50% / 14px 8px repeat-x;
  filter: drop-shadow(0 0 4px rgba(245,211,109,.42));
  animation: g1-route-flow .85s linear infinite;
}

.node-home::before,
.node-audio::before {
  left: calc(100% - 2px);
  transform-origin: left center;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 64%, #000);
}

.node-office::before,
.node-theater::before {
  right: calc(100% - 2px);
  transform-origin: right center;
  mask-image: linear-gradient(270deg, rgba(0,0,0,.35), #000 64%, #000);
  animation-direction: reverse;
}

.node-home::before {
  --route-length: clamp(42px, calc(40cqw - 86px), 114px);
  transform: rotate(24deg);
}

.node-office::before {
  --route-length: clamp(45px, calc(40.6cqw - 85px), 118px);
  transform: rotate(-26deg);
}

.node-audio::before {
  --route-length: clamp(52px, calc(36.9cqw - 65.5px), 119px);
  transform: rotate(-32deg);
}

.node-theater::before {
  --route-length: clamp(51px, calc(41.1cqw - 80.5px), 125px);
  transform: rotate(29deg);
}

@keyframes g1-route-flow {
  to { background-position: 14px 50%; }
}

@media (max-width: 480px) {
  .node-home::before { transform: rotate(36deg); }
  .node-office::before { transform: rotate(-40deg); }
  .node-audio::before { transform: rotate(-46deg); }
  .node-theater::before { transform: rotate(43deg); }
}

@media (prefers-reduced-motion: reduce) {
  .network-node::before { animation: none; }
}

.service-card,
.project-card,
.value-card,
.team-card,
.info-card,
.feature-item,
.process-step,
.faq-item,
.brand-logo-card {
  border-color: rgba(226,199,139,.14);
  background: linear-gradient(145deg, rgba(255,250,238,.06), rgba(255,250,238,.022));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 50px rgba(0,0,0,.14);
}

.service-card::before,
.project-card::before,
.value-card::before,
.team-card::before,
.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 42%;
  height: 1px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold), rgba(213,166,46,0));
}

.service-card:hover,
.service-card.active,
.project-card:hover,
.value-card:hover,
.team-card:hover,
.info-card:hover,
.feature-item:hover,
.process-step:hover {
  border-color: rgba(226,199,139,.48);
  background: linear-gradient(145deg, rgba(213,166,46,.115), rgba(255,255,255,.03));
  box-shadow: 0 24px 58px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.055);
}

.card-number,
.icon-box,
.feature-number {
  color: var(--gold-light);
  border: 1px solid rgba(226,199,139,.20);
  background: rgba(213,166,46,.10);
}

.project-cover::after,
.project-visual::after {
  background: linear-gradient(180deg, transparent 32%, rgba(8,7,5,.78));
}

.service-context-bar {
  background: rgba(3, 3, 3, .93);
  border-bottom-color: rgba(226,199,139,.16);
}

input,
textarea,
select {
  border-color: rgba(226,199,139,.19);
  background: rgba(255,250,238,.04);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(213,166,46,.10);
}

footer,
.site-footer {
  border-top-color: rgba(226,199,139,.14);
  background: rgba(1,1,1,.86);
}

@media (max-width: 880px) {
  .nav-menu,
  .nav-links {
    background: rgba(2,2,2,.99);
    border-color: rgba(226,199,139,.18);
  }
}

@media (max-width: 620px) {
  body::before { opacity: .54; }
  body::after { opacity: .46; }

  .hero-visual,
  .hero-visual .device-panel { min-height: 0; }

  .console-viewport { height: 700px; }
  .hero-visual .device-panel { padding: 14px; }
  .hero-visual .camera-grid { gap: 8px; }
  .hero-visual .camera-feed { min-height: 112px; border-radius: 13px; }

  .hero-visual .system-card {
    position: relative;
    inset: auto;
    margin-top: 10px;
    padding: 16px;
  }

  .hero-visual .status-list { grid-template-columns: 1fr; }
  .hero-visual .status-item { grid-template-columns: 1fr auto; align-items: center; }
  .automation-tile { min-height: 112px; padding: 12px; }
  .network-stage { min-height: 286px; }
  .ring-two { width: 250px; height: 250px; }
}

/* V12 — eight services, social presence and refreshed About Us. */
.brand-wordmark-grid .home-brand-card {
  min-height: 118px;
  display: grid;
  place-items: center;
  padding: 24px 18px;
}

.brand-wordmark-grid .home-brand-card strong {
  color: rgba(244,244,239,.86);
  font-size: clamp(.92rem, 1.3vw, 1.15rem);
  font-weight: 800;
  letter-spacing: .09em;
  text-align: center;
  transition: color .3s ease, transform .3s ease;
}

.brand-wordmark-grid .home-brand-card:hover strong {
  color: var(--gold-2, #f5d36d);
  transform: translateY(-2px);
}

.about-purpose-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.about-purpose-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-190px, -8vw, -80px);
  top: 50%;
  width: min(620px, 55vw);
  aspect-ratio: 1;
  opacity: .075;
  background: url("../images/team/g1-mascot.jpg") center / contain no-repeat;
  filter: grayscale(.25) saturate(.8);
  transform: translateY(-50%);
  pointer-events: none;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.purpose-card {
  display: grid;
  grid-template-columns: minmax(150px, .68fr) minmax(0, 1.32fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px);
  overflow: hidden;
  border: 1px solid rgba(245,211,109,.18);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(16,14,9,.92), rgba(7,7,7,.94));
  box-shadow: 0 24px 60px rgba(0,0,0,.24);
}

.purpose-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 16px;
  background: #080706;
}

.purpose-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.purpose-card:first-child .purpose-photo img { object-position: 78% center; }
.purpose-card:last-child .purpose-photo img { object-position: 16% center; }

.purpose-card h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.purpose-card p {
  color: var(--muted, #aaa);
}

.contact-list li > a,
.contact-list li > span {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 44px;
  line-height: 1.35;
}

.contact-list li > a > .contact-icon,
.contact-list li > span > .contact-icon,
.contact-list li > a > b,
.contact-list li > span > b,
.contact-list .social-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border-radius: 50%;
  line-height: 1;
}

.contact-social-item a > span:last-child {
  display: inline;
}

.social-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
}

.social-icon--instagram {
  color: #fff;
  background: radial-gradient(circle at 31% 107%, #fdf497 0 6%, #fd5949 36%, #d6249f 62%, #285aeb 100%);
}

.social-icon--instagram .social-dot {
  fill: #fff;
  stroke: none;
}

.social-icon--facebook {
  color: #fff;
  background: #1877f2;
}

.social-icon--facebook svg {
  fill: #fff;
  stroke: none;
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--silver, #ececec);
}

.social-links .social-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(150px, 1fr));
}

.footer-socials {
  flex: 0 0 100%;
}

.social-links--compact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.floating-actions {
  overflow: visible;
}

.floating-socials {
  position: absolute;
  right: calc(100% + 10px);
  bottom: 61px;
  display: flex;
  gap: 8px;
}

.floating-socials > a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(0,0,0,.4);
  transition: transform .2s ease;
}

.floating-socials > a:hover {
  transform: translateY(-3px);
}

.floating-socials .social-icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

@media (max-width: 1050px) {
  .purpose-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .purpose-card { grid-template-columns: 105px minmax(0, 1fr); padding: 14px; }
  .purpose-photo { border-radius: 12px; }
  .about-purpose-section::before { width: 92vw; right: -38vw; opacity: .05; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-socials { right: calc(100% + 7px); bottom: 55px; gap: 6px; }
  .floating-socials > a { width: 40px; height: 40px; }
}

/* Persistent bilingual control below the contact shortcuts. */
.language-switcher {
  position: relative;
}

.language-toggle {
  cursor: pointer;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1;
  background: linear-gradient(145deg, rgba(19,19,19,.96), rgba(5,5,5,.98));
  border-color: rgba(226,181,60,.42);
}

.language-flag {
  display: block;
  transform: translateY(-1px);
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
}

.flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 1.23px, #fff 1.23px 2.46px);
}

.flag-us::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 10px;
  height: 8.5px;
  background: #3c3b6e;
}

.flag-mx {
  background: linear-gradient(to right, #006847 0 33.33%, #fff 33.33% 66.66%, #ce1126 66.66%);
}

.flag-mx::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9b7b24;
  transform: translate(-50%, -50%);
}

.language-menu {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: max-content;
  min-width: 150px;
  display: grid;
  gap: 5px;
  padding: 7px;
  border: 1px solid rgba(226,181,60,.3);
  border-radius: 15px;
  background: rgba(7,7,7,.96);
  box-shadow: 0 18px 48px rgba(0,0,0,.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(8px) scale(.98);
  transform-origin: right bottom;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.language-switcher.open .language-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.language-option {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255,255,255,.72);
  background: transparent;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.language-option:hover,
.language-option.active {
  color: #fff;
  border-color: rgba(226,181,60,.24);
  background: rgba(226,181,60,.1);
}

.language-option.active::after {
  content: "✓";
  position: absolute;
  right: 16px;
  color: #e2b53c;
}

@media (max-width: 520px) {
  .language-menu {
    right: calc(100% + 9px);
    min-width: 142px;
  }
}

/* =========================================================
   V6 — CLEAN LUXURY DIRECTION
   Content and trust lead; gold is an accent, never wallpaper.
   ========================================================= */

body {
  background:
    radial-gradient(circle at 50% -12%, rgba(213,166,46,.07), transparent 34rem),
    linear-gradient(180deg, #030303 0%, #080706 48%, #020202 100%);
}

body::before,
body::after {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(213,166,46,.095), transparent 28rem),
    radial-gradient(circle at 18% 4%, rgba(217,218,222,.045), transparent 24rem),
    linear-gradient(135deg, #020202 0%, #090806 58%, #020202 100%);
}

.hero::before {
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(245,211,109,.09) 8% 8.05%, transparent 8.05% 92%, rgba(245,211,109,.07) 92% 92.05%, transparent 92.05%);
}

.hero-content::before {
  inset: -6% -8% -6% -10%;
  border-left-color: rgba(245,211,109,.16);
  background: radial-gradient(ellipse at 25% 50%, rgba(0,0,0,.56), transparent 72%);
  filter: none;
}

.page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(213,166,46,.075), transparent 25rem),
    linear-gradient(145deg, #030303 0%, #090806 58%, #020202 100%);
}

.page-hero::after {
  background: linear-gradient(180deg, transparent, #020202);
}

main > section:not(.hero):not(.page-hero) {
  border-top-color: rgba(213,166,46,.045);
  background:
    radial-gradient(circle at 88% 0%, rgba(213,166,46,.025), transparent 22rem),
    linear-gradient(180deg, rgba(4,4,4,.96), rgba(8,8,8,.98));
}

main > section:not(.hero):not(.page-hero)::before {
  display: none;
}

.hero-visual .device-panel {
  border-color: rgba(245,211,109,.23);
  background:
    radial-gradient(circle at 92% 8%, rgba(213,166,46,.085), transparent 31%),
    linear-gradient(155deg, rgba(12,12,12,.94), rgba(4,4,4,.97));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 26px 72px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.hero-visual .device-panel::after {
  opacity: .44;
}

.service-card,
.project-card,
.value-card,
.team-card,
.info-card,
.feature-item,
.process-step,
.faq-item,
.brand-logo-card,
.service-detail,
.contact-panel,
.cta-band {
  border-color: rgba(226,199,139,.14);
  background: linear-gradient(145deg, rgba(255,250,238,.048), rgba(255,250,238,.018));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.service-card::after,
.project-card::after,
.value-card::after,
.team-card::after,
.info-card::after,
.feature-item::after,
.process-step::after {
  opacity: .32;
}

.section-head::after {
  opacity: .58;
}

@media (max-width: 980px) {
  .hero {
    background:
      radial-gradient(circle at 72% 44%, rgba(213,166,46,.075), transparent 24rem),
      linear-gradient(145deg, #020202, #090806 56%, #020202);
  }

  .hero-content::before {
    background: rgba(2,2,2,.16);
    border-top-color: rgba(245,211,109,.12);
  }

  .hero-visual .device-panel {
    background: linear-gradient(155deg, rgba(12,12,12,.96), rgba(4,4,4,.98));
  }
}

@media (max-width: 620px) {
  .hero,
  .page-hero {
    background:
      radial-gradient(circle at 72% 12%, rgba(213,166,46,.065), transparent 18rem),
      linear-gradient(155deg, #020202, #080706 58%, #020202);
  }
}

/* V7 final responsive slider rules — keep last in the cascade. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-visual.console-slider {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.console-viewport {
  width: 100%;
  height: 600px;
  min-width: 0;
}

.console-track {
  min-width: 0;
}

.console-slide {
  flex: 0 0 100%;
  min-width: 100% !important;
}

.console-controls {
  position: static;
  inset: auto;
  width: 100%;
  min-height: 44px;
  padding: 0 4px;
}

@media (max-width: 760px) {
  .hero-visual.console-slider { gap: 12px; }

  .console-viewport {
    height: auto !important;
    overflow: hidden;
    border-radius: 18px;
  }

  .console-track,
  .console-slide { height: auto; }
  .console-track { align-items: stretch; }
  .console-slide { display: flex; }

  .console-slide .device-panel,
  .hero-visual .device-panel {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 16px;
  }

  .hero-visual .system-card {
    position: relative;
    inset: auto;
    margin-top: 12px;
    padding: 18px;
  }

  .hero-visual .status-list { grid-template-columns: 1fr; }
  .hero-visual .status-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .console-controls {
    grid-template-columns: 42px minmax(0, 1fr) auto 42px;
    gap: 8px;
  }

  .console-arrow { width: 40px; height: 40px; }
  .console-dot { width: 22px; }
  .console-dot.is-active { width: 38px; }
}

@media (max-width: 480px) {
  .hero-visual .device-panel { padding: 12px; border-radius: 16px; }
  .hero-visual .mock-header { margin-bottom: 12px; padding-bottom: 11px; font-size: .60rem; letter-spacing: .10em; }
  .hero-visual .camera-feed { min-height: 96px; }
  .automation-tile { min-height: 104px; }
  .network-stage { min-height: 260px; }
  .ring-one { width: 160px; height: 160px; }
  .ring-two { width: 230px; height: 230px; }
  .network-node { padding: 6px 8px; font-size: .58rem; }
  .hero-visual .system-card { padding: 15px; }
  .hero-visual .system-card h3 { font-size: 1.22rem; }
  .hero-visual .system-card p { font-size: .88rem; }
  .console-controls { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .console-count { display: none; }
}

/* V7 — responsive console slider repair. */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero-visual.console-slider {
  display: grid;
  grid-template-rows: minmax(0, auto) auto;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 0;
}

.console-viewport {
  width: 100%;
  height: 600px;
  min-width: 0;
}

.console-track,
.console-slide {
  min-width: 0;
}

.console-controls {
  position: static;
  inset: auto;
  width: 100%;
  min-height: 44px;
  padding: 0 4px;
}

.console-dots {
  min-width: 0;
}

@media (max-width: 760px) {
  .hero-visual.console-slider {
    gap: 12px;
  }

  .console-viewport {
    height: auto;
    overflow: hidden;
    border-radius: 18px;
  }

  .console-track,
  .console-slide {
    height: auto;
  }

  .console-track {
    align-items: stretch;
  }

  .console-slide {
    display: flex;
  }

  .console-slide .device-panel,
  .hero-visual .device-panel {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 16px;
  }

  .hero-visual .system-card {
    position: relative;
    inset: auto;
    margin-top: 12px;
    padding: 18px;
  }

  .hero-visual .status-list {
    grid-template-columns: 1fr;
  }

  .hero-visual .status-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .console-controls {
    grid-template-columns: 42px minmax(0, 1fr) auto 42px;
    gap: 8px;
  }

  .console-arrow {
    width: 40px;
    height: 40px;
  }

  .console-dot {
    width: 22px;
  }

  .console-dot.is-active {
    width: 38px;
  }
}

@media (max-width: 480px) {
  .hero-visual .device-panel {
    padding: 12px;
    border-radius: 16px;
  }

  .hero-visual .mock-header {
    margin-bottom: 12px;
    padding-bottom: 11px;
    font-size: .60rem;
    letter-spacing: .10em;
  }

  .hero-visual .camera-feed {
    min-height: 96px;
  }

  .automation-tile {
    min-height: 104px;
  }

  .network-stage {
    min-height: 260px;
  }

  .ring-one {
    width: 160px;
    height: 160px;
  }

  .ring-two {
    width: 230px;
    height: 230px;
  }

  .network-node {
    padding: 6px 8px;
    font-size: .58rem;
  }

  .hero-visual .system-card {
    padding: 15px;
  }

  .hero-visual .system-card h3 {
    font-size: 1.22rem;
  }

  .hero-visual .system-card p {
    font-size: .88rem;
  }

  .console-controls {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }

  .console-count {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   V5 — MOTHERBOARD VISUAL SYSTEM
   The approved artwork becomes the visual source of truth:
   strong on HOME, restrained and atmospheric elsewhere.
   ========================================================= */

body {
  background: #020202;
}

body::before {
  opacity: .20;
  background:
    linear-gradient(180deg, rgba(2,2,2,.30), rgba(2,2,2,.72)),
    url("../images/g1-motherboard-premium.png") 68% center / cover no-repeat fixed;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.62), #000 42%, #000 100%);
}

body::after {
  opacity: .38;
  background:
    radial-gradient(circle at 8% 18%, var(--gold-light) 0 2px, transparent 3px),
    radial-gradient(circle at 93% 30%, var(--gold) 0 3px, transparent 4px),
    radial-gradient(circle at 9% 74%, rgba(217,218,222,.68) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 83%, var(--gold-light) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(213,166,46,.60), transparent) 0 18% / 25% 1px no-repeat,
    linear-gradient(270deg, rgba(213,166,46,.48), transparent) 100% 30% / 28% 1px no-repeat,
    linear-gradient(90deg, rgba(217,218,222,.30), transparent) 0 74% / 22% 1px no-repeat,
    linear-gradient(270deg, rgba(213,166,46,.52), transparent) 100% 83% / 24% 1px no-repeat;
}

/* HOME: full motherboard render, with a calibrated reading veil. */
.hero {
  background:
    linear-gradient(90deg, rgba(2,2,2,.98) 0%, rgba(2,2,2,.91) 29%, rgba(2,2,2,.70) 53%, rgba(2,2,2,.26) 100%),
    linear-gradient(180deg, rgba(2,2,2,.08) 0%, rgba(2,2,2,.12) 67%, #020202 100%),
    url("../images/g1-motherboard-premium.png") 68% center / cover no-repeat;
  background-attachment: scroll;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 48%, rgba(245,211,109,.12), transparent 23%),
    linear-gradient(90deg, transparent 0 7%, rgba(245,211,109,.16) 7% 7.08%, transparent 7.08% 93%, rgba(245,211,109,.14) 93% 93.08%, transparent 93.08%);
}

.hero-grid {
  padding-block: 24px;
}

.hero-content {
  position: relative;
  padding: clamp(22px, 3vw, 38px) clamp(2px, 2vw, 24px) clamp(22px, 3vw, 38px) 0;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: -8% -10% -8% -12%;
  z-index: -1;
  border-left: 1px solid rgba(245,211,109,.28);
  background: radial-gradient(ellipse at 22% 50%, rgba(0,0,0,.80), transparent 72%);
  filter: drop-shadow(0 22px 45px rgba(0,0,0,.42));
}

/* The slider stays visually open so the motherboard remains present. */
.hero-visual .device-panel {
  border-color: rgba(245,211,109,.32);
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(213,166,46,.10) 12% 12.2%, transparent 12.2% 88%, rgba(213,166,46,.10) 88% 88.2%, transparent 88.2%),
    radial-gradient(circle at 92% 8%, rgba(213,166,46,.14), transparent 30%),
    rgba(3,3,3,.76);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow:
    0 28px 78px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.075),
    inset 0 0 70px rgba(0,0,0,.20);
}

.hero-visual .device-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 19%;
  width: 34%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold-light));
  box-shadow: 0 0 12px rgba(213,166,46,.30);
}

/* Interior pages inherit the board in a quieter, content-first form. */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2,2,2,.97) 0%, rgba(2,2,2,.88) 47%, rgba(2,2,2,.45) 100%),
    linear-gradient(180deg, rgba(2,2,2,.30), #020202 100%),
    url("../images/g1-motherboard-premium.png") 74% 44% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, #020202);
}

main > section:not(.hero):not(.page-hero) {
  position: relative;
  border-top: 1px solid rgba(213,166,46,.055);
  background: linear-gradient(180deg, rgba(2,2,2,.66), rgba(6,6,6,.74));
}

main > section:not(.hero):not(.page-hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .52;
  background:
    linear-gradient(90deg, rgba(213,166,46,.34), transparent) 0 18% / min(210px, 28vw) 1px no-repeat,
    radial-gradient(circle at min(210px, 28vw) 18%, var(--gold-light) 0 2px, transparent 3px),
    linear-gradient(270deg, rgba(213,166,46,.28), transparent) 100% 78% / min(240px, 30vw) 1px no-repeat;
}

main > section:not(.hero):not(.page-hero) > .container {
  position: relative;
  z-index: 1;
}

.service-card,
.project-card,
.value-card,
.team-card,
.info-card,
.feature-item,
.process-step,
.faq-item,
.brand-logo-card,
.service-detail,
.contact-panel,
.cta-band {
  position: relative;
  overflow: hidden;
  border-color: rgba(226,199,139,.22);
  background:
    linear-gradient(135deg, rgba(245,211,109,.055), transparent 31%),
    rgba(7,7,7,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card::after,
.project-card::after,
.value-card::after,
.team-card::after,
.info-card::after,
.feature-item::after,
.process-step::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 0;
  width: 54px;
  height: 18px;
  pointer-events: none;
  opacity: .72;
  background:
    radial-gradient(circle at 8px 9px, var(--gold-light) 0 2px, transparent 2.6px),
    linear-gradient(90deg, rgba(213,166,46,.60), transparent) 8px 9px / 46px 1px no-repeat;
}

.section-kicker {
  position: relative;
  padding-left: 18px;
}

.section-kicker::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(245,211,109,.46);
  transform: translateY(-50%);
}

@media (max-width: 980px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(2,2,2,.88) 0%, rgba(2,2,2,.72) 52%, #020202 100%),
      url("../images/g1-motherboard-premium.png") 71% top / auto 74rem no-repeat;
  }

  .hero-content::before {
    inset: -5% -4%;
    background: rgba(2,2,2,.42);
    border-left: 0;
    border-top: 1px solid rgba(245,211,109,.20);
  }

  .hero-visual .device-panel {
    background: rgba(3,3,3,.82);
  }
}

@media (max-width: 620px) {
  body::before {
    opacity: .14;
    background-position: 72% center;
    background-attachment: scroll;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(2,2,2,.76) 0%, rgba(2,2,2,.82) 42%, #020202 100%),
      url("../images/g1-motherboard-premium.png") 73% top / auto 48rem no-repeat;
  }

  .page-hero {
    background:
      linear-gradient(180deg, rgba(2,2,2,.76), #020202 96%),
      url("../images/g1-motherboard-premium.png") 72% top / auto 42rem no-repeat;
  }

  main > section:not(.hero):not(.page-hero)::before {
    opacity: .34;
  }

  .service-card,
  .project-card,
  .value-card,
  .team-card,
  .info-card,
  .feature-item,
  .process-step,
  .faq-item,
  .brand-logo-card,
  .service-detail,
  .contact-panel,
  .cta-band {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7,7,7,.92);
  }
}

/* V6 final clean-luxury overrides — intentionally last in the cascade. */
body {
  background:
    radial-gradient(circle at 50% -12%, rgba(213,166,46,.07), transparent 34rem),
    linear-gradient(180deg, #030303 0%, #080706 48%, #020202 100%);
}

body::before,
body::after {
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(213,166,46,.095), transparent 28rem),
    radial-gradient(circle at 18% 4%, rgba(217,218,222,.045), transparent 24rem),
    linear-gradient(135deg, #020202 0%, #090806 58%, #020202 100%);
}

.hero::before {
  background: linear-gradient(90deg, transparent 0 8%, rgba(245,211,109,.09) 8% 8.05%, transparent 8.05% 92%, rgba(245,211,109,.07) 92% 92.05%, transparent 92.05%);
}

.hero-content::before {
  inset: -6% -8% -6% -10%;
  border-left-color: rgba(245,211,109,.16);
  background: radial-gradient(ellipse at 25% 50%, rgba(0,0,0,.56), transparent 72%);
  filter: none;
}

.page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(213,166,46,.075), transparent 25rem),
    linear-gradient(145deg, #030303 0%, #090806 58%, #020202 100%);
}

main > section:not(.hero):not(.page-hero) {
  border-top-color: rgba(213,166,46,.045);
  background:
    radial-gradient(circle at 88% 0%, rgba(213,166,46,.025), transparent 22rem),
    linear-gradient(180deg, rgba(4,4,4,.96), rgba(8,8,8,.98));
}

main > section:not(.hero):not(.page-hero)::before {
  display: none;
}

.hero-visual .device-panel {
  border-color: rgba(245,211,109,.23);
  background:
    radial-gradient(circle at 92% 8%, rgba(213,166,46,.085), transparent 31%),
    linear-gradient(155deg, rgba(12,12,12,.94), rgba(4,4,4,.97));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 26px 72px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.05);
}

.service-card,
.project-card,
.value-card,
.team-card,
.info-card,
.feature-item,
.process-step,
.faq-item,
.brand-logo-card,
.service-detail,
.contact-panel,
.cta-band {
  border-color: rgba(226,199,139,.14);
  background: linear-gradient(145deg, rgba(255,250,238,.048), rgba(255,250,238,.018));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.service-card::after,
.project-card::after,
.value-card::after,
.team-card::after,
.info-card::after,
.feature-item::after,
.process-step::after {
  opacity: .30;
}

@media (max-width: 980px) {
  .hero {
    background:
      radial-gradient(circle at 72% 44%, rgba(213,166,46,.075), transparent 24rem),
      linear-gradient(145deg, #020202, #090806 56%, #020202);
  }

  .hero-content::before {
    background: rgba(2,2,2,.16);
    border-top-color: rgba(245,211,109,.12);
  }

  .hero-visual .device-panel {
    background: linear-gradient(155deg, rgba(12,12,12,.96), rgba(4,4,4,.98));
  }
}

@media (max-width: 620px) {
  .hero,
  .page-hero {
    background:
      radial-gradient(circle at 72% 12%, rgba(213,166,46,.065), transparent 18rem),
      linear-gradient(155deg, #020202, #080706 58%, #020202);
  }
}

/* V10 — the console responds to its own width, not only the browser width. */
.hero-visual.console-slider {
  container-type: inline-size;
}

@container (max-width: 640px) {
  .console-viewport {
    height: var(--console-active-height, auto) !important;
    overflow: hidden;
    transition: height .32s ease;
  }

  .console-track {
    height: auto !important;
    align-items: flex-start;
  }

  .console-slide {
    height: auto !important;
  }

  .console-slide .device-panel {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 18px;
  }

  .hero-visual .system-card,
  .connectivity-panel .system-card {
    position: relative !important;
    inset: auto !important;
    margin: 12px 0 0;
  }

  .hero-visual .status-list,
  .connectivity-panel .status-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    margin-bottom: 0;
  }

  .console-controls {
    position: static !important;
    inset: auto !important;
    margin-top: 2px;
  }
}

@container (max-width: 430px) {
  .hero-visual .status-list,
  .connectivity-panel .status-list {
    grid-template-columns: 1fr !important;
  }

  .hero-visual .status-item,
  .connectivity-panel .status-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

/* V11 — service-specific visual identity and compact About hero. */
.service-security {
  --service-art: url("../images/service-covers/security-cameras.jpg");
  --service-art-position: center 38%;
}

.service-alarms {
  --service-art: url("../images/service-covers/alarm-systems.jpg");
  --service-art-position: center 46%;
}

.service-network {
  --service-art: url("../images/service-covers/network-wifi.jpg");
  --service-art-position: center 42%;
}

.service-automation {
  --service-art: url("../images/service-covers/smart-automation.jpg");
  --service-art-position: center 54%;
}

.service-tv {
  --service-art: url("../images/service-covers/tv-mounting.jpg");
  --service-art-position: center 48%;
}

.service-audio {
  --service-art: url("../images/service-covers/audio-video.jpg");
  --service-art-position: center 50%;
}

.service-shades {
  --service-art: url("../images/service-covers/motorized-shades.jpg");
  --service-art-position: center 50%;
}

.service-lighting {
  --service-art: url("../images/service-covers/smart-lighting.jpg");
  --service-art-position: center 52%;
}

.services-overview-page {
  --service-art: url("../images/projects/network-wifi/02.jpg");
  --service-art-position: center 44%;
}

.service-detail-page .page-hero,
.services-overview-page .page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(520px, 61vh, 700px);
  align-items: center;
  overflow: hidden;
  background: #030303;
}

.service-detail-page .page-hero::before,
.services-overview-page .page-hero::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: 0;
  opacity: .34;
  background-image: var(--service-art);
  background-position: var(--service-art-position, center);
  background-size: cover;
  filter: grayscale(.58) saturate(.7) contrast(1.05) blur(2px);
  transform: scale(1.035);
}

.service-detail-page .page-hero::after,
.services-overview-page .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #030303 0%, rgba(3,3,3,.96) 35%, rgba(3,3,3,.76) 64%, rgba(3,3,3,.47) 100%),
    radial-gradient(circle at 82% 32%, rgba(213,166,46,.17), transparent 26rem),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.62));
}

.service-detail-page .page-hero > .container,
.services-overview-page .page-hero > .container {
  position: relative;
  z-index: 2;
}

.service-detail-page .page-hero .page-title,
.services-overview-page .page-hero .page-title {
  max-width: 900px;
  text-shadow: 0 18px 46px rgba(0,0,0,.72);
}

.service-detail-page .page-hero .page-lead,
.services-overview-page .page-hero .page-lead {
  color: rgba(235,235,232,.74);
  text-shadow: 0 8px 28px rgba(0,0,0,.8);
}

.services-overview-page .service-overview-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(226,199,139,.17);
  background: #080706;
  transition:
    border-color .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
}

.services-overview-page .service-overview-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: 0;
  opacity: .18;
  background-image: var(--card-art, none);
  background-position: center;
  background-size: cover;
  filter: grayscale(.52) saturate(.72) blur(4px);
  transform: scale(1.08);
  transition: opacity .45s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
}

.services-overview-page .service-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(4,4,4,.98) 0%, rgba(4,4,4,.91) 48%, rgba(4,4,4,.58) 100%),
    linear-gradient(180deg, transparent 74%, rgba(213,166,46,.07));
}

.services-overview-page .service-overview-card > * {
  position: relative;
  z-index: 2;
}

.services-overview-page .service-overview-card:hover {
  border-color: rgba(245,211,109,.36);
  box-shadow: 0 24px 54px rgba(0,0,0,.34);
  transform: translateY(-4px);
}

.services-overview-page .service-overview-card:hover::before {
  opacity: .28;
  transform: scale(1.035);
}

.service-card--security { --card-art: url("../images/service-covers/security-cameras.jpg"); }
.service-card--alarms { --card-art: url("../images/service-covers/alarm-systems.jpg"); }
.service-card--network { --card-art: url("../images/service-covers/network-wifi.jpg"); }
.service-card--automation { --card-art: url("../images/service-covers/smart-automation.jpg"); }
.service-card--tv { --card-art: url("../images/service-covers/tv-mounting.jpg"); }
.service-card--audio { --card-art: url("../images/service-covers/audio-video.jpg"); }
.service-card--shades { --card-art: url("../images/service-covers/motorized-shades.jpg"); }
.service-card--lighting { --card-art: url("../images/service-covers/smart-lighting.jpg"); }

.about-page .about-hero {
  padding-block: clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 80% 24%, rgba(213,166,46,.11), transparent 24rem),
    linear-gradient(145deg, #030303, #090806 58%, #020202);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.about-hero-copy .section-kicker {
  margin-top: 34px;
}

.about-hero-copy .page-title {
  max-width: 780px;
  font-size: clamp(3.1rem, 5.9vw, 6.25rem);
}

.about-hero-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(245,211,109,.26);
  border-radius: 26px;
  background: #080706;
  box-shadow: 0 30px 80px rgba(0,0,0,.42);
}

.about-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(245,211,109,.12), transparent 28%),
    linear-gradient(0deg, rgba(0,0,0,.14), transparent 42%);
}

.about-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.9) contrast(1.04);
}

@media (max-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-photo {
    width: 100%;
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .service-detail-page .page-hero,
  .services-overview-page .page-hero {
    min-height: 560px;
    align-items: flex-end;
  }

  .service-detail-page .page-hero::before,
  .services-overview-page .page-hero::before {
    opacity: .24;
    background-position: center;
    filter: grayscale(.66) saturate(.62) blur(2px);
  }

  .service-detail-page .page-hero::after,
  .services-overview-page .page-hero::after {
    background: linear-gradient(180deg, rgba(2,2,2,.46) 0%, rgba(2,2,2,.87) 46%, #020202 100%);
  }

  .services-overview-page .service-overview-card::before {
    opacity: .15;
  }

  .about-page .about-hero {
    padding-block: 54px 66px;
  }

  .about-hero-copy .section-kicker {
    margin-top: 26px;
  }

  .about-hero-copy .page-title {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .about-hero-photo {
    border-radius: 20px;
  }
}
