/* Style podstron — ładowane warunkowo (patrz inc/functions/enqueue.php) */

/* ===== Nagłówek podstrony ===== */
.phero {
  position: relative;
  padding: 74px 0 62px;
  background: var(--cream);
  overflow: hidden
}

.phero.has-img {
  padding: 118px 0 96px
}

.phero-bg {
  position: absolute;
  inset: 0;
  z-index: 0
}

.phero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.phero.has-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(34, 44, 68, .92) 0%, rgba(44, 55, 82, .78) 52%, rgba(54, 118, 187, .55) 100%)
}

.phero .wrap {
  position: relative;
  z-index: 2
}

.phero h1 {
  font-size: 52px;
  margin-top: 14px;
  max-width: 20ch
}

.phero .lead {
  max-width: 62ch;
  margin-top: 16px
}

.phero.has-img h1,
.phero.has-img .lead,
.phero.has-img .crumbs,
.phero.has-img .crumbs a,
.phero.has-img .crumbs span {
  color: #fff
}

.phero.has-img .lead {
  color: #d5deec
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted)
}

.crumbs i {
  font-size: 9px;
  opacity: .55
}

.crumbs a:hover {
  color: var(--accent)
}

/* ===== Treść ===== */
.wrap-narrow {
  max-width: 860px
}

.lead-big {
  font-size: 19px;
  max-width: 78ch;
  margin-bottom: 34px
}

.pcontent .head {
  margin-bottom: 34px
}

.entry {
  color: var(--ink);
  font-size: 17px
}

.entry>*+* {
  margin-top: 20px
}

.entry h2 {
  font-size: 34px;
  margin-top: 44px
}

.entry h3 {
  font-size: 25px;
  margin-top: 34px
}

.entry h4 {
  font-size: 20px;
  margin-top: 28px
}

.entry p,
.entry li {
  color: var(--muted)
}

.entry ul,
.entry ol {
  padding-left: 22px
}

.entry li+li {
  margin-top: 8px
}

.entry a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px
}

.entry img,
.entry iframe {
  border-radius: var(--r);
  max-width: 100%
}

.entry blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 0 6px 24px;
  font-size: 20px;
  color: var(--navy-800)
}

.entry table {
  width: 100%;
  border-collapse: collapse
}

.entry th,
.entry td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left
}

.entry th {
  background: var(--cream);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 700
}

/* ===== Wartości / atuty ===== */
.vals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.val {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: .25s
}

.val:hover {
  box-shadow: var(--sh);
}

.val .ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--cream);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 18px
}

.val h4 {
  font-size: 19px;
  margin-bottom: 9px
}

.val p {
  color: var(--muted);
  font-size: 15.5px
}

/* ===== Kroki (przygotowanie / rejestracja) ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 34px 28px 28px
}

.step .sn {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  color: var(--sand);
  display: block;
  margin-bottom: 14px
}

.step h4 {
  font-size: 18px;
  margin-bottom: 8px
}

.step p {
  color: var(--muted);
  font-size: 15.5px
}

/* ===== Lista specjalizacji ===== */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px
}

.serv-list .spec-card {
  width: auto
}

/* ===== Filtr lekarzy ===== */
.docs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px
}

.fbtn {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy-700);
  border-radius: 50px;
  padding: 11px 22px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: .2s
}

.fbtn:hover {
  border-color: var(--accent-soft)
}

.fbtn.is-active {
  background: var(--steel);
  border-color: transparent;
  color: #fff
}

.docs-list .docs-grid {
  grid-template-columns: repeat(4, 1fr)
}

/* ===== Karta lekarza (podstrona) ===== */
.doc-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 30px
}

.doc-side {
  position: sticky;
  top: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--sh-sm)
}

.doc-photo {
  border-radius: 13px;
  overflow: hidden;
  background: var(--cream)
}

.doc-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover
}

.doc-id {
  padding: 22px 4px 6px
}

.doc-id h1 {
  font-size: 27px
}

.doc-id .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  margin-top: 7px
}

.doc-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px
}

.spec-pill {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-700);
  transition: .2s
}

.spec-pill:hover {
  background: var(--cream);
  border-color: var(--accent-soft)
}

.doc-hours {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px
}

.doc-hours h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 12px
}

.doc-hours h4 i {
  color: var(--accent)
}

