/* ==========================================================================
   warszawapielegniarka.pl — motyw na bazie Bootstrap 5.3
   Paleta: morska zieleń (zaufanie, medycyna) + ciepły koral (troska)
   ========================================================================== */

:root {
  --brand: #0f766e;
  --brand-600: #0d6560;
  --brand-50: #ecfdf8;
  --brand-100: #d1f5ec;
  --coral: #f26b5b;
  --ink: #0f2a2e;
  --muted: #5b6f73;
  --line: #e3ecec;
  --soft: #f4faf9;
  --radius: 1.1rem;
  --shadow-sm: 0 2px 8px rgba(15, 42, 46, .06);
  --shadow: 0 10px 30px rgba(15, 42, 46, .08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 46, .14);

  --bs-primary: var(--brand);
  --bs-primary-rgb: 15, 118, 110;
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 15, 118, 110;
  --bs-link-hover-color: var(--brand-600);
  --bs-body-color: var(--ink);
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-font-size: 1.02rem;
  --bs-body-line-height: 1.7;
  --bs-border-color: var(--line);
}

body { background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .navbar-brand { font-family: "Manrope", "Inter", sans-serif; font-weight: 800; letter-spacing: -.015em; color: var(--ink); }
a { text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--brand-100); }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: .5rem; }
.text-white-75 { color: rgba(255,255,255,.75) !important; }

