/* =============================================================
   Solar page — reuses tokens from css/style.css (:root)
   ============================================================= */

/* ---------- shared page-banner base ---------- */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 90px;
  color: var(--paper);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-banner .eyebrow {
  color: var(--amber);
}

.page-banner h1 {
  color: var(--paper);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin: 10px 0 0;
  max-width: 20ch;
}

/* ---------- solar banner image (simplified) ---------- */
.solar-banner {
  background-image:
    linear-gradient(180deg, rgba(23, 35, 59, 0.75), rgba(23, 35, 59, 0.50)),
    url("../images/gallery/4.jpeg");
}
/* ---------- solar intro with image (left/right) ---------- */
.solar-intro {
  padding: 70px 0;
}

/* Fix heading color on light background */
.solar-intro h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 8px 0 18px;
  max-width: 22ch;
  color: var(--ink);
}

/* Fix eyebrow color on light background */
.solar-intro .eyebrow {
  color: var(--ink-soft);
}
.solar-intro p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 60ch;
  line-height: 1.7;
  margin-bottom: 16px;
}

.solar-intro p:last-of-type {
  margin-bottom: 0;
}

.solar-highlights {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--line);
}

.solar-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.solar-highlight i {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 2px;
}

.solar-highlight strong {
  font-weight: 600;
  color: var(--ink);
}

.solar-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.solar-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

/* ---------- benefit cards ---------- */
.solar-benefits {
  padding: 70px 0;
}

/* Fix heading color on light background */
.solar-benefits h2 {
  color: var(--ink);
}

/* Fix eyebrow color on light background */
.solar-benefits .eyebrow {
  color: var(--ink-soft);
}

.benefit-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Fix card titles (h3) inside white cards */
.benefit-card h3 {
  color: var(--ink);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--paper-dim);
  color: var(--sky-deep);
  margin-bottom: 16px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- size cards ---------- */
.system-sizes {
  padding: 70px 0;
}

/* Fix heading color on dark background */
.system-sizes h2 {
  color: var(--paper);
}

.size-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.size-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.size-kw {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--sky-deep);
}

.size-note {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.size-card-custom {
  background: var(--ink);
  border-color: var(--ink);
}

.size-card-custom .size-kw {
  color: var(--amber);
}

.size-card-custom .size-note {
  color: rgba(250, 246, 236, 0.7);
}

/* ---------- brands ---------- */
.solar-brands {
  padding: 70px 0;
}

/* Fix heading color on light background */
.solar-brands h2 {
  color: var(--ink);
}

/* Fix eyebrow color on light background */
.solar-brands .eyebrow {
  color: var(--ink-soft);
}

.product-block {
  margin-top: 40px;
}

.product-block:first-of-type {
  margin-top: 0;
}

.product-block-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.product-card img {
  max-width: 80px;
  height: auto;
  margin: 0 auto 10px;
  display: block;
}

.product-card figcaption {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.product-card-tags {
  background: var(--paper-dim);
  border-color: var(--line);
}

.tags-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.chip-list li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--card);
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---------- process ---------- */
.process {
  padding: 70px 0;
}

/* Fix heading color on dark background */
.process h2 {
  color: var(--paper);
}

/* Fix process step titles on dark background */
.process-list h3 {
  color: var(--paper);
}

.process-list {
  padding-left: 0;
  margin: 24px 0 0;
}

.process-list li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-deep);
}

.process-list h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.process-list p {
  margin-bottom: 0;
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- responsive ---------- */
@media (max-width: 992px) {
  .page-banner {
    padding: calc(var(--header-h) + 60px) 0 60px;
  }

  .solar-intro {
    padding: 50px 0;
  }

  .solar-intro p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .solar-intro p {
    font-size: 0.95rem;
  }

  .solar-highlight {
    font-size: 0.9rem;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .benefit-card {
    padding: 20px 18px;
  }

  .solar-image-wrapper {
    margin-top: 16px;
  }

  .solar-highlights {
    margin-top: 18px;
    padding-top: 16px;
  }
}

@media (max-width: 480px) {
  .page-banner {
    padding: calc(var(--header-h) + 40px) 0 40px;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .size-kw {
    font-size: 1.25rem;
  }

  .product-card img {
    max-width: 60px;
  }

  .solar-highlight {
    font-size: 0.85rem;
    padding: 6px 0;
  }

  .solar-highlight i {
    font-size: 1rem;
  }
}