/* ==========================================================
   Clinica Gruszka — motyw (Marton Design)
   ========================================================== */
:root {
	--bg: #f7f4ef;
	--bg-alt: #efeae3;
	--bg-dark: #1c1a17;
	--bg-dark-soft: #2a2723;
	--ink: #1c1a17;
	--ink-soft: #4a453f;
	--ink-muted: #756e65;
	--accent: #8b5e3c;
	--accent-hover: #6f4a2e;
	--accent-soft: #c4a484;
	--line: rgba(28, 26, 23, .12);
	--line-strong: rgba(28, 26, 23, .22);
	--white: #fff;
	--serif: "Cormorant Garamond", Georgia, serif;
	--sans: "Outfit", system-ui, sans-serif;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: .75rem 1rem; z-index: 2000; }
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(1280px, 92vw); margin-inline: auto; }
.container-narrow { width: min(860px, 92vw); margin-inline: auto; }
.container-narrow-left { max-width: 760px; margin-bottom: 3rem; }

svg { flex-shrink: 0; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .9rem 1.6rem; border-radius: 2px; border: 1px solid transparent; transition: background .3s, color .3s, transform .25s, box-shadow .3s, border-color .3s; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(139, 94, 60, .25); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: var(--white); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.btn-outline-light { border-color: rgba(247, 244, 239, .35); color: var(--bg); }
.btn-outline-light:hover { border-color: var(--bg); background: rgba(247, 244, 239, .08); }
.text-link { color: var(--accent); font-weight: 500; border-bottom: 1px solid currentColor; }

/* ---------- Nagłówek ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h); display: flex; align-items: center; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.scrolled, .cg-inner .site-header { background: rgba(247, 244, 239, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header-inner { width: min(1280px, 92vw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); display: flex; flex-direction: column; line-height: 1.15; flex-shrink: 0; }
.logo span { font-family: var(--sans); font-size: .65rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
.logo img { height: 52px; width: auto; }
.cg-logo-white .logo-header img { filter: brightness(0); }
body:not(.cg-logo-white) .logo-footer img { filter: brightness(0) invert(1); }

.nav .nav-list { display: flex; align-items: center; gap: 2rem; }
.nav li { position: relative; }
.nav a { font-size: .9rem; font-weight: 400; letter-spacing: .02em; color: var(--ink-soft); position: relative; transition: color .25s; padding: .5rem 0; display: inline-block; }
.nav > ul > li > a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease); }
.nav a:hover, .nav .current-menu-item > a, .nav .current-menu-ancestor > a { color: var(--ink); }
.nav > ul > li > a:hover::after, .nav .current-menu-item > a::after, .nav .current-menu-ancestor > a::after { width: 100%; }
.nav .menu-item-has-children > a { padding-right: 1rem; }
.nav .menu-item-has-children > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.nav .sub-menu { position: absolute; top: 100%; left: -1.25rem; min-width: 260px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(28, 26, 23, .08); padding: .75rem 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav .sub-menu a { display: block; padding: .5rem 1.25rem; font-size: .9rem; }
.nav .sub-menu a:hover { color: var(--accent); background: var(--bg); }

.header-right { display: flex; align-items: center; gap: 1.5rem; }
.header-phone { font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: right; }
.header-phone small { display: block; font-size: .65rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.menu-toggle { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .3s, opacity .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-nav { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 999; padding: calc(var(--header-h) + 1.5rem) 6vw 2rem; flex-direction: column; overflow-y: auto; }
.mobile-nav.open { display: flex; }
.mobile-list > li > a { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.mobile-list .sub-menu { padding: .25rem 0 .75rem 1rem; }
.mobile-list .sub-menu a { display: block; padding: .3rem 0; color: var(--ink-soft); }
.mobile-contact { margin-top: 2rem; }
.mobile-contact p { margin-top: 1rem; font-size: .9rem; color: var(--ink-muted); }

/* ---------- Hero (strona główna) ---------- */
.hero { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: .92fr 1.08fr; padding-top: var(--header-h); }
.hero-content { display: flex; flex-direction: column; justify-content: center; padding: 4rem 5vw 5rem 0; margin-left: max(4vw, calc((100vw - 1280px) / 2)); }
.hero-eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .75rem; }
.hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 1.5rem; max-width: 16ch; }
.hero-lead { font-size: 1.125rem; font-weight: 300; color: var(--ink-soft); max-width: 44ch; margin-bottom: 2.5rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.25rem; }
.hero-meta { display: flex; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.hero-meta-item strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; }
.hero-meta-item span { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.hero-visual { position: relative; overflow: hidden; }
.hero-visual-inner { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.02); transition: transform 8s var(--ease); }
.hero:hover .hero-visual-inner { transform: scale(1.06); }
.hero-visual-caption { position: absolute; bottom: 2rem; left: 2rem; right: 2rem; background: rgba(247, 244, 239, .92); backdrop-filter: blur(12px); padding: 1rem 1.25rem; font-size: .85rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hero-visual-caption a { font-weight: 600; color: var(--ink); }

/* ---------- Pasek informacji ---------- */
.trust { padding: 5.5rem 0 4rem; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 0 2rem 0 0; position: relative; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; right: 1rem; top: .5rem; bottom: .5rem; width: 1px; background: var(--line); }
.trust-num { font-family: var(--serif); font-size: 2.75rem; color: var(--accent); line-height: 1; margin-bottom: .75rem; }
.trust-item h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: .5rem; }
.trust-item p { font-size: .9375rem; color: var(--ink-soft); font-weight: 300; line-height: 1.65; }

/* ---------- Sekcje wspólne ---------- */
.section-header { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 4rem; align-items: end; }
.section-header.is-center { grid-template-columns: 1fr; text-align: center; }
.section-eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .75rem; }
.section-title { font-family: var(--serif); font-size: clamp(2.2rem, 3.8vw, 3.25rem); font-weight: 500; line-height: 1.15; letter-spacing: -.015em; }
.section-desc { font-size: 1.0625rem; font-weight: 300; color: var(--ink-soft); line-height: 1.7; max-width: 46ch; }

/* ---------- Usługi (strona główna) ---------- */
.services { padding: 6.5rem 0 5rem; }
.services-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.service-feature { position: relative; min-height: 560px; background: var(--bg-dark); color: var(--bg); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.service-feature-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.service-feature:hover .service-feature-bg { transform: scale(1.05); }
.service-feature-content { position: relative; z-index: 2; padding: 2.5rem; }
.service-feature .tag { display: inline-block; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--accent-soft); padding: .35rem .7rem; margin-bottom: 1rem; }
.service-feature h3 { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; margin-bottom: .75rem; line-height: 1.1; }
.service-feature p { font-size: .975rem; font-weight: 300; opacity: .88; max-width: 40ch; margin-bottom: 1.5rem; }
.service-link { display: inline-flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid rgba(247, 244, 239, .4); padding-bottom: 2px; transition: gap .25s, border-color .25s; }
.service-feature:hover .service-link { gap: .8rem; border-color: var(--bg); }
.service-link svg, .arrow svg, .arrow-static svg { width: 14px; height: 14px; }
.services-side { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.service-card { background: var(--white); border: 1px solid var(--line); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.service-card:hover { border-color: var(--accent-soft); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28, 26, 23, .06); }
.service-card:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: auto; }
.service-card h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: .4rem; line-height: 1.2; }
.service-card p { font-size: .875rem; color: var(--ink-soft); font-weight: 300; line-height: 1.55; }
.service-card .arrow { margin-top: 1rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; opacity: .0; transform: translateX(-6px); transition: opacity .3s, transform .3s; }
.service-card:hover .arrow { opacity: 1; transform: none; }

