/* WA Energy Compliance: site styles */
:root {
  --navy: #0e2a47;
  --navy-2: #173c63;
  --ink: #1d2430;
  --muted: #5b6676;
  --line: #e3e7ec;
  --soft: #f4f6f9;
  --accent: #c98a1b;
  --accent-dark: #a96f0f;
  --warn-bg: #fff7ec;
  --radius: 8px;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #ffffff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* deadline bar */
.deadline-bar { background: var(--navy); color: #dbe4ee; font-size: 14px; }
.deadline-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.deadline-bar b { color: #fff; }
.deadline-bar .days { color: #f2c46b; font-weight: 700; }
.deadline-bar .sep { margin: 0 8px; color: #6f86a0; }
.deadline-bar a { color: #f2c46b; font-weight: 600; text-decoration: none; white-space: nowrap; }
.deadline-bar a:hover { color: #fff; }
.stat strong { color: var(--accent-dark); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; border-radius: 7px; display: block; flex-shrink: 0; }
.logo-text { line-height: 1.15; }
.logo-text b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.005em; }
.logo-text small { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.nav a:hover { background: var(--soft); color: var(--navy); }
.nav a.on { color: var(--navy); background: var(--soft); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-cta .phone { font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: block; }
.menu-panel { display: none; position: absolute; right: 0; top: 46px; width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(14, 42, 71, .12); padding: 8px; }
.menu-panel a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.menu-panel a:hover, .menu-panel a.on { background: var(--soft); color: var(--navy); }

/* buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none; line-height: 1.2; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { display: block; text-align: center; }

/* home hero */
.hero { position: relative; color: #fff; background: var(--navy) url("img/hero-rooftop.jpg") center 30% / cover no-repeat; }
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 30, 52, .9) 0%, rgba(10, 30, 52, .74) 44%, rgba(10, 30, 52, .18) 78%, rgba(10, 30, 52, .05) 100%); }
.hero .wrap { position: relative; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { max-width: 620px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero h1 { font-size: 46px; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.hero p { font-size: 18px; line-height: 1.6; color: #dbe4ee; margin: 0 0 28px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 22px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.45; }

/* page header (interior) */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 40px; padding-bottom: 40px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: 38px; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 14px; color: var(--navy); }
.page-head .lead { font-size: 18px; color: #3a4554; max-width: 820px; margin: 0; }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2.big { font-size: 32px; line-height: 1.2; letter-spacing: -.015em; color: var(--navy); margin: 0 0 14px; border: 0; padding: 0; }
.section .intro { font-size: 17.5px; color: #3a4554; max-width: 760px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: .9fr 1.1fr; }
.split img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.card h3 { font-size: 17px; color: var(--navy); margin: 0 0 8px; }
.card p { font-size: 15px; color: #3a4554; margin: 0; }
.card .num { width: 34px; height: 34px; border-radius: 50%; background: #e8eef5; color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 22px; margin: 0; }
.timeline li:before { content: ""; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline .date { display: block; font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.timeline p { margin: 2px 0 0; font-size: 15px; color: #3a4554; }

.cta-band { background: var(--navy); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.cta-band h2 { color: #fff; font-size: 28px; margin: 0 0 6px; border: 0; padding: 0; letter-spacing: -.01em; }
.cta-band p { color: #c9d6e4; margin: 0; font-size: 16.5px; max-width: 640px; }

/* two-column content */
.content .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; padding-top: 48px; padding-bottom: 72px; }
.main > *:first-child { margin-top: 0; }
h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; color: var(--navy); margin: 40px 0 12px; }
h3 { font-size: 17px; color: var(--navy); margin: 24px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 18px 22px; padding: 0; }
li { margin-bottom: 8px; }
.lead { font-size: 18px; }
.note { background: #f0f5fa; border-left: 4px solid var(--navy-2); border-radius: 0 var(--radius) var(--radius) 0; padding: 14px 18px; font-size: 15px; margin: 22px 0; }
.warn { background: var(--warn-bg); border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: 15.5px; margin: 24px 0; }
.warn b { color: #7a4b05; }
table.data { border-collapse: collapse; width: 100%; font-size: 15px; margin: 14px 0 22px; }
table.data th, table.data td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data th { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; border-bottom: 2px solid #cfd6de; }
.steps { counter-reset: s; list-style: none; margin: 0 0 20px; }
.steps li { counter-increment: s; padding-left: 46px; position: relative; margin-bottom: 14px; }
.steps li:before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
dl.faq { margin: 0; }
dl.faq dt { font-weight: 700; color: var(--navy); font-size: 17px; padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
dl.faq dt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
dl.faq dd { margin: 8px 0 0; color: #333d4a; }

/* sidebar */
.side { display: flex; flex-direction: column; gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.box h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.box p { font-size: 15px; margin: 0 0 10px; }
.box ul { margin: 0 0 0 18px; font-size: 15px; }
.box .date { color: var(--muted); font-size: 13px; display: block; }
.box .btn { margin-top: 6px; }
.box.dark { background: var(--navy); border-color: var(--navy); color: #dbe4ee; }
.box.dark h4 { color: #fff; }
.figure { margin: 0; }
.figure img { border-radius: 10px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.figure .cap { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* footer */
.site-footer { background: #0b2139; color: #b8c6d6; font-size: 14.5px; }
.site-footer .wrap { padding-top: 52px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer a { color: #dfe7f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .logo-mark { box-shadow: 0 0 0 1px rgba(255,255,255,.22); }
.site-footer .logo-text small { color: #8fa3b8; }
.fine { border-top: 1px solid #23405f; margin-top: 36px; padding-top: 20px; font-size: 13px; color: #8fa3b8; }

@media (max-width: 1280px) {
  .header-cta .phone { display: none; }
}
@media (max-width: 1100px) {
  .nav, .header-cta .phone { display: none; }
  .menu { display: block; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 900px) {
  .deadline-bar .hide-sm { display: none; }
  .content .wrap { grid-template-columns: 1fr; gap: 36px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: 1fr; }
  .stats-strip .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .deadline-bar { font-size: 13px; }
  .deadline-bar a { display: none; }
  .wrap { padding: 0 16px; }
  .header-cta .btn { display: none; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; }
  .hero h1 { font-size: 33px; }
  .hero p { font-size: 16.5px; }
  .hero:before { background: rgba(10, 30, 52, .78); }
  .page-head h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .section h2.big { font-size: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
}
@media print { .site-header, .side, .cta-band, .site-footer { display: none; } .content .wrap { display: block; } }

/* Contact form (delivered to info@ by Web3Forms; see js/contact.js) */
.contact-form { display: grid; gap: 14px; margin: 6px 0 30px; max-width: 640px; }
.contact-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.contact-form label i { font-style: normal; font-weight: 400; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 15px; padding: 10px 12px; border: 1px solid #cfd6de; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; box-sizing: border-box; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.contact-form .hp { display: none; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-size: 14.5px; color: var(--muted); }
.form-status.err { color: #a33a1f; }
.form-done { background: #f0f7f1; border-left: 4px solid #2f7d4a; border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin: 6px 0 30px; }
@media (max-width: 600px) { .contact-form .two { grid-template-columns: 1fr; } }
