:root {
  --navy: #061d58;
  --blue: #0b377d;
  --blue-bright: #0d5ca8;
  --green: #4f7f16;
  --green-light: #dceab7;
  --amber: #f5a800;
  --amber-dark: #d88a00;
  --ink: #17223a;
  --muted: #566177;
  --line: #d9dfE8;
  --soft: #f3f6f9;
  --white: #fff;
  --danger: #b42318;
  --shadow: 0 14px 34px rgba(6, 29, 88, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--blue-bright); text-underline-offset: 3px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 2000;
  padding: 10px 14px; background: #fff; color: var(--navy);
}
.skip-link:focus { top: 12px; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  color: var(--green); font-size: .78rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--navy); line-height: 1.12; }
h1 { font-size: clamp(2.25rem, 5vw, 4.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.02em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.15rem; line-height: 1.65; }
.section { padding: 70px 0; }
.section-soft { background: var(--soft); }
.section-green { background: #eef5df; }
.section-title { max-width: 720px; margin-bottom: 30px; }
.section-title p { color: var(--muted); font-size: 1.08rem; }

.utility-bar { background: var(--navy); color: #fff; font-size: .88rem; }
.utility-inner {
  min-height: 38px; display: flex; justify-content: flex-end;
  align-items: center; gap: 25px;
}
.utility-bar a, .utility-bar button { color: #fff; }
.language-switch {
  display: inline-flex; align-items: center; gap: 6px; padding: 0;
  border: 0; background: transparent; cursor: pointer;
}
.site-header {
  position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(6,29,88,.06);
}
.header-inner {
  height: 88px; display: grid; grid-template-columns: 150px 1fr auto;
  gap: 28px; align-items: center;
}
.brand img { width: 82px; height: 72px; object-fit: contain; }
.main-nav { display: flex; align-self: stretch; justify-content: center; }
.nav-item { display: flex; position: relative; }
.nav-link {
  display: flex; align-items: center; padding: 0 14px; border: 0;
  background: transparent; color: var(--ink); text-decoration: none;
  font-size: .94rem; font-weight: 700; cursor: pointer;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--blue-bright); }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 4px; transform: scaleX(0); background: var(--amber); transition: .18s;
}
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border: 2px solid transparent;
  border-radius: 4px; background: var(--amber); color: #15213a;
  text-decoration: none; font-weight: 800; cursor: pointer; transition: .18s;
}
.button:hover { background: #ffc23d; transform: translateY(-1px); }
.button-blue { background: var(--blue-bright); color: #fff; }
.button-blue:hover { background: var(--blue); }
.button-outline { border-color: var(--blue-bright); background: #fff; color: var(--blue-bright); }
.button-outline:hover { background: #edf6ff; }
.button-light { border-color: #fff; background: transparent; color: #fff; }
.button-light:hover { background: #fff; color: var(--navy); }
.menu-toggle { display: none; border: 0; background: none; color: var(--navy); font-weight: 800; }

.alert-bar { background: #fff6dc; border-bottom: 1px solid #edcc71; }
.alert-inner {
  min-height: 48px; display: flex; align-items: center; justify-content: center;
  gap: 10px; text-align: center; font-size: .93rem;
}
.alert-inner strong { color: var(--navy); }

.hero {
  min-height: 590px; display: grid; align-items: center; color: #fff;
  background:
    linear-gradient(90deg, rgba(4,21,62,.95) 0%, rgba(4,21,62,.80) 38%, rgba(4,21,62,.15) 72%),
    url("assets/lineworkers-hero.png") center/cover no-repeat;
}
.hero-copy { width: min(660px, 62%); padding: 74px 0; }
.hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.2); }
.hero .eyebrow { color: #c8e892; }
.hero .lead { color: #fff; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.quick-actions {
  position: relative; z-index: 3; margin-top: -56px; display: grid;
  grid-template-columns: repeat(4, 1fr); background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.quick-action {
  min-height: 125px; padding: 23px; color: var(--navy); text-decoration: none;
  border-right: 1px solid var(--line); display: flex; flex-direction: column;
  gap: 6px; justify-content: center; transition: .18s;
}
.quick-action:last-child { border-right: 0; }
.quick-action:hover { background: #eef5df; }
.quick-icon {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: var(--green); font-weight: 900; font-size: 1.1rem;
}
.quick-action strong { font-size: 1.05rem; }
.quick-action span { color: var(--muted); font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  min-height: 100%; padding: 28px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: 0 8px 22px rgba(6,29,88,.06);
}
.card p { color: var(--muted); }
.card .card-link { display: inline-block; margin-top: 5px; font-weight: 800; }
.card-accent { border-top: 5px solid var(--green); }
.program-card { position: relative; overflow: hidden; padding-top: 80px; }
.program-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 58px;
  background: linear-gradient(110deg, var(--blue), var(--green));
}
.program-card:nth-child(2)::before { background: linear-gradient(110deg, #506e13, #9ec340); }
.program-card:nth-child(3)::before { background: linear-gradient(110deg, #dc8d00, #ffc84b); }
.feature-split {
  display: grid; grid-template-columns: 1.05fr .95fr; min-height: 410px;
  border-radius: var(--radius); overflow: hidden; background: var(--navy);
}
.feature-copy { padding: 55px; color: #fff; }
.feature-copy h2, .feature-copy h3 { color: #fff; }
.feature-copy .lead { color: #d9e6ff; }
.feature-art {
  width: 100%; height: 100%; min-height: 370px; object-fit: cover;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: #fff; padding: 30px; text-align: center; }
.stat strong { display: block; color: var(--blue); font-size: 2.2rem; }
.stat span { color: var(--muted); font-size: .92rem; }

.page-hero { padding: 64px 0; background: linear-gradient(105deg, var(--navy), #15498f); color: #fff; }
.page-hero h1 { max-width: 850px; color: #fff; font-size: clamp(2.25rem, 4vw, 3.6rem); }
.page-hero .lead { max-width: 780px; color: #e5efff; }
.breadcrumbs { margin-bottom: 24px; color: #d5e5ff; font-size: .9rem; }
.breadcrumbs a { color: #fff; }
.page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 55px; align-items: start; }
.side-nav { position: sticky; top: 116px; border: 1px solid var(--line); background: #fff; }
.side-nav h3 { padding: 18px 20px; margin: 0; color: #fff; background: var(--blue); font-size: 1rem; }
.side-nav a { display: block; padding: 13px 20px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .93rem; }
.side-nav a:hover { color: var(--blue-bright); background: var(--soft); }
.content-block { margin-bottom: 45px; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px; width: 21px; height: 21px;
  display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: .76rem; font-weight: 900;
}
.callout { padding: 25px; border-left: 6px solid var(--amber); background: #fff7df; }
.callout-blue { border-left-color: var(--blue-bright); background: #edf6ff; }
.callout h3 { margin-bottom: .35rem; }
.service-form { padding: 28px; border: 1px solid var(--line); background: var(--soft); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 800; }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #788398; border-radius: 3px; background: #fff;
}
.form-note { color: var(--muted); font-size: .88rem; }

.outage-panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.outage-map {
  display: block; width: 100%; height: auto; margin: 25px 0;
  border: 1px solid #b9cbb4;
}

.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.story-card {
  display: flex; min-height: 230px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; color: inherit; text-decoration: none;
}
.story-visual { flex: 0 0 38%; width: 38%; height: 230px; object-fit: cover; }
.story-card-copy { padding: 26px; }
.story-card-copy h3 { font-size: 1.35rem; }
.story-card-copy p { color: var(--muted); }
.story-card:hover h3 { color: var(--blue-bright); }
.story-feature { grid-row: span 2; display: block; }
.story-feature .story-visual { width: 100%; height: 310px; }
.story-meta { color: var(--green); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.article-header { padding: 65px 0 38px; border-bottom: 1px solid var(--line); }
.article-header h1 { max-width: 900px; font-size: clamp(2.2rem, 4vw, 3.75rem); }
.article-meta { color: var(--muted); }
.article-body { padding: 55px 0 80px; }
.article-body p { font-size: 1.08rem; line-height: 1.8; }
.article-body h2 { margin-top: 1.3em; }
.pullquote { margin: 35px 0; padding: 28px; border-left: 6px solid var(--green); color: var(--navy); background: var(--soft); font-size: 1.35rem; font-weight: 700; }

.login-page { min-height: 100vh; background: #f7f8fa; }
.login-header { padding: 20px 32px; background: #fff; border-bottom: 1px solid var(--line); }
.login-header img { width: 78px; height: 82px; object-fit: contain; }
.login-lang { position: absolute; top: 28px; right: 32px; }
.login-wrap { width: min(1120px, calc(100% - 40px)); margin: 40px auto 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.login-card, .benefits-card { padding: 34px; background: #fff; border: 1px solid #e6e8ec; border-radius: 5px; box-shadow: 0 4px 15px rgba(0,0,0,.11); }
.login-card h1 { font-size: 2rem; }
.benefits-card ol { padding-left: 26px; }
.benefits-card li { padding: 10px 0 10px 5px; font-size: 1.08rem; }
.login-error {
  display: none; margin: 0 0 20px; padding: 13px 15px; border: 1px solid var(--danger);
  background: #fff5f4; color: var(--danger); font-weight: 800;
}
.login-error.visible { display: block; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 60px; }
.reveal-password {
  position: absolute; right: 6px; bottom: 5px; height: 38px; border: 0;
  background: transparent; color: var(--blue-bright); font-size: .85rem; cursor: pointer;
}
.remember { display: flex; gap: 9px; align-items: center; margin: -4px 0 22px; }
.remember input { width: 18px; height: 18px; }
.login-buttons { display: grid; gap: 12px; }
.login-links { margin-top: 22px; color: var(--muted); }

.site-footer { background: #071a47; color: #dce6f6; }
.footer-top { padding: 54px 0 36px; display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 36px; }
.footer-logo { width: 82px; height: 90px; object-fit: contain; background: #fff; padding: 5px; margin-bottom: 15px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer a { display: block; color: #dce6f6; margin: 8px 0; text-decoration: none; font-size: .92rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.2); display: flex; justify-content: space-between; gap: 20px; font-size: .84rem; }
.footer-bottom p { margin: 0; }

.cookie-consent {
  position: fixed; inset: 0; z-index: 3000; display: grid; place-items: end center;
  padding: 24px; background: rgba(2,13,42,.42);
}
.cookie-consent[hidden] { display: none; }
.cookie-card {
  width: min(880px, 100%); padding: 26px; background: #fff; border-top: 6px solid var(--green);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.cookie-card h2 { font-size: 1.4rem; }
.cookie-card p { color: var(--muted); }
.cookie-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 95px 1fr auto; gap: 10px; }
  .nav-link { padding: 0 8px; font-size: .86rem; }
  .nav-link::after { left: 8px; right: 8px; }
  .header-actions .button-outline { display: none; }
}
@media (max-width: 820px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .utility-inner { justify-content: center; gap: 18px; }
  .header-inner { height: 75px; display: flex; justify-content: space-between; }
  .brand img { width: 64px; height: 62px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: fixed; left: 0; right: 0; top: 113px; bottom: 0;
    padding: 18px; flex-direction: column; justify-content: flex-start; align-self: auto;
    background: #fff; overflow: auto;
  }
  .menu-open .main-nav { display: flex; }
  .nav-item { display: block; border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; min-height: 52px; padding: 12px 5px; }
  .nav-link::after { display: none; }
  .hero { min-height: 590px; background-position: 67% center; }
  .hero-copy { width: 100%; padding: 55px 0 95px; }
  .quick-actions { margin-top: -45px; grid-template-columns: 1fr 1fr; }
  .quick-action:nth-child(2) { border-right: 0; }
  .quick-action:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card-grid, .stats, .news-grid, .footer-top { grid-template-columns: 1fr 1fr; }
  .feature-split, .page-layout, .login-wrap { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .login-wrap { gap: 25px; }
}
@media (max-width: 560px) {
  h1 { font-size: 2.45rem; }
  .utility-inner { font-size: .78rem; gap: 10px; }
  .header-actions .button { min-height: 40px; padding: 8px 12px; font-size: .87rem; }
  .hero { min-height: 600px; }
  .hero .lead { font-size: 1.05rem; }
  .quick-actions, .card-grid, .stats, .news-grid, .footer-top { grid-template-columns: 1fr; }
  .quick-action { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-copy { padding: 34px 26px; }
  .feature-art { min-height: 270px; }
  .story-card { display: block; }
  .story-feature .story-visual, .story-visual { width: 100%; height: 210px; }
  .section { padding: 50px 0; }
  .footer-bottom { display: block; }
  .footer-bottom p + p { margin-top: 10px; }
  .cookie-actions { flex-direction: column; }
  .login-header { padding: 12px 18px; }
  .login-lang { top: 23px; right: 18px; }
  .login-card, .benefits-card { padding: 24px 20px; }
}
