:root {
  --pm-ink: #2d2a26;
  --pm-ink-soft: #756f67;
  --pm-primary: #b89a70;
  --pm-primary-dark: #8d704b;
  --pm-primary-soft: #f1e7d7;
  --pm-accent: #cfb48c;
  --pm-accent-soft: #f5eee5;
  --pm-surface: #f7f2eb;
  --pm-surface-2: #eee5d9;
  --pm-border: rgba(83, 69, 52, 0.14);
  --pm-white: #fff;
  --pm-radius: 1.5rem;
  --pm-radius-sm: 1rem;
  --pm-shadow: 0 18px 55px rgba(83, 69, 52, 0.09);
  --pm-shadow-hover: 0 24px 68px rgba(83, 69, 52, 0.14);
}

html { scroll-behavior: smooth; }
body {
  color: var(--pm-ink);
  background: var(--pm-white);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

a { color: var(--pm-primary); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--pm-primary-dark); }
img { max-width: 100%; height: auto; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }
.container-narrow { max-width: 980px; margin-inline: auto; }
.section-space { padding: 5.5rem 0; }
.section-space-sm { padding: 3.5rem 0; }
.section-kicker { color: var(--pm-primary); text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; font-weight: 700; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 400; margin-bottom: 1.1rem; }
.section-lead { max-width: 760px; color: var(--pm-ink-soft); font-size: 1.08rem; }

/* Header */
.site-header {
 
  top: 0;
  z-index: 1040;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--pm-border);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 36px rgba(83,69,52,.08); }