.doc-hours ul {
  list-style: none
}

.doc-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--muted)
}

.doc-hours li span:last-child {
  font-weight: 700;
  color: var(--navy-800)
}

.docs-more {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 56px
}

.docs-more .head {
  margin-bottom: 40px
}

/* ===== Kontakt ===== */
.cinfo {
  list-style: none;
  margin-top: 28px
}

.cinfo li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 13px 0
}

.cinfo .ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center
}

.chours {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16)
}

.chours h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 17px;
  margin-bottom: 12px
}

.chours ul {
  list-style: none
}

.chours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
  font-size: 14.5px
}

.chours li.off {
  opacity: .6
}

.cmap {
  line-height: 0
}

.cmap iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block
}

/* ===== Galeria — podstrona ===== */
.gal-masonry {
  columns: 3;
  column-gap: 22px
}

.gal-masonry a {
  display: block;
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: var(--r);
  overflow: hidden;
  position: relative
}

.gal-masonry img {
  width: 100%;
  transition: .5s
}

.gal-masonry a:hover img {
  transform: scale(1.05)
}

/* ===== Wyniki wyszukiwania ===== */
.searchbar {
  max-width: 520px;
  margin-bottom: 44px
}

.uc-search {
  display: flex;
  gap: 10px
}

.uc-search input {
  flex: 1;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  padding: 14px 22px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  background: #fff;
  color: var(--ink)
}

.uc-search input:focus {
  outline: none;
  border-color: var(--accent-soft)
}

.uc-search button {
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  background: var(--steel);
  color: #fff;
  cursor: pointer
}

.results {
  list-style: none
}

.results li {
  padding: 26px 0;
  border-bottom: 1px solid var(--line)
}

.results .rtype {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent)
}

.results h3 {
  font-size: 23px;
  margin: 7px 0 8px
}

.results p {
  color: var(--muted)
}

/* ===== 404 ===== */
.e404 {
  text-align: center;
  padding: 120px 0
}

.e404 h1 {
  font-size: 46px;
  margin: 14px 0 16px
}

.e404 .lead {
  max-width: 56ch;
  margin: 0 auto
}

.e404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 34px 0 40px
}

.e404 .searchbar {
  margin: 0 auto
}

/* ===== Paginacja i nawigacja wpisów ===== */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 56px
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  margin: 0 5px;
  border-radius: 50px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-700);
  transition: .2s
}

.pagination .page-numbers:hover {
  border-color: var(--accent-soft)
}

.pagination .page-numbers.current {
  background: var(--steel);
  border-color: transparent;
  color: #fff
}

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid var(--line)
}

.post-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy-700)
}

.post-nav a:hover {
  color: var(--accent)
}

/* ===== Contact Form 7 — skin pod .book-form ===== */
.book-form .wpcf7-form p {
  margin-bottom: 16px
}

.book-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px
}

.book-form input[type=text],
.book-form input[type=email],
.book-form input[type=tel],
.book-form input[type=date],
.book-form select,
.book-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 15px;
  background: #fff;
  color: var(--ink)
}

.book-form textarea {
  min-height: 130px;
  resize: vertical
}

.book-form input:focus,
.book-form select:focus,
.book-form textarea:focus {
  outline: none;
  border-color: var(--accent-soft)
}

.book-form .wpcf7-submit {
  background: var(--steel);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 15px 34px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: .25s
}

.book-form .wpcf7-submit:hover {
  filter: brightness(1.12)
}

.book-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0
}

.book-form .wpcf7-acceptance label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5
}

.wpcf7 form .wpcf7-response-output {
  border-radius: 12px;
  border-width: 1.5px;
  margin: 18px 0 0;
  padding: 13px 18px;
  font-size: 14.5px
}

/* ===== Komentarze ===== */
.comment-list {
  list-style: none;
  margin-top: 30px
}

.comment-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line)
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 18px;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  margin-bottom: 14px
}

.comment-form .submit {
  background: var(--steel);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  cursor: pointer
}

/* Sekcja book bez formularza — kolumna info rozciąga się na całą szerokość */
.book .wrap>.book-info:only-child {
  grid-column: 1 / -1
}

.phero.has-img .eyebrow {
  color: #cfe0f4
}

.phero.has-img .eyebrow::before {
  background: #cfe0f4
}

