/* Original navy/cyan glass palette, adapted to the rebuilt layout. */
:root {
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --bg-1: #0f172a;
  --bg-2: #1e3a8a;
  --bg-3: #0891b2;
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.14);
  --text-main: #f1f5f9;
  --text-sub: #a8b8cd;
}
body {
  color: var(--text-main);
  background:
    radial-gradient(ellipse at 4% 5%, rgba(8, 145, 178, 0.28), transparent 31%),
    radial-gradient(
      ellipse at 91% 2%,
      rgba(30, 58, 138, 0.46),
      transparent 34%
    ),
    var(--bg-1);
}
a,
button {
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
a:hover {
  color: var(--accent);
}
.site-header {
  background: rgba(15, 23, 42, 0.65);
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-scrolled {
  background: rgba(15, 23, 42, 0.93);
}
.brand span {
  color: var(--accent);
}
.brand small {
  color: var(--text-sub);
}
.nav-links a {
  color: #b9c8dc;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}
.nav-contact {
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: rgba(56, 189, 248, 0.05);
}
.eyebrow {
  color: var(--accent);
}
.primary {
  color: #06202f;
  background: linear-gradient(120deg, var(--accent-strong), var(--accent));
  box-shadow: 0 8px 25px -12px rgba(56, 189, 248, 0.6);
}
.primary:hover {
  color: #06202f;
  background: #7dd3fc;
  transform: translateY(-2px);
}
.secondary {
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.secondary:hover {
  border-color: var(--accent);
  background: rgba(56, 189, 248, 0.08);
}
.capability-strip {
  border-block: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
}
.capabilities {
  color: #b6c9da;
}
.capabilities i {
  color: var(--accent);
}
.section-heading > p,
.muted {
  color: var(--text-sub);
}
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.business-primary {
  background:
    radial-gradient(ellipse at 0 0, rgba(8, 145, 178, 0.16), transparent 70%),
    var(--glass-bg);
  border-color: rgba(56, 189, 248, 0.3);
}
.business-primary h3 span {
  color: var(--accent);
}
.business-secondary h3 {
  color: #e2e8f0;
}
.index {
  color: #90a7bd;
}
.business-label {
  color: #d9e9f5;
}
.service-list li {
  border-bottom: 1px solid var(--glass-border);
}
.service-list span {
  color: var(--text-sub);
}
.text-link {
  color: var(--accent);
}
.electrical-list {
  color: #d2deea;
}
.electrical-list li:before {
  color: var(--accent);
}
.electrical-bottom {
  border-top: 1px solid var(--glass-border);
  color: var(--text-sub);
}
.process-section {
  background: rgba(4, 12, 26, 0.24);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}
.step {
  background: #132b42;
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: var(--accent);
}
.process li:not(:last-child):after {
  background: linear-gradient(
    90deg,
    rgba(56, 189, 248, 0.5),
    rgba(56, 189, 248, 0.12)
  );
}
.process h3 {
  color: var(--accent);
}
.process p {
  color: var(--text-sub);
}
.project {
  border: 1px solid var(--glass-border);
}
.project img {
  filter: brightness(0.85) saturate(0.8);
}
.project:hover {
  color: #fff;
}
.project-caption {
  background: linear-gradient(transparent, rgba(5, 12, 24, 0.96));
  color: #fff;
}
.project-caption > p:last-child:not(.eyebrow) {
  color: #c8d8e6;
}
.expand {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
.company-section {
  border-block: 1px solid var(--glass-border);
  background: linear-gradient(
    110deg,
    rgba(30, 58, 138, 0.14),
    rgba(8, 145, 178, 0.04)
  );
}
.company-wordmark {
  color: #eef4ff;
}
.company-wordmark span {
  color: var(--accent);
}
.company-grid > div > p:not(.eyebrow):not(.company-wordmark) {
  color: var(--text-sub);
}
.company-tags {
  color: var(--accent);
}
.contact-panel {
  background:
    radial-gradient(ellipse at 0 0, rgba(8, 145, 178, 0.2), transparent 80%),
    rgba(255, 255, 255, 0.04);
}
.contact-panel p:not(.eyebrow),
.contact-phone small,
.contact-mail {
  color: var(--text-sub);
}
footer {
  border-top: 1px solid var(--glass-border);
  background: rgba(4, 10, 22, 0.32);
}
.footer-main address,
.back-top,
.footer-bottom {
  color: var(--text-sub);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.skip-link {
  background: var(--accent);
  color: #06202f;
}
.menu-toggle {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}
.lightbox {
  background: #0f172a;
  color: #f1f5f9;
  box-shadow: 0 20px 100px #000;
}
.lightbox::backdrop {
  background: rgba(0, 5, 15, 0.92);
  backdrop-filter: blur(6px);
}
.lightbox-close {
  color: #f1f5f9;
}
@media (max-width: 760px) {
  .nav-links {
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid var(--glass-border);
  }
  .process li:not(:last-child):after {
    background: rgba(56, 189, 248, 0.25);
  }
}
/* Hero and official logo — final layout, full-width background and responsive rules */
/* Hero-only layout: compatible with the existing project CSS and JS. */
.hero.hero-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 82svh, 720px);
  padding-top: 150px;
  padding-bottom: 60px;
  gap: 0;
}
.hero-brand::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 0;
  bottom: 0;
  left: 50%;
  width: var(--hero-background-width, 100vw);
  transform: translateX(-50%);
  background:
    radial-gradient(
      ellipse at 75% 40%,
      rgba(30, 58, 138, 0.24),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 50% 55%,
      rgba(56, 189, 248, 0.07),
      transparent 60%
    );
}
.hero-brand .hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
}
.hero-brand h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.045em;
  word-break: normal;
}
.hero-brand h1 span {
  display: inline-block;
  margin-left: clamp(70px, 7vw, 120px);
  background: linear-gradient(100deg, #b5eaff 0%, #38bdf8 85%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-brand .hero-translation {
  margin-top: 27px;
  font-size: 19px;
  letter-spacing: -0.6px;
  color: #d2e0ee;
}
.hero-brand .hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 49px;
  padding-top: 29px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-brand .hero-details {
  margin: 0;
  min-width: 0;
  flex: 1;
}
.hero-brand .hero-tech {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #d4e5f2;
}
.hero-brand .hero-description {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-sub, #a8b8cd);
}
.hero-brand .actions {
  margin: 0;
  flex-shrink: 0;
  gap: 12px;
}
.hero-brand .actions .button {
  white-space: nowrap;
}
.hero-brand .hero-system-graphic {
  position: absolute;
  z-index: 0;
  right: 0;
  top: 100px;
  width: 47%;
  max-width: 580px;
  height: auto;
  color: #bcecff;
  opacity: 0.125;
  pointer-events: none;
  user-select: none;
}
.hero-brand .hero-system-graphic text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  fill: currentColor;
  stroke: none;
}
.hero-mobile-break {
  display: none;
}
/* Official logo: preserve header height, link footprint and SVG aspect ratio. */
.brand.brand-image {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 178px;
  height: 44px;
  flex-shrink: 0;
  line-height: 1;
}
.brand.brand-image img {
  display: block;
  flex: none;
  width: auto;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.footer-main .brand.brand-image img {
  height: 54px;
}
@media (min-width: 1600px) {
  .hero.hero-brand {
    padding-top: 160px;
    padding-bottom: 65px;
  }
}
@media (max-width: 1050px) {
  .hero.hero-brand {
    padding-top: 140px;
    padding-bottom: 55px;
  }
  .hero-brand .hero-bottom {
    gap: 24px;
  }
  .hero-brand .hero-description {
    max-width: 390px;
  }
  .hero-brand .actions .button {
    padding-inline: 17px;
    gap: 18px;
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  .hero-brand h1 span {
    margin-left: 40px;
  }
  .hero-brand .hero-system-graphic {
    width: 48%;
    top: 115px;
  }
  .hero-brand .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .hero-brand .hero-description {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .hero-brand h1 span {
    margin-left: 0;
  }
  .hero-brand .hero-system-graphic {
    width: 65%;
    top: 90px;
    opacity: 0.1;
  }
  .hero.hero-brand {
    min-height: 0;
    padding-top: 124px;
    padding-bottom: 44px;
  }
  .hero-brand h1 {
    font-size: clamp(30px, 7.8vw, 57px);
    line-height: 1.2;
    letter-spacing: -0.045em;
  }
  .hero-brand .hero-translation {
    font-size: 15px;
    margin-top: 20px;
    letter-spacing: -0.5px;
  }
  .hero-brand .hero-bottom {
    margin-top: 34px;
    padding-top: 24px;
    gap: 24px;
  }
  .hero-brand .hero-tech {
    font-size: 12px;
    letter-spacing: 0.2px;
  }
  .hero-brand .hero-description {
    font-size: 13px;
    margin-top: 9px;
  }
  .hero-mobile-break {
    display: block;
  }
  .hero-brand .actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .hero-brand .actions .button {
    padding: 13px 19px;
    gap: 20px;
  }
  .brand.brand-image {
    width: 156px;
    height: 38px;
  }
  .brand.brand-image img {
    height: 50px;
  }
  .footer-main .brand.brand-image img {
    height: 48px;
  }
}
@media (max-width: 360px) {
  .hero.hero-brand {
    padding-top: 116px;
    padding-bottom: 38px;
  }
  .hero-brand h1 {
    font-size: 29px;
  }
  .hero-brand .hero-translation {
    font-size: 13px;
  }
  .hero-brand .actions {
    gap: 10px;
  }
  .hero-brand .actions .button {
    padding-inline: 15px;
    gap: 16px;
  }
}
