/* Visual direction: immersive architecture, midnight blue and restrained solar gold. */
:root {
  --ink: #152f45;
  --muted: #697682;
  --paper: #f7f8fa;
  --lime: #f1cc70;
  --line: #dfe5ea;
  --gold: #e6b644;
  --content-width: 1200px;
  --page-gutter: clamp(24px, 8vw, 128px);
}

body { background: var(--paper); }
.header { height: 80px; }
.header .brand { font-size: 20px; letter-spacing: .09em; font-weight: 800; }
.header .brand-mark, .header .brand small { display: none; }
.header .brand > span:last-child { margin-left: 0; }
.header nav { font-size: 13px; gap: clamp(20px, 2.1vw, 30px); }
.header .nav-cta { min-height: 44px; padding: 12px 20px; border-radius: 7px; font-size: 12px; }
.header .nav-cta > span { display: none; }
.header .nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  line-height: 1.4;
}
.header .nav-label { display: block; }
.header .nav-chevron {
  display: block;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  transition: transform .18s ease;
}
.header .nav-dropdown > button[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
.eyebrow::before { background: var(--gold); }
.button { border-radius: 6px; }
.button:hover, .nav-cta:hover { background: #264f6d; color: #fff; }
a:focus-visible, button:focus-visible { outline-color: var(--gold); }
input:focus, select:focus, textarea:focus { outline-color: #b98a27; }
.text-link { border-color: #c4ced6; }
.planner-band { background: #eaf0f4; }
.project-placeholder { background: #eef2f5; }
.solution-card .image { background: #d9e1e7; }
.solution-card .number { background: #152f4550; }
.resource .type, .step .step-num { color: #8b6c27; }
.step { border-color: #cdd7de; }
.notice, .result, .form-status { background: #edf2f6; color: #36566d; }
.notice { border-color: #c59a43; }
.final-cta { background: #eee4cb; }
.final-cta p { color: #6b624e; }
.visit-banner { background: #112c42; }
.visit-banner::after { background: linear-gradient(90deg, #112c42ed, #112c4225); }
footer { background: #102a3f; }
.footer-top p, .footer-top > div > a:not(.brand) { color: #b9c5cf; }
.footer-note, .footer-bottom { color: #91a5b5; }
.home-page .header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 15;
  color: white;
  background: transparent;
  border: 0;
}
.home-page .header .nav-cta {
  color: white;
  border-color: #ffffff30;
  background: #ffffff15;
  backdrop-filter: blur(14px);
}
.home-page .header .nav-cta:hover { background: #ffffff30; transform: none; }
.home-page nav > a:not(.nav-cta):hover { color: var(--gold); }
.home-page .dropdown { color: var(--ink); }
.home-page .header .menu-toggle { color: white; border-color: #ffffff35; background: #ffffff10; }

.hero.hero-immersive {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 660px;
  min-height: max(660px, 100svh);
  margin: 0;
  padding: 0;
  background: #102c43;
  color: #fff;
  overflow: clip;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #081b2be0 0%, #0a2035a6 44%, #0d263644 100%),
              linear-gradient(180deg, #0e2c4d55 0%, #102a430a 40%, #071a2cef 100%);
}
.hero-content {
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 125px;
  padding-bottom: 150px;
}
.hero-immersive .hero-copy { padding: 0; max-width: 820px; }
.hero-immersive .eyebrow {
  color: #dbb45f;
  font-size: 10px;
  letter-spacing: .23em;
  margin-bottom: 25px;
}
.hero-immersive h1 {
  font-family: 'DM Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 5vw, 76px);
  letter-spacing: -.055em;
  line-height: 1.05;
  text-wrap: initial;
  max-width: 850px;
}
.hero-immersive h1 em { color: var(--gold); }
.hero-immersive .hero-copy > p {
  color: #d0d7df;
  font-size: 17px;
  line-height: 1.8;
  margin-top: 30px;
  max-width: 530px;
}
.hero-immersive .actions { margin-top: 38px; flex-direction: row; align-items: center; gap: 16px; }
.hero-immersive .button { min-height: 52px; padding: 16px 25px; gap: 16px; font-size: 13px; width: auto; }
.hero-immersive .hero-primary { background: #fff; border-color: #fff; color: #18384e; }
.hero-immersive .hero-primary:hover { background: #f5e2b5; border-color: #f5e2b5; }
.hero-immersive .hero-secondary { background: #ffffff05; border-color: #ffffff40; color: #fff; backdrop-filter: blur(8px); }
.hero-immersive .hero-secondary:hover { background: #ffffff18; border-color: #ffffff80; }
.hero-bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 30px;
  border-top: 1px solid #ffffff13;
}
.hero-segments { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-segments > a, .hero-segments > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ffffff12;
  background: #ffffff09;
  backdrop-filter: blur(8px);
  color: #e3e9ed;
  border-radius: 30px;
  padding: 10px 16px;
  font-size: 11px;
  min-height: 40px;
}
.hero-segments > a:hover { border-color: #e6b64480; background: #ffffff14; }
.hero-segments svg { width: 14px; height: 14px; color: #b0c0cd; flex-shrink: 0; }
.hero-scroll { display: flex; align-items: center; flex-direction: column; gap: 15px; color: #9aafbd; text-transform: uppercase; letter-spacing: .19em; font-size: 9px; flex-shrink: 0; }
.hero-scroll i { display: block; font-size: 22px; font-style: normal; line-height: 1; }
.floating-consultation, .floating-contact {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid #ffffff15;
  border-radius: 50%;
  color: white;
  background: #24bc62;
  box-shadow: 0 6px 24px #071a2c30;
}
.floating-consultation { bottom: max(82px, calc(env(safe-area-inset-bottom) + 60px)); background: #234d6e; }
.floating-consultation svg, .floating-contact svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.floating-contact span { display: none; }
#solutions, #process { scroll-margin-top: 28px; }

@media (min-width: 1800px) {
  .hero-content { padding-top: 160px; padding-bottom: 200px; }
}

@media (max-width: 1100px) {
  .header .nav-wrap { gap: 24px; }
  .header nav { top: 80px; gap: 4px; }
  .home-page .header nav { background: #102b42f7; color: #fff; border-top: 1px solid #ffffff20; box-shadow: 0 20px 40px #071a2c40; }
  .home-page .header .dropdown { background: #ffffff09; color: white; }
  .home-page .header .dropdown a:hover { background: #ffffff10; }
  .hero-immersive h1 { font-size: clamp(48px, 5.8vw, 64px); }
  .hero-immersive .hero-copy > p { font-size: 16px; }
  .hero-segments > a, .hero-segments > span { padding: 9px 13px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .header .brand { font-size: 18px; }
  .header .menu-toggle { display: none; }
  .header nav { display: flex; position: static; flex-direction: row; align-items: center; padding: 0; max-height: none; overflow: visible; box-shadow: none; gap: 16px; font-size: 11px; }
  .home-page .header nav { background: transparent; border: 0; box-shadow: none; }
  .header nav > a, .header .nav-dropdown > button { min-height: 44px; padding: 10px 0; }
  .header nav > .nav-cta { margin: 0; padding: 11px 15px; font-size: 11px; }
  .header .dropdown { position: absolute; top: 100%; left: -18px; padding: 10px; margin: 0; background: white; box-shadow: 0 15px 40px #071a2c20; }
  .home-page .header .dropdown { background: #102b42; color: white; }
}

@media (max-width: 700px) {
  :root { --page-gutter: 24px; }
  .header, .header .nav-wrap { height: 76px; }
  .header nav { top: 76px; max-height: calc(100dvh - 76px); }
  .header .brand { font-size: 18px; }
  .hero.hero-immersive { min-height: 0; }
  .hero-background { object-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, #071a2bd9, #0a2135a0), linear-gradient(180deg, #0b254266, #0a203426 35%, #071a2cf2); }
  .hero-content { min-height: 0; justify-content: flex-start; padding-top: 112px; padding-bottom: 32px; }
  .hero-immersive .eyebrow { font-size: 9px; margin-bottom: 24px; letter-spacing: .19em; }
  .hero-immersive h1 { font-size: clamp(39px, 8.7vw, 57px); line-height: 1.08; letter-spacing: -.045em; }
  .hero-immersive h1 br { display: none; }
  .hero-immersive .hero-copy > p { font-size: 15px; margin-top: 25px; max-width: 390px; }
  .desktop-break { display: none; }
  .hero-immersive .actions { margin-top: 30px; gap: 13px; }
  .hero-bottom { position: static; margin-top: 28px; padding-top: 20px; }
  .hero-segments { gap: 9px; padding-right: 40px; }
  .hero-segments > a, .hero-segments > span { font-size: 10px; min-height: 38px; padding: 9px 12px; }
  .hero-scroll { display: none; }
  .floating-consultation, .floating-contact { right: max(14px, env(safe-area-inset-right)); width: 44px; height: 44px; padding: 10px; }
  .floating-contact { bottom: max(16px, env(safe-area-inset-bottom)); }
  .floating-consultation { bottom: max(70px, calc(env(safe-area-inset-bottom) + 54px)); }
}

@media (max-width: 480px) {
  .hero-immersive .actions { flex-direction: column; align-items: stretch; max-width: 340px; }
  .hero-immersive .actions > .button { width: 100%; justify-content: center; min-height: 52px; }
  .hero-content { padding-top: 108px; padding-bottom: 28px; }
  .hero.hero-immersive { min-height: 0; }
  .hero-immersive h1 { font-size: clamp(37px, 9.6vw, 46px); }
  .hero-segments { padding-right: 40px; gap: 8px; }
  .hero-bottom { bottom: 30px; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 20px; }
  .hero.hero-immersive { min-height: 0; }
  .hero-immersive h1 { font-size: 37px; }
  .hero-immersive .eyebrow { font-size: 8px; }
}

@media (min-width: 901px) {
  .header nav > a { display: inline-flex; align-items: center; min-height: 44px; }
  .header .nav-dropdown > button { width: auto; justify-content: flex-start; }
  .header .dropdown { left: -14px; padding: 6px; }
  .header .dropdown a { display: flex; align-items: center; min-height: 44px; padding: 8px; }
}

/* Electricity bill planner in the homepage hero. */
.hero-immersive .hero-planner {
  width: min(100%, 460px);
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  box-shadow: 0 12px 40px #05142325;
}
.hero-immersive .hero-planner label { color: var(--ink); }
.hero-immersive .hero-planner input { background: #f2f5f7; padding: 10px 12px; }
.hero-immersive .hero-planner .button { width: 100%; justify-content: center; min-height: 48px; padding: 12px 20px; margin-top: 12px; }
.hero-immersive .hero-planner small { color: #5b6e7d; margin-top: 8px; }
@media (max-width: 680px) {
  .hero-immersive .hero-planner { padding: 18px; margin-top: 20px; }
}
/* Keep the full bill form in view on shorter desktop screens. */
@media (min-width: 901px) and (max-height: 800px) {
  .hero-content { justify-content: flex-start; padding-top: 108px; padding-bottom: 110px; }
  .hero-immersive .hero-copy > p { margin-top: 22px; }
}

/* Use the full mobile width for two rows of customer categories. */
@media (max-width: 700px) {
  .hero-bottom { width: 100%; }
  .hero-segments { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; padding-right: 0; gap: 8px 6px; }
  .hero-segments > a, .hero-segments > span { grid-column: span 2; min-width: 0; padding: 8px 6px; gap: 5px; font-size: 10px; white-space: nowrap; }
  .hero-segments > :nth-child(4), .hero-segments > :nth-child(5) { grid-column: span 3; }
}
