.pm-services-page {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  width: 100%;
  overflow-x: clip;
  padding-top: clamp(1rem, 2vw, 2rem);
}

.pm-services-page > * {
  min-width: 0;
  max-width: 100%;
}

.pm-services-brand-hero {
  width: 100%;
}

.pm-services-brand-hero__card {
  display: grid;
  gap: 1.3rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  align-content: start;
  padding: clamp(1.35rem, 2.8vw, 2.6rem);
}

.pm-services-brand-hero__card > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
}

.pm-services-brand-hero__heading {
  min-width: 0;
  max-width: none;
}

.pm-services-brand-hero__summary {
  display: grid;
  gap: 1rem;
  min-width: 0;
  max-width: 52rem;
}

.pm-services-brand-hero__title {
  min-width: 0;
}

.pm-services-brand-hero__title span {
  overflow-wrap: anywhere;
}

.pm-services-brand-hero__card .styles-module-scss-module__3PyzfW__description {
  max-width: 52rem;
  color: var(--pm-ink-700);
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  line-height: 1.55;
}

.pm-services-brand-hero__card .styles-module-scss-module__3PyzfW__h1 .styles-module-scss-module__3PyzfW__secondary {
  font-size: clamp(2rem, 3.1vw, 3.6rem);
}

.pm-services-brand-hero__card .styles-module-scss-module__3PyzfW__h1 .styles-module-scss-module__3PyzfW__primary {
  font-size: clamp(3.2rem, 6.6vw, 7.4rem);
  line-height: 0.82;
  letter-spacing: 0;
}

.pm-services-hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  width: min(100%, 44rem);
}

.pm-services-hero-search__field {
  flex: 1 1 18rem;
  min-width: min(100%, 18rem);
}

.pm-services-hero-search__button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 2.9375rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.05rem;
  line-height: 1;
}

.pm-services-content {
  display: grid;
  gap: 1rem;
}

.pm-services-content-head {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
}

.pm-services-kicker {
  color: var(--pm-brand-700);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pm-services-section-title {
  margin-top: 0.35rem;
  color: var(--pm-ink-900);
  font-size: clamp(1.5rem, 2.2vw, 2.35rem);
  font-weight: 850;
  line-height: 1.1;
}

.pm-services-result-count {
  width: fit-content;
  padding: 0.6rem 0.82rem;
  border: 1px solid rgba(199, 219, 255, 0.95);
  border-radius: 999px;
  background: #fff;
  color: var(--pm-brand-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-services-price-list {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.pm-services-price-groups {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.pm-services-price-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(199, 219, 255, 0.92);
  border-radius: 1.25rem;
  background: #fff;
}

.pm-services-price-group__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-width: 0;
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1.1rem;
}

.pm-services-price-group__summary::-webkit-details-marker {
  display: none;
}

.pm-services-price-group__title {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
}

.pm-services-price-group__icon {
  display: grid;
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(199, 219, 255, 0.86);
  border-radius: 1.05rem;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.98));
}

.pm-services-price-group__icon img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: contain;
}

.pm-services-price-group__title strong {
  color: var(--pm-ink-900);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 850;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pm-services-price-group__count {
  flex: 0 0 auto;
  border: 1px solid rgba(199, 219, 255, 0.92);
  border-radius: 999px;
  background: rgba(247, 251, 255, 0.98);
  color: var(--pm-brand-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 0.5rem 0.65rem;
  text-transform: uppercase;
}

.pm-services-price-rows {
  display: grid;
  min-width: 0;
  border-top: 1px solid rgba(199, 219, 255, 0.72);
}

.pm-services-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, auto);
  gap: 1rem;
  align-items: end;
  min-width: 0;
  padding: 0.95rem 1.1rem;
}

.pm-services-price-row + .pm-services-price-row {
  border-top: 1px solid rgba(19, 20, 22, 0.08);
}

.pm-services-price-row__main {
  display: grid;
  gap: 0.32rem;
  min-width: 0;
}

.pm-services-price-row__main h3 {
  color: var(--pm-ink-900);
  font-size: clamp(0.95rem, 0.95vw, 1.06rem);
  font-weight: 720;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pm-services-price-row__main p {
  color: var(--pm-ink-500);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.pm-services-price-row__side {
  display: grid;
  gap: 0.46rem;
  justify-items: end;
}

.pm-services-price-row__price {
  color: var(--pm-brand-800);
  font-size: clamp(0.98rem, 1vw, 1.12rem);
  font-weight: 850;
  line-height: 1.15;
  text-align: right;
  white-space: nowrap;
}

.pm-services-price-row__booking {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.92);
  color: var(--pm-brand-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.48rem 0.66rem;
  text-decoration: none;
  text-transform: uppercase;
}

.pm-services-price-row__booking:hover {
  border-color: rgba(37, 99, 235, 0.42);
  background: #2563eb;
  color: #fff;
}

@media (min-width: 900px) {
  .pm-services-brand-hero__card {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 30rem);
    align-items: end;
  }

  .pm-services-brand-hero__summary {
    justify-self: end;
  }
}

@media (min-width: 1600px) {
  .pm-services-price-row {
    grid-template-columns: minmax(0, min(72rem, 100%)) minmax(10rem, auto);
    justify-content: space-between;
  }

  .pm-services-price-row__main {
    max-width: 72rem;
  }
}

@media (max-width: 640px) {
  .pm-services-page {
    padding-top: 1rem;
  }

  .pm-services-brand-hero__card {
    border-radius: 1.25rem;
    padding: 1.35rem;
  }

  .pm-services-brand-hero__heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .pm-services-brand-hero__mark {
    width: 3.15rem;
    height: 3.15rem;
  }

  .pm-services-brand-hero__card .styles-module-scss-module__3PyzfW__h1 .styles-module-scss-module__3PyzfW__secondary {
    font-size: 2rem;
    line-height: 1.05;
  }

  .pm-services-brand-hero__card .styles-module-scss-module__3PyzfW__h1 .styles-module-scss-module__3PyzfW__primary {
    font-size: clamp(2.55rem, 10.2vw, 3.15rem);
    line-height: 0.9;
    letter-spacing: 0;
  }

  .pm-services-hero-search {
    display: grid;
  }

  .pm-services-hero-search__field,
  .pm-services-hero-search__button {
    width: 100%;
  }

  .pm-services-content-head {
    display: grid;
    align-items: start;
  }

  .pm-services-price-group {
    border-radius: 1rem;
  }

  .pm-services-price-group__summary {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 0.85rem;
  }

  .pm-services-price-group__icon {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 0.9rem;
  }

  .pm-services-price-group__icon img {
    width: 2.75rem;
    height: 2.75rem;
  }

  .pm-services-price-group__count {
    justify-self: start;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .pm-services-price-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    align-items: start;
    padding: 0.85rem;
  }

  .pm-services-price-row__side {
    justify-items: start;
  }

  .pm-services-price-row__price {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .pm-services-brand-hero__heading {
    display: flex;
  }
}

@media (max-width: 399px) {
  .pm-services-brand-hero__mark {
    width: 2.8rem;
    height: 2.8rem;
  }
}
