:root {
  color-scheme: dark;
  --ink: #122638;
  --deep: #0c2032;
  --deep2: #17364d;
  --gold: #f2b961;
  --gold-light: #ffcf88;
  --paper: #f5f7f7;
  --border: #e0e6e6;
  --sub: #657783;
  --white: #ffffff;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: white; color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; }
a { color: inherit; }
button, select, textarea, input { font: inherit; }
button { cursor: pointer; }
a, button, summary { transition: color .2s, background .2s, border-color .2s, transform .2s; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 110; top: -100px; left: 16px; background: white; color: var(--deep); padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1, h2, h3 { overflow-wrap: break-word; }
p { line-height: 1.75; }

/* Shared site navigation */
.header { position: relative; z-index: 30; background: var(--deep); color: white; border-bottom: 1px solid rgba(255,255,255,.12); }
.header-inner { display: grid; grid-template-columns: minmax(214px, 1fr) auto minmax(187px, 1fr); min-height: 86px; gap: 20px; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; justify-self: start; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; display: block; }
.brand-text { color: white; font-size: 19px; font-weight: 800; line-height: 1.24; letter-spacing: -.025em; white-space: nowrap; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.5vw, 23px); white-space: nowrap; }
.nav>a { font-size: 13px; font-weight: 600; text-decoration: none; color: #c6d2d9; }
.nav>a:hover, .nav>a[aria-current="page"] { color: var(--gold-light); }
.nav .nav-call { display: none; }
.head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.head-phone { white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 750; }
.head-phone:hover { color: var(--gold-light); }
.theme-toggle { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border: 1px solid #557083; border-radius: 50%; background: transparent; color: var(--gold); font-size: 19px; line-height: 1; }
.theme-toggle:hover { background: rgba(255,255,255,.08); }
.menu-toggle { display: none; padding: 9px; border: 1px solid #49657a; border-radius: 8px; background: transparent; width: 42px; height: 42px; flex: 0 0 42px; }
.menu-toggle span { display: block; background: #fff; width: 21px; height: 2px; margin: 4px auto; border-radius: 2px; }

/* Hero: real image has NO embedded text, captions or overlapping overlays */
.hero { position: relative; background: radial-gradient(ellipse 90% 140% at 90% 45%, #16344b 0, var(--deep) 68%); color: white; overflow: hidden; }
.hero-grid { pointer-events: none; position: absolute; inset: 0; height: 100%; opacity: .26; background-image: linear-gradient(rgba(221,232,240,.12) 1px,transparent 1px), linear-gradient(90deg,rgba(221,232,240,.12) 1px,transparent 1px); background-size: 75px 75px; mask-image: linear-gradient(90deg, transparent 5%,#000 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap: clamp(32px, 4vw, 70px); align-items: center; padding-block: 78px 82px; }
.hero-copy { min-width: 0; }
.eyebrow { color: #a97c40; display: inline-flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.hero .eyebrow, .page-hero .eyebrow, .dark-band .eyebrow, .cta-panel .eyebrow { color: var(--gold-light); }
.spark { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { max-width: 650px; font-size: clamp(40px, 4.4vw, 66px); font-weight: 850; line-height: 1.08; letter-spacing: -.048em; margin: 24px 0 24px; }
.hero h1 em, .page-hero em { font-style: normal; color: var(--gold); }
.hero h1 .hero-last { display: block; }
.hero-lead { color: #d5dfe7; font-size: clamp(15px,1.23vw,17px); line-height: 1.79; max-width: 530px; margin-bottom: 0; }
.hero-buttons { display: flex; align-items: stretch; flex-wrap: wrap; gap: 12px; margin: 32px 0 42px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; max-width: 100%; padding: 13px 21px; border: 1px solid transparent; border-radius: 7px; text-decoration: none; text-align: center; font-size: 13px; font-weight: 750; line-height: 1.4; }
.btn span { font-size: 18px; line-height: 1; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #142437; }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid #71899a; color: white; background: rgba(12,32,50,.35); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.hero-notes { display: flex; flex-wrap: wrap; gap: 12px 21px; font-size: 11px; color: #cbd7df; }
.hero-notes span { display: inline-flex; align-items: baseline; gap: 7px; }
.hero-notes i { color: var(--gold); font-weight: 850; font-style: normal; }
.hero-graphic { min-width: 0; width: 100%; border: 1px solid #415c72; padding: 7px; background: #132f45; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.hero-graphic img { display: block; width: 100%; height: clamp(340px, 34vw, 470px); object-fit: cover; object-position: center center; border-radius: 15px; }
.technical-label, .graphic-caption { display: none; }

/* Section rhythm and cards */
.section { padding: 86px 0; }
.section-white { background: #fff; }
.section-muted { background: var(--paper); }
.section-heading { margin-bottom: 38px; }
.section-heading.split { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: end; gap: 50px; }
.section-heading h2, .quote-layout h2, .note-box h2, .laws h2 { font-size: clamp(31px,3.5vw,48px); color: var(--deep); margin: 16px 0 0; font-weight: 820; }
.section-heading h2 span { color: #8795a0; }
.section-heading p { max-width: 550px; font-size: 15px; color: #627381; margin-bottom: 0; }
.section-heading.split>p { max-width: 410px; justify-self: end; }
.issue-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; align-items: stretch; }
.issue-card { display: flex; flex-direction: column; min-width: 0; padding: 30px; background: #fff; border: 1px solid #dde5e5; border-top: 3px solid var(--gold); border-radius: 10px; box-shadow: 0 9px 20px rgba(20,45,58,.03); }
.issue-num { color: #99a6ae; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.issue-icon { width: 55px; height: 55px; display: grid; place-items: center; margin: 22px 0 18px; border: 1px solid #ebd0a9; border-radius: 13px; background: #fff8ee; color: #ae762c; }
.issue-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.issue-card h3 { margin: 0 0 12px; font-size: 21px; line-height: 1.28; color: var(--deep); }
.issue-card p { font-size: 14px; color: #627381; line-height: 1.8; margin: 0; }
.section-muted .btn-outline { border-color: #a9b7bf; background: white; color: var(--ink); }
.service-list { border-top: 1px solid #ced8db; }
.service-row { display: grid; grid-template-columns: 68px minmax(0,1fr) 30px; align-items: center; gap: 20px; padding: 31px 6px; border-bottom: 1px solid #ced8db; text-decoration: none; }
.service-row:hover { background: #eaf0f0; }
.service-index { color: #af7c35; font-size: 13px; font-weight: 800; }
.service-row h3 { font-size: 23px; color: var(--deep); margin: 0 0 8px; }
.service-row p { color: #647682; font-size: 14px; margin: 0; }
.service-arrow { color: #a87837; font-size: 23px; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.steps-grid>div { padding: 23px 0 0; border-top: 2px solid #dfb574; }
.steps-grid span { font-size: 11px; color: #a2773d; letter-spacing: .13em; font-weight: 800; }
.steps-grid h3 { font-size: 20px; margin: 15px 0 10px; color: var(--deep); }
.steps-grid p { font-size: 14px; color: #627381; line-height: 1.83; margin-bottom: 0; }
.text-link { display: inline-flex; gap: 18px; align-items: center; color: #926329; font-size: 13px; font-weight: 800; text-decoration: none; margin-top: 30px; }
.text-link:hover { color: #533e20; }
.dark-band { background: linear-gradient(110deg,rgba(12,32,50,.99) 0%,rgba(17,43,62,.94) 70%,rgba(17,43,62,.85) 100%), url('../img/power-grid-detail.webp') center / cover no-repeat; color: #e8eff4; }
.quote-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 80px; align-items: center; }
.quote-layout h2 { color: white; }
.quote-layout p { font-size: 16px; line-height: 1.9; color: #c6d4de; margin: 0; }
.cta-wrap { padding: 62px 0; }
.cta-panel { background: var(--deep); color: white; border-radius: 14px; padding: 50px; display: grid; grid-template-columns: minmax(0,1fr) minmax(205px,.38fr); gap: 42px; align-items: center; }
.cta-panel h2 { color: white; font-size: clamp(27px,3vw,40px); margin: 16px 0 12px; }
.cta-panel p { max-width: 700px; font-size: 14px; color: #c9d5dc; margin: 0; }
.cta-action { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-action .btn { width: 100%; }
.cta-action span { font-size: 12px; color: #c3d1d8; }
.cta-action a:not(.btn) { color: white; }

/* Footer */
.footer { background: #0a1826; color: #d5e1e7; }
.footer-main { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.8fr) minmax(0,1fr); gap: 55px; padding: 56px 0; }
.brand-footer { justify-self: start; }
.foot-description { color: #a2b3be; max-width: 345px; margin: 23px 0 0; font-size: 13px; }
.footer-main b { display: block; margin-bottom: 18px; font-size: 12px; letter-spacing: .07em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a, .subtle-link { text-decoration: none; color: #bdcad2; font-size: 13px; }
.footer-links a:hover, .subtle-link:hover { color: var(--gold-light); }
.foot-phone { display: inline-block; font-size: 19px; font-weight: 800; text-decoration: none; }
.footer-main p { color: #a0b1bd; font-size: 13px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 23px 0; font-size: 12px; color: #9fb0bd; }
.footer-bottom>div { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* Interior pages */
.page-hero { background: radial-gradient(ellipse 90% 160% at 94% 50%, #1d3e55 0,var(--deep) 65%); color: #fff; padding: 80px 0 86px; }
.page-hero.compact { padding: 57px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(36px,4.3vw,60px); max-width: 900px; margin: 18px 0; line-height: 1.12; }
.page-hero p { font-size: 17px; max-width: 680px; color: #cbd8df; margin: 0; }
.detail-row { display: grid; grid-template-columns: minmax(170px,225px) minmax(0,1fr); gap: 55px; padding: 46px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 20px; }
.detail-row:first-child { padding-top: 0; }
.detail-row:last-child { border: 0; padding-bottom: 0; }
.detail-counter { color: #a57c43; letter-spacing: .07em; font-size: 12px; font-weight: 800; }
.detail-row h2 { color: var(--deep); font-size: clamp(26px,2.4vw,34px); margin: 0 0 15px; }
.detail-row p { max-width: 750px; color: #627481; font-size: 15px; }
.check-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.check-list li { padding-left: 29px; position: relative; font-size: 14px; }
.check-list li:before { content: '✓'; color: #a47432; position: absolute; left: 0; top: 0; font-weight: 900; }
.note-box { padding: 37px; background: white; border-radius: 10px; border-left: 4px solid var(--gold); display: grid; grid-template-columns: 205px minmax(0,1fr); gap: 24px; }
.note-box>span { color: #9e723b; font-weight: 800; font-size: 11px; letter-spacing: .11em; }
.note-box h2 { font-size: clamp(25px,2.5vw,35px); margin: 0 0 12px; }
.note-box p { margin: 0; color: #647581; }
.timeline { max-width: 1000px; }
.timeline article { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 35px; padding: 34px 0; border-bottom: 1px solid var(--border); }
.timeline article:first-child { padding-top: 0; }
.timeline article:last-child { border: 0; padding-bottom: 0; }
.timeline-step { color: #b07a33; font-size: 27px; font-weight: 800; }
.timeline h2 { color: var(--deep); font-size: clamp(23px,2.5vw,30px); margin: 0 0 12px; }
.timeline p { color: #627481; font-size: 15px; }
.document-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.document-grid>div { padding: 20px 22px 20px 48px; border-radius: 7px; border: 1px solid var(--border); background: white; position: relative; font-size: 14px; }
.document-grid>div:before { content: '✓'; position: absolute; top: 18px; left: 20px; color: #ab7836; font-weight: 900; }
.section-footnote { color: #657581; font-size: 13px; margin: 20px 0 0; }
.faq-layout { display: grid; grid-template-columns: 255px minmax(0,1fr); gap: 70px; }
.faq-side h2 { color: var(--deep); font-size: clamp(26px,2.8vw,36px); }
.faq-side p { color: #657784; font-size: 14px; }
.faq-side .btn { margin-top: 15px; }
.faq-item { border-bottom: 1px solid #dce4e5; }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 750; color: var(--deep); line-height: 1.48; padding: 22px 44px 22px 0; position: relative; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { position: absolute; right: 3px; top: 18px; color: #aa752c; font-size: 27px; font-weight: 400; transition: transform .2s; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item>div { padding: 0 44px 20px 0; }
.faq-item p { color: #617380; font-size: 14px; margin-bottom: 0; }
.laws { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 70px; }
.laws p { color: #627481; font-size: 14px; }
.law-links { display: grid; gap: 14px; }
.law-links a { display: grid; gap: 8px; padding: 22px; background: white; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; }
.law-links a:hover { border-color: #d7b583; }
.law-links a b { color: var(--deep); font-size: 14px; }
.law-links a small { color: #97713c; font-size: 12px; }
.contact-grid { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); gap: 80px; }
.small-label { color: #9b783f; font-size: 12px; letter-spacing: .1em; font-weight: 800; }
.contact-info h2 { color: var(--deep); font-size: clamp(29px,3vw,39px); margin: 16px 0; }
.contact-info>p { color: #627481; }
.contact-method { margin-top: 30px; border-top: 1px solid var(--border); padding-top: 20px; }
.contact-method span { display: block; color: #9c783e; letter-spacing: .1em; font-weight: 800; font-size: 11px; margin-bottom: 9px; }
.contact-method a { color: var(--deep); text-decoration: none; font-size: clamp(21px,2.5vw,28px); font-weight: 800; overflow-wrap: anywhere; }
.contact-method p { color: #60727f; font-size: 14px; }
.contact-warning { background: #f7f8f8; border-left: 3px solid var(--gold); padding: 21px; margin-top: 36px; }
.contact-warning p { font-size: 12px; color: #657783; margin: 7px 0 0; }
.contact-formbox { background: #f6f8f8; border: 1px solid var(--border); border-radius: 12px; padding: 34px; min-width: 0; }
.contact-formbox h2 { font-size: clamp(25px,2.5vw,31px); color: var(--deep); }
.contact-formbox>p { font-size: 13px; color: #60737f; }
.form-icon { display: grid; place-items: center; width: 49px; height: 49px; background: #fff4e4; border-radius: 11px; color: #a57535; margin-bottom: 17px; }
.form-icon svg { width: 27px; height: 27px; }
.contact-formbox form { display: grid; gap: 9px; margin-top: 23px; }
.contact-formbox label { color: var(--deep); font-size: 12px; font-weight: 800; }
.contact-formbox select, .contact-formbox textarea, #message-output textarea { display: block; width: 100%; min-width: 0; border: 1px solid #c5d2d6; border-radius: 7px; background: white; color: var(--deep); padding: 12px 13px; }
.contact-formbox textarea { resize: vertical; }
.contact-formbox .btn { justify-self: start; margin-top: 10px; }
.form-feedback { color: #617482; font-size: 12px; min-height: 20px; }
.form-feedback:empty { display: none; }
#message-output { margin-top: 15px; }
#message-output .btn-outline { color: var(--deep); border-color: #a4b3bb; background: white; }
.prose { max-width: 910px; }
.prose h2 { font-size: clamp(23px,2.5vw,29px); margin: 34px 0 12px; color: var(--deep); }
.prose p { color: #627481; font-size: 15px; line-height: 1.9; }
.prose a { color: #956626; }

/* Theme affects the dark site chrome, leaves the content surfaces accessible. */
[data-theme="light"] .header, [data-theme="light"] .footer { background: #1a394f; }
[data-theme="light"] .hero, [data-theme="light"] .page-hero, [data-theme="light"] .cta-panel { background-color: #25445c; }
[data-theme="light"] .hero { background-image: radial-gradient(ellipse at 90% 40%,#38617b 0%,#1c394f 72%); }
[data-theme="light"] .dark-band { background-color: #25445c; }

/* Breakpoints: content changes layout, never depends on overlapping absolute labels. */
@media (max-width: 1160px) {
  .header-inner { grid-template-columns: minmax(205px,1fr) auto 49px; gap: 16px; }
  .head-phone { display: none; }
  .nav { gap: 14px; }
  .hero-inner { gap: 32px; }
}
@media (max-width: 920px) {
  .header-inner { display: flex; justify-content: space-between; min-height: 76px; }
  .head-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #10283c; padding: 14px max(24px,calc((100% - 1180px)/2)) 25px; border-top: 1px solid #385367; box-shadow: 0 22px 32px rgba(5,20,32,.26); white-space: normal; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav>a { padding: 11px 0; font-size: 15px; }
  .nav .nav-call { display: block; border-top: 1px solid #365366; margin-top: 7px; padding-top: 16px; color: var(--gold-light); }
  .hero-inner { grid-template-columns: minmax(0,1fr); padding-block: 68px 76px; }
  .hero-copy { max-width: 660px; }
  .hero h1 { font-size: clamp(41px,6vw,64px); }
  .hero-graphic { max-width: 690px; }
  .hero-graphic img { height: 380px; }
  .section-heading.split { gap: 22px; }
  .issue-grid { gap: 13px; }
  .issue-card { padding: 22px; }
  .issue-card h3 { font-size: 19px; }
  .contact-grid { gap: 40px; }
  .faq-layout { gap: 35px; grid-template-columns: 200px minmax(0,1fr); }
  .footer-main { gap: 27px; }
}
@media (max-width: 680px) {
  .container { width: min(100% - 36px,1180px); }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .brand-text { font-size: 16px; }
  .header-inner { min-height: 70px; gap: 11px; }
  .head-actions { gap: 8px; }
  .theme-toggle { flex-basis: 37px; height: 37px; width: 37px; }
  .menu-toggle { width: 40px; height: 40px; flex-basis: 40px; }
  .hero-grid { height: 600px; }
  .hero-inner { gap: 34px; padding: 58px 0 62px; }
  .hero h1 { font-size: clamp(35px,8.5vw,52px); line-height: 1.1; margin: 22px 0 20px; }
  .hero-lead { font-size: 15px; }
  .hero-buttons { margin: 28px 0 31px; gap: 10px; }
  .hero-buttons .btn { flex: 1 1 100%; }
  .hero-notes { display: grid; gap: 13px; font-size: 12px; }
  .hero-notes span { gap: 10px; }
  .hero-graphic { padding: 5px; border-radius: 16px; }
  .hero-graphic img { height: min(83vw, 380px); border-radius: 11px; }
  .section { padding: 65px 0; }
  .section-heading { margin-bottom: 29px; }
  .section-heading.split { grid-template-columns: minmax(0,1fr); align-items: start; }
  .section-heading.split>p { justify-self: start; max-width: 100%; }
  .section-heading h2, .quote-layout h2, .laws h2 { font-size: clamp(29px,7.2vw,38px); }
  .issue-grid, .steps-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .issue-card { padding: 25px; }
  .issue-icon { margin: 17px 0 16px; }
  .service-row { grid-template-columns: 37px minmax(0,1fr) 21px; gap: 11px; padding: 25px 2px; }
  .service-row h3 { font-size: 18px; }
  .service-row p { font-size: 13px; }
  .quote-layout, .laws { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .quote-layout p { font-size: 15px; }
  .cta-wrap { padding: 37px 0; }
  .cta-panel { padding: 32px 25px; grid-template-columns: minmax(0,1fr); gap: 25px; }
  .cta-action .btn { width: auto; }
  .footer-main { grid-template-columns: minmax(0,1fr); padding: 43px 0; gap: 30px; }
  .foot-description { margin-top: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 13px; }
  .page-hero { padding: 63px 0 68px; }
  .page-hero.compact { padding: 48px 0 53px; }
  .page-hero h1 { font-size: clamp(32px,8.5vw,45px); }
  .page-hero p { font-size: 15px; }
  .detail-row { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 34px 0; }
  .detail-row h2 { font-size: 27px; }
  .note-box { grid-template-columns: minmax(0,1fr); padding: 26px; gap: 15px; }
  .timeline article { grid-template-columns: 52px minmax(0,1fr); gap: 14px; }
  .timeline-step { font-size: 23px; }
  .document-grid { grid-template-columns: minmax(0,1fr); }
  .faq-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .faq-item summary { font-size: 16px; }
  .contact-grid { grid-template-columns: minmax(0,1fr); gap: 38px; }
  .contact-formbox { padding: 25px; }
}
@media (max-width: 370px) {
  .container { width: calc(100% - 30px); }
  .brand { gap: 7px; }
  .brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
  .brand-text { font-size: 14px; }
  .head-actions { gap: 6px; }
  .theme-toggle { width: 35px; height: 35px; flex-basis: 35px; }
  .menu-toggle { width: 38px; height: 38px; flex-basis: 38px; padding: 8px; }
  .hero h1 { font-size: clamp(32px,9.5vw,35px); }
  .cta-panel { padding: 28px 19px; }
  .contact-formbox { padding: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* Homepage contact hero — self-contained, responsive, accessible */
.hero-with-contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(9,27,43,.97) 0%,rgba(9,27,43,.92) 34%,rgba(9,27,43,.63) 70%,rgba(9,27,43,.56) 100%),url('../img/electric-grid-sunset.webp') center 48% / cover no-repeat; pointer-events: none; }
.hero-contact-layout { grid-template-columns: minmax(0,1.05fr) minmax(0,.87fr); gap: clamp(32px,4.3vw,70px); align-items: center; padding-block: 52px 59px; }
.hero-contact-layout .hero-copy { padding-block: 12px; }
.hero-contact-layout h1 { font-size: clamp(38px,4.1vw,60px); line-height: 1.09; margin: 22px 0 22px; }
.hero-contact-layout .hero-lead { max-width: 590px; font-size: clamp(16px,1.28vw,18px); font-weight: 550; margin-bottom: 18px; }
.hero-support { max-width: 570px; color: #bcccda; font-size: 14px; line-height: 1.78; margin-bottom: 0; }
.hero-contact-layout .hero-buttons { margin: 29px 0 33px; }
.hero-contact-layout .hero-buttons .btn { background: rgba(12,32,50,.56); }
.hero-contact-layout .hero-notes { gap: 10px 18px; font-size: 11px; }
.quick-contact { overflow: hidden; min-width: 0; max-width: 510px; width: 100%; justify-self: end; background: #fff; color: #10283d; border: 1px solid rgba(255,255,255,.44); border-radius: 18px; box-shadow: 0 24px 65px rgba(1,15,25,.36); }
.quick-contact-photo { display: flex; align-items: flex-end; background: linear-gradient(0deg,rgba(9,26,40,.85),rgba(9,26,40,.03) 85%),url('../img/electric-grid-sunset.webp') center 54% / cover no-repeat; min-height: 103px; padding: 15px 25px; }
.quick-contact-photo span { color: #ffcf88; font-size: 10px; font-weight: 850; letter-spacing: .12em; line-height: 1.5; }
.quick-contact-body { padding: 24px 28px 22px; }
.quick-contact-kicker { display: block; font-size: 10px; font-weight: 850; letter-spacing: .14em; color: #a77739; margin-bottom: 8px; }
.quick-contact h2 { color: var(--deep); font-size: clamp(23px,2.1vw,28px); line-height: 1.2; letter-spacing: -.035em; margin: 0 0 7px; }
.quick-contact-intro { color: #687886; font-size: 13px; line-height: 1.58; margin: 0 0 17px; }
.quick-contact-form { display: grid; gap: 7px; }
.quick-contact-form label { color: #20384a; font-size: 12px; font-weight: 780; line-height: 1.4; }
.quick-contact-form select,.quick-contact-form textarea { color: #162a3c; width: 100%; min-width: 0; border: 1px solid #cbd5dc; border-radius: 8px; background: #fbfcfc; padding: 11px 12px; font-size: 13px; line-height: 1.55; }
.quick-contact-form select { height: 45px; padding-right: 27px; }
.quick-contact-form textarea { resize: vertical; min-height: 84px; max-height: 210px; }
.quick-contact-form textarea::placeholder { color: #83909b; }
.quick-contact-form select:focus-visible,.quick-contact-form textarea:focus-visible { outline: 2px solid #c18a3e; outline-offset: 1px; border-color: #b98d50; }
.quick-submit { width: 100%; min-height: 47px; margin-top: 7px; font-size: 14px; }
.quick-contact-feedback { color: #9b352c; font-size: 12px; margin: 0; line-height: 1.5; }
.quick-contact-feedback:empty { display: none; }
.quick-contact-call { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-top: 17px; padding-top: 13px; border-top: 1px solid #e8ecee; }
.quick-contact-call span { color: #6b7a84; font-size: 12px; }
.quick-contact-call a { color: #102f45; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap; }
.quick-contact-call a:hover { text-decoration: underline; }
.quick-contact-privacy { margin: 11px 0 0; font-size: 11px; line-height: 1.55; color: #7b8992; }
.quick-contact-privacy a { color: #557084; text-decoration: underline; }
.contact-wa-hint { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.contact-wa-hint a { color: #197a51; font-size: 14px; }
.contact-wa-hint small { color: #6f7f89; font-size: 11px; }
@media (max-width: 1050px) {
  .hero-contact-layout { gap: 30px; grid-template-columns: minmax(0,1fr) minmax(0,.93fr); }
  .hero-contact-layout h1 { font-size: clamp(35px,4vw,52px); }
  .quick-contact-body { padding: 22px 22px 20px; }
}
@media (max-width: 920px) {
  .hero-contact-layout { grid-template-columns: minmax(0,1fr); gap: 26px; padding-block: 47px 58px; }
  .hero-contact-layout .hero-copy { max-width: 720px; padding: 0; }
  .hero-contact-layout h1 { font-size: clamp(38px,6vw,58px); }
  .quick-contact { justify-self: start; max-width: 720px; }
  .quick-contact-photo { min-height: 90px; }
}
@media (max-width: 680px) {
  .hero-with-contact::before { background: linear-gradient(180deg,rgba(9,27,43,.92) 0%,rgba(9,27,43,.9) 46%,rgba(9,27,43,.95) 100%),url('../img/electric-grid-sunset.webp') 58% 0 / cover no-repeat; }
  .hero-contact-layout { gap: 24px; padding: 36px 0 43px; }
  .hero-contact-layout h1 { font-size: clamp(33px,8.4vw,43px); margin: 15px 0 16px; }
  .hero-contact-layout .hero-lead { font-size: 14px; line-height: 1.66; margin-bottom: 0; }
  .hero-contact-layout .hero-support { display: none; }
  .hero-contact-layout .hero-buttons,.hero-contact-layout .hero-notes { display: none; }
  .quick-contact { border-radius: 14px; }
  .quick-contact-photo { display: none; }
  .quick-contact-body { padding: 23px 19px 19px; }
  .quick-contact h2 { font-size: 22px; }
  .quick-contact-intro { font-size: 12px; margin-bottom: 13px; }
  .quick-contact-form textarea { min-height: 78px; }
  .quick-contact-call { margin-top: 13px; padding-top: 11px; }
}
@media (max-width: 370px) {
  .hero-contact-layout h1 { font-size: clamp(31px,9.2vw,35px); }
  .quick-contact-body { padding: 21px 15px 18px; }
  .quick-contact-call a { font-size: 14px; }
}

/* On tablets, prioritize the contact form over secondary hero links. */
@media (min-width: 681px) and (max-width: 920px) {
  .hero-contact-layout .hero-support,
  .hero-contact-layout .hero-buttons,
  .hero-contact-layout .hero-notes { display: none; }
  .hero-contact-layout { gap: 22px; padding-top: 42px; }
  .hero-contact-layout .hero-lead { margin-bottom: 0; }
}

