/* Round 43. Self-contained rental and service components, mobile first. */
.service-flow, .rental-section {
  padding-block: clamp(3rem, 7vw, 6rem);
  scroll-margin-top: var(--header-height, 80px);
}
.service-flow { background: var(--puls-ink); color: var(--puls-paper); }
.service-flow__heading { max-width: 48rem; }
.service-flow__heading h2 { margin: 1.25rem 0; font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: -.04em; }
.service-flow__heading > p:last-child { color: #c4cbd3; margin: 0; }
.service-flow__steps { list-style: none; margin: 3rem 0; padding: 0; }
.service-flow__steps li { position: relative; padding: 0 0 2.5rem 3.5rem; min-width: 0; }
.service-flow__steps li:not(:last-child)::before { content: ''; position: absolute; left: 1rem; top: 1.5rem; bottom: 0; width: 1px; background: #647386; }
.service-flow__number { position: absolute; left: 0; top: 0; width: 2rem; color: var(--puls-blue-soft); font-family: var(--font-mono); font-size: .875rem; }
.service-flow__steps h3 { margin: 0 0 .75rem; font-size: 1.25rem; line-height: 1.3; }
.service-flow__steps p { margin: 0; max-width: 30ch; color: #c4cbd3; line-height: 1.6; }
.service-flow__steps li:last-child { padding-bottom: 0; }
.service-flow__cta { color: var(--puls-paper); min-height: 44px; display: inline-flex; align-items: center; }
.rental-section { background: var(--puls-ink); color: var(--puls-paper); overflow: clip; }
.rental-section__heading { margin-bottom: 1.75rem; }
.rental-section__heading h2 { margin: 0; font-size: .8125rem; line-height: 1.5; }
.rental-stage { position: relative; overflow-anchor: none; }
.rental-card { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--puls-paper); color: var(--puls-ink); padding: 1.25rem; gap: 1.5rem; }
.rental-card[hidden] { display: none; }
.rental-card__visual { margin: 0; min-width: 0; }
.rental-gallery { display: grid; gap: .75rem; min-width: 0; }
.rental-gallery__main { background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.rental-gallery__main img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.rental-gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: 2px 2px .5rem; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.rental-gallery__thumb { flex: 0 0 64px; width: 64px; height: 64px; min-height: 44px; padding: .25rem; border: 1px solid #b8bec6; background: #fff; cursor: pointer; scroll-snap-align: start; }
.rental-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.rental-gallery__thumb[aria-pressed="true"] { border: 2px solid var(--puls-blue); }
.rental-card__body { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.rental-heading { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: .25rem; }
.rental-heading h3 { margin: 0; font-size: clamp(1.375rem, 2.4vw, 2.25rem); line-height: 1.2; letter-spacing: -.035em; }
.rental-number { font-family: var(--font-mono); font-size: .875rem; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.rental-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; padding: 0; background: transparent; color: var(--puls-ink); font-size: 2rem; cursor: pointer; }
.rental-arrow:hover { background: #e5e8ec; color: var(--puls-blue); }
.rental-card__topline { display: flex; justify-content: flex-end; }
.rental-badge { font-size: .6875rem; font-family: var(--font-mono); color: var(--puls-blue); background: #e4eaf3; padding: .3rem .5rem; }
.rental-model { margin: 0; color: #4a5664; line-height: 1.5; font-size: .875rem; }
.rental-card__facts { margin: .5rem 0; }
.rental-card__facts > div { display: grid; grid-template-columns: 5.25rem minmax(0,1fr); gap: .75rem; padding: 1rem 0; border-top: 1px solid #ccd0d4; }
.rental-card__facts dt { color: #4a5664; font-size: .75rem; font-family: var(--font-mono); }
.rental-card__facts dd { margin: 0; min-width: 0; font-size: .9375rem; line-height: 1.5; }
.rental-card__capacity { font-weight: 500; }
.rental-card__price { display: block; font-size: 1.5rem; line-height: 1.2; }
.rental-card__price-note { display: block; color: #4a5664; font-size: .8125rem; margin-top: .35rem; }
.rental-details { border-block: 1px solid #ccd0d4; }
.rental-details summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-size: .875rem; }
.rental-details summary::-webkit-details-marker { display: none; }
.rental-details summary::after { content: '+'; color: var(--puls-blue); font-size: 1.25rem; }
.rental-details[open] summary::after { content: '−'; }
.rental-details ul { margin: 0 0 1.25rem; padding-left: 1.2rem; font-size: .875rem; line-height: 1.65; }
.rental-details li + li { margin-top: .5rem; }
.rental-card__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding-top: 1rem; margin-top: auto; }
.rental-policy { border: 0; border-bottom: 1px solid #9ba7b5; background: transparent; color: #394f6c; min-height: 44px; padding: .5rem 0; font-size: .875rem; cursor: pointer; }
.rental-card__footer .button { min-height: 44px; padding: .75rem 1rem; font-size: .8125rem; }
.rental-section :is(button,summary,a):focus-visible { outline: 3px solid var(--puls-blue); outline-offset: 3px; }
@media (min-width: 60rem) {
  .service-flow__steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-block: 4rem 3rem; }
  .service-flow__steps li { padding: 3.5rem 1.75rem 0 0; }
  .service-flow__steps li:not(:last-child)::before { top: .75rem; left: 2.5rem; right: .5rem; bottom: auto; width: auto; height: 1px; }
  .rental-card { grid-template-columns: minmax(0, 2fr) minmax(19rem, 1fr); gap: clamp(1.5rem,3vw,3rem); padding: clamp(1.5rem,3vw,2.5rem); align-items: start; }
  .rental-gallery { grid-template-columns: minmax(0,1fr) 64px; }
  .rental-gallery__main { aspect-ratio: 4/5; max-height: 34rem; }
  .rental-gallery__thumbs { flex-direction: column; padding-bottom: 2px; overflow-y: auto; overflow-x: hidden; }
  .rental-card__body { min-height: 34rem; }
}
/* Align hero groups while preserving a clear view of the background person. */
.hero .hero__content { width: min(100%, 58rem); margin-inline: auto; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.hero .hero__intro, .hero .hero__actions { width: 100%; margin: 0; padding: 0; }
.hero .hero__intro .eyebrow { margin: 0 0 1.25rem; }
.hero .hero__intro h1 { margin: 0; max-width: none; font-size: clamp(2.625rem,6.5vw,6rem); line-height: 1.02; }
.hero .hero__actions { display: block; }
.hero .hero__lead { margin: 0 0 1.5rem; max-width: 44rem; }
.hero .button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; width: 100%; }
.hero .button-row .button { flex: 1 1 10rem; min-width: max-content; max-width: none; min-height: 44px; }
.hero .hero__inner { display: flex; padding-top: calc(var(--header-height, 80px) + clamp(2rem,5vh,4rem)); padding-bottom: max(2rem,env(safe-area-inset-bottom)); min-height: 100svh; }
.hero .hero__content { min-height: 0; }
.header-cta.header-cta--quiet { min-height: 44px; }
@media (prefers-reduced-motion: reduce) { .rental-gallery__thumbs { scroll-behavior: auto; } }


/* Round 44: one visual axis, external set navigation, restrained hierarchy. */
.site-header {
  background: rgba(15, 19, 25, 0.96);
}
.header-cta.header-cta--quiet {
  min-block-size: 2.75rem;
  padding-inline: 0.9rem;
  font-size: 0.6875rem;
  letter-spacing: 0.045em;
}
.hero .hero__inner {
  min-block-size: 100svh;
  padding-block-start: calc(var(--header-block) + clamp(2rem, 5svb, 4rem));
  padding-block-end: max(clamp(2rem, 7svb, 5rem), env(safe-area-inset-bottom));
}
.hero .hero__content {
  inline-size: min(100%, 58rem);
  min-block-size: 0;
  margin-inline: auto;
  padding: 0;
  gap: clamp(2rem, 5svb, 4rem);
}
.hero .hero__intro,
.hero .hero__actions {
  inline-size: 100%;
  margin: 0;
  padding: 0;
}
.hero .hero__intro .eyebrow {
  margin-block-end: clamp(0.75rem, 2vw, 1.25rem);
}
.hero .hero__intro h1 {
  max-inline-size: 12ch;
  margin: 0;
  font-size: clamp(2.625rem, 6.5vw, 6rem);
  line-height: 0.98;
}
.hero .hero__lead {
  max-inline-size: 44rem;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}
.hero .button-row {
  inline-size: min(100%, 52rem);
  margin: 0 auto;
  justify-content: center;
  gap: clamp(0.5rem, 1.2vw, 0.875rem);
}
.hero .button-row .button {
  flex: 1 1 0;
  min-inline-size: 0;
  min-block-size: 2.75rem;
}
.rental-stage-shell {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1rem);
}
.rental-stage {
  min-inline-size: 0;
}
.rental-stage__arrow {
  display: grid;
  inline-size: 2.75rem;
  block-size: 2.75rem;
  min-block-size: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(245, 245, 243, 0.42);
  background: transparent;
  color: var(--puls-paper);
  font-size: 1.25rem;
  line-height: 1;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.rental-stage__arrow:hover,
.rental-stage__arrow:focus-visible {
  border-color: var(--puls-blue-soft);
  background: var(--puls-blue);
  color: var(--puls-white);
}
.rental-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.rental-heading h3 {
  min-inline-size: 0;
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  line-height: 0.98;
}
.rental-number {
  color: var(--puls-blue);
  font-family: var(--font-mono);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.rental-set-id {
  flex: 0 0 auto;
  padding-block-start: 0.3rem;
  color: var(--puls-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.rental-card__topline {
  justify-content: flex-start;
  margin-block-start: 0.7rem;
}
.rental-badge {
  min-block-size: 1.5rem;
  align-items: center;
  padding: 0.35rem 0.55rem;
  background: rgba(37, 81, 152, 0.11);
  color: var(--puls-blue);
  font-size: 0.625rem;
  letter-spacing: 0.055em;
}
.rental-model {
  max-inline-size: 32ch;
}
.rental-card__facts {
  margin-block-start: 0.25rem;
}
.rental-card__facts > div {
  grid-template-columns: minmax(4.75rem, 0.32fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 0.85rem;
}
.rental-card__facts dt {
  color: var(--puls-muted);
}
.rental-card__facts dd {
  color: var(--puls-ink);
}
.rental-details summary {
  font-weight: 600;
}
.rental-card__footer {
  align-items: center;
}
.rental-card__footer .button {
  min-inline-size: 11.5rem;
}
.rental-carousel :is(.rental-carousel__dots, .rental-stage__dots, [data-set-dots]) {
  display: none !important;
}
@media (min-width: 60rem) {
  .rental-card {
    grid-template-columns: minmax(0, 2fr) minmax(19rem, 1fr);
  }
  .rental-gallery {
    grid-template-columns: minmax(0, 1fr) 4.5rem;
  }
  .rental-gallery__main {
    aspect-ratio: 4 / 5;
  }
}
@media (max-width: 48rem) {
  .hero .hero__content {
    gap: clamp(1.5rem, 4svb, 2.5rem);
  }
  .hero .button-row {
    inline-size: 100%;
  }
  .rental-stage-shell {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0.75rem;
  }
  .rental-stage-shell .rental-stage {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .rental-stage__arrow {
    grid-row: 1;
  }
  .rental-stage__arrow:first-child {
    grid-column: 1;
    justify-self: start;
  }
  .rental-stage__arrow:last-child {
    grid-column: 2;
    justify-self: end;
  }
  .rental-heading h3 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }
  .rental-card__footer {
    align-items: stretch;
  }
  .rental-card__footer .button,
  .rental-policy {
    inline-size: 100%;
    text-align: center;
  }
}
@media (max-width: 30rem) {
  .hero .button-row .button {
    flex-basis: 100%;
  }
}
@media (max-height: 44rem) and (min-width: 48.0625rem) {
  .hero .hero__content {
    gap: 1.5rem;
  }
  .hero .hero__lead {
    margin-bottom: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rental-stage__arrow {
    transition: none;
  }
}


/* Round 45: keep the process chapters self-contained in the viewport. */
.service-flow,
.installation-section {
  min-block-size: calc(100svb - var(--header-block));
  scroll-margin-block-start: var(--header-block);
}


/* Round 46: installation as a quiet system schematic, not a card grid. */
.installation-section .installation-stages {
  position: relative;
  display: grid;
  gap: 0;
  border-block-start: 1px solid rgba(245, 245, 243, 0.24);
}
.installation-section .installation-stages::before {
  position: absolute;
  inset-block: 1.35rem;
  inset-inline-start: 0.78rem;
  inline-size: 1px;
  background: rgba(169, 199, 245, 0.42);
  content: "";
}
.installation-section .installation-stage {
  position: relative;
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  min-block-size: 0;
  padding: 1.25rem 0;
  border: 0;
  border-block-end: 1px solid rgba(245, 245, 243, 0.2);
  background: transparent;
}
.installation-section .installation-stage:last-child {
  border-block-end: 0;
}
.installation-section .installation-stage__number {
  position: relative;
  z-index: 1;
  display: grid;
  inline-size: 1.6rem;
  block-size: 1.6rem;
  place-items: center;
  border: 1px solid var(--puls-blue-soft);
  background: var(--puls-ink);
  color: var(--puls-blue-soft);
  font-size: 0.625rem;
}
.installation-section .installation-stage__marker {
  display: none;
}
.installation-section .installation-stage h3 {
  margin-block-start: 0.15rem;
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  line-height: 1.08;
}
.installation-section .installation-stage p {
  max-inline-size: 34ch;
  margin-block-start: 0.5rem;
  color: rgba(245, 245, 243, 0.7);
}
@media (max-width: 48rem) {
  .installation-section .installation-stages::before {
    inset-inline-start: 0.68rem;
  }
  .installation-section .installation-stage {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.75rem;
    padding-block: 1rem;
  }
}


/* Round 47: keep the header contact action available without competing with the hero. */
.header-cta.header-cta--quiet {
  border: 1px solid rgba(169, 199, 245, 0.68);
  background: transparent;
  color: var(--puls-blue-soft);
}
.header-cta.header-cta--quiet:hover,
.header-cta.header-cta--quiet:focus-visible {
  border-color: var(--puls-blue-soft);
  background: rgba(37, 81, 152, 0.2);
  color: var(--puls-white);
}
