/* ════════════════════════════════════════════════════════════
   SINGLE USŁUGA — czysty layout oparty na ACF Flexible Content
   Spójny z single-lekarz.css i single-blog.css
═════════════════════════════════════════════════════════════ */

:root {
  --us-radius: 14px;
  --us-radius-card: 18px;
  --us-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
  --us-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --us-shadow-lg: 0 16px 40px rgba(223, 59, 163, 0.12);
}

/* Globalna ochrona przed wyciekiem poza viewport — overflow-clip pozwala sticky działać */
.us-hero, .us-wrap, .us-doctors-sec, .sec.testi {
  max-width: 100%;
  overflow-x: clip;
}
/* WAŻNE: .us-inner, .us-hero-inner BEZ overflow — bo psuje sticky w sidebar */

/* ───────────────── Breadcrumbs (jak na blog/lekarz) ───────────────── */
.pr-breadcrumbs-top {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.pr-breadcrumbs-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--px);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--slate);
  flex-wrap: wrap;
}
.pr-breadcrumbs-inner a {
  color: var(--slate);
  text-decoration: none;
  transition: color .2s;
}
.pr-breadcrumbs-inner a:hover { color: var(--mag); }
.pr-breadcrumbs-inner i { font-size: 14px; opacity: .45; }
.pr-breadcrumbs-inner strong {
  color: var(--mag);
  font-weight: 600;
}

