/* ============================================================
   Solution detail page — section layout
   Continues the equipment detail page's grammar: a hero with a
   fact strip, alternating white / soft sections, cards with a
   3px top edge, label/value rows, and a blue closing band with
   the numbered checklist. Colours and type come from tokens.css;
   .eyebrow, .section-heading, .nz-chip, .text-link and the
   .nz-spec renderer are global. Local prefix: nz-sol-.
   ============================================================ */

.nz-sol {
  overflow-x: clip;
}

/* ---- Section rhythm (§5: 96px desktop, 52–68px phone) ---- */
.nz-sol-section {
  padding: 96px 0;
}

.nz-sol-section--soft {
  background: var(--gray-bg);
}

.nz-sol-section--blue {
  background: var(--blue);
  color: var(--blue-soft);
}

.nz-sol-section--tight {
  padding: 34px 0;
}

.nz-sol-section .nz-related {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.nz-sol-head {
  margin-bottom: 42px;
}

.nz-sol-head .section-heading {
  margin-bottom: 0;
}

.nz-sol-head .section-heading__copy h2 {
  max-width: 26ch;
  margin-bottom: 0;
}

@media (max-width: 940px) {
  .nz-sol-head {
    margin-bottom: 30px;
  }
}

@media (max-width: 900px) {
  .nz-sol-section {
    padding: 68px 0;
  }
}

@media (max-width: 650px) {
  .nz-sol-section {
    padding: 52px 0;
  }
}

/* ---- Page open: title, tags, actions beside the picture ---- */
.nz-sol-hero {
  padding: 40px 0 76px;
  background: var(--white);
}

.nz-sol-hero .nz-breadcrumbs {
  margin-bottom: 28px;
}

.nz-sol-hero__grid {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

.nz-sol-hero__copy {
  min-width: 0;
}

.nz-sol-hero__title {
  max-width: 22ch;
  margin-bottom: 16px;
}

.nz-sol-hero__lead {
  max-width: 62ch;
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.65;
}

.nz-sol-hero__media {
  margin: 0;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--gray-bg);
  overflow: hidden;
}

.nz-sol-hero__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
}

@media (max-width: 1024px) {
  .nz-sol-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.nz-sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.nz-sol-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 26px;
  margin-top: 30px;
}

