/* Nova Clad — shared service process timeline.
   Matches the approved Residential Roofing layout and corner treatment. */
section.nc-service-process {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-block: clamp(32px, 6vw, 80px);
  padding-inline: max(5%, calc((100% - 1280px) / 2 + 5%));
  background: var(--bg, #f3f7f6);
  color: #504d49;
  font-family: var(--f-body, Arimo, Arial, sans-serif);
  font-size: 18px;
  line-height: 1.5;
  scroll-margin-top: 8.5rem;
}
section.nc-service-process > :not(.nc-process-corner) {
  position: relative;
  z-index: 1;
}
section.nc-service-process > h2.nc-process-title {
  font-family: var(--f-display, Oswald, "Arial Narrow", Arial, sans-serif);
  font-size: clamp(30px, 4vw, 52px) !important;
  font-weight: 700;
  line-height: 1.25 !important;
  letter-spacing: -.035em !important;
  text-transform: uppercase !important;
  text-align: left;
  text-wrap: balance;
  max-width: none;
  color: #504d49;
  margin: 0 0 46px;
}
section.nc-service-process > .nc-process-intro {
  margin: -22px 0 32px;
  max-width: 80ch;
  font-size: 18px;
  line-height: 1.5;
  color: #504d49;
}
section.nc-service-process > ol.nc-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}
section.nc-service-process[data-step-count="5"] > ol.nc-process-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
section.nc-service-process[data-step-count="6"] > ol.nc-process-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
section.nc-service-process li.nc-process-step {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 20px 0 0;
  border: 0;
  background: transparent;
}
section.nc-service-process li.nc-process-step::before {
  content: "";
  position: absolute;
  left: 22px;
  right: -4px;
  top: 21px;
  height: 2px;
  background: #a2cccf;
}
section.nc-service-process li.nc-process-step:last-child::before {
  display: none;
}
section.nc-service-process .nc-step-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #276d73;
  color: #fff;
  font-family: var(--f-body, Arimo, Arial, sans-serif);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
}
section.nc-service-process li.nc-process-step > h3 {
  margin: 20px 0 7px;
  font-family: var(--f-display, Oswald, "Arial Narrow", Arial, sans-serif);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #504d49;
  text-align: left;
}
section.nc-service-process .nc-step-copy {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: #504d49;
  text-align: left;
}
section.nc-service-process .nc-step-phase {
  display: block;
  margin: 16px 0 4px;
  font-size: .75rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .08em;
  color: #0a7075;
}
section.nc-service-process .nc-step-phase + h3 {
  margin-top: 0;
}
section.nc-service-process .nc-step-tip {
  display: block;
  margin-top: 10px;
  font-size: .8rem;
  line-height: 1.5;
  font-weight: 500;
  color: #085a5e;
}
section.nc-service-process > .nc-process-action {
  margin-top: 24px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
section.nc-service-process > .nc-process-corner {
  --corner-back: #242424;
  --corner-front: #0a7075;
  position: absolute;
  display: block;
  width: clamp(112px, 22vw, 320px);
  height: clamp(112px, 22vw, 320px);
  overflow: hidden;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
section.nc-service-process > .nc-process-corner::before,
section.nc-service-process > .nc-process-corner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}
section.nc-service-process > .nc-process-corner::before {
  width: 72%;
  height: 100%;
  background: var(--corner-back);
}
section.nc-service-process > .nc-process-corner::after {
  width: 100%;
  height: 72%;
  background: var(--corner-front);
}
section.nc-service-process > .nc-process-corner-top {
  top: 0;
  left: 0;
}
section.nc-service-process > .nc-process-corner-bottom {
  --corner-back: #0a7075;
  --corner-front: #242424;
  right: 0;
  bottom: 0;
  transform: rotate(180deg);
}
@media (max-width: 1100px) {
  section.nc-service-process[data-step-count="5"] > ol.nc-process-steps,
  section.nc-service-process[data-step-count="6"] > ol.nc-process-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  section.nc-service-process[data-step-count="5"] li.nc-process-step,
  section.nc-service-process[data-step-count="6"] li.nc-process-step {
    padding: 0 0 30px 65px;
    min-height: 80px;
  }
  section.nc-service-process[data-step-count="5"] .nc-step-number,
  section.nc-service-process[data-step-count="6"] .nc-step-number {
    position: absolute;
    left: 0;
    top: 0;
  }
  section.nc-service-process[data-step-count="5"] li.nc-process-step::before,
  section.nc-service-process[data-step-count="6"] li.nc-process-step::before {
    left: 21px;
    right: auto;
    top: 22px;
    width: 2px;
    height: 100%;
  }
  section.nc-service-process[data-step-count="5"] li.nc-process-step > h3,
  section.nc-service-process[data-step-count="6"] li.nc-process-step > h3 {
    margin: 0 0 4px;
  }
  section.nc-service-process[data-step-count="6"] .nc-step-phase {
    margin: 0 0 4px;
  }
}
@media (max-width: 720px) {
  section.nc-service-process > h2.nc-process-title {
    margin-bottom: 28px;
  }
  section.nc-service-process > .nc-process-intro {
    margin: -10px 0 28px;
  }
  section.nc-service-process > ol.nc-process-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  section.nc-service-process li.nc-process-step {
    padding: 0 0 30px 65px;
    min-height: 80px;
  }
  section.nc-service-process .nc-step-number {
    position: absolute;
    left: 0;
    top: 0;
  }
  section.nc-service-process li.nc-process-step::before {
    left: 21px;
    right: auto;
    top: 22px;
    width: 2px;
    height: 100%;
  }
  section.nc-service-process li.nc-process-step > h3 {
    margin: 0 0 4px;
  }
  section.nc-service-process .nc-step-phase {
    margin: 0 0 4px;
  }
}
/* Mobile only: keep decorative corners clear of headings and timeline. */
@media(max-width:720px){section.nc-service-process > .nc-process-corner{width:28px!important;height:28px!important;}section.nc-service-process{padding-block-start:40px; padding-block-end:40px;}}
