:root {
  --background: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f3f3f1;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --foreground: #161412;
  --muted: #69645f;
  --muted-strong: #3d3935;
  --primary: #ff6b18;
  --primary-2: #ff9a3d;
  --primary-dark: #df5d10;
  --sage: #63786c;
  --border: rgba(22, 20, 18, 0.1);
  --border-strong: rgba(22, 20, 18, 0.16);
  --shadow-card: 0 1px 3px rgba(20, 18, 16, 0.06), 0 18px 42px -26px rgba(20, 18, 16, 0.28);
  --shadow-glow: 0 22px 60px -24px rgba(255, 107, 24, 0.52);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: min(1320px, calc(100% - 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--foreground);
  background:
    radial-gradient(ellipse 80% 58% at 78% 4%, rgba(255, 107, 24, 0.13), transparent 58%),
    radial-gradient(ellipse 58% 42% at 8% 18%, rgba(99, 120, 108, 0.08), transparent 54%),
    linear-gradient(180deg, #fffdf9 0%, var(--background) 42%, #f4f4f2 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 20, 18, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 20, 18, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 72% 56% at 50% 0%, black 24%, transparent 78%);
}

body.modal-open {
  overflow: hidden;
}

::selection {
  background: rgba(255, 107, 24, 0.24);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(255, 107, 24, 0.42);
  outline-offset: 3px;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
.footer-brand {
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

.site-shell {
  width: 100%;
  overflow: clip;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  width: var(--container);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 14px 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px -24px rgba(19, 17, 15, 0.42);
  transform: translateX(-50%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  width: auto;
  height: 32px;
  max-width: 132px;
  object-fit: contain;
  transform: translateY(2px);
  margin-left: 10px;
}

.nav,
.hero-actions,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav {
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
}

.nav button,
.footer-meta button,
.text-button {
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  text-decoration: none;
  transition:
    color 220ms var(--ease),
    background 220ms var(--ease),
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.nav button {
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav button:hover,
.nav button[aria-current="page"] {
  color: var(--foreground);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px -20px rgba(22, 20, 18, 0.42);
}

.nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 18px 42px -24px rgba(255, 107, 24, 0.82);
}

.nav [data-installer-open] {
  color: #fff;
  background: linear-gradient(135deg, #171412, #3d3935);
  box-shadow: 0 16px 34px -24px rgba(22, 20, 18, 0.72);
}

.nav .nav-cta:hover,
.nav .nav-cta[aria-current="page"] {
  color: #fff;
  background: linear-gradient(135deg, #ff7424, #ffab52);
}

.nav [data-installer-open]:hover {
  color: #fff;
  background: linear-gradient(135deg, #24201d, #4a4540);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(76px, 8vw, 124px) 0;
  scroll-margin-top: 110px;
}

.hero.section {
  width: 100%;
  min-height: auto;
  display: grid;
  place-items: center;
  position: relative;
  padding: clamp(84px, 8.8vw, 112px) max(24px, calc((100vw - 1320px) / 2 + 24px)) clamp(28px, 3.6vw, 50px);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(251, 250, 247, 0.82), rgba(251, 250, 247, 0.68) 36%, rgba(251, 250, 247, 0.94) 100%),
    radial-gradient(ellipse 62% 52% at 68% 28%, rgba(255, 107, 24, 0.22), transparent 62%),
    url("./images/hero-energy.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--background));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 20, 18, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 20, 18, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 68% 58% at 50% 10%, black 24%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 107, 24, 0.24);
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-pill-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.hero-title {
  font-size: clamp(2.45rem, 4.35vw, 4.25rem);
  font-weight: 800;
  line-height: 0.97;
  color: var(--foreground);
  white-space: nowrap;
}

.hero-title-break {
  display: none;
}

.hero-accent,
.text-gradient {
  color: transparent;
  background: linear-gradient(135deg, var(--primary), #ffb24f);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  width: min(710px, 100%);
  margin: 10px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.5;
}

.hero-actions {
  justify-content: center;
  margin-top: 16px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease);
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-glow);
}

.button-secondary {
  color: var(--foreground);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
}

.section-heading {
  margin-bottom: 34px;
}

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.eyebrow,
.card-label,
.detail-label,
.advantage-index {
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h3,
.contact-copy h3 {
  max-width: 780px;
  font-size: clamp(2.35rem, 4.7vw, 4.8rem);
  font-weight: 800;
  line-height: 1.03;
}

.section-lead,
.section-note,
.category-note,
.advantage-card p,
.audience-card p,
.contact-copy p,
.contact-details p,
.footer-copy,
.form-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.section-lead {
  max-width: 710px;
  margin-top: 18px;
  font-size: 1.05rem;
}

.section-note {
  max-width: 320px;
}

.text-button {
  align-self: center;
  padding: 10px 0;
  color: var(--primary-dark);
  font-weight: 800;
}

.text-button:hover {
  color: var(--foreground);
  transform: translateX(2px);
}

.products-section {
  padding-top: clamp(86px, 8vw, 132px);
}

.products-page .topbar {
  background: rgba(255, 255, 255, 0.94);
}

.products-page .brand-lockup {
  display: inline-flex;
}

.product-list-page {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(148px, 14vw, 190px) 0 clamp(70px, 8vw, 118px);
}

.product-list-hero {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.product-list-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.product-list-heading h1 {
  max-width: 1050px;
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  font-weight: 800;
  line-height: 1;
  overflow-wrap: normal;
  word-break: normal;
}

.product-list-heading p {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.68;
}

.product-list-section {
  padding-top: 44px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 28px;
}

.product-card {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.product-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.12;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

.product-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
}

.product-card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #fff;
  object-fit: contain;
}

.product-card-body {
  display: grid;
  gap: 8px;
}

.product-card-body h2 {
  color: var(--foreground);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  font-weight: 500;
  line-height: 1.32;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.product-card-description {
  min-height: 2.9em;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-card-price {
  color: var(--foreground);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-empty {
  max-width: 620px;
  padding: 34px;
  border: 1px dashed rgba(255, 107, 24, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.product-empty h2 {
  font-size: 1.45rem;
  line-height: 1.2;
}

.product-empty p {
  margin: 10px 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.promotion-area {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.hero-promotion {
  width: min(920px, 100%);
  margin: 12px auto 0;
  margin-bottom: 0;
}

.promotion-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 24, 0.22);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 154, 61, 0.18), transparent 30%),
    var(--surface);
  box-shadow: 0 24px 72px -38px rgba(20, 18, 16, 0.44);
}

.hero-promotion .promotion-card {
  grid-template-columns: minmax(180px, 0.38fr) 1fr;
  min-height: 170px;
  text-align: left;
  border-color: rgba(255, 107, 24, 0.28);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 154, 61, 0.22), transparent 28%),
    rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 54px -32px rgba(20, 18, 16, 0.42);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.promotion-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--surface-muted);
}

.hero-promotion .promotion-media {
  min-height: 170px;
}

.promotion-media img {
  height: 100%;
  object-fit: cover;
}

.promotion-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(251, 250, 247, 0.64)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.2));
}

.promotion-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 52px);
}

.hero-promotion .promotion-body {
  padding: 20px 26px;
}

.promotion-eyebrow,
.promotion-meta {
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.promotion-eyebrow {
  margin-bottom: 12px;
}

.promotion-body h3 {
  max-width: 650px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
}

.hero-promotion .promotion-body h3 {
  font-size: clamp(1.35rem, 2.25vw, 2.05rem);
  line-height: 1.08;
}

.promotion-description {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.hero-promotion .promotion-description {
  margin-top: 8px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.promotion-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
}

.hero-promotion .promotion-footer {
  margin-top: 12px;
}

.promotion-meta {
  color: var(--sage);
  line-height: 1.4;
}

.promotion-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-glow);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

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

.categories-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}

.category-card {
  grid-column: span 4;
  position: relative;
  display: flex;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: inherit;
  text-decoration: none;
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease),
    border-color 260ms var(--ease);
}

.category-card:nth-child(1),
.category-card:nth-child(4) {
  grid-column: span 7;
}

.category-card:nth-child(2),
.category-card:nth-child(5) {
  grid-column: span 5;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 24, 0.38);
  box-shadow: 0 24px 68px -36px rgba(20, 18, 16, 0.42);
}

.category-card:focus-visible {
  outline: 3px solid rgba(255, 107, 24, 0.42);
  outline-offset: 4px;
}

.category-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--surface-muted);
}

.category-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

.category-card:hover .category-media img {
  transform: scale(1.05);
}

.category-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28) 54%, rgba(255, 255, 255, 0));
}