.phero.has-img .crumbs i {
  opacity: .7
}

/* ===== POPRAWKI PO REVIEW ===== */

.crumbs {
  color: var(--navy-700);
  font-weight: 600
}

.crumbs a {
  color: var(--navy-700)
}

.crumbs span {
  color: var(--muted);
  font-weight: 500
}

.crumbs i {
  font-size: 10px;
  opacity: 1;
  color: var(--accent-soft)
}

.phero.has-img .crumbs span {
  color: #cfe0f4
}

.docs-list {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.serv-list,
.gal-page {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.book .wrap>.book-info:only-child,
.book--solo .wrap>.book-info {
  grid-column: 1 / -1
}

.zespol-swiper {
  overflow: hidden;
  padding-bottom: 4px
}

.zespol-swiper .swiper-slide {
  width: 320px;
  height: auto
}

.zespol-nav {
  display: flex;
  gap: 10px
}

.zespol-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy-700);
  cursor: pointer;
  transition: .2s
}

.zespol-nav button:hover {
  background: var(--cream);
  border-color: var(--accent-soft)
}

.zespol-nav button.swiper-button-disabled {
  opacity: .4;
  cursor: default
}

.docs .head-r {
  display: flex;
  align-items: center;
  gap: 16px
}

/* ===== POPRAWKI PO REVIEW II ===== */

.crumbs a,
.crumbs span {
  background: rgba(54, 118, 187, .10);
  padding: 6px 14px;
  border-radius: 50px;
  transition: .2s
}

.crumbs a:hover {
  background: rgba(54, 118, 187, .20);
  color: var(--accent)
}

.phero.has-img .crumbs a,
.phero.has-img .crumbs span {
  background: rgba(255, 255, 255, .16)
}

.phero.has-img .crumbs a:hover {
  background: rgba(255, 255, 255, .28);
  color: #fff
}

.vals .head,
.steps .head,
.pcontent .head {
  margin-bottom: 48px
}

.vals .head h2,
.steps .head h2 {
  font-size: 40px
}

.vals .head .eyebrow,
.steps .head .eyebrow {
  margin-bottom: 12px;
  display: inline-flex
}

.book--solo {
  background: var(--oak);
  padding: 0
}

.book--solo .wrap {
  display: block;
  border-radius: 0;
  box-shadow: none
}

.book--solo .book-info {
  background: transparent;
  padding: 84px 0
}

.zespol-swiper .swiper-slide {
  width: auto;
  height: auto
}

.doc-hero {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 26px
}

.doc-hero .zl,
.doc-hero .zl-widget {
  margin-top: 0
}

.doc-hero-role {
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--accent)
}

.phero.has-img .doc-hero-role {
  color: #cfe0f4
}

.doc-side .doc-id h2 {
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px
}

.doc-side .doc-id {
  padding: 22px 4px 0
}

.doc-hero .btn-light {
  box-shadow: var(--sh-sm)
}

.phero .doc-hero .zl {
  background: rgba(255, 255, 255, .92)
}

/* ===== KARTA LEKARZA v2 ===== */

.doc-photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  background: var(--stone)
}

.doc-photo-ph {
  font-size: 62px;
  color: rgba(34, 44, 68, .22)
}

.doc-side .doc-specs {
  margin-top: 20px;
  padding: 0 4px
}


/* ===== KARTA LEKARZA v3 ===== */

.doc-phero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap
}

.doc-phero-zl {
  flex: none;
  min-width: 320px
}

.doc-phero-zl .zl,
.doc-phero-zl .zl-widget {
  margin-top: 0
}

.doc-grid {
  grid-template-columns: 360px 1fr
}

.doc-side {
  padding: 0;
  border: none;
  background: none;
  box-shadow: none
}

.doc-photo {
  position: relative
}

.doc-photo .spec-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  color: var(--navy-700);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: var(--sh-sm)
}

.doc-seo {
  font-size: 24px;
  margin-bottom: 22px;
  color: var(--navy-800)
}


/* ===== KARTA LEKARZA - dolny pas ===== */

.doc-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 34px
}

.doc-bottom.is-solo {
  grid-template-columns: 1fr
}

.doc-bottom .doc-hours {
  margin-top: 0;
  border-top: none;
  padding-top: 0
}

