:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #17212b;
  --muted: #5e6a76;
  --line: #dce4ea;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --steel: #243447;
  --warm: #c58a1b;
  --shadow: 0 18px 45px rgba(15, 35, 52, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(680px, 70vw);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--steel);
  color: white;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.18;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 20px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  min-height: min(760px, calc(100vh - 58px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 4vw, 56px) 34px;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.99) 0%, rgba(247, 249, 251, 0.9) 47%, rgba(247, 249, 251, 0.12) 100%),
    url("assets/electrical-hero.png") center right / cover no-repeat;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.lead {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--steel);
}

.hero-media {
  min-height: 420px;
}

.section {
  padding: clamp(42px, 6vw, 78px) clamp(18px, 4vw, 56px);
}

.section.compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metric {
  min-height: 118px;
  padding: 26px;
  background: white;
}

.metric strong,
.metric span {
  display: block;
}

.metric span {
  margin-top: 8px;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 35, 52, 0.06);
}

.product-image {
  height: 190px;
  border-bottom: 1px solid var(--line);
}

.product-a {
  background:
    linear-gradient(90deg, transparent 0 19%, rgba(36, 52, 71, 0.22) 20% 21%, transparent 22% 39%, rgba(36, 52, 71, 0.22) 40% 41%, transparent 42%),
    linear-gradient(145deg, rgba(15, 118, 110, 0.1), rgba(197, 138, 27, 0.08)),
    linear-gradient(120deg, #e8eef3, #ffffff);
}

.product-b {
  background:
    radial-gradient(circle at 28% 42%, rgba(15, 118, 110, 0.72) 0 10%, transparent 11%),
    radial-gradient(circle at 52% 58%, rgba(197, 138, 27, 0.72) 0 8%, transparent 9%),
    linear-gradient(135deg, rgba(36, 52, 71, 0.12), rgba(15, 118, 110, 0.07)),
    repeating-linear-gradient(0deg, #f8fafc 0 26px, #edf2f7 27px 52px);
}

.product-c {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.18) 0 14%, transparent 15% 100%),
    linear-gradient(135deg, rgba(36, 52, 71, 0.13), rgba(255, 255, 255, 0.25)),
    radial-gradient(circle at 72% 42%, rgba(15, 118, 110, 0.8) 0 9%, transparent 10%),
    linear-gradient(90deg, #f1f5f9, #ffffff);
}

.product-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e7f5f3;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.product-body p,
.capability-list span {
  color: var(--muted);
}

.product-body ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--steel);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: 32px;
  background: #edf3f7;
}

.split p {
  max-width: 680px;
  color: var(--muted);
}

.requirement-band {
  background: white;
}

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

.requirement-grid span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--warm);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--steel);
  font-weight: 800;
}

.capability-list {
  display: grid;
  gap: 12px;
}

.capability-list div {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list span {
  margin-top: 6px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.contact-card,
.inquiry-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
}

.contact-note {
  color: var(--muted);
}

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

.contact-grid a {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}

.contact-grid span,
label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
}

.inquiry-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}

input::placeholder,
textarea::placeholder {
  color: #8b98a7;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    max-width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(247, 249, 251, 0.99) 0%, rgba(247, 249, 251, 0.88) 64%, rgba(247, 249, 251, 0.25) 100%),
      url("assets/electrical-hero.png") center bottom / cover no-repeat;
  }

  .hero-media {
    min-height: 240px;
  }

  .section.compact,
  .product-grid,
  .split,
  .requirement-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  h1 {
    font-size: 34px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