/* ---------- Rezonans ---------- */
.mri { padding: 6rem 0; background: var(--bg-dark); color: var(--bg); position: relative; overflow: hidden; }
.mri::before { content: ""; position: absolute; top: -20%; right: -10%; width: 55%; height: 140%; background: radial-gradient(ellipse at center, rgba(139, 94, 60, .18) 0%, transparent 70%); pointer-events: none; }
.mri-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; position: relative; }
.mri .section-eyebrow { color: var(--accent-soft); }
.mri .section-title { color: var(--bg); margin-bottom: 1.25rem; }
.mri-content > p { font-size: 1.0625rem; font-weight: 300; opacity: .82; line-height: 1.7; margin-bottom: 2rem; max-width: 44ch; }
.mri-list { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; margin-bottom: 2.25rem; }
.mri-list li { font-size: .9375rem; display: flex; align-items: center; gap: .6rem; opacity: .92; }
.mri-list li::before { content: ""; width: 6px; height: 6px; background: var(--accent-soft); border-radius: 50%; flex-shrink: 0; }
.mri-geo { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.25rem; }
.mri-geo span { font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .85rem; border: 1px solid rgba(247, 244, 239, .25); color: rgba(247, 244, 239, .88); }
.mri-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.mri-visual { position: relative; aspect-ratio: 4/5; background: var(--bg-dark-soft); overflow: hidden; }
.mri-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .8s var(--ease), opacity .4s; }
.mri-visual:hover img { transform: scale(1.04); opacity: 1; }
.mri-badge { position: absolute; top: 1.5rem; left: 1.5rem; background: rgba(247, 244, 239, .95); color: var(--ink); padding: .65rem 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Specjaliści ---------- */
.specialists { padding: 6.5rem 0 5rem; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.team-card { display: block; }
.team-photo { aspect-ratio: 3/4; background: var(--bg-alt); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform .7s var(--ease), filter .5s; }
.team-card:hover .team-photo img { transform: scale(1.06); filter: none; }
.team-initials { font-family: var(--serif); font-size: 3.25rem; color: var(--accent); letter-spacing: .05em; }
.team-info { padding: 1.1rem 0 .5rem; }
.team-info h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: .15rem; line-height: 1.25; transition: color .25s; }
.team-card:hover .team-info h3 { color: var(--accent); }
.team-info p { font-size: .8125rem; color: var(--ink-muted); }
.specialists-page { padding-top: 3rem; }
.team-group + .team-group { margin-top: 4rem; }
.team-group-title { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; padding-bottom: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line); }

/* ---------- O klinice ---------- */
.about { padding: 6rem 0 7rem; background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; }
.about-visual-main { aspect-ratio: 4/5; overflow: hidden; background: var(--bg-dark); }
.about-visual-main img, .about-visual-float img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-visual:hover .about-visual-main img { transform: scale(1.04); }
.about-visual-float { position: absolute; bottom: -2rem; right: -2rem; width: 46%; aspect-ratio: 1; overflow: hidden; border: 8px solid var(--bg-alt); box-shadow: 0 20px 50px rgba(28, 26, 23, .12); }
.about-content .section-title { margin-bottom: 1.5rem; }
.about-content > p { font-size: 1.0625rem; font-weight: 300; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.1rem; }
.about-points { margin: 2rem 0 2.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
.about-point { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
.about-point-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--accent); line-height: 1.2; }
.about-point h3 { font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.about-point p { font-size: .9rem; color: var(--ink-soft); font-weight: 300; }

/* ---------- Jak się umówić ---------- */
.journey { padding: 6.5rem 0 5.5rem; }
.journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.journey-steps::before { content: ""; position: absolute; top: 2.25rem; left: 16%; right: 16%; height: 1px; background: var(--line-strong); }
.journey-step { text-align: center; padding: 0 2rem; position: relative; }
.step-marker { width: 4.5rem; height: 4.5rem; margin: 0 auto 1.75rem; border: 1px solid var(--line-strong); background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; color: var(--accent); position: relative; z-index: 1; transition: .35s; }
.journey-step:hover .step-marker { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.journey-step h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: .6rem; }
.journey-step p { font-size: .9375rem; color: var(--ink-soft); font-weight: 300; max-width: 30ch; margin-inline: auto; }

/* ---------- Partnerzy ---------- */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 6rem; }
.partners-inner { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.partners .section-eyebrow { margin: 0; color: var(--ink-muted); }
.partners-logos { display: flex; flex: 1; gap: 3rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.partners-logos img { height: 38px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: .3s; }
.partners-logos img:hover { filter: none; opacity: 1; }

/* ---------- Lokalizacja ---------- */
.location { padding: 0 0 6rem; }
.journey + .location, .contact-cards + .location { padding-top: 0; }
.location-panel { display: grid; grid-template-columns: 1fr 1.2fr; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.location-info { padding: 3.25rem 3rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.location-info h2 { font-family: var(--serif); font-size: 2.25rem; font-weight: 500; margin-bottom: 1.75rem; }
.contact-rows { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; width: 100%; }
.contact-row { display: grid; grid-template-columns: 100px 1fr; gap: .5rem; font-size: .9375rem; }
.contact-row dt { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding-top: .2rem; }
.contact-row small { color: var(--ink-muted); }
.contact-row a:hover { color: var(--accent); }
.location-map { min-height: 420px; position: relative; background: var(--bg-alt); }
.location-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15); }

/* ---------- CTA ---------- */
.final-cta { padding: 5.5rem 0; background: var(--ink); color: var(--bg); text-align: center; }
.final-cta .section-eyebrow { color: var(--accent-soft); }
.final-cta h2 { font-family: var(--serif); font-size: clamp(2.25rem, 4vw, 3.25rem); font-weight: 500; margin-bottom: 1rem; }
.final-cta p { font-size: 1.0625rem; font-weight: 300; opacity: .82; max-width: 46ch; margin: 0 auto 2.25rem; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-bottom: 1.75rem; }
.final-cta .final-hours { font-size: .875rem; opacity: .65; margin-bottom: 0; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--bg-dark-soft); color: rgba(247, 244, 239, .75); padding: 4.5rem 0 2.5rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: var(--bg); margin-bottom: 1.25rem; }
.footer-brand .logo span { color: rgba(247, 244, 239, .45); }
.footer-brand .logo img { height: 56px; }
.footer-brand p { font-size: .9rem; font-weight: 300; max-width: 30ch; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: .75rem; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(247, 244, 239, .2); display: flex; align-items: center; justify-content: center; transition: .25s; }
.footer-social a:hover { border-color: var(--bg); background: rgba(247, 244, 239, .08); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h2 { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bg); margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; font-size: .9rem; font-weight: 300; }
.footer-col a { transition: color .25s; }
.footer-col a:hover { color: var(--bg); }
.footer-disclaimer { font-size: .8rem; opacity: .55; padding-top: 1.5rem; border-top: 1px solid rgba(247, 244, 239, .1); margin-bottom: 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .8125rem; opacity: .65; }
.footer-legal ul { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--bg); }

.mobile-call { display: none; }

/* ---------- Podstrony ---------- */
.page-hero { padding: calc(var(--header-h) + 4rem) 0 4rem; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.page-hero-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.page-hero.has-image .page-hero-inner { grid-template-columns: 1.1fr .9fr; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 1.25rem; max-width: 20ch; }
.page-hero-lead { font-size: 1.125rem; font-weight: 300; color: var(--ink-soft); max-width: 56ch; line-height: 1.7; }
.page-hero .hero-actions { margin: 2rem 0 0; }
.page-hero-img { aspect-ratio: 4/3; overflow: hidden; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumbs { margin-bottom: 2rem; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .55rem; }
.breadcrumbs li:not(:last-child)::after { content: ""; width: 14px; height: 1px; background: var(--line-strong); }
.breadcrumbs a { transition: color .25s; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--accent); }
.breadcrumbs ~ .hero-eyebrow { display: none; }

.page-body { padding: 4.5rem 0 6rem; }

/* Treść z edytora */
.entry-content { font-size: 1.0625rem; color: var(--ink-soft); font-weight: 300; line-height: 1.8; }
.entry-content > * + * { margin-top: 1.1rem; }
.entry-content h2 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); font-weight: 500; color: var(--ink); line-height: 1.2; margin-top: 3rem; }
.entry-content h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: var(--ink); margin-top: 2rem; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content strong { color: var(--ink); font-weight: 500; }
.entry-content a { color: var(--accent); border-bottom: 1px solid rgba(139, 94, 60, .35); }
.entry-content a:hover { border-color: var(--accent); }
.entry-content ul, .entry-content ol { padding-left: 0; }
.entry-content ul li { position: relative; padding-left: 1.5rem; margin-bottom: .55rem; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.entry-content ol { list-style: decimal; padding-left: 1.25rem; }
.entry-content .is-lead { font-size: 1.25rem; color: var(--ink); line-height: 1.65; font-weight: 400; }
.entry-content .is-note { font-size: .95rem; background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 1rem 1.25rem; margin-top: 2rem; }
.entry-content .wp-block-details { border-top: 1px solid var(--line); padding: 1.1rem 0; margin-top: 0; }
.entry-content .wp-block-details:last-of-type { border-bottom: 1px solid var(--line); }
.entry-content h2 + .wp-block-details { margin-top: 1.5rem; }
.entry-content .wp-block-details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 500; color: var(--ink); font-size: 1.05rem; }
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; color: var(--accent); line-height: 1; transition: transform .25s; }
.entry-content .wp-block-details[open] summary::after { transform: rotate(45deg); }
.entry-content .wp-block-details p { margin-top: .75rem; }
.entry-content .wp-block-table { margin: 1.5rem 0 0; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .975rem; background: var(--white); border: 1px solid var(--line); }
.entry-content th { text-align: left; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); background: var(--bg-alt); padding: .9rem 1.25rem; }
.entry-content td { padding: .9rem 1.25rem; border-top: 1px solid var(--line); color: var(--ink); }
.entry-content td:last-child, .entry-content th:last-child { text-align: right; white-space: nowrap; }
.entry-content tr:hover td { background: var(--bg); }
.entry-content img { margin: 2rem 0; }