.nz-sol-facts {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 56px 0 0;
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-sol-facts__row {
  padding: 20px 24px;
  border-left: 1px solid var(--gray-line);
}

.nz-sol-facts__row:first-child {
  border-left: 0;
}

.nz-sol-facts dt {
  color: var(--gray-text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nz-sol-facts dd {
  margin: 6px 0 0;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ---- Body copy of a section ---- */
.nz-sol-prose {
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.nz-sol-prose > *:last-child {
  margin-bottom: 0;
}

/* ---- The promise: one sentence over the problem cards ---- */
.nz-sol-promise {
  max-width: 66ch;
  margin: 0 0 30px;
  padding: 22px 26px;
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.6;
}

/* ---- Card rows: the problem arc, in and out, fit, scope ---- */
.nz-sol-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.nz-sol-card {
  padding: 24px 26px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-sol-card--fit {
  border-top: 3px solid var(--green);
}

.nz-sol-card--nofit {
  border-top: 3px solid var(--gray-line);
}

.nz-sol-card__label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 1.05rem;
}

/* ---- A condition still to be confirmed: framed, not buried ---- */
.nz-sol-assumption {
  margin: 20px 0 0;
  padding: 22px 26px;
  border: 1px dashed var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-sol-assumption .nz-sol-card__label {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ---- Process steps: the order the material flows ---- */
.nz-sol-steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nz-sol-step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--gray-line);
}

.nz-sol-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.nz-sol-step:last-child {
  padding-bottom: 0;
}

.nz-sol-step__num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.nz-sol-step__body {
  flex: 1 1 auto;
  min-width: 0;
}

.nz-sol-step__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.nz-sol-step__name {
  margin: 0;
  color: var(--blue);
  font-size: 1.12rem;
}

.nz-sol-step__stage {
  margin: 6px 0 0;
  color: var(--gray-text);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nz-sol-step__purpose {
  margin: 12px 0 0;
  max-width: 68ch;
}

/* The role of the equipment inside a step: a framed sub-panel, so equipment
   and its duty read as one block. */
.nz-sol-step__role {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--gray-bg);
}

.nz-sol-step__rolelabel {
  display: block;
  color: var(--gray-text);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nz-sol-step__role .nz-sol-prose {
  font-size: 14.5px;
}

.nz-sol-step__equip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: 14px 0 0;
}

.nz-sol-step__equip .text-link {
  font-weight: 600;
}

/* ---- The flow or layout drawing above the step ladder ---- */
.nz-sol-flow {
  margin: 0 0 26px;
  padding: 14px 14px 0;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.nz-sol-flow__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
  background: var(--white);
}

.nz-sol-flow__cap {
  padding: 10px 4px;
  color: var(--gray-text);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 650px) {
  .nz-sol-flow {
    padding: 8px 8px 0;
  }
}

/* ---- Photos: the section as built ---- */
.nz-sol-media {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.nz-sol-media__item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--gray-bg);
  overflow: hidden;
}

.nz-sol-media__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nz-sol-media__cap {
  padding: 10px 14px;
  color: var(--gray-text);
  font-size: 13px;
  line-height: 1.5;
}

/* ---- In, out and how much: the capacity figure ---- */
.nz-sol-capacity {
  display: grid;
  gap: 18px 40px;
  align-items: center;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  margin: 20px 0 0;
  padding: 26px 30px;
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-sol-capacity__figure {
  margin: 0;
  color: var(--blue);
  font-size: 2.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.nz-sol-capacity__unit {
  display: block;
  color: var(--gray-text);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.nz-sol-capacity__basis .nz-sol-card__label {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.nz-sol-capacity__basis .nz-sol-prose {
  font-size: 14.5px;
}

@media (max-width: 820px) {
  .nz-sol-capacity {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Utilities, site and interfaces: framed panels ---- */
.nz-sol-panels {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.nz-sol-panel {
  padding: 24px 26px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-sol-panel__label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 1.05rem;
}

.nz-sol-panel__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--gray-line);
  color: var(--gray-text);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---- Label / value rows inside a panel ---- */
.nz-sol-rows {
  margin: 0;
}

.nz-sol-rows__row {
  display: grid;
  gap: 2px 18px;
  grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
  padding: 11px 0;
  border-top: 1px solid var(--gray-line);
}

.nz-sol-rows__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.nz-sol-rows dt {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.nz-sol-rows dd {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .nz-sol-rows__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ---- Targets: metric, figure, and how it is judged ---- */
.nz-sol-metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin: 0;
}

.nz-sol-metric {
  padding: 20px 24px;
  border: 1px solid var(--gray-line);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
}

.nz-sol-metric dt {
  color: var(--blue);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.nz-sol-metric dd {
  margin: 8px 0 0;
}

.nz-sol-metric__target {
  display: block;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.nz-sol-metric__judge {
  display: block;
  margin-top: 5px;
  color: var(--gray-text);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---- Scope of supply: + and – marks, not colour alone ---- */
.nz-sol-scope {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nz-sol-scope__item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--gray-line);
}

.nz-sol-scope__item:first-child {
  border-top: 0;
}

.nz-sol-scope__mark {
  flex: none;
  width: 16px;
  color: var(--green-dark);
  font-weight: 700;
}

.nz-sol-card--out .nz-sol-scope__mark {
  color: var(--gray-text);
}

.nz-sol-scope__body {
  flex: 1 1 auto;
  min-width: 0;
}

.nz-sol-scope__name {
  display: block;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.nz-sol-scope__note {
  display: block;
  margin-top: 3px;
  color: var(--gray-text);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---- The blue band: what we confirm before a quotation ----
   White on #1B3770 is about 11.5:1 and #B9C7E4 about 6.8:1, so the copy
   passes AA; the numbered list is a sequence, not a badge. */
.nz-sol-section--blue h2,
.nz-sol-section--blue .eyebrow,
.nz-sol-section--blue .nz-sol-checklist__name {
  color: var(--white);
}

.nz-sol-section--blue .section-heading__aside,
.nz-sol-section--blue .nz-sol-checklist__note,
.nz-sol-section--blue .nz-sol-bluecta__note {
  color: var(--blue-soft);
}

.nz-sol-confirm {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px 56px;
  align-items: start;
}

.nz-sol-confirm__main {
  min-width: 0;
}

/* The quotation-reference picture: same framing language as the checklist
   items, so the panel reads as part of the band. */
.nz-sol-confirm__media {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.nz-sol-confirm__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--white);
}

.nz-sol-confirm__cap {
  display: block;
  padding: 10px 14px;
  color: var(--blue-soft);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .nz-sol-confirm {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

.nz-sol-checklist {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nz-sol-checklist__item {
  display: flex;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.nz-sol-checklist__num {
  flex: none;
  color: var(--yellow);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.nz-sol-checklist__name {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.nz-sol-checklist__note {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 1.55;
}

.nz-sol-bluecta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin: 40px 0 0;
}

.nz-sol-bluecta__note {
  margin: 0;
  max-width: 52ch;
  font-size: 14px;
}

/* ---- A record with no details yet ---- */
.nz-sol-empty {
  max-width: 60ch;
  margin: 0 auto;
  padding: 40px 32px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.nz-sol-empty__title {
  margin: 0 0 12px;
}

.nz-sol-empty__text {
  margin: 0 0 22px;
  color: var(--gray-text);
  line-height: 1.65;
}

.nz-sol-empty__cta {
  margin: 0;
}