.doc-bottom-side {
  display: flex;
  flex-direction: column;
  gap: 20px
}

.doc-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: var(--cream);
  border-radius: var(--r);
  padding: 26px 28px
}

.doc-cta span {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-800)
}

.doc-zl-box .zl {
  width: 100%
}

/* ===== POPRAWKI PO REVIEW IV ===== */

.vals {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 60%, #2d4a78 100%);
  overflow: hidden
}

.vals .head h2 {
  color: #fff
}

.vals .head .eyebrow {
  color: #cfe0f4
}

.vals .head .eyebrow::before {
  background: #cfe0f4
}

.vals .val {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none
}

.vals .val:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(90, 145, 207, .6);
  box-shadow: none
}

.vals .val .ic {
  background: rgba(90, 145, 207, .18);
  color: #a9c8ec;
  border: 1px solid rgba(90, 145, 207, .35)
}

.vals .val h4 {
  color: #fff
}

.vals .val p {
  color: #b9c6db
}

.docs-list .docs-grid {
  grid-template-columns: repeat(3, 1fr)
}

.spec-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start
}

.spec-split.is-solo {
  grid-template-columns: 1fr
}

.spec-split-img {
  position: sticky;
  top: 110px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm)
}

.spec-split-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover
}

.doc-cta {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap
}

.cband {
  background: var(--oak);
  padding: 72px 0
}

.cgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch
}

.cbox {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r);
  padding: 28px 26px;
  color: #dbe9fa
}

.cbox h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px
}

.cbox h4 i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px
}

.caddr {
  font-size: 15px;
  line-height: 1.6;
  color: #fff
}

.creg {
  list-style: none;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, .2)
}

.creg li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  padding: 3px 0
}

.creg li span:first-child {
  min-width: 56px;
  font-weight: 700;
  color: #fff
}

.chours-list {
  list-style: none
}

.chours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .18);
  font-size: 14.5px
}

.chours-list li span:last-child {
  color: #fff;
  font-weight: 700
}

.chours-list li.off {
  opacity: .6
}

.cnote {
  margin-top: 14px;
  font-size: 13.5px
}

.cbox-contact {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.cphone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.01em;
  color: #fff
}

.cphone i {
  font-size: .6em;
  color: #cfe0f4
}

.cmail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  word-break: break-all
}

.cmail i {
  color: #cfe0f4
}

.cphone:hover,
.cmail:hover {
  color: #cfe0f4
}

.cbox-review {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0
}

.cbox-review .gbadge {
  width: 100%;
  max-width: none
}

.cmap {
  margin: 0
}

/* ===== POPRAWKI PO REVIEW V ===== */

.vals .vals-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .14)
}

.vals .val,
.vals .val:hover {
  position: relative;
  background: none;
  border: none;
  border-radius: 0;
  border-left: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
  padding: 44px 36px 10px
}

.vals .val:first-child {
  border-left: none;
  padding-left: 0
}

.vals .val::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--accent-soft);
  transition: width .6s cubic-bezier(.2, .7, .2, 1)
}

.vals .val:hover::before {
  width: 100%
}

.val-n {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--accent-soft);
  margin-bottom: 28px
}

.vals .val .ic {
  width: auto;
  height: auto;
  background: none;
  border: none;
  justify-content: flex-start;
  color: #a9c8ec;
  font-size: 30px;
  margin-bottom: 20px
}

.vals .val h4 {
  font-size: 21px;
  margin-bottom: 12px
}

.vals .val p {
  color: #aebbd2;
  font-size: 15.5px;
  line-height: 1.65
}

.doc-cta {
  padding: 14px 14px 14px 24px;
  gap: 16px
}

.doc-cta span {
  font-size: 16px
}

.spec-split {
  align-items: center
}

.spec-split-img img {
  height: auto;
  aspect-ratio: 21 / 9
}

.cgrid {
  gap: 20px
}

.cbox {
  background: #fff;
  border: none;
  border-radius: var(--r);
  box-shadow: 0 24px 48px -28px rgba(15, 30, 60, .55);
  padding: 30px 28px;
  color: var(--muted)
}

.cbox h4 {
  color: var(--navy-800)
}

.cbox h4 i {
  background: rgba(54, 118, 187, .10);
  color: var(--accent)
}

.caddr {
  color: var(--ink)
}

