:root {
  --ink: #172638;
  --muted: #607080;
  --brand: #0b2748;
  --brand-2: #315675;
  --accent: #c59b60;
  --surface: #f7f5f1;
  --surface-2: #eee8df;
  --white: #ffffff;
  --line: #ddd9d1;
  --shadow: 0 14px 34px rgba(11, 39, 72, 0.10);
  --radius: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--white); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.topbar { background: #071c35; color: #e7e2d8; font-size: 11px; }
.topbar-inner { min-height: 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-contact { display: flex; gap: 10px; align-items: center; }
.topbar a { color: var(--white); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav-wrap { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--brand); font-family: "Source Serif 4", serif; font-weight: 700; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font-family: "Source Serif 4", serif; font-size: 16px; color: var(--brand); }
.brand-text small { margin-top: 1px; color: var(--muted); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { padding-block: 15px; border-bottom: 2px solid transparent; }
.main-nav > a:not(.nav-cta):hover, .main-nav > a:not(.nav-cta):focus-visible { color: var(--brand-2); border-bottom-color: var(--brand-2); }
.nav-cta { padding: 7px 12px; border-radius: 8px; background: var(--brand); color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--brand); margin: 6px 0; }

h1, h2, h3 { margin: 0 0 .55em; line-height: 1.16; color: var(--ink); }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; }
h1 { font-size: clamp(24px, 2.2vw, 32px); }
h2 { font-size: clamp(20px, 1.8vw, 26px); }
h3 { font-size: 16px; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; margin-bottom: 7px; color: var(--brand-2); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow.light { color: #cce2de; }
.lead { font-size: 16px; line-height: 1.48; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 7px 14px; border-radius: 9px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 8px 20px rgba(23,63,72,.18); }
.btn-primary:hover { background: #0d3038; }
.btn-secondary { border: 1px solid #aebfbb; background: var(--white); color: var(--brand); }
.btn-light { background: var(--white); color: var(--brand); }
.btn-block { width: 100%; }
.text-link { color: var(--brand); font-weight: 700; }
.text-link-light { color: var(--white); font-weight: 700; }

.hero { background: linear-gradient(90deg, #f7f4ed 0%, #fbfaf7 62%, #efe9df 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 250px; display: grid; grid-template-columns: minmax(0, 1fr) 240px; align-items: center; gap: 24px; padding-block: 14px; }
.hero-copy h1 { margin-bottom: 4px; }
.hero-role { color: var(--brand); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hero-lead { max-width: 620px; color: #425263; font-size: 14px; line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 10px; }
.hero-location { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 11px; }
.hero-location strong { color: var(--ink); }
.hero-photo-wrap { position: relative; justify-self: end; width: 240px; }
.hero-photo { width: 100%; height: 220px; object-fit: cover; object-position: 50% 17%; border-radius: 10px; box-shadow: 0 10px 24px rgba(11,39,72,.13); }
.photo-note { display: none; }
.photo-note strong { color: var(--brand); font-size: 15px; }
.photo-note span { color: var(--muted); font-size: 12px; }

.quick-grid { background: var(--white); transform: translateY(-1px); }
.quick-cards { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-top: 0; box-shadow: 0 10px 28px rgba(23,63,72,.07); }
.quick-card { min-height: 62px; display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; border-right: 1px solid var(--line); background: var(--white); }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: var(--surface); }
.quick-icon { flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: var(--brand); font-size: 12px; font-weight: 800; }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { margin-bottom: 1px; color: var(--brand); font-size: 13px; }
.quick-card small { color: var(--muted); line-height: 1.3; font-size: 11px; }

.section { padding-block: 38px; }
.section-tight { padding-block: 28px; }
.section-muted { background: var(--surface); }
.section-heading { margin-bottom: 18px; }
.compact-heading { display: grid; grid-template-columns: 1fr minmax(280px, .7fr); gap: 30px; align-items: end; }
.compact-heading > p { color: var(--muted); margin-bottom: 6px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.image-card { grid-column: span 2; min-height: 225px; position: relative; }
.image-card img { width: 100%; height: 100%; min-height: 225px; object-fit: cover; }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,28,33,.88) 100%); }
.service-overlay { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 13px; color: var(--white); }
.service-overlay span { color: #cce2de; font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.service-overlay h3 { color: var(--white); font-size: 18px; margin: 5px 0; }
.service-overlay p { margin: 0; color: #e5efed; }
.text-card { min-height: 125px; padding: 15px; }
.text-card p { color: var(--muted); margin-bottom: 0; }
.line-icon { width: 27px; height: 27px; border: 1px solid #afc2bd; border-radius: 50%; display: grid; place-items: center; color: var(--brand-2); margin-bottom: 9px; }

.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.trust-item { padding: 16px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: var(--brand); font-family: "Source Serif 4", serif; font-size: 21px; line-height: 1.1; }
.trust-item span { display: block; margin-top: 5px; color: var(--muted); font-size: 12.5px; }
.medical-note { margin-top: 16px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: steps; }
.step { position: relative; padding: 14px; border-top: 3px solid var(--brand-2); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 8px; color: var(--brand-2); font-weight: 800; font-size: 12px; letter-spacing: .1em; }
.step p { color: var(--muted); margin-bottom: 0; }

.about-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 38px; align-items: start; }
.about-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-list span { padding: 8px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--brand); font-size: 13px; font-weight: 600; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 190px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.price-card.featured { border: 2px solid var(--brand-2); box-shadow: var(--shadow); }
.badge { position: absolute; top: -12px; right: 16px; padding: 5px 9px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.price-label { color: var(--brand); font-weight: 700; }
.price { display: grid; margin: 14px 0; }
.price strong { font-family: "Source Serif 4", serif; font-size: 24px; color: var(--ink); }
.price small { color: var(--muted); }
.price-card p { color: var(--muted); }
.price-card a { margin-top: auto; color: var(--brand); font-weight: 700; }
.pricing-note { margin-top: 22px; color: var(--muted); font-size: 14px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.post-card > a { display: block; height: 100%; padding: 24px; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card { transition: transform .15s ease, box-shadow .15s ease; }
.post-category { display: inline-block; color: var(--brand-2); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.post-card h3 { margin: 10px 0; font-size: 21px; }
.post-card p { color: var(--muted); }
.read-more { color: var(--brand); font-weight: 700; }

.contact-strip { padding-block: 30px; background: var(--brand); color: var(--white); }
.contact-strip h2 { color: var(--white); margin-bottom: 8px; }
.contact-strip p { color: #d8e7e4; margin-bottom: 0; max-width: 720px; }
.contact-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 0 0 auto; }
.contact-actions span { color: #c9ddda; font-size: 12px; }
.compact-strip { padding-block: 28px; }

.page-hero { padding-block: 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .62fr; gap: 38px; align-items: center; }
.page-hero p { max-width: 710px; color: var(--muted); font-size: 14.5px; }
.page-hero img { width: 100%; max-height: 275px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.breadcrumbs a:hover { color: var(--brand); }

.two-column { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.info-panel { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-panel h3 { color: var(--brand); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 800; }
.warning-box { margin-top: 20px; padding: 18px 20px; border-left: 4px solid var(--accent); background: #fff9f1; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 19px; font-weight: 700; color: var(--brand); }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 19px 18px; color: var(--muted); margin: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-card { padding: 21px; border-radius: var(--radius); background: var(--brand); color: var(--white); }
.contact-card h2, .contact-card h3 { color: var(--white); }
.contact-card a { font-weight: 700; }
.contact-card p { color: #d9e8e5; }
.callback-form { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: grid; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 12.5px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #b8c8c4; border-radius: 8px; padding: 8px 10px; background: var(--white); color: var(--ink); }
.field textarea { min-height: 100px; resize: vertical; }
.checkbox-field { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; margin: 13px 0; color: var(--muted); font-size: 13px; }
.checkbox-field input { margin-top: 4px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.success { color: #17613f; }
.form-status.error { color: #9f2f2f; }
.form-status.error a { text-decoration: underline; }
.form-note { color: var(--muted); font-size: 13px; }

.article-header { padding-block: 34px 28px; background: var(--surface); border-bottom: 1px solid var(--line); }
.article-header-inner { max-width: 900px; }
.article-header h1 { max-width: 900px; }
.article-lead { color: var(--muted); font-size: 17px; max-width: 820px; }
.article-meta { display: flex; gap: 18px; color: var(--muted); font-size: 13px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 48px; padding-block: 42px 56px; }
.prose { font-size: 16px; }
.prose h2 { margin-top: 1.5em; font-size: 27px; }
.prose h3 { margin-top: 1.5em; font-size: 22px; }
.prose p, .prose li { color: #33444a; }
.prose ul, .prose ol { padding-left: 23px; }
.prose blockquote { margin: 25px 0; padding: 18px 22px; border-left: 4px solid var(--brand-2); background: var(--surface); color: var(--brand); font-family: "Source Serif 4", serif; font-size: 21px; }
.article-aside { display: grid; gap: 14px; align-content: start; position: sticky; top: 105px; }
.aside-card { padding: 20px; border-radius: 11px; border: 1px solid var(--line); background: var(--white); }
.aside-card strong { color: var(--brand); }
.aside-card p { color: var(--muted); font-size: 14px; }
.muted-card { background: var(--surface); }

.admin-page { min-height: 70vh; display: grid; place-items: center; padding: 50px 20px; background: var(--surface); }
.admin-card { width: min(100%, 650px); padding: 32px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.admin-steps { display: grid; gap: 10px; margin: 24px 0; text-align: left; }
.admin-step { display: flex; gap: 12px; align-items: flex-start; padding: 12px; background: var(--surface); border-radius: 9px; }
.admin-step span { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; }

.footer { padding: 30px 0 16px; background: #071c35; color: #d7e5e2; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .7fr; gap: 38px; }
.footer h2 { font-family: Inter, sans-serif; font-size: 15px; color: var(--white); }
.footer-brand { color: var(--white); font-family: "Source Serif 4", serif; font-size: 20px; font-weight: 700; }
.footer p { color: #c4d8d4; }
.footer a:hover { color: var(--white); }
 .footer-bottom { margin-top: 22px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #9fbab5; font-size: 12px; }
.mobile-actions { display: none; }

@media (max-width: 1050px) {
  .main-nav { gap: 14px; }
  .main-nav > a:not(.nav-cta) { font-size: 13px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-cards, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card:nth-child(2), .trust-item:nth-child(2) { border-right: 0; }
  .quick-card:nth-child(-n+2), .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 880px) {
  body { padding-bottom: 58px; }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contact span:last-child, .topbar-contact span[aria-hidden] { display: none; }
  .nav-wrap { min-height: 60px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 0; right: 0; top: 60px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(23,63,72,.10); }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 11px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr 260px; gap: 20px; padding-block: 18px; }
  .hero-photo-wrap { width: 260px; }
  .photo-note { display: none; }
  .compact-heading, .page-hero-grid, .about-grid, .two-column, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .contact-strip-inner { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 25px rgba(23,63,72,.12); }
  .mobile-actions a { min-height: 58px; display: grid; place-items: center; color: var(--brand); font-weight: 800; }
  .mobile-actions a:first-child { background: var(--brand); color: var(--white); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-text small { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-photo-wrap { order: 2; width: 100%; justify-self: stretch; }
  .hero-photo { height: 245px; object-position: 50% 18%; }
  .hero-location { display: grid; gap: 7px; }
  .quick-cards, .trust-grid, .service-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .quick-card, .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-card:last-child, .trust-item:last-child { border-bottom: 0; }
  .image-card { grid-column: span 1; min-height: 240px; }
  .image-card img { min-height: 240px; }
  .section { padding-block: 42px; }
  .compact-heading { gap: 10px; }
  .price-card { min-height: 285px; }
  .contact-strip-inner { flex-direction: column; gap: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .article-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid > div:last-child { grid-column: auto; }
}


/* Marka osobista Andrzej Szwajlik — kompaktowe poprawki */
.brand-logo { width: 38px; height: 38px; border-radius: 9px; flex: 0 0 auto; }
.footer-identity { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-identity img { width: 42px; height: 42px; border-radius: 9px; }
.footer-identity span { color: #b8c4cf; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.section-compact { padding-block: 36px; }
.compact-services .text-card { min-height: 125px; }
.compact-form { width: 100%; max-width: 470px; justify-self: start; }
.compact-form h2 { margin-bottom: 14px; }
.contact-small { margin-top: 22px; font-size: 12.5px; }
.price-card .price { margin: 10px 0 12px; }
.price-card > p { font-size: 13px; }
.page-hero h1 { margin-bottom: 8px; }
@media (min-width: 881px) {
  .hero-copy { padding-right: 8px; }
  .hero-photo-wrap::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid rgba(197,155,96,.55); border-radius: 10px; z-index: 0; }
  .hero-photo { position: relative; z-index: 1; }
}
@media (max-width: 880px) {
  .brand-logo { width: 36px; height: 36px; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr 220px; gap: 18px; padding-block: 16px; }
  .hero-photo-wrap { width: 220px; }
  .hero-photo { height: 210px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .brand-text strong { font-size: 16px; }
  .brand-text small { display: block; font-size: 8px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 18px 14px; }
  .hero-photo-wrap { width: 100%; max-width: 330px; justify-self: start; }
  .hero-photo { height: 205px; object-position: 50% 16%; }
  .section, .section-compact { padding-block: 32px; }
  .quick-card { min-height: 62px; }
  .price-card { min-height: 175px; }
  .contact-grid { gap: 16px; }
}
