:root {
  --navy: #0a2d50;
  --navy-2: #0c3a66;
  --navy-3: #071e36;
  --cyan: #49a6c9;
  --green: #188c45;
  --green-dark: #0f6f36;
  --gray-900: #17202a;
  --gray-700: #4c5967;
  --gray-500: #8794a1;
  --gray-300: #d9e0e5;
  --gray-100: #f3f6f8;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(7, 30, 54, .14);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gray-900);
  background: var(--white);
  font-family: "Gill Sans MT", "Gill Sans", Calibri, "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 9999;
  background: var(--white); color: var(--navy); padding: .7rem 1rem; border-radius: 10px;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(10,45,80,.09);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 220px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: .96rem; color: var(--navy); }
.site-nav a { position: relative; font-weight: 600; }
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px;
  background: var(--green); transition: width .25s ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }
.nav-cta { color: var(--white) !important; background: var(--green); padding: 11px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--green-dark); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s ease; }

.hero {
  position: relative; min-height: 720px; display: grid; align-items: center; isolation: isolate;
  color: var(--white); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/images/hero-energy.jpg") center/cover no-repeat;
  transform: scale(1.03);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,22,40,.97) 0%, rgba(7,38,68,.91) 46%, rgba(7,38,68,.55) 72%, rgba(4,22,40,.48) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(4,22,40,.42)); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: end; gap: 64px; padding: 96px 0 82px; }