/* ───────────────── HERO ───────────────── */
.us-hero {
  background: linear-gradient(180deg, var(--blush, #fdf0f7) 0%, transparent 100%);
  padding: clamp(28px, 4vw, 56px) var(--px) clamp(40px, 5vw, 64px);
}
.us-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.us-hero-content { min-width: 0; }
.us-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--white);
  border: 1px solid rgba(223, 59, 163, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mag);
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.us-hero-pill i { font-size: 14px; }
.us-h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.us-content-h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 36px;
  padding: 6px 0 10px 22px;
  letter-spacing: -0.02em;
  max-width: 820px;
  position: relative;
}
.us-content-h1::before {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 4px;
  background: linear-gradient(180deg, var(--mag, #DF3BA3) 0%, #C1268A 100%);
  border-radius: 4px;
}
.us-content-h1 + p,
.us-content-h1 + section,
.us-content-h1 + .us-section,
.us-content-h1 + .us-prose,
.us-content-h1 + div { margin-top: 0; }
.us-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--slate);
  margin: 0 0 24px;
}
.us-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.us-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--white);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate);
  box-shadow: var(--us-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.us-meta-chip i {
  font-size: 15px;
  color: var(--mag);
}
.us-meta-chip-accent {
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d, #b1287f) 100%);
  color: var(--white);
  border-color: transparent;
}
.us-meta-chip-accent i { color: var(--white); }

.us-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.us-btn-primary,
.us-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--us-radius);
  text-decoration: none;
  cursor: pointer;
  transition: all .2s var(--eo);
  border: 1.5px solid transparent;
  line-height: 1;
}
.us-btn-primary {
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d, #b1287f) 100%);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(223, 59, 163, 0.28);
}
.us-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(223, 59, 163, 0.4);
}
.us-btn-primary i { font-size: 18px; }
.us-btn-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid rgba(223, 59, 163, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.us-btn-secondary:hover {
  background: var(--blush, #fdf0f7);
  border-color: var(--mag);
  color: var(--mag);
  transform: translateY(-1px);
}
.us-btn-secondary i {
  color: var(--mag);
  font-size: 18px;
}

.us-hero-image {
  position: relative;
  border-radius: var(--us-radius-card);
  overflow: hidden;
  box-shadow: var(--us-shadow-md);
  aspect-ratio: 3/4;
  max-height: 620px;
  background: var(--blush, #fdf0f7);
}
.us-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.us-hero-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fefafc 0%, #fdf2f9 60%, #fef6fa 100%);
  position: relative;
  overflow: hidden;
}
/* radial highlight */
.us-hero-image-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.7) 0%, transparent 60%),
    radial-gradient(circle at 80% 85%, rgba(223,59,163,.08) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.us-hero-image-fallback i {
  font-size: 96px;
  color: var(--mag, #DF3BA3);
  position: relative;
  z-index: 2;
}
/* Inline SVG — magenta line icon, duża, statyczna */
.us-hero-image-fallback svg.usluga-icon-svg,
.us-hero-image-fallback .usluga-icon-svg,
.us-hero-image-fallback .us-hero-icon {
  width: clamp(180px, 42%, 320px);
  height: auto;
  aspect-ratio: 1/1;
  color: var(--mag, #DF3BA3);
  stroke: currentColor;
}

/* SVG ikona w pill nad H1 */
.us-hero-pill .us-pill-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ───────────────── LAYOUT MAIN + SIDEBAR ───────────────── */
.us-wrap {
  width: 100%;
  padding: clamp(40px, 5vw, 64px) var(--px);
}
.us-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.us-main { min-width: 0; max-width: 100%; }
.us-section { max-width: 100%; }
.us-section-body { overflow-wrap: break-word; word-wrap: break-word; }
.us-section-body img,
.us-section-body iframe,
.us-section-body video { max-width: 100%; height: auto; }

/* ───────────────── SEKCJE TREŚCI ───────────────── */
.us-section {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.us-section:last-child { margin-bottom: 0; }

.us-section-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.us-section-title i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mag-w, #fef4fa);
  color: var(--mag);
  border-radius: 12px;
  font-size: 20px;
  margin-top: 3px;
}
.us-section-title span { flex: 1; padding-top: 4px; }
.us-section-intro {
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0 0 22px;
  padding-left: 58px;
}

/* ───────────────── MODUŁ A: TEKST ───────────────── */
.us-section-body {
  font-size: 17px;
  line-height: 1.78;
  color: #3d4757;
  padding-left: 58px;
  width: 100%;
}
.us-section-body p {
  margin: 0 0 18px;
  color: #3d4757;
}
.us-section-body p:last-child { margin-bottom: 0; }
.us-section-body h3 {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.us-section-body > *:first-child { margin-top: 0; }
.us-section-body h3::before {
  content: '';
  width: 4px;
  height: 26px;
  background: linear-gradient(180deg, var(--mag) 0%, var(--mag-d) 100%);
  border-radius: 2px;
  flex-shrink: 0;
}
.us-section-body h4 {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin: 26px 0 12px;
}
.us-section-body strong, .us-section-body b { color: var(--ink); font-weight: 600; }
.us-section-body em, .us-section-body i { font-style: italic; }
.us-section-body a {
  color: var(--mag);
  text-decoration: underline;
  text-decoration-color: rgba(223, 59, 163, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color .2s;
}
.us-section-body a:hover { text-decoration-color: var(--mag); }

/* Listy w treści — ładne markery z magenta check */
.us-section-body ul,
.us-section-body ol {
  margin: 0 0 18px !important;
  padding: 0 !important;
  list-style: none !important;
}
.us-section-body ul li,
.us-section-body ol li {
  position: relative;
  padding: 8px 0 8px 38px !important;
  margin-bottom: 6px;
  line-height: 1.7;
  font-size: 17px;
  list-style: none !important;
}
.us-section-body ul li::before {
  content: '\eb80' !important; /* RemixIcon: ri-checkbox-circle-fill */
  font-family: 'remixicon' !important;
  position: absolute;
  left: 4px;
  top: 9px;
  width: auto;
  height: auto;
  background: transparent;
  color: var(--mag);
  font-size: 20px;
  line-height: 1.65;
  border-radius: 0;
  box-shadow: none;
  display: inline;
}
.us-section-body ol {
  counter-reset: us-ol;
}
.us-section-body ol li {
  counter-increment: us-ol;
  padding-left: 42px !important;
}
.us-section-body ol li::before {
  content: counter(us-ol) !important;
  font-family: var(--f-ui) !important;
  position: absolute;
  left: 0;
  top: 7px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d, #b1287f) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px rgba(223, 59, 163, 0.25);
}

/* Strong w listach treści — subtelny magenta */
.us-section-body li strong,
.us-section-body li b {
  color: var(--mag-d, #b1287f);
  font-weight: 700;
}

.us-section-body blockquote {
  margin: 24px 0;
  padding: 20px 24px 20px 56px;
  background: var(--mag-w, #fef4fa);
  border-left: 4px solid var(--mag);
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  position: relative;
}
.us-section-body blockquote::before {
  content: '\201C';
  position: absolute;
  top: 4px;
  left: 18px;
  font-family: var(--f-serif);
  font-size: 48px;
  color: var(--mag);
  line-height: 1;
  opacity: 0.4;
}
.us-section-body blockquote p { margin: 0; }
.us-section-body blockquote em { color: var(--ink); font-style: italic; }

/* Obrazki w treści */
.us-section-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0;
  box-shadow: var(--us-shadow-md);
  display: block;
}
.us-section-body figure { margin: 24px 0; }
.us-section-body figure img { margin: 0; }
.us-section-body figcaption {
  font-size: 13px;
  color: var(--gray);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Tabele — ładne stylowanie */
.us-section-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--us-shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 14.5px;
}
.us-section-body table thead {
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d, #b1287f) 100%);
  color: var(--white);
}
.us-section-body table thead th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-family: var(--f-ui);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.us-section-body table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--white);
  transition: background .2s;
}
.us-section-body table tbody tr:nth-child(even) {
  background: rgba(223, 59, 163, 0.02);
}
.us-section-body table tbody tr:hover {
  background: var(--mag-w, #fef4fa);
}
.us-section-body table tbody tr:last-child { border-bottom: 0; }
.us-section-body table td {
  padding: 12px 18px;
  color: var(--slate);
  line-height: 1.55;
}
.us-section-body table td strong { color: var(--ink); }
.us-section-body .table-scroll {
  overflow-x: auto;
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}
.us-section-body .table-scroll table { margin: 0; }

/* Kod */
.us-section-body code {
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  color: var(--mag-d, #b1287f);
}

/* ───────────────── MODUŁ B: LISTA punktów ───────────────── */
.us-list {
  list-style: none;
  padding: 0 0 0 58px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.us-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.us-list-item:hover {
  box-shadow: var(--us-shadow-md);
  transform: translateY(-1px);
  border-color: rgba(223, 59, 163, 0.2);
}
.us-list-check {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--mag);
  margin-top: 1px;
}
.us-list-body { flex: 1; min-width: 0; }
.us-list-title {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}
.us-list-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin: 6px 0 0;
}

/* ───────────────── MODUŁ C: STEP-BY-STEP ───────────────── */
.us-steps {
  list-style: none;
  padding: 0 0 0 58px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.us-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  transition: box-shadow .25s, transform .25s, border-color .2s;
  position: relative;
}
.us-step:hover {
  box-shadow: var(--us-shadow-md);
  transform: translateY(-1px);
  border-color: rgba(223, 59, 163, 0.2);
}
.us-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d, #b1287f) 100%);
  color: var(--white);
  border-radius: 14px;
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 400;
  box-shadow: 0 4px 14px rgba(223, 59, 163, 0.25);
}
.us-step-num i { font-size: 26px; }
.us-step-num span { line-height: 1; }
.us-step-body { min-width: 0; }
.us-step-title {
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.3;
}
.us-step-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate);
  margin: 0;
}

/* ───────────────── MODUŁ D: FAQ akordeon ───────────────── */
.us-faq {
  padding-left: 58px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.us-faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.us-faq-item[open] {
  border-color: rgba(223, 59, 163, 0.25);
  box-shadow: var(--us-shadow-md);
}
.us-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .2s;
}
.us-faq-q::-webkit-details-marker { display: none; }
.us-faq-q:hover { color: var(--mag); }
.us-faq-q span { flex: 1; line-height: 1.45; }
.us-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--mag-w, #fef4fa);
  color: var(--mag);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform .25s, background .2s;
}
.us-faq-item[open] .us-faq-icon {
  transform: rotate(45deg);
  background: var(--mag);
  color: var(--white);
}
.us-faq-a {
  padding: 16px 22px 20px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--slate);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: -1px;
}
.us-faq-a p { margin: 0 0 12px; }
.us-faq-a p:last-child { margin-bottom: 0; }
.us-faq-a a { color: var(--mag); }