/* ---------- Buttons ---------- */
.btn { --bs-btn-font-weight: 600; border-radius: 999px; padding-inline: 1.25rem; display: inline-flex; align-items: center; gap: .5rem; justify-content: center; }
.btn:hover { text-decoration: none; }
.btn-lg { padding: .8rem 1.6rem; font-size: 1.02rem; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-600); box-shadow: 0 8px 20px rgba(15,118,110,.25); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); }
.btn-whatsapp { background: #25d366; color: #fff; border: 0; }
.btn-whatsapp:hover { background: #1eb956; color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; border: 0; }
.btn-ghost:hover { color: var(--brand); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.8); font-size: .85rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.status-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #9aa; margin-right: .35rem; }
.is-open .status-dot { background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.site-header { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.navbar { padding: .65rem 0; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.08rem; }
.brand-text small { font-size: .75rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.brand-light, .brand-light .brand-text small { color: #fff; }
.brand-light .brand-text small { opacity: .7; }
.nav-link { font-weight: 600; color: var(--ink); padding: .5rem .85rem !important; border-radius: 999px; }
.nav-link:hover { color: var(--brand); text-decoration: none; }
.nav-link.active { color: var(--brand) !important; background: var(--brand-50); }
.btn-call { padding: .5rem 1rem; font-size: .92rem; }
.btn-lang { border: 1px solid var(--line); border-radius: 999px; font-weight: 600; padding: .4rem .8rem; font-size: .9rem; }
.lang-switcher .dropdown-menu { border-radius: .9rem; border-color: var(--line); box-shadow: var(--shadow); padding: .4rem; }
.lang-switcher .dropdown-item { border-radius: .6rem; padding: .5rem .75rem; }
.lang-switcher .dropdown-item.active { background: var(--brand); }
.lang-code { display: inline-block; min-width: 1.8rem; font-weight: 700; font-size: .78rem; opacity: .7; }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 1199.98px) { .offcanvas .nav-link { font-size: 1.15rem; } }

/* ---------- Shared section bits ---------- */
.section { padding: 5rem 0; }
.section-soft { background: var(--soft); }
.section-head { margin-bottom: 2.75rem; }
.section-title { font-size: clamp(1.7rem, 2.6vw, 2.35rem); margin-bottom: .75rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.text-center .section-lead { margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: .6rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; background: linear-gradient(160deg, #f0fbf8 0%, #fff 55%, #fff6f4 100%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob-1 { width: 420px; height: 420px; background: #bdeee2; top: -120px; right: -60px; }
.blob-2 { width: 300px; height: 300px; background: #ffd9d2; bottom: -120px; left: 30%; }
.hero-pulse { position: absolute; left: 0; right: 0; bottom: 18%; width: 100%; height: 80px; opacity: .25; }
.hero-pulse polyline { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: pulse-draw 4s ease-in-out infinite; }
@keyframes pulse-draw { 60%, 100% { stroke-dashoffset: 0; } }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.12; margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 580px; }
.hero-badges { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-sm); display: inline-flex; align-items: center; gap: .35rem; }
.hero-badges li strong { color: var(--brand); font-size: 1rem; }
.hero-badges .bi { color: var(--brand); }
.hero-visual { position: relative; max-width: 520px; margin-inline: auto; }
.hero-photo { position: relative; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; overflow: hidden; background: linear-gradient(145deg, var(--brand-100), #fff); box-shadow: var(--shadow-lg); aspect-ratio: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; align-items: center; gap: .75rem; background: #fff; border-radius: 1rem; padding: .75rem 1rem; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-card strong { display: block; font-size: .92rem; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card-1 { left: -6%; bottom: 14%; }
.float-card-2 { right: -4%; top: 10%; animation-delay: -3s; }
.fc-icon { width: 42px; height: 42px; border-radius: .8rem; display: grid; place-items: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; }
.bg-blood { background: linear-gradient(135deg, #f26b5b, #e0475b); }
.bg-teal { background: linear-gradient(135deg, #14b8a6, var(--brand)); }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (max-width: 575.98px) { .float-card-1 { left: 0; } .float-card-2 { right: 0; } .float-card { padding: .55rem .75rem; } }
@media (prefers-reduced-motion: reduce) { .float-card, .hero-pulse polyline { animation: none; stroke-dashoffset: 0; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 2.25rem 0 3.25rem; background: linear-gradient(160deg, #eefaf7, #fff 70%); border-bottom: 1px solid var(--line); }
.page-hero-shapes span { position: absolute; border-radius: 50%; background: var(--brand-100); opacity: .6; }
.page-hero-shapes span:nth-child(1) { width: 260px; height: 260px; right: -80px; top: -100px; }
.page-hero-shapes span:nth-child(2) { width: 120px; height: 120px; right: 18%; bottom: -60px; background: #ffe1db; }
.page-hero-shapes span:nth-child(3) { width: 40px; height: 40px; right: 30%; top: 30px; background: #c9f0e6; }
.page-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: .75rem; }
.page-lead { color: var(--muted); font-size: 1.12rem; max-width: 720px; margin: 0; }
.crumbs .breadcrumb { font-size: .85rem; margin-bottom: 1.5rem; --bs-breadcrumb-divider-color: var(--muted); }
.crumbs .breadcrumb-item a { color: var(--muted); }
.crumbs .breadcrumb-item.active { color: var(--ink); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Service cards ---------- */
.service-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card h3 a { color: var(--ink); }
.service-card h3 a:hover { text-decoration: none; color: var(--accent); }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-icon { width: 60px; height: 60px; border-radius: 1.1rem; display: grid; place-items: center; font-size: 1.7rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); margin-bottom: 1.1rem; }
.service-more { font-weight: 600; font-size: .9rem; color: var(--accent); display: inline-flex; gap: .35rem; align-items: center; }
.service-card:hover .service-more .bi { transform: translateX(4px); }
.service-more .bi { transition: transform .2s; }

.service-row { padding: 2.5rem 0; border-bottom: 1px dashed var(--line); }
.service-row:last-child { border-bottom: 0; }
.service-row h2 a { color: var(--ink); }
.service-visual { aspect-ratio: 4/3; border-radius: 1.5rem; display: grid; place-items: center; font-size: 5rem; color: var(--accent); background: radial-gradient(circle at 30% 20%, #fff 0, color-mix(in srgb, var(--accent) 14%, #fff) 60%); position: relative; overflow: hidden; }
.service-visual::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--accent) 35%, transparent); }
.lead-sm { font-size: 1.05rem; color: var(--muted); }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .6rem; }
.check-list li::before { content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--brand-100); color: var(--brand); display: grid; place-items: center; font-size: .95rem; }
@media (min-width: 768px) { .check-list-cols { columns: 2; column-gap: 2rem; } .check-list-cols li { break-inside: avoid; } }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: .9rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.steps-sm li { padding-left: 2.2rem; font-size: .95rem; }
.steps-sm li::before { width: 1.5rem; height: 1.5rem; font-size: .75rem; }

/* ---------- About ---------- */
.about-visual { position: relative; }
.exp-badge { position: absolute; right: 6%; bottom: 6%; background: var(--brand); color: #fff; border-radius: 1.2rem; padding: 1rem 1.3rem; box-shadow: var(--shadow-lg); text-align: center; }
.exp-badge strong { display: block; font-family: "Manrope"; font-size: 2.2rem; line-height: 1; }
.exp-badge span { font-size: .8rem; opacity: .85; }
.quote { position: relative; background: #fff; border-left: 4px solid var(--coral); border-radius: 0 1rem 1rem 0; padding: 1.1rem 1.4rem; margin: 1.5rem 0; font-size: 1.12rem; font-weight: 500; font-style: italic; box-shadow: var(--shadow-sm); }
.quote .bi { color: var(--coral); font-size: 1.4rem; }
.quote cite { display: block; font-size: .88rem; color: var(--muted); font-style: normal; margin-top: .4rem; }
.about-photo-card { background: #fff; border-radius: 1.6rem; overflow: hidden; box-shadow: var(--shadow); }
.about-photo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: linear-gradient(145deg, var(--brand-100), #fff); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--line); }
.about-stats div { padding: 1rem .5rem; }
.about-stats div + div { border-left: 1px solid var(--line); }
.about-stats strong { display: block; font-family: "Manrope"; font-size: 1.7rem; color: var(--brand); }
.about-stats span { font-size: .8rem; color: var(--muted); }
.value-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.value-icon { width: 48px; height: 48px; border-radius: .9rem; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: .9rem; }
.value-card p { color: var(--muted); font-size: .94rem; }

/* ---------- Steps grid ---------- */
.steps-grid { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; counter-reset: s; }
.steps-grid li { counter-increment: s; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.3rem 1.2rem; }
.steps-grid li::after { content: "0" counter(s); position: absolute; right: 1rem; top: .8rem; font-family: "Manrope"; font-weight: 800; font-size: 1.6rem; color: var(--brand-100); }
.steps-grid p { color: var(--muted); font-size: .92rem; margin: 0; }
.step-icon { width: 44px; height: 44px; border-radius: .8rem; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.2rem; margin-bottom: .8rem; }
.prep-card { background: linear-gradient(160deg, #fff, var(--brand-50)); border: 1px solid var(--brand-100); border-radius: 1.4rem; padding: 2rem; height: 100%; }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-cover { display: grid; place-items: center; aspect-ratio: 16/8; font-size: 3.4rem; color: #fff; position: relative; overflow: hidden; }
.post-cover::before, .post-cover::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); }
.post-cover::before { width: 180px; height: 180px; right: -40px; top: -60px; }
.post-cover::after { width: 110px; height: 110px; left: -30px; bottom: -50px; }
.post-cover .bi { position: relative; z-index: 1; filter: drop-shadow(0 6px 12px rgba(0,0,0,.15)); transition: transform .3s; }
.post-card:hover .post-cover .bi { transform: scale(1.1) rotate(-4deg); }
.cat-badania      { --cat: #e0475b; --cat2: #f58a7a; }
.cat-profilaktyka { --cat: #0f9d8a; --cat2: #4fd1b5; }
.cat-zastrzyki    { --cat: #2b7fd6; --cat2: #6fb4f5; }
.cat-porady       { --cat: #9b5de5; --cat2: #c79bf5; }
.cat-opieka       { --cat: #c2620a; --cat2: #f2a14b; }
.post-cover, .post-hero { background: linear-gradient(135deg, var(--cat, var(--brand)), var(--cat2, #4fd1b5)); }
.post-card-body { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: .75rem; font-size: .82rem; color: var(--muted); margin-bottom: .6rem; }
.badge-cat { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; border-radius: 999px; color: var(--cat, var(--brand)); background: color-mix(in srgb, var(--cat, var(--brand)) 12%, #fff); }
.badge-cat:hover { text-decoration: none; }
.badge-cat-light { color: #fff; background: rgba(255,255,255,.2); margin-bottom: 1rem; }
.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--brand); text-decoration: none; }
.post-excerpt { color: var(--muted); font-size: .94rem; flex: 1; }
.post-foot { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; }
.link-more { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link-more .bi { transition: transform .2s; }
.link-more:hover .bi { transform: translateX(4px); }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.cat-pill { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 600; font-size: .9rem; color: var(--ink); background: #fff; display: inline-flex; gap: .4rem; align-items: center; }
.cat-pill .bi { color: var(--cat, var(--brand)); }
.cat-pill:hover { text-decoration: none; border-color: var(--cat, var(--brand)); }
.cat-pill.active { background: var(--cat, var(--brand)); border-color: var(--cat, var(--brand)); color: #fff; }
.cat-pill.active .bi { color: #fff; }
.pagination { --bs-pagination-color: var(--brand); --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-border-radius: 999px; gap: .3rem; }
.pagination .page-link { border-radius: 999px !important; min-width: 2.6rem; text-align: center; }

/* ---------- Post ---------- */
.post-hero { position: relative; overflow: hidden; color: #fff; padding: 2.25rem 0 3.5rem; }
.post-hero .crumbs .breadcrumb-item a, .post-hero .crumbs .breadcrumb-item.active, .post-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.8); }
.post-hero-icon { position: absolute; right: 4%; bottom: -30px; font-size: 16rem; opacity: .14; line-height: 1; }
.post-title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; }
.post-lead { font-size: 1.12rem; opacity: .92; max-width: 720px; }
.post-byline { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.post-byline a { color: #fff; }
.byline-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.7); background: #fff; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.55rem; margin: 2.4rem 0 1rem; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 .8rem; }
.prose .lead { font-size: 1.2rem; color: #33494d; font-weight: 400; }
.prose a { text-decoration: underline; text-decoration-color: var(--brand-100); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose ul:not(.check-list), .prose ol:not(.steps) { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.tip-box, .warn-box { border-radius: 1rem; padding: 1.1rem 1.3rem 1.1rem 3.4rem; margin: 1.6rem 0; position: relative; }
.tip-box { background: var(--brand-50); border: 1px solid var(--brand-100); }
.warn-box { background: #fff4f2; border: 1px solid #ffd9d2; }
.tip-box::before, .warn-box::before { font-family: "bootstrap-icons"; position: absolute; left: 1.15rem; top: 1rem; font-size: 1.35rem; }
.tip-box::before { content: "\F46B"; color: var(--brand); }
.warn-box::before { content: "\F33B"; color: var(--coral); }
.toc { background: var(--soft); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.toc ol { padding-left: 1.1rem; margin: 0; font-size: .93rem; }
.toc li { margin-bottom: .45rem; }
.toc a { color: var(--ink); }
.toc a.active, .toc a:hover { color: var(--brand); }
.sidebar-sticky { top: 96px; z-index: 1; }
.side-service { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; padding: .9rem 1rem; border-radius: 1rem; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.side-service:hover { text-decoration: none; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.side-service small { display: block; color: var(--muted); font-size: .75rem; }
.side-service-icon { width: 40px; height: 40px; border-radius: .7rem; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); font-size: 1.2rem; flex-shrink: 0; }
.disclaimer { font-size: .88rem; color: var(--muted); background: var(--soft); border-radius: .8rem; padding: .8rem 1rem; }
.share-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; padding: 1.25rem 0; margin: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); background: #fff; font-size: 1.1rem; position: relative; }
.share-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }
.share-btn[data-tip]::after { content: attr(data-tip); position: absolute; bottom: 115%; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .75rem; padding: .2rem .5rem; border-radius: .4rem; white-space: nowrap; }
.author-box { display: flex; gap: 1.25rem; align-items: flex-start; background: var(--soft); border-radius: 1.3rem; padding: 1.5rem; }
.author-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: #fff; box-shadow: var(--shadow-sm); }
@media (max-width: 575.98px) { .author-box { flex-direction: column; } }

/* ---------- Service detail / sidebar ---------- */
.info-card { background: var(--soft); border-radius: var(--radius); padding: 1.5rem; }
.info-card h2 { margin-top: 0 !important; }
.book-card { background: #fff; border: 1px solid var(--line); border-radius: 1.3rem; padding: 1.6rem; box-shadow: var(--shadow); }
.book-card-icon { width: 56px; height: 56px; border-radius: 1rem; display: grid; place-items: center; font-size: 1.6rem; color: var(--accent, var(--brand)); background: color-mix(in srgb, var(--accent, var(--brand)) 12%, #fff); margin-bottom: 1rem; }
.facts { margin: 1rem 0 1.25rem; }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.facts dt { font-weight: 500; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.side-list { background: var(--soft); border-radius: 1.2rem; padding: 1.2rem; }
.side-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem .4rem; color: var(--ink); font-weight: 500; border-radius: .6rem; }
.side-list a .bi { color: var(--accent); }
.side-list a:hover { background: #fff; text-decoration: none; }

/* ---------- Prices ---------- */
.price-table { border: 1px solid var(--line); border-radius: 1.3rem; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.price-head, .price-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.4rem; }
@media (min-width: 768px) { .price-head, .price-row { grid-template-columns: 1fr 160px 220px; } }
.price-head { background: var(--soft); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row a { color: var(--ink); }
.price-icon { width: 44px; height: 44px; border-radius: .8rem; display: grid; place-items: center; flex-shrink: 0; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, #fff); font-size: 1.25rem; }
.price-value { font-weight: 700; color: var(--brand); text-align: right; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { border: 1px solid var(--line); border-radius: 1rem !important; margin-bottom: .75rem; overflow: hidden; }
.faq-accordion .accordion-button { font-family: "Manrope"; font-weight: 700; font-size: 1.02rem; padding: 1.1rem 1.3rem; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--brand-50); color: var(--brand); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(15,118,110,.18); }
.faq-accordion .accordion-body { color: #33494d; }

/* ---------- Location / map ---------- */
.info-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.info-list li { display: flex; gap: .9rem; margin-bottom: 1rem; }
.info-list > li > .bi { width: 40px; height: 40px; flex-shrink: 0; border-radius: .7rem; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-size: 1.15rem; }
.hours-card { background: var(--soft); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.hours-table { width: 100%; font-size: .92rem; }
.hours-table th { font-weight: 500; padding: .3rem 0; }
.hours-table td { text-align: right; font-weight: 600; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--brand); }
.hours-table tr.is-today th::before { content: "● "; font-size: .7rem; vertical-align: middle; }
.map-box { position: relative; height: 100%; min-height: 420px; border-radius: 1.4rem; overflow: hidden; background: #e8f3f1; box-shadow: var(--shadow); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-overlay { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(90%, 420px); background: rgba(255,255,255,.95); backdrop-filter: blur(6px); border-radius: 1.2rem; padding: 1.4rem; text-align: center; box-shadow: var(--shadow-lg); }
.map-overlay .bi-geo-alt-fill { color: var(--coral); }

/* ---------- CTA band ---------- */
.section-cta { padding: 0 0 5rem; }
.section-soft + .section-cta, .section-location + .section-cta { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; border-radius: 1.8rem; padding: 2.6rem 2.4rem; color: #fff; background: linear-gradient(120deg, var(--brand) 0%, #13a090 60%, #2bb7a5 100%); box-shadow: 0 24px 60px rgba(15,118,110,.3); }
.cta-band h2 { color: #fff; }
.cta-deco { position: absolute; right: -10px; top: -40px; font-size: 12rem; opacity: .1; line-height: 1; }
.opacity-90 { opacity: .9; }

/* ---------- Contact ---------- */
.contact-tile { display: flex; flex-direction: column; gap: .2rem; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; color: var(--ink); transition: box-shadow .2s, transform .2s; }
a.contact-tile:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-tile small { color: var(--muted); }
.ct-icon { width: 48px; height: 48px; border-radius: .9rem; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 1.3rem; margin-bottom: .6rem; }
.ct-wa { background: #25d366; } .ct-mail { background: #2b7fd6; } .ct-map { background: var(--coral); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 1.4rem; padding: 2rem; box-shadow: var(--shadow); }
.form-control, .form-select { border-radius: .8rem; padding: .7rem .95rem; border-color: #d6e3e3; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem rgba(15,118,110,.15); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 404 ---------- */
.section-404 { padding: 6rem 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: #fff; margin-top: 2rem; padding-bottom: 4.5rem; }
@media (min-width: 992px) { .site-footer { padding-bottom: 0; } }
.footer-wave { position: absolute; top: -59px; left: 0; right: 0; height: 60px; }
.footer-wave svg { width: 100%; height: 100%; display: block; }
.footer-wave path { fill: var(--ink); }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 1.1rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-address { font-style: normal; color: rgba(255,255,255,.8); font-size: .94rem; }
.footer-hours { width: 100%; font-size: .85rem; color: rgba(255,255,255,.75); }
.footer-hours th { font-weight: 400; padding: .15rem 0; }
.footer-hours td { text-align: right; }
.footer-hr { border-color: rgba(255,255,255,.15); margin: 2.5rem 0 1.5rem; }
.footer-disclaimer { font-size: .78rem; color: rgba(255,255,255,.5); margin: 1rem 0 0; }
.social-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff !important; font-size: 1.1rem; }
.social-btn:hover { background: var(--brand); text-decoration: none; }

/* ---------- Mobile bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,42,46,.08); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem 0 .5rem; font-size: .72rem; font-weight: 600; color: var(--ink); }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar .bi { font-size: 1.25rem; }
.mb-call { background: var(--brand); color: #fff !important; }
.mb-wa .bi { color: #25d366; } .mb-tg .bi { color: #2aabee; } .mb-map .bi { color: var(--coral); }

/* ---------- Language suggestion toast ---------- */
.lang-toast { position: fixed; z-index: 1080; right: 1rem; bottom: 1rem; max-width: 340px; background: #fff; border-radius: 1rem; box-shadow: var(--shadow-lg); padding: 1rem 1.1rem; display: flex; gap: .8rem; align-items: center; animation: toast-in .35s ease-out; }
.lang-toast p { margin: 0; font-size: .9rem; font-weight: 500; }
.lang-toast .btn-close { font-size: .7rem; }
@media (max-width: 991.98px) { .lang-toast { bottom: 5rem; left: 1rem; right: 1rem; max-width: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .hero { padding: 2.5rem 0 3.5rem; }
  .cta-band { padding: 2rem 1.5rem; }
  .form-card { padding: 1.4rem; }
}
.nav-link { white-space: nowrap; }

/* ---------- Mobile fixes ---------- */
html, body { overflow-x: clip; }
@media (max-width: 1199.98px) { .navbar > .container { flex-wrap: nowrap; } }
@media (max-width: 575.98px) {
  .brand { gap: .5rem; min-width: 0; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text strong { font-size: .98rem; white-space: nowrap; }
  .brand-text small { font-size: .7rem; }
  .btn-lang { padding: .35rem .6rem; }
  .btn-lang .bi-globe2 { display: none; }
}
.mobile-bar span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 .2rem; }

/* ---------- Poradnik opieki (home) ---------- */
.section-care { background: linear-gradient(180deg, #fff 0%, #fff8f1 100%); }
.care-list { display: grid; gap: .75rem; }
@media (min-width: 768px) { .care-list { grid-template-columns: 1fr 1fr; } }
.care-item { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid #f3e3d3; border-radius: 1rem; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.care-item:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); border-color: #f2a14b; }
.care-item strong { display: block; font-family: "Manrope", sans-serif; font-size: .98rem; line-height: 1.3; margin-bottom: .2rem; }
.care-item small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.care-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: .8rem; display: grid; place-items: center; font-size: 1.2rem; color: #c2620a; background: #fff1e2; }
.care-arrow { color: #c2620a; margin-top: .6rem; }

/* ---------- Karta RS-MED ---------- */
.rsmed-card { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.5rem; border-radius: 1.3rem; background: linear-gradient(135deg, #f0f7ff, #fff); border: 1px solid #dbe8f7; margin: 2rem 0; }
.rsmed-card h2 { margin-top: 0 !important; }
.rsmed-card-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 1rem; display: grid; place-items: center; font-size: 1.5rem; color: #2b7fd6; background: #e3effc; }
@media (max-width: 575.98px) { .rsmed-card { flex-direction: column; } }
