:root {
  --ink: #102423;
  --muted: #5f716e;
  --green: #08776b;
  --green-dark: #073f3a;
  --green-deep: #052c29;
  --green-soft: #e8f3f1;
  --red: #d74734;
  --sand: #f6f3ed;
  --white: #ffffff;
  --line: rgba(7, 63, 58, .16);
  --shadow: 0 24px 70px rgba(7, 63, 58, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(840px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); margin-bottom: 23px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.55rem); margin-bottom: 18px; }
h3 { font-size: 1.3rem; margin-bottom: 10px; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); }
.prose { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.section { padding: 108px 0; }
.section-sm { padding: 74px 0; }
.section-sand { background: var(--sand); }
.section-green { color: #fff; background: var(--green-dark); }
.section-green .eyebrow { color: #82ddd3; }
.section-green .lead, .section-green .prose { color: rgba(255,255,255,.74); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 48px; margin-bottom: 46px; }
.section-head > * { margin-bottom: 0; }
.section-head .lead { max-width: 520px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--red); }
.btn-dark { color: #fff; background: var(--green-dark); }
.btn-outline { border-color: currentColor; }
.btn-light { color: var(--green-dark); background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.site-header { position: absolute; z-index: 30; width: 100%; color: #fff; }
.site-header.solid { position: relative; color: #fff; background: var(--green-deep); }
.topline { border-bottom: 1px solid rgba(255,255,255,.16); }
.topline .wrap { display: flex; justify-content: flex-end; gap: 24px; min-height: 34px; align-items: center; font-size: .76rem; color: rgba(255,255,255,.72); }
.topline a { text-decoration: none; }
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 43px; height: 45px; object-fit: cover; border-radius: 10px; }
.brand strong { display: block; font-size: 1rem; letter-spacing: .06em; }
.brand span { display: block; color: rgba(255,255,255,.68); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { position: relative; color: #fff; font-size: .89rem; font-weight: 750; text-decoration: none; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: #82ddd3; }
.nav-links .nav-cta { padding: 9px 15px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }
.nav-links .nav-cta.active::after { display: none; }
.menu-toggle { display: none; width: 44px; height: 42px; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.38); border-radius: 12px; background: transparent; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; }
.mobile-panel { display: none; }

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,31,29,.95) 0%, rgba(3,31,29,.76) 49%, rgba(3,31,29,.12) 80%),
    linear-gradient(0deg, rgba(3,31,29,.68), transparent 52%),
    url("hero-annabella.jpg") center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; right: -10vw; bottom: -160px; width: 54vw; height: 300px; transform: rotate(-9deg); background: var(--red); opacity: .88; }
.hero-content { position: relative; z-index: 2; padding: 190px 0 96px; }
.hero .eyebrow, .page-hero .eyebrow { color: #82ddd3; }
.hero p { max-width: 680px; color: rgba(255,255,255,.82); font-size: 1.15rem; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; width: min(760px, 100%); margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.25); }
.hero-meta span { color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

.page-hero { position: relative; min-height: 510px; display: grid; align-items: end; overflow: hidden; color: #fff; background: var(--green-deep); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,31,29,.94), rgba(3,31,29,.58) 63%, rgba(3,31,29,.28)), var(--page-image, none) center/cover no-repeat; }
.page-hero::after { content: ""; position: absolute; width: 300px; height: 300px; right: -135px; bottom: -150px; border: 48px solid var(--red); border-radius: 50%; }
.page-hero-content { position: relative; z-index: 1; max-width: 820px; padding: 94px 0 72px; }
.page-hero h1 { font-size: clamp(2.8rem, 5vw, 4.85rem); }
.page-hero p { max-width: 690px; color: rgba(255,255,255,.8); font-size: 1.12rem; }
.breadcrumbs { margin-bottom: 32px; color: rgba(255,255,255,.65); font-size: .82rem; }
.breadcrumbs a { text-decoration: none; }

.stat-strip { position: relative; z-index: 4; margin-top: -38px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.stat { min-height: 112px; padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--green-dark); font-size: 1.35rem; }
.stat span { color: var(--muted); font-size: .86rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 38px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-wide { grid-template-columns: .82fr 1.18fr; }
.image-frame { position: relative; overflow: hidden; min-height: 460px; border-radius: var(--radius); background: var(--green-soft); box-shadow: var(--shadow); }
.image-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-caption { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 14px 16px; color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; background: rgba(3,31,29,.78); backdrop-filter: blur(8px); font-size: .84rem; }
.electrical-service-banner { min-height: 0; aspect-ratio: 16 / 9; }
.electrical-service-banner img { object-fit: contain; background: var(--green-deep); }
.electrical-overview { display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: center; }
.electrical-overview-figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--green-deep); box-shadow: var(--shadow); }
.electrical-overview-figure img { width: 100%; height: auto; }
.electrical-overview-figure figcaption { padding: 15px 18px; color: rgba(255,255,255,.76); background: var(--green-deep); font-size: .84rem; }

.card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.card.soft { background: var(--green-soft); }
.card.dark { color: #fff; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.05); }
.card p { margin-bottom: 0; color: var(--muted); }
.card.dark p { color: rgba(255,255,255,.7); }
.card-number { display: block; margin-bottom: 26px; color: var(--red); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.link-card { position: relative; min-height: 250px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.link-card .label { color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.link-card .go { color: var(--red); font-weight: 850; }

.check-list { list-style: none; padding: 0; margin: 28px 0 0; }
.check-list li { position: relative; padding: 14px 0 14px 32px; border-top: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px; border: 3px solid var(--green); border-radius: 50%; }
.section-green .check-list li { border-color: rgba(255,255,255,.15); }
.section-green .check-list li::before { border-color: #82ddd3; }

.workflow { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.workflow article { position: relative; min-height: 210px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.workflow article::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 42px; color: var(--red); font-size: .8rem; font-weight: 900; }
.workflow p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.capability-table { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.capability-row { display: grid; grid-template-columns: 1fr 1.4fr; }
.capability-row > div { padding: 20px 24px; border-bottom: 1px solid var(--line); }
.capability-row:last-child > div { border-bottom: 0; }
.capability-row > div:first-child { color: var(--green-dark); background: var(--green-soft); font-weight: 850; }
.capability-row > div:last-child { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 10px 38px rgba(7,63,58,.09); }
.gallery img { aspect-ratio: 1.25 / 1; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 13px 15px; color: var(--muted); font-size: .84rem; }

.case-feature { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; }
.case-gallery { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: repeat(2, 220px); gap: 12px; }
.case-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.case-gallery .main { grid-row: 1 / 3; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0; }
.fact { padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.fact small { display: block; color: var(--green); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.section-green .fact { border-color: rgba(255,255,255,.18); }
.section-green .fact small { color: #82ddd3; }

.client-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 28px; }
.client-list span { padding: 13px 0; border-top: 1px solid var(--line); font-weight: 750; }
.coverage-band { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: 20px; background: var(--green-dark); }
.coverage-band article { min-height: 210px; padding: 34px; color: #fff; border-right: 1px solid rgba(255,255,255,.14); }
.coverage-band article:last-child { border-right: 0; }
.coverage-band p { color: rgba(255,255,255,.7); }

.standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.standard { min-height: 230px; padding: 28px; border-radius: 18px; background: var(--green-soft); }
.standard .icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 34px; color: #fff; border-radius: 13px; background: var(--green); font-weight: 900; }
.standard p { color: var(--muted); margin-bottom: 0; }
.notice { padding: 24px 28px; border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; background: #fff; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.contact-card { padding: 32px; color: #fff; border-radius: 20px; background: var(--green-dark); }
.contact-card a { display: block; padding: 13px 0; color: #fff; border-top: 1px solid rgba(255,255,255,.17); text-decoration: none; overflow-wrap: anywhere; }
.contact-card img { width: 140px; margin-top: 26px; padding: 10px; border-radius: 15px; background: #fff; }
.rfq-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 49px; padding: 11px 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(8,119,107,.16); border-color: var(--green); }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; }
.form-status { grid-column: 1 / -1; min-height: 24px; color: var(--green-dark); font-weight: 750; }

.cta-band { padding: 72px 0; color: #fff; background: var(--green-dark); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 44px; }
.cta-band h2 { max-width: 680px; margin-bottom: 0; }

.site-footer { color: rgba(255,255,255,.68); background: #051f1d; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 42px; padding: 64px 0 48px; }
.footer-brand { max-width: 300px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-brand p { margin-top: 14px; }
.footer-col h3 { color: #fff; font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { display: block; padding: 4px 0; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .topline { display: none; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .mobile-panel { position: fixed; inset: 0; z-index: 29; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 100px 32px 32px; background: var(--green-deep); transform: translateX(100%); transition: transform .25s ease; }
  body.menu-open .mobile-panel { transform: translateX(0); }
  .mobile-panel a { color: #fff; font-size: 1.25rem; font-weight: 800; text-decoration: none; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 150px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .case-feature, .contact-grid, .electrical-overview { grid-template-columns: 1fr; }
  .grid-3, .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .workflow { grid-template-columns: repeat(2, 1fr); }
  .coverage-band { grid-template-columns: 1fr; }
  .coverage-band article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .coverage-band article:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(100% - 28px, 1180px); }
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.15rem; }
  .section { padding: 78px 0; }
  .section-sm { padding: 58px 0; }
  .navbar { min-height: 76px; }
  .brand span { display: none; }
  .hero { min-height: 760px; }
  .hero-content { padding: 130px 0 70px; }
  .page-hero { min-height: 470px; }
  .page-hero-content { padding: 72px 0 58px; }
  .section-head { display: block; }
  .stats, .grid-2, .grid-3, .grid-4, .workflow, .standards-grid, .gallery, .client-list { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .image-frame { min-height: 340px; }
  .electrical-service-banner { min-height: 0; }
  .case-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 160px; }
  .case-gallery .main { grid-column: 1 / -1; grid-row: auto; }
  .capability-row { grid-template-columns: 1fr; }
  .capability-row > div:first-child { border-bottom: 0; }
  .rfq-form { grid-template-columns: 1fr; }
  .field.full, .form-note, .form-status { grid-column: 1; }
  .cta-band .wrap { display: block; }
  .cta-band .btn { margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