.category-body {
  position: relative;
  z-index: 1;
  width: min(360px, 72%);
  align-self: flex-end;
  padding: 24px;
}

.category-body h4,
.advantage-card h4,
.audience-card h4 {
  font-weight: 800;
  line-height: 1.16;
}

.category-body h4 {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.category-note {
  color: rgba(22, 20, 18, 0.72);
  font-size: 0.95rem;
}

.category-load-error {
  grid-column: 1 / -1;
  padding: 20px 22px;
  border: 1px dashed rgba(255, 107, 24, 0.38);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.section-alt {
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1320px) / 2 + 24px));
  background: var(--surface-muted);
}

.section-alt .section-heading {
  width: 100%;
  max-width: 1320px;
}

.audience-section .section-heading,
.contact-panel {
  width: var(--container);
}

.section-alt .section-heading,
.audience-section .section-heading {
  margin-inline: auto;
}

.advantage-grid,
.audience-grid,
.contact-details {
  display: grid;
  gap: 18px;
}

.advantage-grid {
  width: 100%;
  max-width: 1320px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
}

.advantage-card,
.audience-card,
.contact-details > div,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.advantage-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 24px;
}

.advantage-card h4,
.audience-card h4 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.advantage-index {
  color: var(--primary);
}

.audience-section {
  padding-bottom: clamp(86px, 8vw, 132px);
}