.topbar { padding: .8rem 0; border-bottom: 1px solid rgba(83,69,52,.08); }
.brand-logo { display: inline-flex; align-items: center; min-height: 52px; }
.brand-logo img { max-height: 56px; width: auto; }
.brand-wordmark { display: flex; align-items: center; gap: .65rem; color: var(--pm-ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--pm-primary); color: #fff; font-size: 1.3rem; }
.brand-text strong { display: block; font-size: 1.35rem; letter-spacing: .08em; }
.brand-text small { color: var(--pm-ink-soft); font-size: .66rem; letter-spacing: .12em; }
.top-action { display: flex; align-items: center; gap: .7rem; color: var(--pm-ink-soft); }
.top-action i { color: var(--pm-primary); font-size: 1.2rem; }
.booking-btn { display: inline-flex; align-items: center; gap: .7rem; background: var(--pm-accent-soft); color: var(--pm-ink); border-radius: 0; padding: 1rem 1.35rem; font-weight: 500; letter-spacing: .03em; }
.booking-btn:hover { color: var(--pm-ink); background: #e9ddcc; }
.navbar { --bs-navbar-padding-y: 0; background: var(--pm-accent); }
.navbar-nav { gap: .15rem; }
.navbar-nav .nav-link { color: #fff; font-size: 1.02rem; font-weight: 500; padding: .95rem 1rem !important; border-radius: 0; letter-spacing: .01em; }
.navbar-nav .nav-link:hover, .navbar-nav .current-menu-item > .nav-link, .navbar-nav .current-menu-ancestor > .nav-link { color: #fff; background: rgba(111,85,53,.18); }
.dropdown-menu { border: 1px solid rgba(83,69,52,.10); border-radius: .25rem; padding: .45rem; box-shadow: var(--pm-shadow); min-width: 275px; }
.dropdown-item { border-radius: .2rem; padding: .72rem .9rem; color: var(--pm-ink); white-space: normal; font-size: .95rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--pm-primary-soft); color: var(--pm-primary-dark); }
.navbar-toggler { border: 0; padding: .45rem; }
.navbar-toggler:focus { box-shadow: none; }

/* Promedica – sekcja otwierająca */
.promedica-intro { position: relative; overflow: hidden; padding: 4.5rem 0 3.6rem; background: var(--pm-surface); }
.promedica-intro-home { min-height: 680px; display: flex; align-items: center; }
.promedica-intro-home > .container { position: relative; top: -28px; }
.promedica-intro::before { content:""; position:absolute; inset:auto -15% -45% 42%; height: 520px; background: radial-gradient(circle, rgba(184,154,112,.20), transparent 67%); }
.promedica-intro-copy { position: relative; z-index: 2; max-width: 720px; }
.promedica-intro-label { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.2rem; color: var(--pm-primary); font-size: .8rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.promedica-intro-title { font-size: clamp(2.2rem, 3.6vw, 3.55rem); line-height: 1.06; letter-spacing: -.032em; font-weight: 400; margin-bottom: 1.4rem; max-width: 720px; }
.promedica-intro-text { max-width: 650px; color: var(--pm-ink-soft); font-size: 1.15rem; }
.promedica-intro-media { position: relative; z-index: 1; }
.promedica-intro-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 2rem; box-shadow: var(--pm-shadow); }
.promedica-intro-note { position: absolute; left: -1.2rem; bottom: 2rem; z-index: 3; max-width: 250px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.6); border-radius: 1.25rem; padding: 1rem 1.1rem; box-shadow: var(--pm-shadow); backdrop-filter: blur(15px); }
.promedica-intro-note strong { display: block; margin-bottom: .15rem; }
.promedica-intro-note span { color: var(--pm-ink-soft); font-size: .88rem; }
.btn-promedica { border-radius: .25rem; padding: .86rem 1.3rem; font-weight: 600; border: 1px solid transparent; }
.btn-promedica-primary { color: #fff; background: var(--pm-primary); }
.btn-promedica-primary:hover { color:#fff; background: var(--pm-primary-dark); transform: translateY(-1px); }
.btn-promedica-outline { color: var(--pm-ink); border-color: var(--pm-border); background:#fff; }
.btn-promedica-outline:hover { color: var(--pm-primary); border-color: rgba(184,154,112,.45); background: var(--pm-primary-soft); }

.promedica-page-heading { position: relative; min-height: 330px; display:flex; align-items:flex-end; overflow:hidden; background:var(--pm-surface); }
.promedica-page-heading.has-image { min-height: 430px; color:#fff; }
.promedica-page-heading.has-image::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(18,28,29,.72), rgba(18,28,29,.12)); }
.promedica-page-heading-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.promedica-page-heading-content { position:relative; z-index:2; padding:5rem 0 3.2rem; }
.promedica-page-heading h1 { font-size:clamp(2rem,3.25vw,3.25rem); letter-spacing:-.03em; line-height:1.08; font-weight:400; max-width:980px; }
.promedica-page-heading .lead { max-width:720px; color:inherit; opacity:.86; }

/* Breadcrumbs */
.breadcrumb-wrap { border-bottom:1px solid var(--pm-border); background:#fff; }
.breadcrumb { margin:0; padding:1rem 0; font-size:.9rem; color:var(--pm-ink-soft); }
.breadcrumb-item + .breadcrumb-item::before { color:#a8b0b1; }
.breadcrumb a { color:var(--pm-ink-soft); }
.breadcrumb a:hover { color:var(--pm-primary); }

/* Cards */
.pm-card { height:100%; background:#fff; border:1px solid var(--pm-border); border-radius:var(--pm-radius); overflow:hidden; box-shadow:0 8px 30px rgba(31,42,43,.035); transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pm-card:hover { transform:translateY(-5px); box-shadow:var(--pm-shadow-hover); border-color:rgba(184,154,112,.30); }
.pm-card-media { overflow:hidden; background:var(--pm-surface); }
.pm-card-media img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .45s ease; }
.pm-card:hover .pm-card-media img { transform:scale(1.035); }
.pm-card-body { padding:1.45rem; }
.pm-card-title { font-size:1.3rem; margin-bottom:.55rem; }
.pm-card-meta { color:var(--pm-primary); font-size:.82rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.pm-card-text { color:var(--pm-ink-soft); }
.pm-link { display:inline-flex; align-items:center; gap:.45rem; font-weight:800; }
.pm-link i { transition:transform .2s ease; }
.pm-link:hover i { transform:translateX(3px); }

.specialty-card { position:relative; padding:1.55rem; height:100%; border:1px solid var(--pm-border); border-radius:1.35rem; background:linear-gradient(145deg,#fff,var(--pm-surface)); transition:transform .25s ease, box-shadow .25s ease; overflow:hidden; }
.specialty-card::after { content:""; position:absolute; width:160px; height:160px; border-radius:50%; right:-85px; bottom:-85px; background:var(--pm-primary-soft); }
.specialty-card:hover { transform:translateY(-4px); box-shadow:var(--pm-shadow); }
.specialty-icon { width:68px; height:68px; display:grid; place-items:center; border-radius:50%; background:var(--pm-accent-soft); color:var(--pm-primary-dark); font-size:1.85rem; margin-bottom:1.2rem; border:1px solid rgba(184,154,112,.22); }
.specialty-card h3 { font-size:1.25rem; }
.specialty-card p { color:var(--pm-ink-soft); font-size:.95rem; }

/* Home */
.stats-strip { margin-top:-1.5rem; position:relative; z-index:5; }
.stats-panel { background:#fff; border:1px solid var(--pm-border); border-radius:1.4rem; box-shadow:var(--pm-shadow); padding:.7rem 1rem; }
.stat-item { padding:1rem 1.15rem; }
.benefit-item { display:flex; align-items:center; gap:.9rem; text-align:left; min-height:88px; }
.benefit-icon { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; flex:0 0 48px; background:var(--pm-accent-soft); color:var(--pm-primary-dark); font-size:1.25rem; }
.benefit-copy { display:block; min-width:0; }
.stat-value, .benefit-title { display:block; font-size:1rem; line-height:1.25; font-weight:700; color:var(--pm-ink); margin-bottom:.25rem; }
.stat-label, .benefit-text { display:block; color:var(--pm-ink-soft); font-size:.8rem; line-height:1.45; }
.about-media img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:2rem; box-shadow:var(--pm-shadow); }
.surface-section { background:var(--pm-surface); }
.soft-section { background:var(--pm-surface-2); }
.cta-panel { position:relative; overflow:hidden; border-radius:1.15rem; padding:clamp(2rem,5vw,4rem); background:var(--pm-accent); color:#fff; }
.cta-panel::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; right:-130px; top:-170px; background:rgba(255,255,255,.08); }
.cta-panel .section-title { max-width:720px; }
.cta-panel p { color:rgba(255,255,255,.8); }
.cta-panel .btn-light { border-radius:999px; padding:.82rem 1.25rem; font-weight:750; }

/* Content */
.content-area { font-size:1.02rem; }
.content-area h2, .content-area h3, .content-area h4 { margin-top:2rem; margin-bottom:1rem; letter-spacing:-.02em; }
.content-area p, .content-area ul, .content-area ol { margin-bottom:1.1rem; }
.content-area img { border-radius:1.2rem; }
.content-area blockquote { border-left:4px solid var(--pm-primary); padding:1rem 1.2rem; background:var(--pm-surface); border-radius:0 1rem 1rem 0; }
.content-area table { width:100%; }

/* Specialist */
.specialist-grid .pm-card-media img { aspect-ratio:4/5; object-position:center top; }
.profile-photo { border-radius:2rem; overflow:hidden; background:var(--pm-surface); box-shadow:var(--pm-shadow); }
.profile-photo img { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center top; }
.profile-role { color:var(--pm-primary); font-weight:800; }
.credential-list { display:flex; flex-wrap:wrap; gap:.55rem; padding:0; list-style:none; }
.credential-list li { background:var(--pm-surface); border:1px solid var(--pm-border); border-radius:999px; padding:.55rem .8rem; font-size:.9rem; }
.related-box { border:1px solid var(--pm-border); border-radius:1.25rem; padding:1.25rem; background:#fff; }

/* Price list */
.price-sheet { max-width:940px; margin-inline:auto; }
.price-section { padding:1.3rem 0 1.7rem; border-bottom:1px solid var(--pm-border); }
.price-section:last-child { border-bottom:0; }
.price-section h2 { font-size:1.45rem; margin-bottom:.35rem; }
.price-section-note { color:var(--pm-ink-soft); font-size:.95rem; }
.price-row { display:grid; grid-template-columns:auto 1fr auto; align-items:end; gap:.75rem; padding:.8rem 0; }
.price-row-name { font-weight:700; }
.price-row-desc { display:block; color:var(--pm-ink-soft); font-size:.82rem; font-weight:400; margin-top:.15rem; }
.price-dots { border-bottom:1px dotted #b9c0c0; transform:translateY(-.38rem); min-width:20px; }
.price-value { white-space:nowrap; font-size:1.04rem; font-weight:800; color:var(--pm-ink); }
.price-note { background:var(--pm-primary-soft); border-radius:1rem; padding:1rem 1.15rem; color:var(--pm-primary-dark); }

/* Gallery */
.gallery-accordion .accordion-item { border:1px solid var(--pm-border); border-radius:1rem !important; overflow:hidden; margin-bottom:.75rem; }
.gallery-accordion .accordion-button { font-weight:800; padding:1.1rem 1.25rem; }
.gallery-accordion .accordion-button:not(.collapsed) { background:var(--pm-primary-soft); color:var(--pm-primary-dark); box-shadow:none; }
.gallery-accordion .accordion-button:focus { box-shadow:none; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.gallery-item { position:relative; border:0; padding:0; background:transparent; overflow:hidden; border-radius:1rem; }
.gallery-item img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .3s ease; }
.gallery-item::after { content:"\F52A"; font-family:"bootstrap-icons"; position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-size:1.7rem; background:rgba(45,42,38,.28); opacity:0; transition:opacity .25s ease; }
.gallery-item:hover img { transform:scale(1.035); }
.gallery-item:hover::after { opacity:1; }
.modal-content { border:0; border-radius:1.25rem; overflow:hidden; }

/* Reviews */
.review-card { height:100%; border:1px solid var(--pm-border); border-radius:1.25rem; padding:1.35rem; background:#fff; }
.promedica-stars { color:#d4a64d; letter-spacing:.08em; }
.review-card blockquote { margin:1rem 0 .6rem; color:var(--pm-ink); }
.review-card cite { color:var(--pm-ink-soft); font-style:normal; font-size:.9rem; }


/* Dynamic filters */
.dynamic-filter { display:flex; align-items:end; justify-content:space-between; gap:2rem; padding:1.35rem 1.5rem; background:#fff; border:1px solid var(--pm-border); border-radius:1.15rem; box-shadow:0 10px 34px rgba(83,69,52,.05); }
.dynamic-filter-control { width:min(100%, 420px); }
.dynamic-filter .form-select { min-height:52px; border-color:var(--pm-border); border-radius:.55rem; box-shadow:none; }
.dynamic-filter .form-select:focus { border-color:var(--pm-primary); box-shadow:0 0 0 .2rem rgba(184,154,112,.12); }
.dynamic-filter-item[hidden] { display:none !important; }
.dynamic-filter-empty { display:none; }
.dynamic-filter-empty.is-visible { display:block; }
.price-filter-sheet { max-width:980px; margin:0 auto 3.5rem; padding:clamp(1.5rem,3vw,2.6rem); background:#fff; border:1px solid var(--pm-border); border-radius:1.25rem; box-shadow:0 12px 42px rgba(83,69,52,.05); }
.price-filter-sheet:last-of-type { margin-bottom:0; }
.price-filter-heading { margin-bottom:1rem; }
.price-filter-title { margin:.35rem 0 .5rem; font-size:clamp(1.65rem,2.5vw,2.35rem); }

/* Contact */
.contact-panel {
  background:#fff;
  border:1px solid var(--pm-border);
  border-radius:1.6rem;
  overflow:hidden;
  box-shadow:0 18px 55px rgba(83,69,52,.07);
}
.contact-details {
  padding:clamp(1.7rem,4vw,3rem);
  background:linear-gradient(145deg,var(--pm-surface),#fff);
}
.contact-item { display:flex; gap:1rem; padding:1rem 0; border-bottom:1px solid var(--pm-border); }
.contact-item:last-child { border-bottom:0; }
.contact-item-icon { width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; border-radius:14px; background:#fff; color:var(--pm-primary); border:1px solid rgba(184,154,112,.16); }
.contact-item small { display:block; color:var(--pm-ink-soft); margin-bottom:.1rem; }
.contact-map {
  display:flex;
  align-items:stretch;
  height:100%;
  min-height:100%;
  padding:1.15rem 1.15rem 1.15rem 0;
  background:#fff;
}
.contact-map iframe {
  display:block;
  width:100% !important;
  height:100% !important;
  min-height:500px;
  border:1px solid var(--pm-border) !important;
  border-radius:1.35rem;
  box-shadow:0 10px 34px rgba(83,69,52,.08);
  filter:saturate(.88) contrast(.97);
}

/* Footer */
.site-footer { background:#b99a72; color:rgba(255,255,255,.92); margin-top:auto; }
.footer-main { padding:4rem 0 2.5rem; }
.footer-brand { color:#fff; }
.footer-brand .brand-mark { background:rgba(255,255,255,.12); }
.footer-title { color:#fff; font-size:.95rem; font-weight:800; margin-bottom:1rem; }
.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin:.45rem 0; }
.footer-links a { color:rgba(255,255,255,.7); }
.footer-links a:hover { color:#fff; }
.site-footer a { color:rgba(255,255,255,.90); }
.site-footer a:hover { color:#fff; }
.footer-logo { max-height:86px; width:auto; max-width:260px; object-fit:contain; }
.site-footer .brand-text small { color:rgba(255,255,255,.72); }
.footer-meta { border-top:1px solid rgba(255,255,255,.22); padding:1.1rem 0; font-size:.82rem; }

/* Utilities */
.empty-state { border:1px dashed var(--pm-border); border-radius:1rem; padding:2rem; text-align:center; color:var(--pm-ink-soft); }
.reveal { opacity:1; transform:none; transition:transform .25s ease; }
.reveal.is-visible { opacity:1; transform:none; }
.badge-soft { display:inline-flex; align-items:center; gap:.4rem; border-radius:999px; background:var(--pm-primary-soft); color:var(--pm-primary-dark); padding:.5rem .75rem; font-size:.82rem; font-weight:700; }

@media (max-width: 991.98px) {
  .topbar .top-action:not(.booking-mobile-visible) { display:none; }
  .navbar-collapse { padding:.75rem 0 1rem; }
  .navbar-nav .nav-link { padding:.8rem .9rem !important; }
  .dropdown-menu { border:0; box-shadow:none; margin-left:.8rem; padding-top:0; }
  .promedica-intro-home { min-height:auto; padding-top:3.2rem; }
  .promedica-intro-home > .container { top:0; }
  .promedica-intro-title { font-size:clamp(2.25rem,8.5vw,3.25rem); }
  .promedica-intro-media { margin-top:2.2rem; }
  .promedica-intro-note { left:1rem; bottom:1rem; }
  .section-space { padding:4rem 0; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .contact-map { padding:0 1rem 1rem; }
  .contact-map iframe { min-height:360px; border-radius:1.1rem; }
  .dynamic-filter { align-items:stretch; flex-direction:column; gap:1rem; }
  .dynamic-filter-control { width:100%; }
}

@media (max-width: 575.98px) {
  .brand-text small { display:none; }
  .brand-text strong { font-size:1.05rem; }
  .brand-mark { width:36px; height:36px; }
  .topbar { padding:.55rem 0; }
  .promedica-intro { padding-top:2.8rem; }
  .promedica-intro-media img { border-radius:1.35rem; aspect-ratio:4/3; }
  .promedica-intro-note { display:none; }
  .promedica-page-heading, .promedica-page-heading.has-image { min-height:320px; }
  .promedica-page-heading-content { padding:4rem 0 2.4rem; }
  .stats-panel { border-radius:1rem; }
  .stat-item { padding:.75rem .65rem; }
  .benefit-item { min-height:auto; }
  .specialty-card, .pm-card { border-radius:1.1rem; }
  .gallery-grid { grid-template-columns:1fr; }
  .price-row { grid-template-columns:1fr auto; gap:.5rem; }
  .price-dots { display:none; }
  .price-value { align-self:start; }
  .cta-panel { border-radius:1.3rem; }
}

/* Kierunek wizualny inspirowany jasną, beżową estetyką placówki */
h1, h2, h3, h4, h5, h6 { font-family: "Poppins", sans-serif; font-weight: 400; }
.navbar > .container { justify-content: flex-start; }
.navbar-collapse { flex-grow: 1; }
.navbar-nav { margin-left: 0 !important; }
.site-header .navbar-toggler { color: #fff; margin-left: auto !important; }
.promedica-intro-label, .section-kicker, .pm-card-meta { color: var(--pm-primary-dark); }
.surface-section { background: #faf7f2; }
.soft-section { background: #f1e9de; }
.breadcrumb-wrap { background: #fff; }
.stats-panel { border-radius: .45rem; }
.pm-card, .specialty-card, .related-box, .review-card { border-radius: .65rem; }
.promedica-intro-media img, .about-media img, .profile-photo { border-radius: .75rem; }
@media (min-width: 992px) {
  .navbar .container { padding-left: 0.75rem; }
  .navbar-nav .nav-link { min-height: 54px; display:flex; align-items:center; }
}


/* Kadra – filtr specjalizacji */
.team-filter-section { background:#fff; }
.team-filter { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:1.4rem 1.5rem; border:1px solid var(--pm-border); background:var(--pm-surface); }
.team-filter-copy { min-width:230px; }
.team-filter-control { display:flex; align-items:center; gap:.75rem; width:min(100%,620px); }
.team-filter-control .form-select { min-height:52px; border-radius:.25rem; border-color:var(--pm-border); background-color:#fff; font-weight:500; }
.team-filter-control .form-select:focus { border-color:rgba(184,154,112,.65); box-shadow:0 0 0 .2rem rgba(184,154,112,.12); }
.team-filter-control .btn { white-space:nowrap; min-height:52px; }
.team-filter-result { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; color:var(--pm-ink-soft); }
.team-filter-result strong { color:var(--pm-ink); }
.team-filter-result a { margin-left:.35rem; font-weight:600; }
.team-card-secondary-link { color:var(--pm-primary-dark); }
.specialty-intro { background:#fff; }
.specialty-intro-content { font-size:1.08rem; line-height:1.82; }
.specialty-intro-content > :first-child { margin-top:0; }
.specialty-intro-content > :last-child { margin-bottom:0; }

@media (max-width: 767.98px) {
  .team-filter { align-items:stretch; flex-direction:column; gap:1rem; padding:1.15rem; }
  .team-filter-control { width:100%; }
  .team-filter-control .form-select { flex:1 1 auto; }
}
@media (max-width: 479.98px) {
  .team-filter-control { flex-direction:column; align-items:stretch; }
  .team-filter-control .btn { width:100%; }
}


/* Dynamiczne filtry – kadra i cennik */
.dynamic-filter-section { background:#fff; }
.dynamic-filter { display:flex; align-items:center; justify-content:space-between; gap:2rem; padding:1.4rem 1.5rem; border:1px solid var(--pm-border); background:var(--pm-surface); }
.dynamic-filter-copy { min-width:230px; }
.dynamic-filter-control { display:flex; align-items:center; gap:.75rem; width:min(100%,620px); }
.dynamic-filter-control .form-select { min-height:52px; border-radius:.25rem; border-color:var(--pm-border); background-color:#fff; font-weight:500; }
.dynamic-filter-control .form-select:focus { border-color:rgba(184,154,112,.65); box-shadow:0 0 0 .2rem rgba(184,154,112,.12); }
.dynamic-filter-result { color:var(--pm-ink-soft); min-height:1.5rem; }
.dynamic-filter-item[hidden] { display:none !important; }
.dynamic-filter-empty { display:none; }
.dynamic-filter-empty.is-visible { display:block; }
@media (max-width: 767.98px) {
  .dynamic-filter { align-items:stretch; flex-direction:column; gap:1rem; padding:1.15rem; }
  .dynamic-filter-control { width:100%; }
}
.footer-logo { width:auto; max-width:260px; max-height:86px; object-fit:contain; }

/* 1.5.0 — spokojniejsza skala tytułów podstron */
.single-pm_price .promedica-page-heading h1,
.page-template-default .promedica-page-heading h1 { font-size:clamp(1.95rem,3vw,3rem); }
@media (max-width: 575.98px) {
  .promedica-page-heading h1, .single-pm_price .promedica-page-heading h1, .page-template-default .promedica-page-heading h1 { font-size:clamp(1.75rem,8vw,2.35rem); }
}

/* Footer legal buttons: stronger contrast on the beige footer */
.site-footer .badge-soft {
  background:#fff;
  color:#6f5535;
  border:1px solid rgba(111,85,53,.18);
  padding:.58rem .9rem;
  font-weight:700;
  box-shadow:0 6px 18px rgba(83,69,52,.10);
}
.site-footer .badge-soft:hover,
.site-footer .badge-soft:focus {
  background:#6f5535;
  color:#fff;
  border-color:#6f5535;
}

/* 1.6.0 — drobniejsze nagłówki, ciaśniejsze podstrony i wygodniejszy mobile */
.promedica-page-heading { min-height: 250px; }
.promedica-page-heading.has-image { min-height: 360px; }
.promedica-page-heading-content { padding: 3.2rem 0 2.35rem; }
.post-type-archive-pm_specialist .promedica-page-heading,
.post-type-archive-pm_price .promedica-page-heading,
.post-type-archive-pm_specialty .promedica-page-heading,
.post-type-archive-pm_gallery .promedica-page-heading,
.post-type-archive-pm_service .promedica-page-heading,
.page-template-default .promedica-page-heading { min-height: 235px; }
.profile-name { font-size: clamp(1.55rem, 2.25vw, 2rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 400; }

.site-header .navbar-toggler {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #fff;
}
.navbar-toggler-label { font-size: .92rem; font-weight: 600; letter-spacing: .02em; }

/* Domyślna sylwetka lekarza nie powinna być agresywnie kadrowana. */
.specialist-grid .pm-card-media img[src*="doctor-default"],
.profile-photo img[src*="doctor-default"] {
  object-fit: contain;
  object-position: center;
  background: #f2f2f2;
}

@media (max-width: 767.98px) {
  .promedica-page-heading,
  .post-type-archive-pm_specialist .promedica-page-heading,
  .post-type-archive-pm_price .promedica-page-heading,
  .post-type-archive-pm_specialty .promedica-page-heading,
  .post-type-archive-pm_gallery .promedica-page-heading,
  .post-type-archive-pm_service .promedica-page-heading,
  .page-template-default .promedica-page-heading { min-height: 205px; }
  .promedica-page-heading.has-image { min-height: 280px; }
  .promedica-page-heading-content { padding: 2.35rem 0 1.8rem; }
  .promedica-page-heading > .container,
  .breadcrumb-wrap > .container { padding-left: 1.35rem; padding-right: 1.35rem; }
  .section-space { padding: 3.35rem 0; }
  .section-space-sm { padding: 2.5rem 0; }
  .contact-map { padding: .75rem; }
  .contact-map iframe { min-height: 280px; height: 280px !important; border-radius: .85rem; }
  .home .contact-map iframe { min-height: 220px; height: 220px !important; }
}

@media (max-width: 575.98px) {
  .promedica-page-heading,
  .promedica-page-heading.has-image { min-height: 200px; }
  .promedica-page-heading.has-image { min-height: 260px; }
  .promedica-page-heading-content { padding: 2rem 0 1.55rem; }
  .promedica-page-heading h1,
  .single-pm_price .promedica-page-heading h1,
  .page-template-default .promedica-page-heading h1 { font-size: clamp(1.65rem, 7.2vw, 2.15rem); }
  .promedica-page-heading .lead { font-size: .98rem; line-height: 1.6; }
  .profile-name { font-size: 1.55rem; }
  .home .contact-map iframe { min-height: 200px; height: 200px !important; }
}

@media (max-width: 767.98px) {
  body:not(.home) .section-space > .container,
  body:not(.home) .section-space-sm > .container {
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }
}

/* 1.7.0 — dopracowanie mapy, sekcji otwierającej, filtrów, cennika i stron prawnych */

/* Menu: etykieta "Menu" i hamburger wyłącznie w widoku mobilnym/tabletowym. */
@media (min-width: 992px) {
  .site-header .navbar-toggler { display: none !important; }
}
@media (max-width: 991.98px) {
  .site-header .navbar-toggler {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
  }
}

/* Strona główna — sekcja otwierająca nieco wyżej i bardziej zwarty. */
@media (min-width: 992px) {
  .promedica-intro-home { min-height: 610px; }
  .promedica-intro-home > .container { top: -58px; }
}

/* Podstrony ze zdjęciem zachowują bardziej reprezentacyjny, wyższy nagłówek strony. */
@media (min-width: 768px) {
  .promedica-page-heading.has-image { min-height: 430px; }
  .promedica-page-heading.has-image .promedica-page-heading-content { padding-top: 5rem; padding-bottom: 3.2rem; }
}

/* Google Maps bez białej ramy/podkładu dookoła. */
.contact-panel .col-lg-6:has(.contact-map) { background: transparent; }
.contact-map {
  padding: 0;
  background: transparent;
}
.contact-map iframe {
  min-height: 500px;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(.9) contrast(.98);
}
@media (min-width: 992px) {
  .contact-map iframe { border-radius: 0 1.55rem 1.55rem 0; }
}
@media (max-width: 991.98px) {
  .contact-map { padding: 0; }
  .contact-map iframe {
    min-height: 300px;
    height: 300px !important;
    border-radius: 0 0 1.55rem 1.55rem;
  }
  .home .contact-map iframe {
    min-height: 190px;
    height: 190px !important;
  }
}
@media (max-width: 575.98px) {
  .contact-map iframe {
    min-height: 230px;
    height: 230px !important;
  }
  .home .contact-map iframe {
    min-height: 175px;
    height: 175px !important;
  }
}

/* Filtry Kadry i Cennika — mniej pustej przestrzeni. */
.dynamic-filter-section { padding: 1.45rem 0 !important; }
.dynamic-filter {
  gap: 1rem;
  padding: .9rem 1rem;
  border-radius: .8rem;
}
.dynamic-filter-copy { min-width: 190px; }
.dynamic-filter-copy .section-kicker { font-size: .68rem; }
.dynamic-filter-copy h2 { font-size: 1.12rem !important; margin-bottom: 0 !important; }
.dynamic-filter-control .form-select,
.dynamic-filter .form-select { min-height: 44px; font-size: .94rem; }
@media (max-width: 767.98px) {
  .dynamic-filter-section { padding: 1rem 0 !important; }
  .dynamic-filter { gap: .7rem; padding: .8rem; }
  .dynamic-filter-copy { min-width: 0; }
  .dynamic-filter-copy h2 { font-size: 1rem !important; }
  .dynamic-filter-control .form-select,
  .dynamic-filter .form-select { min-height: 42px; font-size: .9rem; }
}

/* Cennik — lżejsza typografia i czytelne separatory. */
.price-row-name { font-weight: 400; }
.price-value { font-weight: 600; }
.price-section h3,
.price-section h2 { font-weight: 500; }
.price-filter-title { font-weight: 400; }
@media (max-width: 575.98px) {
  .price-filter-sheet { padding: 1rem; margin-bottom: 2rem; }
  .price-filter-heading { margin-bottom: .55rem; }
  .price-filter-title { font-size: 1.35rem; }
  .price-section { padding: .9rem 0 1.15rem; }
  .price-section h3,
  .price-section h2 { font-size: 1.05rem; margin-bottom: .35rem; }
  .price-section-note { font-size: .82rem; }
  .price-row {
    grid-template-columns: minmax(0,1fr) auto;
    gap: .65rem;
    padding: .62rem 0;
    border-bottom: 1px solid var(--pm-border);
    align-items: start;
  }
  .price-section .price-row:last-child { border-bottom: 0; }
  .price-row-name { font-size: .88rem; line-height: 1.45; }
  .price-row-desc { font-size: .75rem; line-height: 1.4; }
  .price-value { font-size: .88rem; line-height: 1.45; }
  .price-dots { display: none; }
}

/* Strony prawne — spokojna, dokumentowa typografia zamiast dużych nagłówków. */
.promedica-legal-heading { min-height: 190px !important; }
.promedica-legal-heading .promedica-page-heading-content { padding: 2.65rem 0 2.1rem !important; }
.promedica-legal-heading h1 { font-size: clamp(1.8rem, 2.5vw, 2.45rem) !important; }
.legal-section { padding-top: 3.25rem; }
.legal-content { font-size: .98rem; line-height: 1.78; }
.legal-content .legal-intro {
  font-size: 1.03rem;
  color: var(--pm-ink-soft);
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--pm-border);
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 600;
  margin: 2rem 0 .65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--pm-border);
  letter-spacing: -.01em;
}
.legal-content h2:first-of-type { margin-top: .8rem; }
.legal-content p { margin-bottom: .9rem; }
@media (max-width: 575.98px) {
  .promedica-legal-heading { min-height: 160px !important; }
  .promedica-legal-heading .promedica-page-heading-content { padding: 2rem 0 1.55rem !important; }
  .promedica-legal-heading h1 { font-size: 1.65rem !important; }
  .legal-section { padding-top: 2.2rem; }
  .legal-content { font-size: .92rem; line-height: 1.72; }
  .legal-content h2 { font-size: 1.03rem; margin-top: 1.55rem; padding-top: .9rem; }
}


/* 1.7.1 — korekty mapy, hero i przełącznika menu */

/* Hamburger ma istnieć wyłącznie w widoku mobilnym/tabletowym. */
.site-header .navbar-toggler.d-lg-none { display: inline-flex; }
@media (min-width: 992px) {
  .site-header .navbar-toggler,
  .site-header .navbar-toggler.d-lg-none {
    display: none !important;
  }
}

/* Strona główna — tekst jest lekko podniesiony względem fotografii. */
.promedica-intro-home > .container { top: 0; }
.promedica-intro-home .promedica-intro-copy { position: relative; top: -46px; }
@media (min-width: 768px) and (max-width: 991.98px) {
  .promedica-intro-home .promedica-intro-copy { top: -30px; }
}
@media (max-width: 767.98px) {
  .promedica-intro-home .promedica-intro-copy { top: -14px; }
}

/* Kontakt — mapa dochodzi bezpośrednio do krawędzi sekcji, bez białej obwódki. */
.contact-panel {
  background: transparent;
  border: 0;
  border-radius: 1.6rem;
  box-shadow: none;
  overflow: hidden;
}
.contact-panel > .row { background: transparent; }
.contact-details {
  border: 1px solid var(--pm-border);
  border-right: 0;
  border-radius: 1.6rem 0 0 1.6rem;
  overflow: hidden;
}
.contact-map {
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
  border-radius: 0 1.6rem 1.6rem 0;
  overflow: hidden;
}
.contact-map iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 500px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 991.98px) {
  .contact-panel { border-radius: 1.35rem; }
  .contact-details {
    border: 1px solid var(--pm-border);
    border-bottom: 0;
    border-radius: 1.35rem 1.35rem 0 0;
  }
  .contact-map {
    border-radius: 0 0 1.35rem 1.35rem;
  }
  .contact-map iframe {
    border-radius: 0 !important;
  }
}


/* 1.7.2 — spokojniejsza skala typografii nagłówków w całym motywie. */
/* Główna zasada: tytuł ma prowadzić wzrok, ale nie dominować nad treścią. */
.promedica-intro-title {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}
.section-title {
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.12;
}
.promedica-page-heading h1,
.single-pm_price .promedica-page-heading h1,
.page-template-default .promedica-page-heading h1 {
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  line-height: 1.12;
}
.pm-card-title { font-size: 1.15rem; }
.specialty-card h3 { font-size: 1.1rem; }
.profile-name {
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  line-height: 1.22;
}
.price-filter-title { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.price-section h2,
.price-section h3 { font-size: 1.22rem; }
.content-area h2 { font-size: 1.42rem; line-height: 1.3; }
.content-area h3 { font-size: 1.2rem; line-height: 1.35; }
.content-area h4 { font-size: 1.06rem; line-height: 1.4; }
.promedica-legal-heading h1 { font-size: clamp(1.65rem, 2vw, 2rem) !important; }
.legal-content h2 { font-size: 1.06rem; }
.dynamic-filter-copy h2 { font-size: 1.02rem !important; }

@media (max-width: 991.98px) {
  .promedica-intro-title { font-size: clamp(1.95rem, 6vw, 2.55rem); }
  .section-title { font-size: clamp(1.6rem, 4.5vw, 2rem); }
  .promedica-page-heading h1,
  .single-pm_price .promedica-page-heading h1,
  .page-template-default .promedica-page-heading h1 { font-size: clamp(1.7rem, 5vw, 2.05rem); }
  .profile-name { font-size: 1.45rem; }
}

@media (max-width: 575.98px) {
  .promedica-intro-title {
    font-size: clamp(1.85rem, 8vw, 2.25rem);
    line-height: 1.1;
  }
  .section-title { font-size: 1.7rem; }
  .promedica-page-heading h1,
  .single-pm_price .promedica-page-heading h1,
  .page-template-default .promedica-page-heading h1 {
    font-size: 1.7rem;
    line-height: 1.16;
  }
  .pm-card-title { font-size: 1.08rem; }
  .specialty-card h3 { font-size: 1.04rem; }
  .profile-name { font-size: 1.35rem; }
  .price-filter-title { font-size: 1.22rem; }
  .price-section h2,
  .price-section h3 { font-size: 1rem; }
  .content-area h2 { font-size: 1.25rem; }
  .content-area h3 { font-size: 1.1rem; }
  .content-area h4 { font-size: 1rem; }
  .promedica-legal-heading h1 { font-size: 1.55rem !important; }
  .legal-content h2 { font-size: 1rem; }
}


/* 1.7.5 — typografia Promedica: Outfit + Source Sans 3. */
:root {
  --pm-font-heading: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --pm-font-text: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Dłuższe teksty pozostają lekkie i bardzo czytelne. */
body {
  font-family: var(--pm-font-text);
  font-weight: 400;
  letter-spacing: 0;
}

p,
li,
.content-area,
.legal-content,
.promedica-intro-text,
.section-lead,
.promedica-page-heading .lead,
.pm-card-text,
.price-row-desc {
  font-family: var(--pm-font-text);
}

/* Outfit buduje bardziej charakterystyczną, współczesną hierarchię interfejsu i nagłówków. */
h1, h2, h3, h4, h5, h6,
.promedica-intro-title,
.section-title,
.promedica-page-heading h1,
.profile-name,
.pm-card-title,
.specialty-card h3,
.price-filter-title,
.price-section h2,
.price-section h3,
.dynamic-filter-copy h2,
.footer-title {
  font-family: var(--pm-font-heading);
}

.promedica-intro-title {
  font-size: clamp(2.04rem, 3vw, 2.92rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -.043em;
  max-width: 760px;
}

.section-title {
  font-size: clamp(1.7rem, 2.35vw, 2.25rem);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -.038em;
}

.promedica-page-heading h1,
.single-pm_price .promedica-page-heading h1,
.page-template-default .promedica-page-heading h1 {
  font-size: clamp(1.85rem, 2.5vw, 2.42rem);
  line-height: 1.11;
  font-weight: 600;
  letter-spacing: -.036em;
}

.profile-name {
  font-size: clamp(1.42rem, 1.8vw, 1.72rem);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: -.03em;
}

.pm-card-title,
.specialty-card h3 {
  font-weight: 600;
  letter-spacing: -.018em;
}

.content-area h2,
.content-area h3,
.content-area h4 {
  font-family: var(--pm-font-heading);
  font-weight: 600;
  letter-spacing: -.025em;
}

.content-area h2 {
  font-size: 1.38rem;
  line-height: 1.28;
  margin-top: 2rem;
  margin-bottom: .8rem;
}

.content-area h3 {
  font-size: 1.17rem;
  line-height: 1.32;
}

.content-area h4 {
  font-size: 1.04rem;
  line-height: 1.4;
}

/* Nawigacja i elementy użytkowe mają bardziej precyzyjną, techniczną typografię. */
.navbar-nav .nav-link,
.navbar-toggler-label,
.btn,
.btn-promedica,
.promedica-intro-label,
.section-kicker,
.pm-card-meta,
label,
.form-label,
.form-select,
.form-control,
.price-row-name,
.price-value,
.price-filter-title,
.dynamic-filter-copy h2,
.footer-links,
.footer-meta {
  font-family: var(--pm-font-heading);
}

.navbar-nav .nav-link {
  font-weight: 600;
  letter-spacing: -.005em;
}

.btn,
.btn-promedica {
  font-weight: 600;
  letter-spacing: -.008em;
}

.promedica-intro-label,
.section-kicker,
.pm-card-meta {
  font-weight: 700;
  letter-spacing: .145em;
}

.price-row-name {
  font-weight: 400;
}

.price-value {
  font-weight: 600;
}

.price-section h2,
.price-section h3,
.price-filter-title,
.dynamic-filter-copy h2 {
  font-weight: 500;
}

/* Dokumenty prawne pozostają spokojne i maksymalnie czytelne. */
.promedica-legal-heading h1,
.legal-content h2 {
  font-family: var(--pm-font-heading);
}

.promedica-legal-heading h1 {
  font-weight: 500;
  letter-spacing: -.025em;
}

.legal-content h2 {
  font-weight: 600;
  letter-spacing: -.018em;
}

.legal-content,
.legal-content p,
.legal-content li {
  font-family: var(--pm-font-text);
}

@media (max-width: 991.98px) {
  .promedica-intro-title {
    font-size: clamp(1.92rem, 5.8vw, 2.48rem);
    line-height: 1.07;
  }
  .section-title {
    font-size: clamp(1.58rem, 4.3vw, 1.94rem);
  }
  .promedica-page-heading h1,
  .single-pm_price .promedica-page-heading h1,
  .page-template-default .promedica-page-heading h1 {
    font-size: clamp(1.66rem, 4.8vw, 1.98rem);
  }
}

@media (max-width: 575.98px) {
  .promedica-intro-title {
    font-size: clamp(1.82rem, 7.6vw, 2.16rem);
    line-height: 1.08;
  }
  .section-title {
    font-size: 1.62rem;
    line-height: 1.12;
  }
  .promedica-page-heading h1,
  .single-pm_price .promedica-page-heading h1,
  .page-template-default .promedica-page-heading h1 {
    font-size: 1.66rem;
    line-height: 1.12;
  }
  .profile-name {
    font-size: 1.34rem;
  }
  .content-area h2 {
    font-size: 1.22rem;
  }
  .content-area h3 {
    font-size: 1.08rem;
  }
  .content-area h4 {
    font-size: .98rem;
  }
}



/* 1.7.8 — poprawka plakietki sekcji otwierającej i powrót do jaśniejszej stopki. */
/*
 * Wszystkie reprezentacyjne nagłówki ze zdjęciem mają teraz jedną, przewidywalną
 * wysokość. Obraz jest kadrowany wewnątrz tej samej ramy, zamiast zmieniać
 * proporcje zależnie od podstrony i długości treści.
 */
.promedica-page-heading.has-image {
  height: 480px;
  min-height: 480px;
  max-height: 480px;
}
.promedica-page-heading.has-image .promedica-page-heading-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.promedica-page-heading.has-image .promedica-page-heading-content {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 2.5rem;
  padding-bottom: 3.2rem;
}

/* Zdjęcia na stronie głównej również dostają stałe ramy.
 * Sekcja zdjęcia pozostaje overflow:visible, bo plakietka celowo wychodzi poza krawędź zdjęcia. */
.promedica-intro-media {
  overflow: visible;
}
.about-media {
  overflow: hidden;
}
.promedica-intro-media img {
  width: 100%;
  height: 520px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
}
.about-media img {
  width: 100%;
  height: 500px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
}

/* Stopka: jaśniejszy, wcześniejszy odcień spójny z paletą Promedica. */
.site-footer {
  background: #b99a72;
  color: rgba(255,255,255,.92);
}
.site-footer .footer-links a,
.site-footer .brand-text small {
  color: rgba(255,255,255,.72);
}
.site-footer .footer-meta {
  border-top-color: rgba(255,255,255,.22);
}

@media (max-width: 991.98px) {
  .promedica-page-heading.has-image {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }
  .promedica-page-heading.has-image .promedica-page-heading-content {
    min-height: 360px;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .promedica-intro-media img { height: 430px; }
  .about-media img { height: 420px; }
}

@media (max-width: 575.98px) {
  .promedica-page-heading.has-image {
    height: 285px;
    min-height: 285px;
    max-height: 285px;
  }
  .promedica-page-heading.has-image .promedica-page-heading-image {
    object-position: 50% 45%;
  }
  .promedica-page-heading.has-image .promedica-page-heading-content {
    min-height: 285px;
    padding-top: 1.5rem;
    padding-bottom: 1.8rem;
  }
  .promedica-intro-media img,
  .about-media img {
    height: 320px;
    aspect-ratio: auto;
  }
}