.hero-copy { max-width: 760px; }
.hero-logo { width: min(430px, 82%); background: rgba(255,255,255,.96); border-radius: 18px; padding: 18px 22px; margin: 20px 0 28px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .17em; font-size: .78rem; font-weight: 700; color: #c7e8f5; }
.eyebrow.dark { color: var(--green-dark); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 24px; max-width: 900px; }
.hero p { max-width: 690px; margin: 0; font-size: clamp(1rem, 1.7vw, 1.23rem); color: rgba(255,255,255,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 700; transition: transform .25s ease, background .25s ease, border .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--green); box-shadow: 0 12px 26px rgba(24,140,69,.23); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.52); background: rgba(255,255,255,.08); }
.button-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.14); }
.hero-panel { align-self: end; background: rgba(8,37,66,.70); border: 1px solid rgba(255,255,255,.17); border-radius: var(--radius); backdrop-filter: blur(12px); overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.2); }
.hero-stat { padding: 24px 26px; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-stat strong { font-size: 2.6rem; line-height: 1; color: #fff; }
.hero-stat span { color: rgba(255,255,255,.72); }
.hero-line { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 22px 26px; }
.hero-line i { height: 5px; border-radius: 99px; }
.hero-line i:nth-child(1) { background: var(--navy-2); }
.hero-line i:nth-child(2) { background: var(--cyan); }
.hero-line i:nth-child(3) { background: #b6bdc3; }

.section-heading { max-width: 830px; margin-bottom: 48px; }
.section-heading h2, .split-heading h2, .hydraulic-copy h2, .coverage h2, .contact h2 {
  color: var(--navy); font-size: clamp(2.1rem, 4.5vw, 4rem); line-height: 1.06; letter-spacing: -.03em; margin: 10px 0 18px;
}
.section-heading p { margin: 0; color: var(--gray-700); font-size: 1.12rem; }

.generator-showcase { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 330px auto; gap: 18px; }
.media-card { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--gray-100); box-shadow: var(--shadow); }
.media-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.media-card:hover img { transform: scale(1.035); }
.service-summary { grid-column: 1 / -1; display: grid; grid-template-columns: 100px 1fr 1.4fr; gap: 28px; align-items: start; background: var(--gray-100); border-radius: var(--radius); padding: 34px; border: 1px solid #e5eaee; }
.summary-number { color: var(--cyan); font-size: 1rem; letter-spacing: .1em; font-weight: 700; }
.service-summary h3, .maintenance-card h3 { margin: 0; color: var(--navy); font-size: 1.55rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 24px; color: var(--gray-700); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24,140,69,.10); }

.section-dark { background: var(--navy-3); color: var(--white); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -250px; top: -250px; background: rgba(73,166,201,.07); }
.split-heading { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.split-heading h2 { color: var(--white); margin-bottom: 0; }
.split-heading p { margin: 0; color: rgba(255,255,255,.7); font-size: 1.07rem; }
.maintenance-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 22px; }
.maintenance-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 12px; }
.maintenance-gallery figure { margin: 0; overflow: hidden; border-radius: 18px; background: #0d2740; }
.maintenance-gallery .g-main { grid-column: span 2; grid-row: span 2; }
.maintenance-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.maintenance-gallery figure:hover img { transform: scale(1.04); }
.maintenance-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 34px; }
.maintenance-card h3 { color: var(--white); margin: 12px 0 28px; }
.metric { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); }
.metric strong { color: #fff; font-size: 3rem; line-height: 1; }
.metric span { color: rgba(255,255,255,.72); }
.maintenance-card p { color: rgba(255,255,255,.66); margin: 24px 0 0; }

.electric { background: linear-gradient(180deg, #fff 0%, #f8fafb 100%); }
.service-columns { display: grid; grid-template-columns: 1.15fr .75fr 1fr; gap: 18px; }
.service-card { background: var(--white); border: 1px solid #e2e7eb; border-radius: var(--radius); padding: 30px; box-shadow: 0 12px 35px rgba(7,30,54,.07); }
.card-kicker { display: block; color: var(--navy); font-weight: 800; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 3px solid var(--cyan); }
.service-card ul { padding-left: 20px; margin: 0; color: var(--gray-700); display: grid; gap: 9px; }
.service-card li::marker { color: var(--green); }
.photo-ribbon { margin-top: 30px; display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; gap: 12px; }
.photo-ribbon figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--gray-100); }
.photo-ribbon .double { grid-column: span 2; }
.photo-ribbon img { width: 100%; height: 100%; object-fit: cover; }

.hydraulic { background: #fff; }
.hydraulic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 7vw, 90px); align-items: center; }
.hydraulic-copy h2 { margin-bottom: 34px; }
.hydraulic-list { border-top: 1px solid var(--gray-300); }
.hydraulic-list > div { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--gray-300); }
.hydraulic-list span { color: var(--cyan); font-weight: 700; }
.hydraulic-list p { margin: 0; color: var(--gray-700); }
.hydraulic-gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; gap: 12px; }
.hydraulic-gallery figure { margin: 0; overflow: hidden; border-radius: 20px; background: var(--gray-100); box-shadow: 0 12px 32px rgba(7,30,54,.08); }
.hydraulic-gallery .h-main { grid-column: 1 / -1; grid-row: span 2; }
.hydraulic-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hydraulic-gallery figure:hover img { transform: scale(1.035); }