.audience-grid {
  grid-template-columns: repeat(2, 1fr);
}

.audience-card {
  min-height: 260px;
  padding: 32px;
}

.audience-highlight {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.24), transparent 34%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow-glow);
}

.audience-highlight .card-label,
.audience-highlight h4,
.audience-highlight p {
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 34px;
}

.contact-copy h3 {
  margin-bottom: 22px;
}

.contact-highlight {
  margin-top: 24px;
  color: var(--foreground);
  font-size: 1.12rem;
  font-weight: 700;
}

.contact-details {
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-details > div {
  padding: 18px;
}

.detail-label {
  margin-bottom: 6px;
  font-size: 0.66rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--foreground);
  font-weight: 500;
}

.contact-form input {
  min-height: 44px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 136px;
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(105, 100, 95, 0.62);
}

.installer-portal {
  display: grid;
  gap: 24px;
}

.installer-portal[hidden] {
  display: none;
}

.installer-portal-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.installer-portal-heading h3 {
  max-width: 780px;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  line-height: 1.04;
}

.installer-portal-heading p:last-child {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.installer-pdf-shell {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.installer-pdf-shell iframe {
  width: 100%;
  height: min(78vh, 860px);
  min-height: 560px;
  border: 0;
  background: #fff;
}

.installer-modal[hidden] {
  display: none;
}

.installer-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.installer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 20, 18, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.installer-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 154, 61, 0.18), transparent 30%),
    rgba(255, 255, 255, 0.92);
  box-shadow: 0 28px 90px -42px rgba(20, 18, 16, 0.58);
}

.installer-dialog-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.installer-dialog-header h3 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.02;
}

.installer-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(22, 20, 18, 0.06);
  cursor: pointer;
  font-weight: 800;
}

.installer-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(22, 20, 18, 0.06);
}

.installer-tabs button {
  min-height: 42px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
}

.installer-tabs button[aria-selected="true"] {
  color: var(--foreground);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.installer-form {
  display: grid;
  gap: 14px;
}

.installer-form[hidden] {
  display: none;
}

.installer-form label {
  display: grid;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.installer-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--foreground);
  background: #fff;
  font-weight: 600;
}