/* Szablon usługi */
.service-body { padding: 4.5rem 0 5rem; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 5rem; align-items: start; }
.service-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.admin-bar .service-aside { top: calc(var(--header-h) + 3.5rem); }
.aside-box { background: var(--white); border: 1px solid var(--line); padding: 1.75rem; }
.aside-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.aside-dark .section-eyebrow { color: var(--accent-soft); }
.aside-phone { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1.1; margin-bottom: 1.25rem; }
.aside-list { display: flex; flex-direction: column; gap: .8rem; font-size: .9rem; opacity: .85; margin-bottom: 1.5rem; }
.aside-list li { display: flex; gap: .75rem; align-items: flex-start; }
.aside-list svg { width: 18px; height: 18px; margin-top: .15rem; color: var(--accent-soft); }
.aside-dark .btn { width: 100%; }
.aside-docs { display: flex; flex-direction: column; gap: .9rem; }
.aside-docs a { display: flex; align-items: center; gap: .9rem; }
.aside-docs a:hover strong { color: var(--accent); }
.aside-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--bg-alt); flex-shrink: 0; }
.aside-avatar img { width: 100%; height: 100%; object-fit: cover; }
.aside-docs strong { display: block; font-weight: 500; font-size: .95rem; transition: color .25s; }
.aside-docs small { color: var(--ink-muted); font-size: .8rem; }
.aside-link { font-size: .9rem; color: var(--accent); font-weight: 500; padding-left: .25rem; }

.other-services { padding: 0 0 6rem; }
.other-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.other-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--line); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; transition: .3s; }
.other-card svg { width: 16px; height: 16px; color: var(--accent); transition: transform .3s; }
.other-card:hover { border-color: var(--accent-soft); }
.other-card:hover svg { transform: translateX(4px); }