.coverage { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding: clamp(80px, 10vw, 130px) 0; }
.coverage-bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/images/coverage-bg.jpg") center/cover no-repeat; transform: scale(1.04); }
.coverage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,23,42,.96), rgba(9,49,87,.86) 58%, rgba(8,34,58,.48)); }
.coverage-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; align-items: start; }
.coverage h2 { color: var(--white); margin-bottom: 0; }
.coverage-list { display: grid; gap: 12px; }
.coverage-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: center; background: linear-gradient(90deg, rgba(73,166,201,.48), rgba(73,166,201,.16)); border-left: 4px solid var(--cyan); padding: 16px 20px; border-radius: 0 16px 16px 0; }
.coverage-list span { font-weight: 800; color: #d8f4ff; }
.coverage-list p { margin: 0; font-size: 1.08rem; }
.commitment { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.82); font-style: italic; font-size: clamp(1.3rem, 2.5vw, 2rem); }
.commitment strong { color: #fff; font-style: normal; }

.companies { background: var(--gray-100); }
.companies-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.companies .section-heading { margin-bottom: 0; }
.companies-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border: 1px solid #e3e9ed; }
.companies-card img { width: 100%; height: auto; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 65px; align-items: start; }
.contact-address { color: var(--gray-700); font-size: 1.08rem; margin: 22px 0 26px; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.contact-cards article { min-height: 180px; background: var(--gray-100); border: 1px solid #e3e8ec; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: center; transition: transform .25s ease, border .25s ease; }
.contact-cards article:hover { transform: translateY(-4px); border-color: #c7d5de; }
.contact-role { color: var(--green-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 800; }
.contact-cards h3 { color: var(--navy); font-size: 1.35rem; margin: 8px 0 10px; }
.contact-cards a { color: var(--navy-2); font-weight: 800; }

.site-footer { background: #061b30; color: rgba(255,255,255,.72); padding: 34px 0; }
.footer-inner { display: grid; grid-template-columns: 230px 1fr 44px; gap: 30px; align-items: center; }
.footer-inner img { width: 210px; background: #fff; border-radius: 12px; padding: 9px 11px; }
.footer-inner p { margin: 0 0 4px; }
.footer-inner a { color: #fff; font-weight: 700; }
.back-top { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }

.reveal { opacity: 1; transform: none; }

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

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; left: 20px; right: 20px; top: 74px; display: grid; gap: 0;
    background: #fff; border: 1px solid #e2e8ec; border-radius: 18px; padding: 10px;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s ease;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 13px 14px; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 650px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-panel { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-line { grid-column: 1 / -1; }

  .split-heading, .maintenance-layout, .hydraulic-grid, .companies-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-heading { gap: 24px; }
  .maintenance-gallery { grid-auto-rows: 160px; }
  .service-columns { grid-template-columns: 1fr 1fr; }
  .service-card:first-child { grid-column: 1 / -1; }
  .photo-ribbon { grid-template-columns: repeat(3, 1fr); }
  .coverage-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 72px 0; }
  .header-inner { min-height: 72px; }
  .brand img { width: 182px; }
  .site-nav { left: 14px; right: 14px; top: 68px; }

  .hero { min-height: auto; }
  .hero::before { background: linear-gradient(180deg, rgba(4,22,40,.94) 0%, rgba(7,38,68,.88) 72%, rgba(4,22,40,.88) 100%); }
  .hero-grid { padding: 76px 0 52px; }
  .hero-logo { width: 100%; max-width: 365px; padding: 14px 16px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.7rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: 1fr 1fr; }
  .hero-stat { padding: 20px; display: block; }
  .hero-stat strong { display: block; margin-bottom: 5px; font-size: 2.2rem; }

  .generator-showcase { grid-template-columns: 1fr; grid-template-rows: auto; }
  .media-card { min-height: 250px; }
  .service-summary { grid-column: auto; grid-template-columns: 1fr; gap: 12px; padding: 26px; }

  .maintenance-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 145px; }
  .maintenance-gallery .g-main { grid-column: 1 / -1; grid-row: span 2; }
  .maintenance-card { padding: 26px; }

  .service-columns { grid-template-columns: 1fr; }
  .service-card:first-child { grid-column: auto; }
  .service-card { padding: 24px; }
  .photo-ribbon { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 145px; }
  .photo-ribbon .double { grid-column: 1 / -1; }

  .hydraulic-gallery { grid-auto-rows: 160px; }
  .hydraulic-gallery .h-main { grid-row: span 2; }

  .coverage-list > div { grid-template-columns: 40px 1fr; padding: 14px 16px; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-cards article { min-height: 145px; }

  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > div { grid-column: 1 / -1; grid-row: 2; }
  .footer-inner img { width: 190px; }
}

@media (max-width: 420px) {
  .brand img { width: 165px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-line { grid-column: auto; }
  .maintenance-gallery { grid-template-columns: 1fr 1fr; }
  .photo-ribbon { grid-template-columns: 1fr; }
  .photo-ribbon .double { grid-column: auto; }
  .hydraulic-gallery { grid-template-columns: 1fr; }
  .hydraulic-gallery .h-main { grid-column: auto; grid-row: span 2; }
}
