/* Homepage service selection, isolated from booking and catalogue styles. */
.home-services {
  --services-ink: #123d5e;
  --services-muted: #4d6070;
  --services-blue: #1f57c3;
  padding: 56px 0 64px;
  background: #fff;
  color: var(--services-ink);
  font-family: Manrope, "Segoe UI", sans-serif;
}
.home-services__inner { max-width: 1280px; margin-inline: auto; padding-inline: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 24px; }
.home-services__header { grid-area: 1 / 1; }
.home-services__header h2 { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
.home-services__header p { margin: 12px 0 0; color: var(--services-muted); font-size: 16px; line-height: 1.6; }
.home-services__all {
  grid-area: 1 / 2;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #b8cbd8;
  border-radius: 8px;
  color: var(--services-blue);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.home-services__all:hover { background: #f0f7fb; border-color: var(--services-blue); }
.home-services__grid { grid-area: 2 / 1 / auto / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-services__grid--small { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.home-services__card { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid #dce5eb; border-radius: 12px; overflow: hidden; background: #fff; }
.home-services__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3f6; }
.home-services__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-services__grid--small .home-services__media { aspect-ratio: 2 / 1; }
.home-services__price { position: absolute; top: 16px; left: 16px; padding: 6px 10px; border-radius: 6px; background: #fff; color: var(--services-ink); font-size: 13px; font-weight: 600; }
.home-services__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px; }
.home-services__body h3 { margin: 0; color: var(--services-ink); font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.home-services__body p { margin: 12px 0 20px; color: var(--services-muted); font-size: 16px; line-height: 1.6; }
.home-services__link { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; color: var(--services-blue); font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #9cafd2; }
.home-services__link:hover { color: #1747a5; text-decoration-color: currentColor; }
.home-services a:focus-visible { outline: 3px solid var(--services-blue); outline-offset: 4px; border-radius: 4px; }
.home-services__empty { grid-column: 1 / -1; margin: 0; line-height: 1.6; }
@media (max-width: 1023px) {
  .home-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-services__grid--small { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .home-services__header { align-items: flex-start; }
}
@media (max-width: 639px) {
  .home-services { padding-block: 36px 40px; }
  .home-services__inner { padding-inline: 20px; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-services__all { grid-area: 3 / 1; width: 100%; }
  .home-services__header h2 { max-width: 20ch; font-size: 28px; }
  .home-services__header p { margin-top: 10px; }
  .home-services__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .home-services__media, .home-services__grid--small .home-services__media { aspect-ratio: 16 / 9; }
  .home-services__body { padding: 20px; }
}