/* Lista usług */
.services-list { padding-top: 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-tile { background: var(--white); border: 1px solid var(--line); padding: 2.25rem 2rem; display: flex; flex-direction: column; min-height: 320px; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.service-tile:hover { border-color: var(--accent-soft); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(28, 26, 23, .06); }
.service-tile-num { font-family: var(--serif); font-size: 1.5rem; color: var(--accent); margin-bottom: 1.5rem; }
.service-tile h2 { font-family: var(--serif); font-size: 1.85rem; font-weight: 500; line-height: 1.15; margin-bottom: .75rem; }
.service-tile p { color: var(--ink-soft); font-weight: 300; font-size: .95rem; }
.service-tile-docs { margin-top: 1rem; font-size: .8rem !important; color: var(--ink-muted) !important; }
.arrow-static { margin-top: auto; padding-top: 1.5rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; }

/* Kontakt */
.contact-cards { padding: 4rem 0 4rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contact-card { background: var(--white); border: 1px solid var(--line); padding: 2rem; display: flex; flex-direction: column; gap: .35rem; transition: border-color .3s; }
a.contact-card:hover { border-color: var(--accent-soft); }
.contact-card svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 1rem; }
.contact-card-label { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.contact-card strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; line-height: 1.2; word-break: break-word; }
.contact-card span:not(.contact-card-label) { color: var(--ink-soft); font-size: .95rem; }
.contact-content { margin-top: 3.5rem; }

/* Profil lekarza */
.doctor { padding: calc(var(--header-h) + 4rem) 0 5.5rem; }
.doctor-grid { display: grid; grid-template-columns: 420px 1fr; gap: 5rem; align-items: start; }
.doctor-photo { aspect-ratio: 3/4; background: var(--bg-alt); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .team-initials { font-size: 5rem; }
.doctor-info h1 { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 500; line-height: 1.1; margin-bottom: 1.75rem; }
.doctor-info .hero-actions { margin: 2.5rem 0 0; }

/* Wpisy */
.post-item { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.post-item h2 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; margin-bottom: .5rem; }
.post-date { font-size: .8rem; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Animacje ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible, .no-js .reveal { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1240px) {
	.header-phone { display: none; }
	.nav .nav-list { gap: 1.5rem; }
}
@media (max-width: 1100px) {
	.nav { display: none; }
	.menu-toggle { display: flex; }
	.hero { grid-template-columns: 1fr; min-height: auto; }
	.hero-content { padding: 3.5rem 0 3rem; margin: 0 auto; width: 92vw; }
	.hero-visual { height: 55vh; min-height: 360px; order: -1; }
	.hero h1 { max-width: none; }
	.trust-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
	.trust-item:not(:last-child)::after { display: none; }
	.trust-item { padding: 0; }
	.services-layout { grid-template-columns: 1fr; }
	.service-feature { min-height: 440px; }
	.team-grid { grid-template-columns: repeat(3, 1fr); }
	.about-grid { grid-template-columns: 1fr; gap: 4rem; }
	.about-visual-float { right: 1rem; bottom: -1.5rem; }
	.mri-inner { grid-template-columns: 1fr; gap: 3rem; }
	.mri-visual { aspect-ratio: 16/10; }
	.location-panel { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
	.service-grid { grid-template-columns: 1fr; gap: 3rem; }
	.service-aside { position: static; }
	.services-grid { grid-template-columns: 1fr 1fr; }
	.page-hero.has-image .page-hero-inner { grid-template-columns: 1fr; }
	.doctor-grid { grid-template-columns: 320px 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
	:root { --header-h: 68px; }
	.header-cta { display: none; }
	.logo img { height: 44px; }
	.section-header { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 2.75rem; }
	.trust { padding: 4rem 0 3rem; }
	.trust-grid { grid-template-columns: 1fr; }
	.services, .specialists, .journey { padding: 4.5rem 0; }
	.services-side { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
	.journey-steps { grid-template-columns: 1fr; gap: 2.5rem; }
	.journey-steps::before { display: none; }
	.mri { padding: 4.5rem 0; }
	.mri-list { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
	.hero-meta { flex-wrap: wrap; gap: 1.5rem; }
	.location-info { padding: 2.5rem 1.5rem; }
	.location-map { min-height: 320px; }
	.services-grid, .contact-grid { grid-template-columns: 1fr; }
	.service-tile { min-height: auto; }
	.page-hero { padding: calc(var(--header-h) + 2.5rem) 0 3rem; }
	.doctor { padding-top: calc(var(--header-h) + 2rem); }
	.doctor-grid { grid-template-columns: 1fr; }
	.doctor-photo { max-width: 360px; }
	.partners-logos { gap: 2rem; justify-content: flex-start; }
	.contact-row { grid-template-columns: 80px 1fr; }
	.site-footer { padding-bottom: 6rem; }
	.mobile-call { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; align-items: center; justify-content: center; gap: .6rem; background: var(--ink); color: var(--bg); padding: 1rem; font-size: .85rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
	.mobile-call svg { width: 18px; height: 18px; }
}
@media (max-width: 480px) {
	.team-grid { grid-template-columns: 1fr 1fr; }
	.hero-actions { flex-direction: column; }
	.hero-actions .btn { width: 100%; }
	.about-visual-float { width: 52%; }
}
.team-age { margin-top: .35rem; font-size: .78rem !important; color: var(--accent) !important; line-height: 1.4; }

/* ---------- Zdjęcia: galeria, kafelki ---------- */
.gallery-section { padding: 6rem 0 5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
.gallery-item { overflow: hidden; background: var(--bg-alt); margin: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-grid { grid-template-rows: repeat(3, 240px); grid-auto-rows: 240px; }
.gallery-item-0 { grid-area: 1 / 1 / 3 / 3; }
.gallery-item-1 { grid-area: 1 / 3 / 2 / 4; }
.gallery-item-2 { grid-area: 1 / 4 / 2 / 5; }
.gallery-item-3 { grid-area: 2 / 3 / 4 / 4; }
.gallery-item-4 { grid-area: 2 / 4 / 4 / 5; }
.gallery-item-5 { grid-area: 3 / 1 / 4 / 2; }
.gallery-item-6 { grid-area: 3 / 2 / 4 / 3; }
.gallery-item-7 { display: none; }
.service-card.has-img { padding: 0; overflow: hidden; }
.service-card.has-img > div:not(.service-card-img) { padding: 1.25rem 1.5rem 0; }
.service-card.has-img .arrow { padding: 0 1.5rem 1.5rem; }
.service-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-alt); }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card.has-img:last-child:nth-child(odd) { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; }
.service-card.has-img:last-child:nth-child(odd) .service-card-img { grid-row: span 2; height: 100%; aspect-ratio: auto; min-height: 180px; }
.service-tile { padding: 0; overflow: hidden; }
.service-tile > :not(.service-tile-img) { margin-left: 2rem; margin-right: 2rem; }
.service-tile-num { margin-top: 1.75rem; }
.service-tile .arrow-static { padding-bottom: 2rem; }
.service-tile-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-alt); }
.service-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-tile:hover .service-tile-img img { transform: scale(1.05); }
.page-hero-img { box-shadow: 0 30px 60px -30px rgba(28, 26, 23, .35); }
@media (max-width: 900px) {
	.gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; }
	.gallery-item { grid-area: auto !important; }
	.gallery-item-0 { grid-column: span 2 !important; grid-row: span 2 !important; }
}
@media (max-width: 768px) {
	.gallery-section { padding: 4.5rem 0 3.5rem; }
	.service-card.has-img:last-child:nth-child(odd) { display: flex; }
	.service-card.has-img:last-child:nth-child(odd) .service-card-img { aspect-ratio: 16/9; height: auto; min-height: 0; }
}

.location-panel.has-photo { grid-template-columns: 1fr .8fr 1.1fr; }
.location-photo { position: relative; min-height: 420px; overflow: hidden; }
.location-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) {
	.location-panel.has-photo { grid-template-columns: 1fr; }
	.location-photo { min-height: 300px; }
}

/* ---------- Partnerzy — karuzela ---------- */
.partners { padding: 3.5rem 0; overflow: hidden; }
.partners-head { margin-bottom: 1.75rem; text-align: center; }
.partners-head .section-eyebrow { margin: 0; color: var(--ink-muted); }
.partners-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partners-track { display: flex; width: max-content; animation: cg-marquee 38s linear infinite; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partner-logo { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 200px; height: 64px; margin: 0 2rem; }
.partners-marquee, .partners-track { background: var(--bg); }
.partner-logo img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(1.12) contrast(1.3); mix-blend-mode: multiply; opacity: .65; transition: opacity .3s, filter .3s; }
.partner-logo:hover img { filter: brightness(1.12) contrast(1.15); opacity: 1; }
@keyframes cg-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
	.partner-logo[aria-hidden] { display: none; }
}
@media (max-width: 768px) { .partner-logo { width: 150px; margin: 0 1.25rem; } }

/* ---------- CookieYes — kolory motywu ---------- */
.cky-btn-revisit-wrapper { background-color: var(--ink) !important; box-shadow: 0 6px 18px rgba(28, 26, 23, .25) !important; }
.cky-btn-revisit-wrapper:hover { background-color: var(--accent) !important; }
.cky-btn-revisit-wrapper .cky-btn-revisit img { filter: brightness(0) invert(1) sepia(.15); }
.cky-consent-container .cky-consent-bar, .cky-modal { background: var(--bg) !important; border-color: var(--line) !important; font-family: var(--sans) !important; border-radius: 2px !important; }
.cky-title, .cky-preference-title { font-family: var(--serif) !important; color: var(--ink) !important; font-weight: 500 !important; }
.cky-notice-des, .cky-notice-des p, .cky-preference-content-wrapper, .cky-accordion-header-des { color: var(--ink-soft) !important; }
.cky-notice-des a, .cky-policy, .cky-show-desc-btn { color: var(--accent) !important; }
.cky-btn { border-radius: 2px !important; font-family: var(--sans) !important; font-weight: 600 !important; letter-spacing: .04em; }
.cky-btn-accept, .cky-btn-preferences.cky-btn-accept { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--bg) !important; }
.cky-btn-accept:hover { background: var(--accent) !important; border-color: var(--accent) !important; }
.cky-btn-reject, .cky-btn-customize, .cky-btn-preferences { background: transparent !important; border-color: var(--line-strong) !important; color: var(--ink) !important; }
.cky-btn-reject:hover, .cky-btn-customize:hover, .cky-btn-preferences:hover { border-color: var(--ink) !important; }
.cky-switch input[type="checkbox"]:checked { background: var(--accent) !important; }
.partner-logo img[alt="Logo Allianz"], .partner-logo img[src*="AZ_Logo"] { max-height: 32px; max-width: 70%; }

/* ==========================================================
   v2.0 - sekcje z edytora, usługi, lekarze, Poradnik, mega-menu
   ========================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-visual .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 8s var(--ease); }
.hero:hover .hero-visual .hero-img { transform: scale(1.06); }
.service-feature-bg img { width: 100%; height: 100%; object-fit: cover; }

/* Mega-menu „Usługi” */
.nav .has-mega { position: static; }
.nav .has-mega > a { padding-right: 1rem; }
.nav .has-mega > a::before { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.nav .has-mega > .sub-menu { display: none; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: .5rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.nav .has-mega:hover > .mega, .nav .has-mega:focus-within > .mega, .nav .has-mega.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { width: min(860px, 92vw); margin-left: auto; margin-right: 0; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 48px rgba(28, 26, 23, .1); display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; padding: 1.75rem 2rem 1.25rem; }
.mega-title { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-bottom: .6rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.nav .mega a { display: block; padding: .45rem 0; font-size: .95rem; color: var(--ink-soft); }
.nav .mega a::after { display: none; }
.nav .mega a:hover { color: var(--accent); }
.mega-foot { grid-column: 1 / -1; display: flex; gap: 2rem; border-top: 1px solid var(--line); margin-top: .9rem; padding-top: .6rem; }
.nav .mega-foot a { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.header-inner { position: relative; }
.mobile-list .mega { position: static; opacity: 1; visibility: visible; transform: none; padding: .25rem 0 .75rem 1rem; }
.mobile-list .mega-inner { width: auto; display: block; background: none; border: 0; box-shadow: none; padding: 0; }
.mobile-list .mega-title { border: 0; margin: .75rem 0 .1rem; padding: 0; }
.mobile-list .mega a { display: block; padding: .3rem 0; color: var(--ink-soft); }
.mobile-list .mega-foot { display: flex; gap: 1.25rem; border: 0; margin-top: .5rem; padding: 0; }
.mobile-list .mega-foot a { font-weight: 600; color: var(--ink); }

/* Hero podstron: wyróżniki */
.hero-highlights { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; }
.hero-highlights li { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-soft); }
.hero-highlights svg { width: 16px; height: 16px; color: var(--accent); }

/* Ramka „W skrócie” + linia weryfikacji */
.service-intro { padding: 3rem 0 0; }
.service-intro-inner { width: min(1080px, 92vw); }
.summary-box { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 1.6rem 1.9rem; margin: 0 0 1rem; }
.summary-title { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.summary-box dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem 2rem; }
.summary-box dl > div { border-left: 1px solid var(--line); padding-left: 1rem; }
.summary-box dl > .is-full { grid-column: 1 / -1; border: 0; padding: 0; }
.summary-box dt { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: .2rem; }
.summary-box dd { font-size: .975rem; color: var(--ink); line-height: 1.5; }
.review-line { font-size: .85rem; color: var(--ink-muted); }
.review-line a { color: var(--accent); border-bottom: 1px solid rgba(139, 94, 60, .35); }

/* Treść usług z sekcji */
.service-content { padding: 2.5rem 0 5rem; font-size: 1.0625rem; }
.service-content > * { width: min(860px, 92vw); margin-inline: auto; }
.service-content > .cg-sec { width: min(1080px, 92vw); }
.entry-content .cg-sec { margin-top: 0; padding: 3.5rem 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.entry-content .cg-sec:first-child { border-top: 0; padding-top: 1.5rem; }
.entry-content .cg-sec > * { max-width: 860px; }
.entry-content .cg-sec > .cg-cards, .entry-content .cg-sec > .cg-cols, .entry-content .cg-sec > .doc-cards, .entry-content .cg-sec > .related-cards, .entry-content .cg-sec > .post-cards, .entry-content .cg-sec > .services-grid, .entry-content .cg-sec > .wp-block-table, .entry-content .cg-sec > .cg-cta-banner, .entry-content .cg-sec > .map-consent { max-width: none; }
.entry-content .cg-sec > h2 { margin-top: 0; margin-bottom: 1.5rem; }
.entry-content .cg-sec.is-alt, .entry-content .cg-sec-pricing { background: var(--bg-alt); border: 0; padding: 3.5rem clamp(1.25rem, 3vw, 2.75rem); margin-top: 1rem; }
.cg-eyebrow { font-size: .72rem !important; font-weight: 500 !important; letter-spacing: .18em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: .5rem !important; }
.entry-content .cg-eyebrow + h2 { margin-top: 0; }
.entry-content .cg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.75rem; }
.entry-content .cg-card { background: var(--white); border: 1px solid var(--line); padding: 1.5rem 1.4rem; margin: 0; transition: border-color .3s; }
.entry-content .cg-card:hover { border-color: var(--accent-soft); }
.entry-content .cg-card h3 { font-size: 1.3rem; margin: 0 0 .5rem; line-height: 1.2; }
.entry-content .cg-card p { font-size: .95rem; line-height: 1.6; margin: 0; }
.entry-content .cg-cards.is-symptoms .cg-card { border-left: 3px solid var(--accent-soft); }
.entry-content ol.cg-steps { list-style: none; padding: 0; counter-reset: cgstep; display: grid; gap: 1rem; margin-top: 1.75rem; }
.entry-content ol.cg-steps li { counter-increment: cgstep; position: relative; padding: 1.2rem 1.25rem 1.2rem 4.25rem; background: var(--white); border: 1px solid var(--line); margin: 0; }
.entry-content ol.cg-steps li::before { content: counter(cgstep); position: absolute; left: 1.25rem; top: 1.05rem; width: 2.1rem; height: 2.1rem; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.15rem; color: var(--accent); background: var(--bg); }
.entry-content ol.cg-steps li strong { display: block; margin-bottom: .15rem; }
.entry-content .cg-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 1.5rem; }
.entry-content .cg-cols > .wp-block-column > * + * { margin-top: 1rem; }
.entry-content .cg-img { margin: 0; overflow: hidden; }
.entry-content .cg-img img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry-content .cg-cta-banner { background: var(--ink); color: var(--bg); padding: 2.25rem 2.5rem; margin-top: 2rem; display: grid; grid-template-columns: 1fr auto; gap: .5rem 2.5rem; align-items: center; }
.entry-content .cg-cta-banner h3 { color: var(--bg); margin: 0; font-size: 1.7rem; }
.entry-content .cg-cta-banner p { color: rgba(247, 244, 239, .82); margin: 0; grid-column: 1; }
.entry-content .cg-cta-banner .wp-block-buttons { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .9rem 1.5rem; border-radius: 2px; border: 1px solid transparent; background: var(--ink); color: var(--bg); transition: .3s; }
.entry-content .wp-block-button__link:hover { background: var(--accent); }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.entry-content .cg-cta-banner .is-style-fill .wp-block-button__link { background: var(--bg); color: var(--ink); }
.entry-content .cg-cta-banner .is-style-outline .wp-block-button__link { border-color: rgba(247, 244, 239, .35); color: var(--bg); }
.entry-content .cg-cta-banner .wp-block-button__link:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.entry-content .cg-sec-pricing h3 { margin-top: 2rem; }
.entry-content .cg-sec-pricing h3:first-of-type { margin-top: 0; }
.hub-content .services-grid { margin-top: 1.75rem; }
.hub-content .service-tile h2 { font-size: 1.6rem; margin-top: 0; }
.hub-content .service-tile p, .hub-content .service-tile h2, .hub-content .service-tile span { margin-top: 0; }
.hub-content .service-tile { border-bottom: 1px solid var(--line); color: var(--ink); }
.hub-content a.service-tile { border-bottom-color: var(--line); }
.entry-content a.service-tile, .entry-content a.related-card, .entry-content a.other-card, .entry-content .doc-card a, .entry-content .post-card a, .entry-content .town-pills a { border-bottom: 0; }

/* Lekarze w usłudze */
.doc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 1rem; margin-top: 1.5rem; }
.doc-card { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; background: var(--white); border: 1px solid var(--line); padding: 1.1rem; margin: 0 !important; }
.doc-card-photo { aspect-ratio: 3 / 4; background: var(--bg-alt); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.doc-card-photo img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.doc-card-body > * + * { margin-top: .35rem; }
.doc-card h3 { font-family: var(--serif); font-size: 1.3rem !important; font-weight: 500; line-height: 1.2; margin: 0 !important; }
.doc-card h3 a { color: var(--ink) !important; }
.doc-card h3 a:hover { color: var(--accent) !important; }
.doc-card-spec { font-size: .85rem !important; color: var(--ink-muted) !important; line-height: 1.4; }
.doc-card-age { font-size: .8rem !important; color: var(--accent) !important; line-height: 1.4; }
.doc-card-bio { font-size: .9rem !important; line-height: 1.55 !important; color: var(--ink-soft); }
.doc-card-links { font-size: .8rem !important; font-weight: 600; letter-spacing: .04em; display: flex; gap: 1rem; flex-wrap: wrap; }
.doc-card-links a { color: var(--accent) !important; }
.team-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--accent-soft); background: linear-gradient(160deg, var(--bg-alt), #e6ded3); }
.team-placeholder svg { width: 38%; height: auto; }

/* Powiązane usługi */
.related-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.related-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line) !important; color: var(--ink) !important; transition: border-color .3s, transform .35s var(--ease); }
.related-card:hover { border-color: var(--accent-soft) !important; transform: translateY(-3px); }
.related-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.related-img img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.related-body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .3rem; }
.related-body strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; }
.related-body span { font-size: .875rem; color: var(--ink-soft); line-height: 1.5; }

/* Dojazd */
.town-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.entry-content .town-pills li { padding: .35rem .8rem; margin: 0; border: 1px solid var(--line-strong); font-size: .85rem; color: var(--ink-soft); }
.entry-content .town-pills li::before { display: none; }
.map-consent { background: var(--bg-alt) linear-gradient(135deg, rgba(196, 164, 132, .18) 25%, transparent 25%, transparent 50%, rgba(196, 164, 132, .18) 50%, rgba(196, 164, 132, .18) 75%, transparent 75%) 0 0 / 28px 28px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.5rem; min-height: 280px; margin-top: 1.5rem; }
.map-consent-inner { max-width: 420px; background: rgba(247, 244, 239, .94); padding: 1.5rem; border: 1px solid var(--line); }
.map-consent-inner p { font-size: .85rem !important; line-height: 1.55; color: var(--ink-soft); margin: 0 0 1rem !important; }
.map-consent-inner .btn { margin: .25rem; }
.map-consent iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.6) sepia(.15); }
.map-consent.is-loaded { padding: 0; background: none; display: block; }
.location-map .map-consent { position: absolute; inset: 0; margin: 0; min-height: 0; }
.location-map .map-consent.is-loaded iframe { position: absolute; inset: 0; height: 100%; }

