:root {
  --navy: #0d2340;
  --navy-2: #163a66;
  --blue: #1f63b6;
  --blue-light: #e9f1fb;
  --sky: #7fb3ec;
  --text: #1d2a3a;
  --muted: #55657a;
  --line: #d8e3f0;
  --bg: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(13, 35, 64, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy-2); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand svg { width: 38px; height: 38px; }
.brand b { display: block; font-size: 1.05rem; letter-spacing: .04em; }
.brand small { display: block; font-size: .78rem; color: var(--muted); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-light); color: var(--blue); }
.nav .btn { margin-left: 6px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 20px 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* buttons */
.btn { display: inline-block; background: var(--blue); color: #fff !important; text-decoration: none; font-weight: 600; padding: 12px 22px; border-radius: 10px; border: 2px solid var(--blue); transition: background .15s, border-color .15s; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, #1d4f8c 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, #12305a 100%); color: #dbe7f6; padding: 72px 0 80px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; max-width: 38em; }
.hero .eyebrow { display: inline-block; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 14px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .who { margin-top: 26px; font-size: .95rem; color: #b8cbe3; }
.hero .who strong { color: #fff; }
.hero-art { justify-self: center; width: min(420px, 100%); }
.page-hero { padding: 56px 0 52px; }
.page-hero .container { display: block; }
.crumbs { font-size: .88rem; color: #9fb7d6; margin-bottom: 12px; }
.crumbs a { color: #cfe0f5; }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .hero { padding: 52px 0 56px; }
}

/* sections */
section { padding: 72px 0; }
.alt { background: var(--blue-light); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); font-weight: 700; margin-bottom: 8px; display: block; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s, border-color .15s; display: block; }
a.card:hover { transform: translateY(-3px); border-color: var(--sky); }
a.card .more { color: var(--blue); font-weight: 600; font-size: .95rem; }

.about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.portrait { border-radius: var(--radius); background: linear-gradient(160deg, var(--navy-2), var(--blue)); aspect-ratio: 4 / 5; display: grid; place-items: center; color: #cfe0f5; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait svg { width: 45%; opacity: .9; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 360px; } }

.badge { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--navy); margin: 0 8px 8px 0; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f63b6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; display: grid; place-items: center; }

.callout { border-left: 4px solid var(--blue); background: #fff; padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); font-weight: 500; color: var(--navy); }
.callout p:last-child { margin: 0; }
.note { background: var(--navy); color: #dbe7f6; border-radius: var(--radius); padding: 26px 28px; }
.note strong { color: #fff; }

/* locations */
.loc h3 { margin-bottom: .2em; }
.loc .addr { color: var(--muted); margin-bottom: .8em; }
.loc .days { display: inline-block; background: var(--blue-light); color: var(--navy); font-weight: 600; font-size: .92rem; padding: 4px 12px; border-radius: 8px; margin-bottom: 14px; }
.loc .tel { font-size: 1.15rem; font-weight: 700; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.loc .tel svg { width: 18px; height: 18px; }
.loc .online { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.only { display: flex; gap: 14px; align-items: center; justify-content: center; text-align: center; margin-top: 28px; font-weight: 700; color: var(--navy); font-size: 1.1rem; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.two-col aside { position: sticky; top: 92px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } .two-col aside { position: static; } }

.cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #dbe7f6; text-align: center; }
.cta h2 { color: #fff; }
.cta p { max-width: 640px; margin: 0 auto 24px; }

/* footer */
.site-footer { background: #0a1b32; color: #9fb3cc; padding: 48px 0 28px; font-size: .95rem; }
.site-footer a { color: #cfe0f5; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .bottom { border-top: 1px solid #1d3354; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .88rem; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.card { transition: none; } }
.mt { margin-top: 22px; }
.mt-h { margin-top: 1.4em; }
.m0 { margin: 0; }
.note a { color: #cfe0f5; }
.note ul { padding-left: 1.1em; }

/* v3: grafik w hero, pasek zaufania, karta kwalifikacji */
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(127,179,236,.3); border-radius: 18px; padding: 26px; backdrop-filter: blur(4px); }
.hc-title { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.hc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(127,179,236,.2); }
.hc-row span { color: #fff; font-weight: 600; }
.hc-row small { display: block; color: #9fb7d6; font-weight: 400; font-size: .85rem; }
.hc-row b { color: var(--sky); font-weight: 600; font-size: .92rem; text-align: right; }
.hero-card .btn { width: 100%; text-align: center; margin-top: 14px; }
@media (max-width: 900px) { .hero-card { margin-top: 8px; } }

.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding: 18px 0; }
.trust span { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust span::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 760px) { .trust .container { flex-direction: column; } }

.services .card { padding: 30px; }
.services .checks { margin: 0 0 18px; }
.services .checks li { font-size: .97rem; }

.creds { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #cfe0f5; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.creds .photo { border-radius: 12px; margin-bottom: 22px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.creds ul { list-style: none; padding: 0; margin: 0; }
.creds li { padding: 14px 0 14px 34px; border-top: 1px solid rgba(127,179,236,.2); position: relative; font-size: .92rem; margin: 0; }
.creds li::before { content: ""; position: absolute; left: 0; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--sky); }
.creds li b { display: block; color: #fff; font-size: 1rem; }

.faq details { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* zdjecie lekarza w hero (do czasu zdjecia: znak z logo) */
.hero-photo { margin: 0; justify-self: end; width: min(400px, 100%); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; position: relative; background: radial-gradient(120% 90% at 30% 10%, #2a5f9e 0%, #163a66 45%, #0d2340 100%); border: 1px solid rgba(127,179,236,.3); box-shadow: 0 24px 60px rgba(0,0,0,.35); display: grid; place-items: center; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .ph { width: 70%; height: auto; margin-bottom: 60px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.3)); }
.hero-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,.95); color: var(--muted); border-radius: 14px; padding: 12px 16px; font-size: .88rem; }
.hero-photo figcaption b { display: block; color: var(--navy); font-size: 1rem; }
@media (max-width: 900px) { .hero-photo { display: none; } }