.creg {
  border-top: 1px dashed var(--line)
}

.creg li span:first-child,
.chours-list li span:last-child {
  color: var(--navy-800)
}

.chours-list li {
  border-bottom: 1px dashed var(--line)
}

.chours-list li.off {
  opacity: .55
}

.cphone {
  color: var(--navy-900)
}

.cphone i,
.cmail i {
  color: var(--accent)
}

.cmail {
  color: var(--accent)
}

.cphone:hover,
.cmail:hover {
  color: var(--accent-soft)
}

.cbox-review {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 30px 28px
}

.cbox-review .gbadge {
  width: 100%;
  max-width: none;
  border: none;
  box-shadow: none;
  padding: 0
}

/* ===== POPRAWKI PO REVIEW VI ===== */

.doc-phero-row {
  align-items: center
}

.doc-phero .doc-hero-role {
  margin-top: 10px
}

.doc-zl-box .zl {
  min-height: 78px;
  margin-top: 0;
  padding: 14px 14px 14px 24px;
  gap: 16px;
  background: var(--cream);
  border: 1px solid transparent
}

.doc-zl-box .zl:hover {
  background: var(--cream);
  border-color: #00b0a6
}

.doc-zl-box .zl .zi {
  width: 44px;
  height: 44px;
  background: #00b0a6;
  color: #fff;
  font-size: 18px
}

.doc-zl-box .zl .zt b {
  font-size: 16px
}

.doc-zl-box .zl .zt small {
  font-size: 13px;
  color: #00968d;
  font-weight: 600
}

.doc-zl-box .zl .zb {
  padding: 15px 28px;
  font-size: 15px
}

.doc-cta {
  min-height: 78px
}

.cband {
  padding: 84px 0 96px
}

.cgrid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .24);
  align-items: stretch
}

.cbox,
.cbox-review {
  position: relative;
  background: none;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, .18);
  border-radius: 0;
  box-shadow: none;
  padding: 44px 36px 10px;
  color: #d6e4f5
}

.cbox:first-child {
  border-left: none;
  padding-left: 0
}

.cbox::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: #fff;
  transition: width .6s cubic-bezier(.2, .7, .2, 1)
}

.cbox:hover::before {
  width: 100%
}

.cbox h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 24px
}

.cbox h4 i,
.cbox h4 .cg {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  letter-spacing: 0
}

.cbox h4 .cg {
  background: #fff
}

.caddr {
  color: #fff;
  font-size: 16px
}

.creg {
  border-top: 1px dashed rgba(255, 255, 255, .24)
}

.creg li span:first-child,
.chours-list li span:last-child {
  color: #fff
}

.chours-list li {
  border-bottom: 1px dashed rgba(255, 255, 255, .22)
}

.chours-list li.off {
  opacity: .6
}

.cnote {
  color: #d6e4f5
}

.cphone {
  color: #fff;
  font-size: 30px
}

.cphone i,
.cmail i {
  color: #cfe0f4
}

.cmail {
  color: #fff
}

.cphone:hover,
.cmail:hover {
  color: #cfe0f4
}

.crev-score {
  display: flex;
  align-items: baseline;
  gap: 14px
}

.crev-score b {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  color: #fff
}

.crev-stars {
  color: #FBBC05;
  font-size: 20px;
  letter-spacing: 3px
}

.crev-opis {
  margin-top: 10px;
  font-size: 15px;
  color: #d6e4f5
}

.crev-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: .2s
}

.crev-link:hover {
  border-color: #fff;
  gap: 14px
}

.cbox-review {
  display: block
}

/* ===== BOXY Z RADIUSEM: CO NAS WYRÓŻNIA + KONTAKT ===== */

.vals .vals-grid,
.cgrid {
  gap: 24px;
  border-top: none
}

.vals .val,
.vals .val:first-child,
.cbox,
.cbox:first-child,
.cbox-review {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  border: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .015) 100%);
  box-shadow: none;
  padding: 40px 34px 36px
}

.vals .val:hover,
.cbox:hover {
  border-color: rgba(169, 200, 236, .35);
  background: linear-gradient(160deg, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .03) 100%)
}

.vals .val::before,
.cbox::before {
  top: 0;
  left: 34px;
  width: 44px;
  height: 2px
}