/* ───────────────── SIDEBAR — Info-box + Cennik ───────────────── */
.us-sidebar {
  position: sticky;
  top: calc(var(--nav-h, 80px) + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── CENNIK CARD (lista powiązanych pozycji cennika z prawej strony) ─── */
.us-cennik-card {
  background: var(--white, #fff);
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26,21,35,.02), 0 8px 24px -8px rgba(26,21,35,.05);
}
.us-cennik-head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  background: linear-gradient(180deg, #fdf2f9 0%, #fff 100%);
}
.us-cennik-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mag, #DF3BA3);
}
.us-cennik-eyebrow i { font-size: 13px; }
.us-cennik-title {
  font-family: var(--f-serif, 'DM Serif Display', serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink, #1a1523);
  margin: 6px 0 0;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.us-cennik-list {
  list-style: none;
  padding: 0; margin: 0;
}
.us-cennik-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,.04);
  color: var(--ink);
}
.us-cennik-row:last-child {
  border-bottom: 0;
}
.us-cennik-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}

/* Fallback gdy brak powiązanych pozycji — duży link do /cennik/ */
.us-cennik-fallback {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff 0%, #fdf2f9 100%);
  border: 1px solid rgba(223,59,163,.14);
  border-radius: 16px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--eo), border-color .25s var(--eo), box-shadow .25s var(--eo);
}
.us-cennik-fallback:hover {
  transform: translateY(-2px);
  border-color: rgba(223,59,163,.30);
  box-shadow: 0 8px 22px -6px rgba(223,59,163,.18);
}
.us-cf-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mag, #DF3BA3) 0%, #C1268A 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px -2px rgba(223,59,163,.32);
}
.us-cf-text {
  flex: 1; display: flex; flex-direction: column; min-width: 0;
}
.us-cf-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 2px;
}
.us-cf-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.us-cf-arrow {
  font-size: 18px;
  color: var(--mag);
  transition: transform .25s var(--eo);
}
.us-cennik-fallback:hover .us-cf-arrow { transform: translateX(3px); }
.us-cennik-price {
  font-size: 13px;
  color: var(--slate, #585369);
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}
.us-cennik-price strong {
  font-weight: 700;
  color: var(--mag, #DF3BA3);
  font-size: 14px;
}
.us-cennik-price s {
  color: var(--gray, #8b8595);
  font-weight: 400;
  margin-right: 4px;
  font-size: 11.5px;
  opacity: .7;
}
.us-cennik-price em {
  color: var(--gray);
  font-style: normal;
  font-size: 12.5px;
}

.us-cennik-all {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 18px;
  background: rgba(223,59,163,.04);
  color: var(--mag, #DF3BA3);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid rgba(223,59,163,.10);
  transition: background .2s var(--eo), gap .2s var(--eo);
}
.us-cennik-all:hover {
  background: rgba(223,59,163,.10);
  gap: 9px;
}
.us-cennik-all i { font-size: 15px; }

@media (max-width: 1024px) {
  .us-sidebar {
    position: static;
  }
  .us-cennik-list { max-height: none; }
}
.us-info-box {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--us-radius-card);
  padding: 24px;
  box-shadow: var(--us-shadow-md);
}
.us-info-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.us-info-title i { font-size: 14px; }
.us-info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 22px;
}
.us-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}
.us-info-row dt {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
}
.us-info-row dt i {
  font-size: 16px;
  color: var(--mag);
}
.us-info-row dd {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  line-height: 1.4;
}
.us-info-price {
  font-family: var(--f-serif);
  font-size: 20px !important;
  font-weight: 400 !important;
  color: var(--mag) !important;
  line-height: 1.1 !important;
}
.us-info-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--mag) 0%, var(--mag-d, #b1287f) 100%);
  color: var(--white);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  border-radius: var(--us-radius);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(223, 59, 163, 0.25);
  transition: transform .2s, box-shadow .2s;
}
.us-info-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(223, 59, 163, 0.4);
}
.us-info-cta i { font-size: 18px; }
.us-info-cennik,
.us-info-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 20px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 14.5px;
  border: 1.5px solid rgba(223, 59, 163, 0.18);
  border-radius: var(--us-radius);
  text-decoration: none;
  transition: all .2s;
}
.us-info-cennik:hover,
.us-info-tel:hover {
  background: var(--blush, #fdf0f7);
  border-color: var(--mag);
  color: var(--mag);
}
.us-info-cennik i,
.us-info-tel i { color: var(--mag); font-size: 17px; }

.us-info-lead {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 16px;
}

/* Sidebar Opinie (Trustmate) — pod info-boxem */
.us-info-reviews {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--us-radius-card);
  padding: 20px 18px 22px;
  margin-top: 18px;
  box-shadow: var(--us-shadow-sm);
}
.us-info-reviews-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.us-info-reviews-title i { color: #F59E0B; font-size: 14px; }
.us-info-reviews-wrap {
  overflow: hidden;
  max-width: 100%;
}
.us-info-reviews-wrap > div,
.us-info-reviews-wrap iframe {
  max-width: 100% !important;
  width: 100% !important;
}

/* ───────────────── KARUZELA LEKARZY ───────────────── */
.us-docs {
  background: linear-gradient(180deg, transparent 0%, var(--mag-w, #fef4fa) 100%);
  padding: clamp(48px, 5vw, 72px) var(--px);
}
.us-docs-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.us-docs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 3vw, 40px);
  flex-wrap: wrap;
}
.us-docs-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 8px;
}
.us-docs-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.us-docs-nav { display: flex; gap: 8px; }
.us-docs-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid rgba(223, 59, 163, 0.2);
  color: var(--mag);
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.us-docs-nav-btn:hover {
  background: var(--mag);
  color: var(--white);
  border-color: var(--mag);
}
.us-docs-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 16px;
}
.us-docs-carousel::-webkit-scrollbar { display: none; }
.us-doc-card {
  flex: 0 0 calc((100% - 16px * 3) / 4);
  min-width: 220px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--us-radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  box-shadow: var(--us-shadow-sm);
}
.us-doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--us-shadow-lg);
  border-color: rgba(223, 59, 163, 0.25);
}
.us-doc-photo {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blush, #fdf0f7) 0%, var(--mag-w, #fef4fa) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.us-doc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .35s;
}
.us-doc-card:hover .us-doc-photo img { transform: scale(1.04); }
.us-doc-photo i {
  font-size: 56px;
  color: rgba(223, 59, 163, 0.3);
}
.us-doc-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.us-doc-name {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}
.us-doc-spec {
  font-size: 13px;
  color: var(--slate);
  line-height: 1.45;
  margin: 0;
}
.us-doc-cta {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mag);
  text-decoration: none;
}
.us-doc-cta i { transition: transform .2s; }
.us-doc-card:hover .us-doc-cta i { transform: translateX(3px); }

