.project-details-button {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 700 0.86rem "DM Sans", sans-serif;
  cursor: pointer;
  text-align: center;
}

.project-details-button:hover,
.project-details-button:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.installation-details-modal,
.hygiene-details-modal,
.maintenance-details-modal {
  width: min(900px, 94vw);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
}

.installation-details-modal .modal-close,
.hygiene-details-modal .modal-close,
.maintenance-details-modal .modal-close {
  z-index: 2;
  color: var(--ink);
}

.installation-details-body,
.hygiene-details-body,
.maintenance-details-body {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: justify;
  text-justify: inter-word;
}

.installation-details-body h2,
.hygiene-details-body h2,
.maintenance-details-body h2 {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.installation-details-body .eyebrow,
.hygiene-details-body .eyebrow,
.maintenance-details-body .eyebrow {
  text-align: center;
}

.installation-details-body h3,
.hygiene-details-body h3,
.maintenance-details-body h3 {
  margin-top: 2rem;
  font-size: clamp(1.18rem, 2.2vw, 1.55rem);
  text-align: left;
}

.installation-details-body p:not(.eyebrow),
.hygiene-details-body p:not(.eyebrow),
.maintenance-details-body p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.installation-services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  text-justify: auto;
}

.installation-services-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink);
  line-height: 1.42;
  text-align: left;
}

.installation-services-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.installation-benefits-list {
  grid-template-columns: 1fr;
}

.installation-details-body .button,
.hygiene-details-body .button,
.maintenance-details-body .button {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .installation-details-modal,
  .hygiene-details-modal,
  .maintenance-details-modal {
    width: min(100%, 94vw);
  }

  .installation-details-body,
  .hygiene-details-body,
  .maintenance-details-body {
    padding: 2.25rem 1.35rem 1.75rem;
  }

  .installation-services-list {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
