/* Speedy Sparky — NS-style premium electrician landing */
:root {
  --charcoal: #1a1c1e;
  --charcoal-deep: #111214;
  --charcoal-soft: #2a2d31;
  --white: #ffffff;
  --off-white: #f7f6f4;
  --soft-grey: #f0efec;
  --muted: #6b7078;
  --muted-on-dark: #c5c9ce;
  --text: #2a2d31;
  --amber: #c9a227;
  --amber-hover: #d4b03a;
  --amber-soft: rgba(201, 162, 39, 0.12);
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(255, 255, 255, 0.22);
  --radius: 4px;
  --radius-md: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1140px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header (transparent over hero, solid on scroll) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(17, 18, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-inner .site-header.is-solid {
  background: rgba(17, 18, 20, 0.97);
}

.site-header .container {
  width: min(100% - 5rem, var(--max));
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: var(--header-h);
  gap: 1.5rem;
}

.header-inner::before {
  content: "";
  margin-right: auto;
}

.header-logo {
  display: none;
}

.header-logo img {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.logo-link {
  display: none;
}

.logo-pad {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.logo-pad img {
  height: 110px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

.logo-pad-sm img {
  height: 56px;
  max-width: 200px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--white);
  position: relative;
}

.nav a.is-active::after,
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

@media (max-width: 720px) {
  .nav a.is-active::after,
  .nav a[aria-current="page"]::after {
    display: none;
  }

  .nav a.is-active,
  .nav a[aria-current="page"] {
    color: var(--amber);
  }
}

.nav a.nav-cta {
  display: none;
}

/* ——— Services dropdown (NS-style) ——— */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-item .nav-parent {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.nav-item .nav-parent:hover,
.nav-item .nav-parent:focus-visible {
  color: var(--white);
}

.nav-item .nav-parent.is-active,
.nav-item .nav-parent[aria-current="page"] {
  color: var(--white);
  position: relative;
}

.nav-item .nav-parent.is-active::after,
.nav-item .nav-parent[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

.nav-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav-chevron:hover,
.nav-chevron:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-chevron:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.nav-chevron-icon {
  width: 10px;
  height: 7px;
  display: block;
  transition: transform 0.2s ease;
}

.nav-item.is-open > .nav-item-trigger .nav-chevron-icon,
.nav-item:hover > .nav-item-trigger .nav-chevron-icon {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  margin: 0;
  padding: 0.45rem 0;
  list-style: none;
  background: rgba(17, 18, 20, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -0.65rem;
  left: 0;
  right: 0;
  height: 0.65rem;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-item.is-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
  border: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown a.is-active,
.nav-dropdown a[aria-current="page"] {
  color: var(--amber);
}

.nav-dropdown a.is-active::after,
.nav-dropdown a[aria-current="page"]::after {
  display: none;
}

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-link:hover {
  transform: translateY(-2px);
}

.service-card-more {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--amber);
}

/* Buttons — rectangular outlined (NS style) + amber accent */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 1rem 1.85rem;
  font-size: 1rem;
}

.btn-amber {
  background: var(--amber);
  color: var(--charcoal-deep);
  border-color: var(--amber);
}

.btn-amber:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.header-cta {
  flex-shrink: 0;
  padding: 0.7rem 1.35rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5.5rem;
  color: var(--white);
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("images/hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 11, 13, 0.82) 0%, rgba(10, 11, 13, 0.55) 48%, rgba(10, 11, 13, 0.4) 100%),
    linear-gradient(to top, rgba(10, 11, 13, 0.55) 0%, transparent 40%);
}


.hero-logo {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  left: 0;
  top: 0;
  visibility: hidden;
}

.hero-logo.is-placed {
  visibility: visible;
}

.hero-logo img {
  height: 148px;
  width: auto;
  max-width: min(480px, 78vw);
  object-fit: contain;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin-right: auto;
}

.hero-brand {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.35rem;
  max-width: 16ch;
}

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

/* ——— Sections shared ——— */
section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-light {
  background: var(--white);
}

.section-soft {
  background: var(--soft-grey);
}

.section-dark {
  background: var(--charcoal-deep);
  color: var(--off-white);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.section-label.on-dark {
  color: var(--amber);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.section-title.on-dark {
  color: var(--white);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 0;
  line-height: 1.65;
}

.section-head {
  margin-bottom: 2.75rem;
}

.section-head.centered {
  text-align: center;
}

.section-head.centered .section-lead {
  margin-inline: auto;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy .section-title {
  margin-bottom: 1.25rem;
}

.lead-quote {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 1.35rem;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
}

.about-copy > p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 54ch;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--soft-grey);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}

.about-points li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-points strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
}

.about-points span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ——— Services ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.service-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ——— Why / pillars ——— */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  background: var(--soft-grey);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.pillar:hover {
  border-color: rgba(201, 162, 39, 0.35);
}

.pillar-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.pillar h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.pillar p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

@media (min-width: 901px) {
  .pillars-grid .pillar:nth-child(4) {
    grid-column: 1 / 2;
  }
  .pillars-grid .pillar:nth-child(5) {
    grid-column: 2 / 3;
  }
}

/* ——— Reviews placeholder ——— */
.reviews-placeholder {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
}

.reviews-placeholder p {
  color: var(--muted);
  font-size: 0.975rem;
}

/* ——— Areas ——— */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.areas-list li {
  padding: 0.55rem 1.15rem;
  background: var(--soft-grey);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}

.areas-note {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 48ch;
  margin-inline: auto;
}

/* ——— FAQ ——— */
.faq-inner {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--amber);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 1.35rem 1.25rem;
}

.faq-body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-intro {
  color: var(--muted-on-dark);
  margin-bottom: 1.75rem;
  max-width: 38ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-item dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.25rem;
}

.contact-item dd {
  color: var(--off-white);
  font-size: 0.975rem;
}

.placeholder {
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

.form-card {
  background: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.form-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--amber);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-on-dark);
  margin-bottom: 0.4rem;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--white);
  background: var(--charcoal-deep);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.55);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8adb4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.field select option {
  background: var(--charcoal-deep);
  color: var(--white);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ——— Footer ——— */
.site-footer {
  padding: 2.5rem 0;
  background: #0c0d0e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

.footer-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
}

.footer-meta p + p {
  margin-top: 0.25rem;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .about-grid,
  .services-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pillars-grid .pillar:nth-child(4),
  .pillars-grid .pillar:nth-child(5) {
    grid-column: auto;
  }

  .hero h1 {
    max-width: none;
  }

}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .site-header .container {
    width: min(100% - 2.5rem, var(--max));
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(17, 18, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-item-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .nav-item .nav-parent {
    flex: 1;
    padding: 0.9rem 0.5rem;
    border-bottom: none;
  }

  .nav-item .nav-parent.is-active::after,
  .nav-item .nav-parent[aria-current="page"]::after {
    display: none;
  }

  .nav-item .nav-parent.is-active,
  .nav-item .nav-parent[aria-current="page"] {
    color: var(--amber);
  }

  .nav-chevron {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.15rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .nav-item.is-open > .nav-item-trigger .nav-chevron-icon {
    transform: rotate(180deg);
  }

  .nav-dropdown {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.35rem;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-item.is-open > .nav-dropdown {
    display: block;
    transform: none;
  }

  /* Disable hover-open on touch / mobile menu */
  .nav-item:hover > .nav-dropdown {
    display: none;
  }

  .nav-item.is-open:hover > .nav-dropdown,
  .nav-item.is-open > .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 0.7rem 0.5rem 0.7rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    white-space: normal;
  }

  .nav-dropdown li:last-child a {
    border-bottom: none;
  }

  .nav a.nav-cta {
    display: flex;
    margin-top: 0.85rem;
    justify-content: center;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .services-grid,
  .pillars-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
    padding-bottom: 4rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}



/* ——— Inner page hero ——— */
.page-hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5.5rem;
  color: var(--white);
  overflow: visible;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 11, 13, 0.88) 0%, rgba(10, 11, 13, 0.62) 55%, rgba(10, 11, 13, 0.5) 100%),
    linear-gradient(to top, rgba(10, 11, 13, 0.55) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.page-hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 44ch;
  line-height: 1.65;
}

/* ——— Inline page links ——— */
.inline-link {
  margin-top: 1.25rem;
}

.inline-link a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.inline-link a:hover {
  color: var(--amber);
  border-color: var(--amber);
}

.centered-link {
  text-align: center;
  margin-top: 1rem;
}

.section-head .inline-link {
  margin-bottom: 0;
}

.areas-note a,
.faq-body a {
  color: inherit;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
  font-weight: 500;
}

.areas-blurb a {
  color: var(--charcoal);
  font-weight: 600;
  border-bottom: 1px solid rgba(201, 162, 39, 0.45);
}

/* ——— Services detail (inner page) ——— */
.services-detail {
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.service-detail {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-detail:first-child {
  padding-top: 0;
}

.service-detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-detail-body h2 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.service-detail-lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.85rem;
  max-width: 58ch;
  line-height: 1.5;
}

.service-detail-body > p {
  color: var(--muted);
  margin-bottom: 1rem;
  max-width: 62ch;
}

.service-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1.5rem;
  margin-top: 0.5rem;
}

.service-bullets li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.5;
}

.service-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* ——— Personality / areas blurb ——— */
.personality-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.personality-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.personality-list li {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 1rem;
  border-left: 2px solid var(--amber);
}

.personality-list strong {
  color: var(--charcoal);
  font-weight: 600;
}

.areas-blurb {
  background: var(--soft-grey);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}

.areas-blurb-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.areas-blurb p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

.areas-blurb-note {
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
}

/* ——— CTA band ——— */
.cta-band {
  padding: clamp(3rem, 6vw, 4rem) 0;
}

.cta-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band .section-title {
  margin-bottom: 0.4rem;
}

.cta-band-lead {
  color: var(--muted-on-dark);
  max-width: 42ch;
  font-size: 1rem;
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--soft-grey);
  aspect-ratio: 4 / 3;
  text-align: left;
  font: inherit;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(10, 11, 13, 0.75), transparent);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 9, 10, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  text-align: center;
  max-width: 48ch;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .personality-grid,
  .service-bullets {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .header-logo img {
    height: 40px;
    max-width: 140px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 280px;
    padding-bottom: 2.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}


.logo-spacer {
  display: none;
}

@media (max-width: 720px) {
  .hero-logo {
    top: 1.5rem;
    left: 1.25rem;
  }
  .hero-logo img {
    height: 110px;
  }
}


.about-prose {
  max-width: 720px;
}

.about-body {
  margin-top: 1.25rem;
}

.about-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.footer-phone a, .footer-email a { color: inherit; text-decoration: none; }
.footer-phone a:hover, .footer-email a:hover { text-decoration: underline; }
.contact-details dd a { color: inherit; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.brand-heading { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 0.5rem; }
.brand-heading .section-title { margin-bottom: 0; }
.brand-heading-logo { width: 120px; height: 120px; flex: none; border-radius: 22px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.brand-heading + .about-body { margin-top: 1.5rem; }
@media (max-width: 720px) {
  .brand-heading { gap: 1rem; }
  .brand-heading-logo { width: 84px; height: 84px; border-radius: 16px; }
}

/* Wordmark variant of brand heading (myenergi eddi / zappi) */
.brand-heading--wordmark { align-items: center; gap: 2rem; }
.brand-wordmark { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding-right: 2rem; border-right: 1px solid rgba(0, 0, 0, 0.12); }
.brand-wordmark-logo { display: block; width: 168px; height: auto; }
.brand-by { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; letter-spacing: 0.04em; color: #6b6b6b; }
.brand-by img { display: block; width: 92px; height: auto; }
@media (max-width: 720px) {
  .brand-heading--wordmark { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .brand-wordmark { padding-right: 0; border-right: 0; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
  .brand-wordmark-logo { width: 136px; }
  .brand-by img { width: 80px; }
}
.about-body a { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 0, 0, 0.3); text-underline-offset: 3px; }
.about-body a:hover { text-decoration-color: currentColor; }

/* Subtle myenergi product credit at the bottom of eddi / zappi pages */
.brand-credit { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(0, 0, 0, 0.08); opacity: 0.7; }
.brand-credit-logo { display: block; width: 84px; height: auto; }
.brand-credit .brand-by { font-size: 0.72rem; }
.brand-credit .brand-by img { width: 64px; }

/* Mobile-only sticky Call / Email bar */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; gap: 0.75rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
  .mobile-cta-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 50px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
  .mobile-cta-call { background: var(--amber); color: var(--charcoal-deep); }
  .mobile-cta-email { background: var(--charcoal); color: var(--white); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ——— PIXIE Smart Home page ——— */
.pixie-tagline { font-size: 1.2rem !important; font-weight: 600; color: var(--charcoal) !important; letter-spacing: -0.01em; }
.pixie-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; margin-bottom: 2.75rem; }
.pixie-split-img { width: 100%; border-radius: var(--radius-md); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.pixie-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pixie-controls li { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--amber); border-radius: var(--radius-md); padding: 1.1rem 1.15rem; }
.pixie-controls strong { display: block; color: var(--charcoal); font-weight: 600; margin-bottom: 0.3rem; }
.pixie-controls span { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.pixie-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1.75rem; }
.pixie-feature { padding-top: 1rem; border-top: 1px solid var(--border); }
.pixie-feature h3 { font-size: 1.02rem; font-weight: 600; color: var(--charcoal); margin-bottom: 0.45rem; letter-spacing: -0.01em; }
.pixie-feature p { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.pixie-lead-dark { color: var(--muted-on-dark); }
.pixie-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pixie-quotes li { border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.25rem; }
.pixie-quotes q { display: block; color: var(--white); font-weight: 600; font-size: 1.02rem; margin-bottom: 0.5rem; }
.pixie-quotes q::before { content: "“"; } .pixie-quotes q::after { content: "”"; }
.pixie-quotes span { display: block; font-size: 0.9rem; color: var(--muted-on-dark); line-height: 1.55; }
.pixie-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pixie-gallery figure { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.pixie-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 1.25rem; background: var(--soft-grey); }
.pixie-gallery figcaption { padding: 1rem 1.15rem 1.25rem; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.pixie-gallery figcaption strong { display: block; color: var(--charcoal); font-weight: 600; font-size: 1rem; margin-bottom: 0.25rem; }
.pixie-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pixie-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--charcoal); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.pixie-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pixie-video figcaption { margin-top: 0.7rem; font-size: 0.92rem; font-weight: 500; color: var(--charcoal); }
.pixie-credit { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 900px) {
  .pixie-split { grid-template-columns: 1fr; }
  .pixie-controls, .pixie-features, .pixie-quotes { grid-template-columns: repeat(2, 1fr); }
  .pixie-gallery, .pixie-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pixie-controls { gap: 0.6rem; }
  .pixie-controls li { padding: 0.85rem 0.8rem; }
  .pixie-features, .pixie-quotes, .pixie-gallery, .pixie-video-grid { grid-template-columns: 1fr; }
}

/* ——— Energy savings tool (smart-home page) ——— */
.energy-tool-intro { max-width: 62ch; margin-bottom: 2.25rem; }
.energy-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.energy-tool-inputs { display: flex; flex-direction: column; gap: 0.85rem; }
.energy-tool-group-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin: 1rem 0 0.1rem;
}
.energy-tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
}
.energy-tool-card-head { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1rem; }
.energy-tool-card-title { font-weight: 600; color: var(--charcoal); font-size: 1rem; line-height: 1.35; }
.energy-tool-card-sub { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.energy-tool-card-text { display: flex; flex-direction: column; gap: 0.2rem; }
.energy-tool-toggle { position: relative; display: flex; align-items: flex-start; gap: 0.9rem; cursor: pointer; }
.energy-tool-toggle input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.energy-tool-switch {
  flex-shrink: 0; position: relative; width: 40px; height: 22px; margin-top: 0.1rem;
  border-radius: 999px; background: #d9d7d2; transition: background 0.2s ease;
}
.energy-tool-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.energy-tool-toggle input:checked + .energy-tool-switch { background: var(--amber); }
.energy-tool-toggle input:checked + .energy-tool-switch::after { transform: translateX(18px); }
.energy-tool-toggle input:focus-visible + .energy-tool-switch { outline: 2px solid var(--charcoal); outline-offset: 2px; }
.energy-tool-card-body {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem;
}
.energy-tool-toggle + .energy-tool-card-body { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.energy-tool-card-body[hidden], .energy-tool-field[hidden] { display: none; }
.energy-tool-field label {
  display: block; font-size: 0.8125rem; font-weight: 500; color: var(--text); margin-bottom: 0.35rem;
}
.energy-tool-unit { color: var(--muted); font-weight: 400; }
.energy-tool-field input,
.energy-tool-field select {
  width: 100%; padding: 0.6rem 0.75rem; font-family: inherit; font-size: 0.9375rem;
  color: var(--charcoal); background: var(--off-white);
  border: 1px solid rgba(0,0,0,0.12); border-radius: 6px; transition: border-color 0.2s ease;
}
.energy-tool-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7078' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem;
}
.energy-tool-field input:focus,
.energy-tool-field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }
.energy-tool-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.45; }

.energy-tool-results { position: sticky; top: calc(var(--header-h) + 1.25rem); }
.energy-tool-results-inner {
  background: var(--charcoal); color: var(--off-white);
  border-radius: 12px; padding: clamp(1.5rem, 3vw, 2rem);
}
.energy-tool-results-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber);
}
.energy-tool-total { font-size: clamp(2.25rem, 4vw, 2.85rem); font-weight: 600; letter-spacing: -0.03em; color: var(--white); line-height: 1.15; margin-top: 0.35rem; }
.energy-tool-total-unit { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--muted-on-dark); }
.energy-tool-total-sub { font-size: 0.875rem; color: var(--muted-on-dark); margin-top: 0.25rem; }
.energy-tool-meter { margin-top: 1.4rem; padding: 0.9rem 1rem; border-radius: 8px; background: rgba(255,255,255,0.04); }
.energy-tool-meter-head { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.8125rem; color: var(--muted-on-dark); }
.energy-tool-meter-head span:last-child { color: var(--white); font-weight: 500; white-space: nowrap; }
.energy-tool-meter-track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.1); margin: 0.6rem 0 0.55rem; overflow: hidden; }
.energy-tool-meter-fill { display: block; height: 100%; width: 0; background: var(--amber); border-radius: inherit; transition: width 0.3s ease; }
.energy-tool-meter-note { font-size: 0.75rem; color: rgba(255,255,255,0.55); line-height: 1.45; }
.energy-tool-breakdown { margin-top: 1.25rem; }
.energy-tool-row { padding: 0.8rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.energy-tool-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.energy-tool-row-name { font-weight: 500; color: var(--white); font-size: 0.9375rem; }
.energy-tool-row-amount { font-weight: 600; color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; }
.energy-tool-row-amount.is-negative { color: var(--muted-on-dark); }
.energy-tool-row-note { font-size: 0.8125rem; color: var(--muted-on-dark); line-height: 1.5; margin-top: 0.2rem; }
.energy-tool-why {
  margin-top: 0.75rem; padding: 0.85rem 1rem; border-left: 3px solid var(--amber);
  background: rgba(255,255,255,0.04); border-radius: 0 8px 8px 0; font-size: 0.8125rem; color: var(--muted-on-dark); line-height: 1.55;
}
.energy-tool-why[hidden] { display: none; }
.energy-tool-rebates { margin-top: 1rem; padding: 0.85rem 1rem; border-radius: 8px; background: rgba(255,255,255,0.04); font-size: 0.875rem; color: var(--muted-on-dark); }
.energy-tool-rebates[hidden] { display: none; }
.energy-tool-rebates-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.15rem 0; }
.energy-tool-rebates-row span:last-child { color: var(--white); font-weight: 600; white-space: nowrap; }
.energy-tool-rebates-first { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 0.35rem; padding-top: 0.5rem; }
.energy-tool-rebates-first span:last-child { color: var(--amber); }
.energy-tool-rebates-note { font-size: 0.75rem; line-height: 1.5; margin-top: 0.4rem; color: rgba(255,255,255,0.55); }
.energy-tool-why-title { color: var(--white); font-weight: 600; margin-bottom: 0.2rem; }
.energy-tool-cta { width: 100%; margin-top: 1.25rem; justify-content: center; }
.energy-tool-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.5); line-height: 1.5; margin-top: 0.9rem; }

.energy-tool-assumptions {
  margin-top: 2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
}
.energy-tool-assumptions summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.35rem; font-weight: 600; color: var(--charcoal);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.energy-tool-assumptions summary::-webkit-details-marker { display: none; }
.energy-tool-assumptions summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; color: var(--amber); line-height: 1; }
.energy-tool-assumptions[open] summary::after { content: "−"; }
.energy-tool-assumptions summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.energy-tool-assumptions-body { padding: 0 1.35rem 1.35rem; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.energy-tool-assumptions-body ul { list-style: disc; padding-left: 1.2rem; margin: 0.75rem 0; display: grid; gap: 0.4rem; }
.energy-tool-assumptions-body strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .energy-tool-layout { grid-template-columns: 1fr; }
  .energy-tool-results { position: static; }
}
@media (max-width: 560px) {
  .energy-tool-card-body { grid-template-columns: 1fr; }
  .energy-tool-card { padding: 1rem; }
}
.energy-tool-card[hidden] { display: none; }
