:root {
  --smte-navy: #062b63;
  --smte-blue: #0b4f9c;
  --smte-yellow: #f4b400;
  --smte-ink: #11233f;
  --smte-muted: #53647a;
  --smte-line: #d9e1eb;
  --smte-paper: #f5f7fa;
  --smte-white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.service-page { margin: 0; background: var(--smte-paper); color: var(--smte-ink); font-family: Inter, Arial, sans-serif; line-height: 1.65; }
.service-page h1, .service-page h2, .service-page h3 { margin-top: 0; font-family: "Barlow Condensed", Impact, sans-serif; line-height: .98; letter-spacing: -.015em; text-transform: uppercase; }
.service-page a { color: inherit; }
.service-page .shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.service-page .skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--smte-yellow); color: var(--smte-navy); font-weight: 700; }
.service-page .skip-link:focus { left: 8px; }

.service-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(6,43,99,.12); background: rgba(255,255,255,.96); backdrop-filter: blur(9px); }
.service-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.service-brand { display: inline-flex; flex: 0 0 auto; align-items: center; }
.service-brand img { display: block; width: 84px; height: 54px; object-fit: contain; }
.service-nav { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; font-size: 11px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.service-nav a { color: var(--smte-navy); text-decoration: none; }
.service-nav a:hover, .service-nav a:focus-visible { color: var(--smte-blue); text-decoration: underline; text-underline-offset: 4px; }
.service-nav .nav-current { color: var(--smte-blue); }

.service-hero { position: relative; overflow: hidden; min-height: 408px; padding: 72px 0 66px; background: var(--smte-navy); color: var(--smte-white); isolation: isolate; }
.service-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6,43,99,.98) 0%, rgba(6,43,99,.88) 47%, rgba(6,43,99,.58) 100%), url('/assets/substation-neutral.jpg') center/cover no-repeat; }
.service-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 55px 55px; mask-image: linear-gradient(90deg, black 0%, rgba(0,0,0,.8) 52%, transparent 100%); }
.service-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 22px; color: var(--smte-yellow); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--smte-yellow); box-shadow: 0 0 0 4px rgba(244,180,0,.2); }
.service-hero h1 { max-width: 900px; margin-bottom: 23px; font-size: clamp(48px, 7.3vw, 84px); font-weight: 600; }
.service-hero .lead { max-width: 720px; margin: 0; color: #e8eff8; font-size: 16px; }
.service-breadcrumb { margin-bottom: 25px; font-size: 12px; }
.service-breadcrumb a { color: #d6e5f7; text-underline-offset: 3px; }
.service-breadcrumb span { padding: 0 7px; color: var(--smte-yellow); }

.service-content { padding: 78px 0 32px; }
.service-intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(250px, .72fr); gap: clamp(32px, 7vw, 94px); align-items: start; margin-bottom: 76px; }
.service-eyebrow { margin: 0 0 12px; color: var(--smte-blue); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.service-intro h2 { margin-bottom: 22px; color: var(--smte-navy); font-size: clamp(40px, 5.3vw, 64px); font-weight: 600; }
.service-intro p { max-width: 725px; color: var(--smte-muted); }
.service-aside { padding: 25px; border-top: 5px solid var(--smte-yellow); background: var(--smte-white); box-shadow: 0 12px 34px rgba(15,37,67,.08); }
.service-aside p { margin: 0; color: var(--smte-muted); font-size: 14px; }
.service-aside strong { display: block; margin-bottom: 9px; color: var(--smte-navy); font-family: "Barlow Condensed", Impact, sans-serif; font-size: 28px; line-height: 1; text-transform: uppercase; }

.service-sections { display: grid; gap: 1px; background: var(--smte-line); border: 1px solid var(--smte-line); }
.service-section { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 25px; padding: 37px clamp(22px, 4vw, 50px); background: var(--smte-white); }
.service-number { color: var(--smte-yellow); font-family: "Barlow Condensed", Impact, sans-serif; font-size: 42px; font-weight: 600; line-height: 1; }
.service-section h2 { margin-bottom: 14px; color: var(--smte-navy); font-size: clamp(31px, 4vw, 47px); font-weight: 600; }
.service-section p { max-width: 780px; margin: 0 0 14px; color: var(--smte-muted); }
.service-section ul { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--smte-ink); font-size: 14px; }
.service-section li { position: relative; padding-left: 19px; }
.service-section li::before { content: ""; position: absolute; top: .65em; left: 0; width: 7px; height: 7px; background: var(--smte-yellow); }
.service-section.emphasis { background: var(--smte-navy); }
.service-section.emphasis h2 { color: var(--smte-white); }
.service-section.emphasis p, .service-section.emphasis ul { color: #d5e2f2; }
.service-section.emphasis .service-number { color: var(--smte-yellow); }
.service-section.emphasis li::before { background: var(--smte-yellow); }

.expertise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 28px; background: var(--smte-line); border: 1px solid var(--smte-line); }
.expertise-card { display: flex; flex-direction: column; min-height: 250px; padding: 28px; background: var(--smte-white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.expertise-card:hover, .expertise-card:focus-visible { z-index: 1; transform: translateY(-4px); background: #fbfdff; box-shadow: 0 12px 26px rgba(15,37,67,.12); }
.expertise-card .card-index { color: var(--smte-yellow); font-family: "Barlow Condensed", Impact, sans-serif; font-size: 27px; font-weight: 600; }
.expertise-card h2 { margin: 20px 0 14px; color: var(--smte-navy); font-size: 37px; font-weight: 600; }
.expertise-card p { margin: 0; color: var(--smte-muted); font-size: 14px; }
.expertise-card .card-link { margin-top: auto; padding-top: 24px; color: var(--smte-blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.related-services { padding: 74px 0; }
.related-services h2 { margin-bottom: 25px; color: var(--smte-navy); font-size: clamp(36px, 5vw, 54px); font-weight: 600; }
.related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.related-links a { border: 1px solid var(--smte-line); padding: 13px 16px; background: var(--smte-white); color: var(--smte-navy); font-size: 12px; font-weight: 700; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; }
.related-links a:hover, .related-links a:focus-visible { border-color: var(--smte-yellow); background: var(--smte-yellow); }

.commercial-cta { padding: 58px 0; background: var(--smte-blue); color: var(--smte-white); }
.commercial-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.commercial-cta h2 { max-width: 680px; margin-bottom: 15px; font-size: clamp(38px, 5vw, 60px); font-weight: 600; }
.commercial-cta p { max-width: 690px; margin: 0; color: #e6effb; }
.commercial-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.commercial-actions a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 11px 15px; border: 1px solid rgba(255,255,255,.6); color: var(--smte-white); font-size: 12px; font-weight: 700; text-decoration: none; }
.commercial-actions a:first-child { border-color: var(--smte-yellow); background: var(--smte-yellow); color: var(--smte-navy); }
.commercial-actions a:hover, .commercial-actions a:focus-visible { transform: translateY(-2px); }
.contact-strip { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 20px; font-size: 13px; }
.contact-strip a { color: var(--smte-white); font-weight: 600; text-underline-offset: 3px; }

.service-footer { padding: 40px 0; background: var(--smte-navy); color: #d9e5f3; }
.service-footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 25px; align-items: center; }
.service-footer-logo { width: 90px; height: 62px; object-fit: contain; background: #fff; }
.service-footer p { margin: 0; font-size: 12px; }
.service-footer .footer-meta { display: grid; gap: 4px; }
.service-footer a { color: var(--smte-white); text-underline-offset: 3px; }

@media (max-width: 800px) {
  .service-header-inner { padding-top: 10px; padding-bottom: 10px; align-items: flex-start; }
  .service-nav { padding-top: 7px; justify-content: flex-end; }
  .service-hero { min-height: 350px; padding: 52px 0; }
  .service-intro { grid-template-columns: 1fr; }
  .commercial-cta-inner { grid-template-columns: 1fr; }
  .commercial-actions { justify-content: flex-start; }
  .service-footer-inner { grid-template-columns: auto 1fr; }
  .service-footer .footer-meta { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .service-page .shell { width: min(100% - 30px, 1160px); }
  .service-brand img { width: 70px; height: 48px; }
  .service-nav { gap: 5px 11px; font-size: 9px; }
  .service-hero h1 { font-size: clamp(42px, 13vw, 64px); }
  .service-hero .lead { font-size: 14px; }
  .service-content { padding-top: 55px; }
  .service-section { grid-template-columns: 1fr; gap: 12px; padding: 28px 22px; }
  .service-number { font-size: 30px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: 210px; }
  .commercial-actions a { flex: 1 1 100%; }
}