.installer-status {
  min-height: 1.25em;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.installer-status[data-tone="success"] {
  color: #27835c;
}

.installer-status[data-tone="error"] {
  color: #b83d22;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-footer p {
  max-width: 310px;
  font-size: 0.82rem;
}

.form-status {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status[data-tone="success"] {
  color: #27835c;
}

.form-status[data-tone="error"] {
  color: #b83d22;
}

.footer {
  width: 100%;
  display: grid;
  gap: 28px;
  padding: 46px max(24px, calc((100vw - 1320px) / 2 + 24px));
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.58);
}

.footer-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.footer-brand {
  color: var(--foreground);
  font-size: 1.12rem;
  font-weight: 800;
}

.footer-copy {
  margin-top: 8px;
  font-size: 0.92rem;
}

.footer-meta {
  justify-content: flex-end;
}

.footer-meta button {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-meta button:hover {
  color: var(--foreground);
}

.footer-partners {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-card);
}

.footer-partners-copy {
  max-width: 760px;
}

.footer-partners-copy .eyebrow {
  margin-bottom: 8px;
}

.footer-partners-copy p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.footer-partner-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  align-items: center;
  gap: 24px 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-partner-logos img {
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 58px;
  justify-self: center;
  object-fit: contain;
  opacity: 1;
}

.footer-partner-logos img[alt="Hanover Solar"] {
  max-height: 52px;
}

.footer-partner-logos img[alt="OUTES"] {
  max-width: 180px;
  max-height: 56px;
}

.footer-partner-logos img[alt="WattMaestro"] {
  max-width: 200px;
  max-height: 54px;
}

@media (max-width: 1060px) {
  :root {
    --container: min(100% - 32px, 1320px);
  }

  .topbar {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav {
    gap: 6px;
  }

  .promotion-card,
  .advantage-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-promotion .promotion-card {
    grid-template-columns: minmax(170px, 0.34fr) 1fr;
  }

  .promotion-media::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(251, 250, 247, 0.86)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.18));
  }

  .categories-grid {
    grid-auto-rows: 280px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card,
  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(4),
  .category-card:nth-child(5) {
    grid-column: span 6;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-partner-logos {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 24px, 1320px);
  }

  .topbar {
    position: absolute;
    width: var(--container);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav button {
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .hero.section {
    min-height: auto;
    padding-top: 146px;
  }

  .hero-title {
    font-size: clamp(2.05rem, 10.2vw, 3rem);
    white-space: normal;
  }

  .hero-title-break {
    display: block;
  }

  .hero-pill {
    justify-content: center;
    max-width: 100%;
  }

  .hero-actions,
  .promotion-footer,
  .form-footer,
  .installer-portal-heading,
  .product-list-heading,
  .footer-main,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .categories-grid,
  .product-grid,
  .advantage-grid,
  .audience-grid,
  .contact-details,
  .form-row {
    grid-template-columns: 1fr;
  }

  .product-list-page {
    padding-top: 170px;
  }

  .product-card-description {
    min-height: auto;
  }

  .categories-grid {
    grid-auto-rows: auto;
  }

  .category-card,
  .category-card:nth-child(1),
  .category-card:nth-child(2),
  .category-card:nth-child(4),
  .category-card:nth-child(5) {
    grid-column: 1;
    min-height: 360px;
  }

  .category-media::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.92) 64%),
      linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.14));
  }

  .category-body {
    width: 100%;
    padding: 22px;
  }

  .promotion-card {
    min-height: auto;
  }

  .hero-promotion {
    margin-top: 14px;
  }

  .hero-promotion .promotion-card {
    grid-template-columns: 1fr;
  }

  .promotion-media {
    min-height: 230px;
  }

  .hero-promotion .promotion-media {
    min-height: 150px;
  }

  .promotion-body {
    padding: 24px;
  }

  .promotion-body h3 {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
  }

  .promotion-link {
    width: 100%;
  }

  .split-heading {
    display: grid;
  }

  .section-heading h3,
  .contact-copy h3 {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
  }

  .audience-card,
  .advantage-card {
    min-height: auto;
  }

  .footer-meta {
    justify-content: flex-start;
  }

  .footer-partners {
    padding: 20px;
  }

  .footer-partner-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-partner-logos img,
  .footer-partner-logos img[alt="OUTES"],
  .footer-partner-logos img[alt="WattMaestro"] {
    max-width: 150px;
    max-height: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
