/* HVA, podstrony uslug. Wartosci i progi: tokens.css, blok "Podstrony uslug".
   Wspolne bloki (site-header, button, faq, contact) przychodza ze styl.css
   bez zmian. Tresc uslugi to jedna karta z wierszy rozdzielonych linia,
   bez pudelek, w tym samym jezyku co rozwijane menu uslug. */

.breadcrumb, .service-hero__inner, .service-sheet, .service-more {
  width: min(var(--page-width), calc(var(--full) - var(--page-gutter) * 2));
  margin-inline: auto;
}

.breadcrumb { padding-top: var(--breadcrumb-top); }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: var(--zero) var(--space-2); margin: var(--zero); padding: var(--zero); list-style: none; color: var(--muted); font-size: var(--text-xs); }
.breadcrumb__list li { display: flex; align-items: center; gap: var(--space-2); }
.breadcrumb__list li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumb__list a { display: inline-flex; align-items: center; min-height: var(--touch-target); }
.breadcrumb__list [aria-current] { color: var(--ink); font-weight: var(--weight-medium); }

/* Pierwszy ekran: nazwa uslugi z miastem, akapit odpowiadajacy wprost,
   jeden przycisk, ocena jako jedna linia tekstu. */
.service-hero__inner { display: grid; grid-template-columns: var(--service-hero-grid); grid-template-areas: var(--service-hero-areas); gap: var(--service-hero-gap); align-items: center; padding-block: var(--space-4) var(--section-gap); }
.service-hero__intro { grid-area: intro; min-width: var(--zero); }
.service-hero__title { max-width: var(--service-title-measure); font-size: var(--page-title); font-weight: var(--weight-display); line-height: var(--hero-title-leading); letter-spacing: var(--heading-tracking); overflow-wrap: anywhere; }
.service-hero__answer { max-width: var(--hero-note-width); margin-top: var(--space-5); font-size: var(--service-answer-size); line-height: var(--text-leading); }
.service-hero__booking { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.service-hero__button { gap: var(--space-3); max-width: var(--full); white-space: normal; }
.service-hero__whatsapp { width: var(--hero-whatsapp-size); height: var(--hero-whatsapp-size); flex-shrink: var(--zero); fill: currentColor; }
.service-hero__phone { display: inline-flex; align-items: center; min-height: var(--touch-target); font-size: var(--text-sm); }
.service-hero__rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); max-width: var(--full); min-height: var(--touch-target); margin-top: var(--space-4); color: var(--ink); text-decoration: none; }
.service-hero__rating img { width: var(--hero-rating-platform-size); height: var(--hero-rating-platform-size); }
.service-hero__score { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-semibold); font-variant-numeric: tabular-nums; }
.service-hero__scale { color: var(--muted); font-weight: var(--weight-regular); }
.service-hero__source { color: var(--muted); font-size: var(--text-sm); line-height: var(--compact-leading); overflow-wrap: anywhere; }
.service-hero__rating:hover .service-hero__source { text-decoration: underline; }
.service-hero__photo { grid-area: photo; min-width: var(--zero); }
.service-hero__photo img { width: var(--full); aspect-ratio: var(--service-photo-ratio); object-fit: cover; object-position: var(--service-photo-position); border-radius: var(--photo-radius); }
.service-hero__photo figcaption { margin-top: var(--space-2); color: var(--muted); font-size: var(--text-xs); line-height: var(--compact-leading); }

/* Karta uslugi: pytanie po lewej, odpowiedz po prawej, wiersze dzieli linia. */
.service-sheet { border-top: var(--rule) solid var(--line); }
.service-row { display: grid; grid-template-columns: var(--service-row-grid); gap: var(--space-5) var(--section-gap); padding-block: var(--service-row-pad); border-bottom: var(--rule) solid var(--line); }
.service-row__head, .service-row__body { min-width: var(--zero); }
.service-row__title { font-size: var(--service-row-title); font-weight: var(--weight-semibold); line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); overflow-wrap: anywhere; }
.service-row__lead { max-width: var(--service-lead-measure); margin-top: var(--space-3); color: var(--muted); font-size: var(--text-sm); line-height: var(--text-leading); overflow-wrap: anywhere; }

