@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --navy: #172B3A;
  --offwhite: #F5F3EE;
  --sand: #CFC5B5;
  --lightgrey: #E5E7E8;
  --white: #FFFFFF;
  --accent: #C7A46D;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--navy);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 12%, rgba(207,197,181,.22), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fbfaf7 55%, var(--offwhite) 100%);
}

.hero-inner {
  width: min(1400px, calc(100% - 80px));
  margin: 0 auto;
  padding: 42px 0 44px;
  position: relative;
  z-index: 2;
}

.brand-logo {
  display: block;
  width: clamp(240px, 21vw, 320px);
  height: auto;
  margin: 0 0 28px;
}

.hero-content {
  width: min(720px, 58vw);
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 4.1vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.intro {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: 1.04rem;
  line-height: 1.8;
}

.accent-line {
  display: block;
  width: 56px;
  height: 2px;
  margin: 26px 0 26px;
  background: var(--accent);
}

.development {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  max-width: 690px;
  margin-bottom: 24px;
}

.development h2,
.contact-card h2 {
  margin: 1px 0 6px;
  font-size: 1rem;
  line-height: 1.45;
}

.development p {
  margin: 0;
  max-width: 570px;
  font-size: .91rem;
  line-height: 1.75;
}

.round-icon {
  width: 58px;
  height: 58px;
  padding: 13px;
  border: 1px solid rgba(199,164,109,.72);
  border-radius: 50%;
  color: var(--accent);
}

.round-icon.small {
  width: 50px;
  height: 50px;
  padding: 11px;
}

.round-icon svg,
.value-icon svg,
.mail-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  width: min(560px, 100%);
  padding: 18px 20px;
  border: 1px solid rgba(207,197,181,.42);
  border-radius: 13px;
  background: rgba(245,243,238,.82);
  box-shadow: 0 13px 34px rgba(23,43,58,.07);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 4px;
  padding: 11px 17px;
  border-radius: 5px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(23,43,58,.18);
}

.technical-art {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  opacity: .52;
  pointer-events: none;
}

.technical-art::before {
  content: "";
  position: absolute;
  inset: 17% 4% 10% 14%;
  background:
    linear-gradient(rgba(23,43,58,.047) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,43,58,.047) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to left, #000 40%, transparent 100%);
}

.wire {
  position: absolute;
  height: 1px;
  background: rgba(199,164,109,.58);
  transform-origin: left center;
}

.wire-1 { width: 190px; top: 24%; right: 12%; }
.wire-2 { width: 130px; top: 37%; right: 17%; transform: rotate(90deg); }
.wire-3 { width: 160px; top: 51%; right: 26%; transform: rotate(-44deg); }
.wire-4 { width: 140px; top: 70%; right: 8%; transform: rotate(90deg); }

.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(199,164,109,.7);
  border-radius: 50%;
}

.dot-1 { top: calc(24% - 4px); right: calc(12% - 4px); }
.dot-2 { top: calc(37% - 4px); right: calc(17% - 4px); }
.dot-3 { top: calc(51% - 4px); right: calc(26% - 4px); }
.dot-4 { top: calc(70% - 4px); right: calc(8% - 4px); }

.values {
  padding: 38px 30px 44px;
  color: white;
  background: linear-gradient(135deg, #0d2a3c, #172B3A 58%, #0c3147);
}

.section-title {
  width: min(1080px, 100%);
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.section-title span {
  height: 1px;
  background: rgba(199,164,109,.62);
}

.section-title strong {
  color: #ddb477;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .82rem;
  font-weight: 600;
}

.value-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value {
  text-align: center;
  padding: 5px 42px;
}

.value + .value {
  border-left: 1px solid rgba(207,197,181,.34);
}

.value-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  color: #ddb477;
}

.value h3 {
  margin: 0 0 8px;
  font-size: .94rem;
  text-transform: uppercase;
}

.value p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  line-height: 1.65;
}

.footer {
  text-align: center;
  background: var(--offwhite);
  padding: 22px 24px 18px;
}

.mail {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--navy);
  font-size: .9rem;
  font-weight: 500;
}

.mail:hover { text-decoration: underline; }

.mail-icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(199,164,109,.72);
  border-radius: 50%;
  color: var(--accent);
}

.footer p {
  margin: 13px 0 0;
  font-size: .72rem;
  color: #6a757c;
}

@media (min-width: 1500px) {
  .hero-inner {
    width: min(1440px, calc(100% - 100px));
  }
}

@media (max-width: 900px) {
  .hero-inner {
    width: min(100% - 48px, 760px);
    padding-top: 34px;
  }

  .hero-content { width: min(680px, 100%); }

  .technical-art {
    width: 60%;
    opacity: .24;
  }

  .value { padding-left: 22px; padding-right: 22px; }
}

@media (max-width: 720px) {
  .hero-inner {
    width: min(100% - 32px, 620px);
    padding: 28px 0 38px;
  }

  .brand-logo {
    width: min(280px, 76vw);
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .technical-art {
    width: 100%;
    opacity: .12;
  }

  .development,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .round-icon {
    width: 50px;
    height: 50px;
    padding: 11px;
  }

  .value-grid { grid-template-columns: 1fr; }

  .value { padding: 24px 12px; }

  .value + .value {
    border-left: 0;
    border-top: 1px solid rgba(207,197,181,.28);
  }

  .section-title { gap: 12px; }
  .section-title strong { text-align: center; font-size: .72rem; }

  .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* V3 — real schematic background image */
.technical-art {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 auto;
  width: 58%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
  background-image:
    linear-gradient(
      90deg,
      rgba(251,250,247,1) 0%,
      rgba(251,250,247,.88) 9%,
      rgba(251,250,247,.32) 26%,
      rgba(251,250,247,.02) 58%
    ),
    url("assets/electrical-schematic-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
}

.technical-art::before,
.technical-art::after,
.wire,
.dot {
  display: none !important;
}

@media (max-width: 1000px) {
  .technical-art {
    width: 63%;
    opacity: 0.48;
    background-position: 56% center;
  }
}

@media (max-width: 720px) {
  .technical-art {
    width: 100%;
    opacity: 0.16;
    background-position: 62% center;
  }
}