/* Spis treści */
.toc { background: var(--white); border: 1px solid var(--line); padding: 1.25rem 1.5rem; margin: 1.5rem 0 2rem; }
.toc-title { font-size: .72rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: .6rem !important; }
.entry-content .toc ol { list-style: decimal; padding-left: 1.25rem; columns: 2 260px; column-gap: 2rem; margin: 0; }
.entry-content .toc li { margin: 0 0 .35rem; font-size: .95rem; break-inside: avoid; }
.entry-content .toc a { border: 0; }
.entry-content h2[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* Profil lekarza */
.doctor-head { display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: start; }
.doctor-head .doctor-photo { max-width: none; }
.doctor-spec { font-size: 1.05rem; color: var(--accent); margin: -1rem 0 1.5rem; }
.doctor-facts { display: grid; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.doctor-facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; font-size: .95rem; }
.doctor-facts dt { font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding-top: .2rem; }
.doctor-facts a { color: var(--accent); }
.doctor-bio { max-width: 860px; margin-top: 4rem; }
.doctor-posts, .doctor-services { margin-top: 4rem; }
.doctor-posts h2, .doctor-services h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: 1.25rem; }

/* Poradnik */
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.post-card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; margin: 0 !important; }
.post-card:hover { border-color: var(--accent-soft); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(28, 26, 23, .06); }
.post-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.post-card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.post-card-cat { font-size: .7rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important; }
.post-card h3 { font-family: var(--serif); font-size: 1.4rem !important; font-weight: 500; line-height: 1.2; margin: 0 !important; }
.post-card h3 a { color: var(--ink) !important; }
.post-card h3 a:hover { color: var(--accent) !important; }
.post-card p { font-size: .9rem !important; line-height: 1.55 !important; color: var(--ink-soft); margin: 0 !important; }
.post-card-meta { margin-top: auto !important; padding-top: .5rem; font-size: .78rem !important; color: var(--ink-muted) !important; }
.home-blog { padding: 5.5rem 0 5rem; }
.blog-list { padding: 3rem 0 6rem; }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.cat-pills a { padding: .5rem 1rem; border: 1px solid var(--line-strong); font-size: .85rem; color: var(--ink-soft); transition: .25s; }
.cat-pills a:hover, .cat-pills a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.blog-empty { padding: 3rem 0; color: var(--ink-muted); }
.blog-svc { margin-top: 3rem; }
.pagination, .nav-links { display: flex; gap: .5rem; justify-content: center; margin-top: 3rem; }
.nav-links .page-numbers { min-width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.nav-links .current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.post-head { padding: calc(var(--header-h) + 3.5rem) 0 2rem; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.post-head h1 { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 1.25rem; }
.post-head .hero-eyebrow a:hover { color: var(--ink); }
.post-expert { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .8rem 0; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
.post-dates { font-size: .8rem; color: var(--ink-muted); }
.post-thumb { margin-bottom: 2rem; }
.post-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-single .summary-box { margin-bottom: 2rem; }
.post-single .entry-content { padding-bottom: 1rem; }
.urgent-box { background: #fbf1ea; border: 1px solid #e7cdb9; border-left: 3px solid #a2522d; padding: 1.4rem 1.6rem; margin: 2.5rem 0; }
.urgent-box .summary-title { color: #a2522d; }
.urgent-box ul { display: grid; gap: .4rem; margin-bottom: .9rem; }
.urgent-box li { position: relative; padding-left: 1.25rem; font-size: .95rem; }
.urgent-box li::before { content: "!"; position: absolute; left: 0; font-weight: 700; color: #a2522d; }
.urgent-box p { font-size: .9rem; }
.service-box { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; align-items: center; background: var(--white); border: 1px solid var(--line); padding: 1.25rem; margin: 2.5rem 0; }
.service-box-img { aspect-ratio: 1; overflow: hidden; }
.service-box-img img { width: 100%; height: 100%; object-fit: cover; }
.service-box h2 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; line-height: 1.2; margin-bottom: .4rem; }
.service-box h2 a:hover { color: var(--accent); }
.service-box p { font-size: .925rem; color: var(--ink-soft); }
.service-box-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.post-sources { margin: 2.5rem 0; font-size: .9rem; }
.post-sources h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: .75rem; }
.post-sources ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .35rem; color: var(--ink-soft); }
.post-sources a { color: var(--accent); word-break: break-word; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem; font-size: .925rem; color: var(--ink-soft); }
.author-box img { border-radius: 50%; }
.post-disclaimer { font-size: .8rem; color: var(--ink-muted); margin: 1.5rem 0 4rem; padding: 1rem 1.25rem; background: var(--bg-alt); }
.related-posts { padding: 4rem 0 5rem; border-top: 1px solid var(--line); }

/* Responsywność v2 */
@media (max-width: 1100px) {
	.post-cards { grid-template-columns: 1fr 1fr; }
	.hero-visual { height: 38vh; min-height: 260px; max-height: 420px; order: 0; }
	.hero-content { padding-top: calc(var(--header-h) + 1.5rem); }
	.hero { padding-top: 0; }
	.page-hero.has-image .page-hero-img { max-height: 40vh; aspect-ratio: 16 / 9; }
	.entry-content .cg-cta-banner { grid-template-columns: 1fr; }
	.entry-content .cg-cta-banner .wp-block-buttons { grid-column: 1; grid-row: auto; margin-top: 1rem; }
}
@media (max-width: 768px) {
	.post-cards { grid-template-columns: 1fr; }
	.entry-content .cg-cols { grid-template-columns: 1fr; gap: 1.5rem; }
	.entry-content .cg-sec { padding: 2.5rem 0; }
	.entry-content .cg-sec.is-alt, .entry-content .cg-sec-pricing { padding: 2.5rem 1.1rem; }
	.entry-content .cg-cta-banner { padding: 1.75rem 1.4rem; }
	.doc-cards { grid-template-columns: 1fr; }
	.doc-card { grid-template-columns: 88px 1fr; gap: 1rem; }
	.doctor-head { grid-template-columns: 120px 1fr; gap: 1.25rem; }
	.doctor-head .doctor-info h1 { font-size: 2rem; margin-bottom: 1rem; }
	.doctor-spec { margin: -.5rem 0 1rem; font-size: .95rem; }
	.doctor-facts, .doctor-head .hero-actions { grid-column: 1 / -1; }
	.doctor-head .doctor-info { display: contents; }
	.doctor-head .doctor-photo { grid-row: span 2; }
	.doctor-head .doctor-info > h1, .doctor-head .doctor-info > .doctor-spec { grid-column: 2; }
	.doctor-facts > div { grid-template-columns: 110px 1fr; }
	.service-box { grid-template-columns: 1fr; }
	.service-box-img { aspect-ratio: 16 / 9; }
	.summary-box { padding: 1.25rem; }
	.home-blog { padding: 4rem 0; }
	.entry-content td:last-child, .entry-content th:last-child { white-space: normal; }
	.entry-content td, .entry-content th { padding: .75rem .8rem; }
}
.entry-content a.btn { border-bottom: 1px solid transparent; }
.entry-content a.btn-primary { color: var(--bg); }
.entry-content a.btn-primary:hover { color: var(--bg); border-color: transparent; }
.entry-content a.btn-outline { color: var(--ink); border-color: var(--line-strong); }
.service-box:not(:has(.service-box-img)) { grid-template-columns: 1fr; }
/* Widget ZnanyLekarz */
.doctor-booking, .zl-widgets { margin-top: 3rem; background: var(--white); border: 1px solid var(--line); padding: 1.75rem; }
.doctor-booking h2 { font-family: var(--serif); font-size: 2rem; font-weight: 500; margin-bottom: .5rem; }
.zl-widgets h3 { margin-top: 0 !important; }
.doctor-booking > p, .zl-widgets > p { font-size: .925rem; color: var(--ink-soft); margin-bottom: 1.25rem !important; }
.doctor-booking a, .zl-widgets > p a { color: var(--accent); }
.zl-widget { max-width: 100%; overflow-x: auto; min-height: 120px; }
.zl-widget-item + .zl-widget-item { margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.zl-widget-name { font-weight: 500; color: var(--ink) !important; margin-bottom: .5rem !important; }
.entry-content .zl-widget a { border-bottom: 0; }
@media (max-width: 768px) { .doctor-booking, .zl-widgets { padding: 1.1rem; } }

/* ==========================================================
   v2.1 - poprawki układu (uwagi klienta 17.11)
   ========================================================== */
/* Pasek partnerów pod hero */
.partners { margin-bottom: 0; padding: 2.75rem 0; border-top: 0; background: var(--bg); }
.partners-head { margin-bottom: 1.25rem; }
.partner-logo { width: 190px; height: 64px; margin: 0 1.75rem; overflow: visible; }
.partner-logo img { max-height: 46px; }
.partner-logo.is-pzu-zdrowie img { height: 76px; max-height: none; max-width: none; transform: translate(5.7px, -.7px); }
.partner-logo.is-lux-med img { height: 57px; max-height: none; max-width: none; transform: translate(.6px, 3.4px); }
.partner-logo.is-medicover img { height: 52px; max-height: none; max-width: none; transform: translate(1.4px, 10.5px); }
.partner-logo.is-enel-med img { height: 48px; max-height: none; max-width: none; }
.partner-logo.is-polmed img { height: 46px; max-height: none; max-width: none; }
.partner-logo.is-allianz img { height: 32px; max-height: none; max-width: none; transform: translateY(-2px); }
.partner-logo.is-signal-iduna img { height: 34px; max-height: none; max-width: none; transform: translate(3.9px, -2px); }

/* Usługi na stronie głównej - same specjalizacje */
.services-layout.is-cards { display: block; }
.services-layout.is-cards .services-side { grid-template-columns: repeat(3, 1fr); }
.services-layout.is-cards .service-card:last-child:nth-child(odd) { grid-column: auto; }

/* Sekcja rezonansu - jasne tło */
.mri { background: linear-gradient(180deg, #ece5da 0%, #e6ddcf 100%); color: var(--ink); }
.mri::before { background: radial-gradient(ellipse at center, rgba(255, 255, 255, .55) 0%, transparent 70%); }
.mri .section-eyebrow { color: var(--accent); }
.mri .section-title { color: var(--ink); }
.mri-content > p { opacity: 1; color: var(--ink-soft); }
.mri-list li { opacity: 1; color: var(--ink-soft); }
.mri-list li::before { background: var(--accent); }
.mri-geo span { border-color: var(--line-strong); color: var(--ink-soft); background: rgba(255, 255, 255, .5); }
.mri-visual { background: #ddd3c4; }
.mri-actions .btn { background: var(--white); color: var(--ink); border: 1px solid var(--line-strong); }
.mri-actions .btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Gruszka z logo zamiast rysunku, gdy brak zdjęcia */
.team-placeholder { background: linear-gradient(160deg, #efe9e0, #e4dbcf); }
.team-placeholder .pear-mark { display: block; width: 34%; aspect-ratio: 92 / 127; background: var(--accent-soft); -webkit-mask: url(../img/logo-pear.png) center / contain no-repeat; mask: url(../img/logo-pear.png) center / contain no-repeat; opacity: .9; }

/* Stopka - jaśniejsza */
.site-footer { background: #e9e2d7; color: var(--ink-soft); }
.footer-brand .logo img { height: 48px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) !important; opacity: .85; }
.footer-col h2 { color: var(--ink); }
.footer-col a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-social a { border-color: var(--line-strong); }
.footer-social a:hover { border-color: var(--ink); background: rgba(28, 26, 23, .05); }
.footer-disclaimer { border-top-color: var(--line-strong); opacity: .8; }
.footer-bottom { opacity: .8; }
.logo img { object-fit: contain; }

/* Treść usług i stron - jeden rytm i jedna szerokość */
.service-content { padding: 1rem 0 5rem; }
.service-content > *, .service-content > .cg-sec { width: min(1080px, 92vw); margin-inline: auto; }
.entry-content .cg-sec { padding: 4rem 0; margin: 0; }
.entry-content .cg-sec > * { max-width: none; }
.entry-content .cg-sec > p, .entry-content .cg-sec > ul, .entry-content .cg-sec > ol:not(.cg-steps), .entry-content .cg-sec > h3, .entry-content .cg-sec > details, .entry-content .cg-sec > .wp-block-details { max-width: 760px; }
.entry-content .cg-sec > .cg-eyebrow { margin: 0 0 .6rem !important; }
.entry-content .cg-sec > h2 { margin: 0 0 1.5rem; }
.entry-content .cg-sec > h3 { margin: 2.25rem 0 .9rem; }
.entry-content .cg-sec > * + p { margin-top: 1rem; }
/* Tekst + zdjęcie obok siebie */
.entry-content .cg-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3.5rem; align-items: center; margin: 0; }
.entry-content .cg-cols > .wp-block-column { margin: 0; min-width: 0; }
.entry-content .cg-cols > .wp-block-column > :first-child { margin-top: 0; }
.entry-content .cg-cols > .wp-block-column > * + * { margin-top: 1rem; }
.entry-content .cg-img img { aspect-ratio: 4 / 3; border-radius: 2px; }
/* Karty */
.entry-content .cg-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; margin-top: 0; }
.entry-content .cg-sec > * + .cg-cards { margin-top: 1.5rem; }
.entry-content .cg-card { padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.entry-content .cg-card > * { margin: 0 !important; }
.entry-content .cg-card h3 { font-size: 1.35rem; }
/* Kroki */
.entry-content ol.cg-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin: 0; max-width: none; }
.entry-content ol.cg-steps li { padding: 1.5rem 1.5rem 1.5rem 4.75rem; line-height: 1.65; }
.entry-content ol.cg-steps li::before { left: 1.5rem; top: 1.4rem; width: 2.25rem; height: 2.25rem; line-height: 1; padding-top: .1rem; }
.entry-content ol.cg-steps li strong { margin-bottom: .3rem; font-size: 1.02rem; }
/* Baner CTA - jasny, w szerokości treści */
.service-content > .cg-cta-banner, .entry-content .cg-cta-banner { width: min(1080px, 92vw); margin: 0 auto 1rem; background: #ebe3d6; color: var(--ink); border-left: 3px solid var(--accent); padding: 2rem 2.25rem; box-sizing: border-box; }
.entry-content .cg-cta-banner h3 { color: var(--ink); font-size: 1.6rem; }
.entry-content .cg-cta-banner p { color: var(--ink-soft); }
.entry-content .cg-cta-banner .is-style-fill .wp-block-button__link { background: var(--ink); color: var(--bg); }
.entry-content .cg-cta-banner .is-style-outline .wp-block-button__link { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.entry-content .cg-cta-banner .wp-block-button__link:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
/* Cennik bez szarego pudełka */
.entry-content .cg-sec.is-alt, .entry-content .cg-sec-pricing { background: none; padding: 4rem 0; margin: 0; border-top: 1px solid var(--line); }
.entry-content .cg-sec-pricing .wp-block-table { margin: 0 0 1rem; }
.entry-content .cg-sec-pricing table { background: var(--white); border: 1px solid var(--line); }
.entry-content .cg-sec-pricing .is-note { max-width: none; }
/* Lekarze, powiązane, mapa - ten sam odstęp nagłówka */
.entry-content .cg-sec > .doc-cards, .entry-content .cg-sec > .related-cards, .entry-content .cg-sec > .post-cards { margin-top: 0; }
@media (max-width: 1100px) {
	.services-layout.is-cards .services-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.services-layout.is-cards .services-side { grid-template-columns: 1fr; }
	.entry-content .cg-cols { grid-template-columns: 1fr; gap: 1.75rem; }
	.entry-content ol.cg-steps { grid-template-columns: 1fr; }
	.entry-content ol.cg-steps li { padding: 1.25rem 1.1rem 1.25rem 3.9rem; }
	.entry-content ol.cg-steps li::before { left: 1rem; }
	.entry-content .cg-sec, .entry-content .cg-sec-pricing { padding: 2.75rem 0; }
	.entry-content .cg-cta-banner { padding: 1.5rem 1.25rem; }
	.partner-logo { width: 150px; margin: 0 1rem; transform: scale(.85); }
}
@media (min-width: 1200px) { .services-layout.is-cards .services-side { grid-template-columns: repeat(4, 1fr); } }
.entry-content .cg-sec { margin: 0 auto; }
.entry-content .cg-cols { align-items: start; }
.entry-content .cg-cols:has(.cg-img) { align-items: center; }
/* Kafle usług na głównej - wszystkie jednakowe + kafel kontaktowy */
.services-layout.is-cards .service-card.has-img:last-child:nth-child(odd),
.services-layout.is-cards .service-card.has-img { display: flex; flex-direction: column; grid-column: auto; }
.services-layout.is-cards .service-card.has-img .service-card-img { grid-row: auto; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
.service-card-contact { background: #ebe3d6; border-color: transparent; justify-content: space-between; }
.service-card-contact:hover { background: #e4dacb; }
.service-card-eyebrow { font-size: .72rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) !important; margin-bottom: .6rem !important; }
.service-card-phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin-top: 1.5rem; }
.service-card-phone svg { width: 22px; height: 22px; color: var(--accent); }
.service-card-hours { font-size: .85rem; color: var(--ink-muted); margin-top: .35rem; }
/* Logo partnerów v2.3 - wyrównane do jednej wysokości liter (~19 px, w PZU według litery „Z”), środek napisu na jednej linii */
.partner-logo { height: 100px; margin: 0 2rem; overflow: visible; display: flex; align-items: center; justify-content: center; }
.partner-logo img { flex-shrink: 0; max-width: none !important; max-height: none !important; width: auto; }
.partner-logo.is-pzu-zdrowie { width: 228px; } .partner-logo.is-pzu-zdrowie img { height: 173px; transform: translate(13px, -1.4px); }
.partner-logo.is-lux-med { width: 126px; } .partner-logo.is-lux-med img { height: 60px; transform: translate(.6px, -5.7px); }
.partner-logo.is-medicover { width: 248px; } .partner-logo.is-medicover img { height: 88px; transform: translate(2.2px, 3.1px); }
.partner-logo.is-enel-med { width: 143px; } .partner-logo.is-enel-med img { height: 78px; transform: translateY(-29.4px); }
.partner-logo.is-polmed { width: 116px; } .partner-logo.is-polmed img { height: 38px; transform: none; }
.partner-logo.is-allianz { width: 117px; } .partner-logo.is-allianz img { height: 29px; transform: translateY(1px); }
.partner-logo.is-signal-iduna { width: 244px; } .partner-logo.is-signal-iduna img { height: 57px; transform: translate(6.4px, -5.7px); }
@media (max-width: 768px) { .partner-logo { margin: 0 1rem; transform: scale(.8); } }
/* v2.4 - uwagi 20.11 */
/* Pasek partnerów: więcej miejsca w pionie (ENEL-MED nie jest ucinany) */
.partners { padding: 2.25rem 0; }
.partners-track { padding: 1.5rem 0; }
.partner-logo { height: 120px; }
.partner-logo.is-enel-med { width: 170px; }
.partner-logo.is-enel-med img { transform: translateY(-18px); }
/* Kafle usług: tytuły zawsze na tej samej wysokości */
.services-layout.is-cards .service-card { justify-content: flex-start; }
.services-layout.is-cards .service-card > div:not(.service-card-img) { flex: 1 1 auto; }
.services-layout.is-cards .service-card .service-card-img { flex: 0 0 auto; }
.services-layout.is-cards .service-card .arrow { margin-top: auto; padding-top: 1rem; }
/* Rezonans na głównej: etykiety i przyciski w tej samej siatce */
.mri-geo, .mri-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; max-width: 560px; }
.mri-geo { margin-bottom: .75rem; }
.mri-geo span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3.25rem; padding: .6rem 1rem; font-size: .75rem; }
.mri-actions .btn { justify-content: center; text-align: center; min-height: 3.25rem; width: 100%; padding-inline: 1rem; }
@media (max-width: 480px) { .mri-geo, .mri-actions { grid-template-columns: 1fr; } }
/* v2.5 - uwagi 21.11 */
:root { --green-dark: #14371f; --green-dark-2: #1c4529; }
/* Sekcja rezonansu: ciemna zieleń jak na obecnej stronie kliniki */
.mri { background: var(--green-dark); color: #f3f1ea; }
.mri::before { background: radial-gradient(ellipse at center, rgba(255, 255, 255, .06) 0%, transparent 70%); }
.mri .section-eyebrow { color: #c9d8b9; }
.mri .section-title { color: #fff; }
.mri-content > p, .mri-list li { color: rgba(243, 241, 234, .88); }
.mri-list li::before { background: #c9d8b9; }
.mri-geo span { border-color: rgba(243, 241, 234, .35); color: #f3f1ea; background: rgba(255, 255, 255, .06); }
.mri-visual { background: var(--green-dark-2); }
.mri-actions .btn { background: #f3f1ea; color: var(--green-dark); border: 1px solid #f3f1ea; }
.mri-actions .btn:hover { background: #fff; color: var(--green-dark); border-color: #fff; }
/* Etykieta „Opis - 2 dni robocze” na obu zdjęciach rezonansu */
.hero-visual .hero-badge { z-index: 2; top: 1.5rem; left: 1.5rem; }
.mri-badge { background: var(--green-dark); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
/* Gruszki (brak zdjęcia) w ciemnej zieleni */
.team-placeholder .pear-mark { background: var(--green-dark); opacity: 1; }
/* „W skrócie”: wyróżnione informacje */
.summary-box .is-key dd { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); line-height: 1.45; }
.summary-box .is-key:first-child dd { color: var(--green-dark); font-size: 1.05rem; }
.summary-box dl > .is-key + div:not(.is-key) { margin-top: .4rem; }
/* Cennik: wyróżniony czas opisu MR i rabat */
.entry-content .price-key { display: inline-block; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--green-dark); padding: .55rem 1rem; font-size: 1rem; }
.entry-content .price-upper { text-transform: uppercase; letter-spacing: .02em; }
/* Specjaliści: wstęp pod telefonem mniejszy, bez pogrubienia */
.specialists-page .entry-content p { font-size: 1rem; font-weight: 300; color: var(--ink-soft); }
.cg-brand { text-transform: none !important; }
/* v2.7 */
.summary-box .is-key dd, .summary-box .is-key:first-child dd { font-size: 1.02rem; }
.final-parking { margin-top: .4rem; font-size: .9rem; opacity: .85; }
/* Stopka: logo kończy się równo ze słowem „konsultacje” (logo 800x200, napis od 18 do 692 px) */
.footer-brand-fit { display: inline-block; width: max-content; max-width: 100%; }
.footer-brand-fit .logo { display: block; overflow: visible; }
.footer-brand-fit .logo { width: 100%; }
.footer-brand-fit .logo img { width: 0 !important; min-width: calc(100% * 800 / 674); max-width: none; height: auto !important; max-height: none; margin-left: calc(-100% * 18 / 674); }
.footer-brand-fit p { margin-top: .75rem; }
/* Zdjęcia z jasnym pasem u góry - kadr przesunięty w dół */
.page-hero-img img, .entry-content .cg-img img, .related-img img, .service-card-img img, .service-tile img, .service-box-img img { object-position: 50% 45%; }

/* 2.7.4: obrazki w kafelkach/kartach bez marginesu z .entry-content img (beżowy pas u góry) */
.entry-content .service-tile-img img, .entry-content .service-card-img img, .entry-content .service-box-img img, .entry-content .page-hero-img img, .entry-content .gallery-item img, .entry-content .doc-card-photo img, .entry-content .team-card img { margin: 0 !important; }
.service-tile-img, .service-card-img, .service-box-img { line-height: 0; }

/* 2.7.9: fasada widgetu ZnanyLekarz */
.zl-facade { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.zl-facade .zl-note { font-size: .85rem; color: var(--ink-soft); margin: 0 !important; }

/* 2.7.10: mniejszy tekst banera cookies na telefonie (nie może być elementem LCP) */
@media (max-width: 600px) {
	.cky-consent-container .cky-notice-des, .cky-consent-container .cky-notice-des * { font-size: 12.5px !important; line-height: 1.45 !important; }
	.cky-consent-container .cky-title { font-size: 15px !important; margin-bottom: 6px !important; }
}

/* 2.7.11: białe tła logotypów partnerów na iPhone (Safari blenduje w osobnej warstwie animacji).
   Każde logo ma własne tło strony w izolowanej grupie, więc multiply zawsze ma tło pod spodem. */
.partner-logo { background: var(--bg); isolation: isolate; }
.partners-track { will-change: transform; }

/* 2.7.12: logotypy z przezroczystym tłem - bez blendowania */
.partner-logo { background: none; isolation: auto; }
.partner-logo img.is-alpha { mix-blend-mode: normal; }