.service-cases { display: grid; gap: var(--space-4); margin: var(--zero); }
.service-cases li { display: grid; grid-template-columns: var(--hero-check-size) minmax(var(--zero), 1fr); gap: var(--space-3); align-items: start; font-size: var(--service-case-size); font-weight: var(--weight-medium); line-height: var(--compact-leading); overflow-wrap: anywhere; }
.service-cases svg { width: var(--hero-check-size); height: var(--hero-check-size); color: var(--action); stroke: currentColor; stroke-width: var(--hero-check-stroke); stroke-linecap: round; stroke-linejoin: round; }

.service-terms { margin: var(--zero); }
.service-terms > div { display: grid; grid-template-columns: var(--service-term-grid); gap: var(--space-1) var(--space-5); padding-block: var(--space-4); border-top: var(--rule) solid var(--line); }
.service-terms > div:first-child { padding-top: var(--zero); border-top: none; }
.service-terms > div:last-child { padding-bottom: var(--zero); }
.service-terms dt { font-weight: var(--weight-semibold); line-height: var(--compact-leading); }
.service-terms dd { color: var(--muted); font-size: var(--text-sm); line-height: var(--text-leading); }

.service-people { display: grid; grid-template-columns: var(--service-people-columns); gap: var(--space-6); margin: var(--zero); }
.service-people__item { display: grid; grid-template-columns: var(--service-avatar-size) minmax(var(--zero), 1fr); gap: var(--space-4); align-items: start; }
.service-people__photo { width: var(--service-avatar-size); height: var(--service-avatar-size); border-radius: var(--radius-pill); object-fit: cover; background: var(--surface); }
.service-people__name { font-size: var(--text-md); font-weight: var(--weight-semibold); line-height: var(--compact-leading); overflow-wrap: anywhere; }
.service-people__role { margin-top: var(--space-1); font-size: var(--text-sm); }
.service-people__credential { margin-top: var(--space-1); color: var(--muted); font-size: var(--text-xs); line-height: var(--compact-leading); overflow-wrap: anywhere; }

.service-quotes { display: grid; grid-template-columns: var(--service-quote-columns); gap: var(--space-6) var(--section-gap); }
.service-quote blockquote p { font-family: var(--font-display); font-size: var(--service-quote-size); font-weight: var(--weight-medium); line-height: var(--service-quote-leading); letter-spacing: var(--subheading-tracking); }
.service-quote blockquote p::before { content: "\201C"; }
.service-quote blockquote p::after { content: "\201D"; }
.service-quote figcaption { margin-top: var(--space-3); color: var(--muted); font-size: var(--text-xs); }
.service-quotes__link { display: inline-flex; align-items: center; gap: var(--space-2); min-height: var(--touch-target); margin-top: var(--space-5); font-size: var(--text-sm); font-weight: var(--weight-medium); }
.service-quotes__link img { width: var(--hero-rating-platform-size); height: var(--hero-rating-platform-size); }

/* Pozostale uslugi: same nazwy, jak w menu naglowka. */
.service-more { padding-bottom: var(--section-space); }
.service-more__title { margin-bottom: var(--space-5); font-size: var(--service-row-title); font-weight: var(--weight-semibold); line-height: var(--heading-leading); letter-spacing: var(--heading-tracking); }
.service-related { display: grid; grid-template-columns: var(--service-related-columns); margin: var(--zero); border-block: var(--rule) solid var(--line); }
.service-related li + li { border-top: var(--rule) solid var(--line); }
.service-related a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: var(--service-related-height); padding-inline: var(--space-1); font-family: var(--font-display); font-size: var(--nav-panel-font); font-weight: var(--weight-medium); line-height: var(--compact-leading); text-decoration: none; }
.service-related a:hover { text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: var(--rule-strong); }
.service-related svg { width: var(--service-arrow-size); height: var(--service-arrow-size); flex-shrink: var(--zero); fill: none; stroke: currentColor; stroke-width: var(--hero-check-stroke); stroke-linecap: round; stroke-linejoin: round; transition: transform var(--motion-fast) var(--motion-ease); }
.service-related a:hover svg { transform: translateX(var(--space-1)); }
@media (min-width: 48rem) {
  .service-related li + li { border-top: none; border-left: var(--rule) solid var(--line); }
  .service-related a { padding-inline: var(--space-5); }
}