.vals .val:hover::before,
.cbox:hover::before {
  width: calc(100% - 68px)
}

.vals .val-n {
  position: absolute;
  top: 22px;
  right: 30px;
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  transition: color .5s
}

.vals .val:hover .val-n {
  color: rgba(169, 200, 236, .16)
}

.vals .val .ic {
  margin: 6px 0 26px
}

.cband .cbox,
.cband .cbox:first-child,
.cband .cbox-review {
  border-color: rgba(255, 255, 255, .22);
  background: linear-gradient(160deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .04) 100%)
}

.cband .cbox:hover {
  border-color: rgba(255, 255, 255, .45);
  background: linear-gradient(160deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .06) 100%)
}

/* Nagłówek karty lekarza: tytuł od górnej krawędzi widgetu, okruszki pod rolą */
.doc-phero {
  padding: 64px 0 60px
}

.doc-phero-row {
  align-items: flex-start
}

.doc-phero .eyebrow {
  margin-top: 4px
}

.doc-phero h1 {
  margin-top: 12px
}

.doc-phero .crumbs {
  margin-top: 30px
}

.doc-phero-zl {
  width: 380px;
  min-width: 0
}

/* Galeria: równe miniatury w siatce zamiast rozciąganych kolumn */
.gal-masonry {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.gal-masonry a {
  margin-bottom: 0
}

.gal-masonry img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover
}

/* ===== REJESTRACJA: tekst po lewej, kontakt w boxie po prawej ===== */

.book--solo .book-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: center
}

.book-actions {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 330px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--r);
  padding: 28px 30px
}

.book-actions .ph {
  margin: 0
}

.book-actions .btn {
  justify-content: center
}

.book-text p:last-child {
  margin-bottom: 0
}

/* Wąski kontener: tekst i box kontaktowy nie rozjeżdżają się na szerokim ekranie */
.book--solo .wrap {
  max-width: 991px
}

/* ===== FILTR SPECJALISTÓW: chipsy na desktopie, modal na mobile ===== */

.docs-filter-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-bottom: 32px;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  background: var(--steel);
  color: #fff;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--sh-sm)
}

.docs-filter-toggle .dft-label {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.docs-filter-toggle .dft-caret {
  font-size: 12px;
  opacity: .8
}

.docs-filter-head {
  display: none
}

/* ===== WYSZUKIWARKA ===== */

.phero-search .searchbar {
  max-width: 620px;
  margin: 26px 0 0
}

.phero-search .uc-search input {
  padding: 16px 24px;
  font-size: 16px;
  background: #fff;
  box-shadow: var(--sh-sm)
}

.phero-search .uc-search button {
  width: 56px;
  height: 56px;
  flex: none
}

.results {
  display: grid;
  gap: 16px;
  max-width: 1040px
}

.results li {
  padding: 0;
  border-bottom: none
}

.result-link {
  display: block;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 30px;
  transition: .22s
}

.result-link:hover {
  background: var(--steel);
  border-color: transparent
}

.result-link:hover .rtype {
  color: #cfe0f4
}

.result-link:hover p {
  color: #d5deec
}

.result-link:hover .result-more {
  color: #fff
}

.results h3 {
  font-size: 21px;
  margin: 8px 0 8px;
  color: var(--navy-900)
}

.result-link:hover h3 {
  color: #fff
}

.result-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent)
}

.result-more i {
  font-size: 12px;
  transition: transform .22s
}

.result-link:hover .result-more i {
  transform: translateX(4px)
}

.results-empty .lead {
  max-width: 60ch
}

.results-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px
}

.phero-search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px
}

.phero-search-row .searchbar {
  flex: none;
  width: 520px;
  margin: 0
}

.phero-search .phero-search-head .lead {
  margin-bottom: 0
}

.pob-gal {
  padding-bottom: 0
}

/* Karta lekarza: zdjęcie | biogram | widżet ZnanyLekarz */
.doc-grid.has-book {
  grid-template-columns: 300px minmax(0, 1fr) 380px;
  gap: 48px
}

.doc-phero-zl {
  width: 460px
}

.doc-book {
  position: sticky;
  top: 110px
}

.doc-book .zl-widget {
  margin-top: 0
}

.doc-bottom {
  margin-top: 36px;
  padding-top: 30px
}

.doc-cta {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap
}