/* ───────────────── POWIĄZANE USŁUGI ───────────────── */
.us-related {
  padding: clamp(48px, 5vw, 72px) var(--px);
  background: var(--white);
}
.us-related-inner { max-width: var(--max); margin: 0 auto; }
.us-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.us-related-head h2 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--ink);
  margin: 0;
}
.us-related-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.us-related-all:hover { color: var(--mag); }
.us-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.us-related-card {
  border-radius: var(--us-radius-card);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .2s;
  box-shadow: var(--us-shadow-sm);
}
.us-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--us-shadow-md);
  border-color: rgba(223, 59, 163, 0.2);
}
.us-related-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0;
}
.us-related-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--blush, #fdf0f7) 0%, var(--mag-w, #fef4fa) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.us-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.us-related-thumb i {
  font-size: 56px;
  color: rgba(223, 59, 163, 0.3);
}
.us-related-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  margin: 18px 18px 8px;
  line-height: 1.25;
}
.us-related-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mag);
  margin: 0 18px 18px;
}
.us-related-more i { transition: transform .2s; }
.us-related-card:hover .us-related-more i { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════
   Sekcja "Opinie pacjentek" — 1:1 z homepage (Trustmate)
═════════════════════════════════════════════════════════════ */
.sec.testi {
  background: var(--blush, #fdf0f7);
  padding: clamp(48px, 6vw, 80px) var(--px);
}
.sec.testi .sec-head {
  margin-bottom: clamp(32px, 4vw, 52px);
  max-width: var(--max);
  margin-inline: auto;
}
.sec.testi .sec-head.ctr { text-align: center; }
.sec.testi .slbl {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mag);
  margin-bottom: 12px;
}
.sec.testi .stitle {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.sec.testi .stitle em { font-style: italic; }
.sec.testi .stitle .hl { color: var(--mag); }
.sec.testi .sec-content {
  max-width: var(--max);
  margin: 0 auto;
}
.sec.testi .testi-trustmate {
  min-height: 240px;
  max-width: 100%;
  overflow: hidden;
}
.sec.testi .testi-trustmate > div,
.sec.testi .testi-trustmate iframe {
  max-width: 100% !important;
  width: 100% !important;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════════════════════════════ */

/* Tablet duży 769-1024px — sidebar węższy, hero ciągle 50/50 */
@media (min-width: 769px) and (max-width: 1024px) {
  .us-hero-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .us-inner { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; }
}

/* Tablet/mobile ≤768px — single column, sidebar pod treścią */
@media (max-width: 768px) {
  .us-hero {
    padding: clamp(20px, 4vw, 32px) var(--px) clamp(28px, 4vw, 40px);
  }
  .us-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .us-hero-image {
    order: -1;
    aspect-ratio: 16/10;
    max-height: 360px;
  }
  .us-h1 { font-size: clamp(28px, 4.5vw, 38px); }
  .us-content-h1 { font-size: 20px; margin-bottom: 20px; }
  .us-lead { font-size: 16px; }
  .us-hero-meta { gap: 8px; }
  .us-meta-chip { font-size: 12.5px; padding: 7px 12px; }

  .us-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .us-sidebar {
    position: static;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  /* Większe odstępy między sekcjami i pod nagłówkami na mobile —
     wyraźniejsze odcięcie sekcji na wąskim ekranie. */
  .us-section { margin-bottom: 60px; }
  .us-section-title {
    font-size: 24px;
    gap: 12px;
    margin-bottom: 28px;
  }
  .us-section-title i {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .us-section-body,
  .us-section-intro,
  .us-list,
  .us-steps,
  .us-faq { padding-left: 0 !important; }

  /* Sekcja "Kto wykonuje" — header zawija się */
  .us-doctors-sec .doc-head { flex-direction: column; align-items: flex-start; }
  .us-doctors-sec .doc-head-right { width: 100%; justify-content: space-between; }
}

/* Telefon 768px */
@media (max-width: 768px) {
  .us-wrap { padding: 32px var(--px); }
  /* Większe odstępy między sekcjami / pod nagłówkami na mobile. */
  .us-section { margin-bottom: 60px; }
  /* Luźniejszy tekst na mobile — większy odstęp między akapitami,
     większa interlinia i odstępy w listach (czytelniej na wąskim ekranie). */
  .us-section-body { font-size: 16px; line-height: 1.85; }
  .us-section-body p { margin-bottom: 24px; }
  .us-section-body h3 { font-size: 22px; margin: 44px 0 14px; }
  .us-section-body h3::before { height: 22px; }
  .us-section-body ul li,
  .us-section-body ol li { font-size: 16px; line-height: 1.8; margin-bottom: 12px; }
  .us-section-intro { font-size: 16px; line-height: 1.8; }

  .us-list-item { padding: 14px 16px; }
  .us-step { grid-template-columns: 52px 1fr; gap: 14px; padding: 18px; }
  .us-step-num { width: 52px; height: 52px; font-size: 22px; }

  .us-faq-q { font-size: 16px; padding: 16px 18px; }
  .us-faq-a { font-size: 15px; padding: 14px 18px 18px; }
}

/* Małe telefony 580px */
@media (max-width: 640px) {
  .pr-breadcrumbs-inner {
    font-size: 12px;
    gap: 4px;
    padding: 10px var(--px);
    /* Obetnij długie linki, pokaż tylko ostatnie 2 */
  }
  .pr-breadcrumbs-inner a:not(:last-of-type) {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .us-hero { padding: 16px var(--px) 24px; }
  .us-h1 { font-size: 26px; line-height: 1.15; }
  .us-content-h1 { font-size: 18px; margin-bottom: 18px; }
  .us-lead { font-size: 15.5px; line-height: 1.6; margin-bottom: 20px; }
  .us-hero-pill { font-size: 11px; padding: 6px 12px; }
  .us-hero-image { aspect-ratio: 16/11; max-height: 280px; }

  .us-hero-cta { flex-direction: column; gap: 10px; }
  .us-btn-primary, .us-btn-secondary {
    width: 100%;
    padding: 13px 20px;
    font-size: 14.5px;
  }

  .us-wrap { padding: 24px var(--px); }
  /* Odstępy między sekcjami / pod nagłówkami — większe niż wcześniej,
     wyraźniejsze odcięcie sekcji na wąskim ekranie telefonu. */
  .us-section { margin-bottom: 56px; }
  .us-section-title { font-size: 22px; gap: 10px; margin-bottom: 24px; }
  .us-section-title i { width: 34px; height: 34px; font-size: 16px; }
  .us-section-body { font-size: 15.5px; line-height: 1.85; }
  .us-section-body p { margin-bottom: 22px; }
  .us-section-body h3 { font-size: 20px; margin-top: 40px; margin-bottom: 14px; }
  .us-section-body h3::before { height: 20px; }
  .us-section-body ul li,
  .us-section-body ol li {
    font-size: 15.5px;
    line-height: 1.8;
    margin-bottom: 11px;
    padding-left: 32px !important;
  }
  .us-section-body ul li::before { font-size: 18px; top: 8px; }
  .us-section-intro { font-size: 15.5px; line-height: 1.8; }

  .us-list-item { padding: 12px 14px; gap: 10px; }
  .us-list-check { font-size: 18px; }
  .us-list-title { font-size: 15.5px; }
  .us-list-desc { font-size: 14px; }

  .us-step { grid-template-columns: 44px 1fr; gap: 12px; padding: 14px; }
  .us-step-num { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
  .us-step-title { font-size: 16px; }
  .us-step-desc { font-size: 14.5px; }

  .us-faq-q { font-size: 15px; padding: 14px 14px; gap: 10px; }
  .us-faq-icon { width: 24px; height: 24px; font-size: 15px; }
  .us-faq-a { font-size: 14.5px; padding: 12px 14px 16px; }

  /* Info-box */
  .us-info-box { padding: 18px; }
  .us-info-cta { padding: 13px 18px; font-size: 14.5px; }
  .us-info-cennik, .us-info-tel { padding: 11px 16px; font-size: 13.5px; }
  .us-info-reviews { padding: 16px 14px 18px; }

  /* Tabele — pełna szerokość scrollowalna */
  .us-section-body table { font-size: 13.5px; }
  .us-section-body table thead th { padding: 10px 12px; }
  .us-section-body table td { padding: 10px 12px; }

  /* Blockquote */
  .us-section-body blockquote {
    padding: 16px 18px 16px 44px;
    font-size: 15px;
  }
  .us-section-body blockquote::before {
    font-size: 36px;
    left: 12px;
  }
}

/* Bardzo małe < 380px */
@media (max-width: 380px) {
  .us-hero { padding: 12px var(--px) 20px; }
  .us-h1 { font-size: 23px; }
  .us-content-h1 { font-size: 17px; }
  .us-lead { font-size: 15px; }
  .us-section-body { font-size: 15px; }
  .us-section-title { font-size: 20px; }
}
