/* Stomatologia w Turcji — Medical Trust Intelligence + Premium Healthcare Editorial.
   Paleta z briefu; teal i bronze mają warianty „ink” do tekstu (kontrast ≥ 4.5:1 na jasnym tle). */
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url(../fonts/manrope-latin-ext.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-ext.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --petrol: #14323A; --petrol-2: #1D4550; --stone: #F5F3EE; --stone-2: #ECE8DF; --teal: #3F8880; --teal-ink: #2D6A63; --teal-soft: #8FC9C1;
  --clay: #C18B6B; --clay-ink: #8A5A3F; --mist: #DDE7E4; --char: #26343A; --white: #FFFFFF; --muted: #56656B; --line: #DCD6CA;
  --ok: #2E6B4F; --ok-bg: #EAF4EE; --warn: #7A5A12; --warn-bg: #FBF4E2; --bad: #9A3A2E; --bad-bg: #FBEDEA; --info: #2D5A7A; --info-bg: #EAF1F7;
  --head: "Manrope", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
  --r: 14px; --r-lg: 22px; --shadow: 0 18px 50px -24px rgba(20, 50, 58, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font: 400 1.03rem/1.65 var(--body); color: var(--char); background: var(--stone); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--petrol); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); color: var(--petrol); line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.wrap--narrow, .narrow { max-width: 820px; }
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.section--stone { background: var(--stone-2); }
.section--stone-in { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); margin-block: 24px; }
.section--dark { background: var(--petrol); color: #E7EEEC; }
.section--dark h2 { color: var(--white); }
.chapter { font: 700 .8rem/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-ink); margin-bottom: 12px; }
.chapter--light { color: var(--teal-soft); }
.lead-text { font-size: 1.15rem; color: var(--muted); max-width: 64ch; }
.muted { color: var(--muted); }
.caption { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--petrol); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; }
.cite { font-size: .72em; margin-left: 1px; }
.cite a { text-decoration: none; font-weight: 700; }
.more { display: inline-flex; align-items: center; gap: 6px; font: 700 .98rem var(--head); text-decoration: none; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 22px; border-radius: 10px; font: 700 .98rem/1.2 var(--head); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--petrol); color: var(--white); }
.btn--primary:hover { background: var(--petrol-2); color: var(--white); }
.btn--ghost { background: transparent; border-color: var(--petrol); color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: var(--white); }
.btn--light { background: var(--stone); color: var(--petrol); }
.btn--light:hover { background: var(--white); color: var(--petrol); }
.btn--line { background: transparent; border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--line:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--wa { background: #1F7A4D; color: #fff; }
.btn--wa:hover { background: #17613D; color: #fff; }
.btn--sm { min-height: 44px; padding: 9px 16px; font-size: .93rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }

/* Nagłówek */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(245, 243, 238, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font: 800 1.04rem var(--head); color: var(--petrol); }
.brand__text small { font-size: .78rem; color: var(--muted); }
.nav { display: none; gap: 2px; }
.nav a { color: var(--char); text-decoration: none; font: 600 .9rem/1 var(--head); padding: 11px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--petrol); background: var(--mist); }
.hdr__cta { display: none; }
.mnav { position: relative; }
.mnav summary { list-style: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-content: center; gap: 5px; cursor: pointer; background: var(--white); border: 1px solid var(--line); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 20px; height: 2px; background: var(--petrol); }
.mnav nav { position: absolute; right: 0; top: 58px; width: min(88vw, 330px); max-height: 80vh; overflow: auto; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.mnav nav a { padding: 12px 14px; text-decoration: none; color: var(--char); font: 600 1rem var(--head); border-radius: 8px; }
.mnav nav a:hover { background: var(--stone); }
.mnav nav .mnav__cta { background: var(--petrol); color: var(--white); text-align: center; margin-bottom: 6px; }
.mnav__wa { color: #1F7A4D !important; display: flex !important; align-items: center; gap: 8px; }
@media (min-width: 1180px) { .nav { display: flex; } .hdr__cta { display: inline-flex; } .mnav { display: none; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { position: relative; background: var(--petrol); color: #E7EEEC; overflow: hidden; }
.hero__media { position: relative; height: 230px; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero__in { position: relative; display: grid; gap: 22px; padding: 28px 0 44px; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.4rem); max-width: 17ch; }
.hero h1 span { color: var(--teal-soft); display: block; font-weight: 700; }
.hero__lead { font-size: 1.12rem; max-width: 56ch; color: #D7E2DF; }
.hero__panel { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); padding: 20px 22px; }
.hero__panel-h { display: flex; align-items: center; gap: 8px; font: 700 .95rem var(--head); color: var(--white); }
.hero__panel ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.hero__panel li { padding-left: 18px; position: relative; }
.hero__panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal-soft); }
.hero__panel strong { color: var(--white); }
.hero__panel-note { font-size: .86rem; color: #C3D2CE; margin: 0; }
.hero__panel-note a { color: var(--white); }
@media (min-width: 960px) {
  .hero { min-height: 640px; display: flex; align-items: center; }
  .hero__media { position: absolute; inset: 0; height: auto; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 50, 58, .97) 0%, rgba(20, 50, 58, .9) 38%, rgba(20, 50, 58, .35) 70%, rgba(20, 50, 58, .15) 100%); }
  .hero__in { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); align-items: end; gap: 48px; padding: 72px 0; }
  .hero__panel { background: rgba(20, 50, 58, .78); backdrop-filter: blur(6px); }
}

/* Podstrony */
.phead { background: var(--white); border-bottom: 1px solid var(--line); }
.phead__in { display: grid; gap: 28px; padding: clamp(28px, 5vw, 60px) 0; align-items: center; }
.phead h1 { max-width: 22ch; }
.phead__img img { border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .phead__in--img { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.prose-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .prose-wrap { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } .aside { position: sticky; top: 96px; } }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .45em; }
.split { display: grid; gap: 32px; align-items: center; }
.split > *, .phead__in > *, .hero__in > *, .prose-wrap > * { min-width: 0; }
.split__img img, .split figure img { border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
figure { margin: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Elementy treści */
.trio { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.trio li { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 2px; }
.trio li:nth-child(3) { border-left-color: var(--clay); }
.trio__k { font: 700 .76rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--clay-ink); }
.trio strong { font: 700 1.08rem var(--head); color: var(--petrol); }
.trio span:last-child { color: var(--muted); font-size: .95rem; }
.tools { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.tool { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.tool p { color: var(--muted); flex: 1; }
.tool__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); color: var(--petrol); display: grid; place-items: center; margin-bottom: 16px; }
@media (min-width: 860px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ticks { list-style: none; padding: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--teal-ink); border-bottom: 2.5px solid var(--teal-ink); transform: rotate(-45deg); }
.rights { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .14); border-radius: var(--r); overflow: hidden; }
.rights li { background: var(--petrol); padding: 22px; display: grid; gap: 6px; }
.rights strong { font: 700 1.05rem var(--head); color: var(--white); }
.rights span { color: #D0DDD9; font-size: .96rem; }
.rights small { color: var(--teal-soft); font-size: .82rem; }
.rights--light { background: var(--line); }
.rights--light li { background: var(--white); }
.rights--light strong { color: var(--petrol); }
.rights--light span { color: var(--char); }
.rights--light small { color: var(--teal-ink); }
@media (min-width: 760px) { .rights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .rights { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.numlist { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.numlist li { counter-increment: n; background: var(--white); padding: 14px 18px 14px 58px; position: relative; }
.numlist li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font: 800 .95rem var(--head); color: var(--clay-ink); }
.numlist .muted { display: block; font-size: .92rem; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 20px 74px; position: relative; display: grid; gap: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--petrol); color: var(--white); display: grid; place-items: center; font: 800 .95rem var(--head); }
.steps strong { font: 700 1.06rem var(--head); color: var(--petrol); }
.facts { display: grid; gap: 14px; margin-top: 22px; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.fact strong { display: block; font: 700 1.06rem var(--head); color: var(--petrol); margin-bottom: 6px; }
.fact p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 860px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .facts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.alerts li { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--clay); border-radius: 12px; padding: 14px 18px; display: grid; gap: 2px; }
.alerts li:first-child { border-left-color: var(--bad); }
.alerts strong { font: 700 .98rem var(--head); color: var(--petrol); }
.alerts span { font-size: .94rem; color: var(--muted); }
.srclist { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.srclist li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; }
.srclist a { font: 600 1rem/1.4 var(--head); }
.srclist small { color: var(--muted); }
.srclist__t { font: 700 .74rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--clay-ink); }
@media (min-width: 860px) { .srclist:not(.srclist--full) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.disclose { display: grid; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); align-items: end; }
@media (min-width: 900px) { .disclose { grid-template-columns: 1fr auto; } }
.cta { background: var(--petrol); color: #DCE6E3; border-radius: var(--r-lg); padding: clamp(26px, 5vw, 52px); display: grid; gap: 20px; align-items: center; margin-bottom: 28px; }
.cta h2 { color: var(--white); }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; } }
.nextbox { background: var(--petrol); color: #DCE6E3; border-radius: var(--r-lg); padding: 26px; }
.nextbox h2 { color: var(--white); font-size: 1.25rem; }
.card { list-style: none; }
.card--plain { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.card--plain h2 { font-size: 1.15rem; }
.tag { display: inline-block; font: 700 .76rem var(--head); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.tag--a { background: var(--mist); color: var(--petrol); }
.tag--b { background: #F4E7DD; color: var(--clay-ink); }
.tag--c { background: var(--stone-2); color: var(--char); }

/* Zasady, statusy, ostrzeżenia */
.disc, .quality { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.quality { color: var(--char); border-color: var(--teal-soft); background: #F0F6F4; }
.quality .icon, .disc .icon { color: var(--teal-ink); margin-top: 2px; }
.status { border-radius: 12px; padding: 14px 18px; margin: 0 0 12px; border: 1px solid; }
.status p { margin: 0; font-size: .95rem; }
.status__label { display: flex; align-items: center; gap: 8px; margin-bottom: 4px !important; font-family: var(--head); font-size: 1.02rem !important; }
.status--ok { background: var(--ok-bg); border-color: #A9CDB7; } .status--ok .status__label { color: var(--ok); }
.status--warn { background: var(--warn-bg); border-color: #E6CF94; } .status--warn .status__label { color: var(--warn); }
.status--bad { background: var(--bad-bg); border-color: #E4B4AC; } .status--bad .status__label { color: var(--bad); }
.status--info { background: var(--info-bg); border-color: #B5CBE0; } .status--info .status__label { color: var(--info); }
.statuses { list-style: none; padding: 0; margin: 0; }
.urgent { display: flex; gap: 14px; align-items: flex-start; background: var(--bad-bg); border: 1px solid #E4B4AC; border-radius: var(--r); padding: 18px 20px; margin-bottom: 28px; color: var(--char); }
.urgent .icon { color: var(--bad); }
.urgent p { margin: 0; }
.urgent--sm { padding: 12px 16px; margin: 0 0 22px; font-size: .95rem; }

/* Sprawdź klinikę */
.vbox { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.vbox__head p:not(.chapter) { color: var(--muted); max-width: 70ch; }
.vform { display: grid; gap: 14px; }
.vform__row { display: grid; gap: 14px; }
@media (min-width: 760px) { .vform__row { grid-template-columns: 2fr 1fr; } }
.vform .btn { justify-self: start; }
.vform__more summary { cursor: pointer; font: 600 .95rem var(--head); color: var(--teal-ink); padding: 6px 0; }
.vform__more .vform__row { margin-top: 10px; }
.vres { margin-top: 28px; scroll-margin-top: 96px; }
.vres__hint { background: var(--stone); border-radius: 10px; padding: 12px 16px; }
.vres__sub { margin-top: 28px; }
.vres__next { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-top: 20px; }
.recs { display: grid; gap: 14px; margin: 16px 0; }
@media (min-width: 900px) { .recs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rec { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.rec h3 { font-size: 1.05rem; overflow-wrap: anywhere; }
.rec__dl { margin: 0 0 14px; display: grid; gap: 8px; }
.rec__dl div { display: grid; gap: 1px; }
.rec__dl dt { font: 700 .76rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rec__dl dd { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }

/* Narzędzia trzystanowe */
.tri { display: grid; gap: 22px; }
.tri__progress { background: var(--petrol); color: var(--white); border-radius: 999px; padding: 8px 16px; justify-self: start; font: 700 .9rem var(--head); margin: 0; }
.tri__group { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: 8px 0 0; margin: 0; min-width: 0; }
.tri__group legend { font: 800 1.2rem var(--head); color: var(--petrol); padding: 0 10px; margin-left: 14px; }
.tri__item { padding: 16px 22px; border-top: 1px solid var(--stone-2); }
.tri__item:first-of-type { border-top: 0; }
.tri__q { font-weight: 600; margin-bottom: 10px; }
.tri__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.tri__opt { position: relative; }
.tri__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tri__opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font: 600 .9rem var(--head); cursor: pointer; background: var(--white); }
.tri__opt input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.tri__opt--ok input:checked + span { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.tri__opt--todo input:checked + span { background: var(--warn-bg); border-color: var(--warn); color: var(--warn); }
.tri__opt--ask input:checked + span { background: var(--info-bg); border-color: var(--info); color: var(--info); }
.tri__opt input:checked + span::before { content: "✓"; margin-right: 6px; }
.tri__note { margin-top: 10px; }
.tri__note summary { cursor: pointer; font-size: .9rem; color: var(--teal-ink); font-weight: 600; }
.tri__ask { font-size: .94rem; background: var(--stone); border-radius: 8px; padding: 10px 12px; margin: 8px 0; }
.tri__note textarea { width: 100%; }
.tri__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tri__res { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 36px); margin-top: 28px; scroll-margin-top: 96px; }
.tri__cols { display: grid; gap: 16px; }
@media (min-width: 900px) { .tri__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tri__col { border-radius: var(--r); padding: 18px; border-top: 4px solid; background: var(--stone); min-width: 0; }
.tri__col--ok { border-color: var(--ok); } .tri__col--todo { border-color: var(--warn); } .tri__col--ask { border-color: var(--info); }
.tri__col ul { margin: 0; padding-left: 1.1em; font-size: .95rem; }

/* Paszport */
.pp fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.pp legend { font: 700 1.1rem var(--head); color: var(--petrol); margin-bottom: 12px; }
.pp__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.pp__opt { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; background: var(--white); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font: 600 .98rem var(--head); }
.pp__opt input { width: 20px; height: 20px; accent-color: var(--petrol); }
.pp__opt:has(input:checked) { border-color: var(--petrol); background: var(--mist); }
.pp__doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 44px); margin-top: 28px; scroll-margin-top: 96px; }
.pp__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--petrol); padding-bottom: 16px; margin-bottom: 8px; }
.pp__doc h3 { margin-top: 24px; }
.pp__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--stone-2); border-radius: 12px; overflow: hidden; }
.pp__list li { background: var(--white); }
.pp__list label { display: flex; gap: 12px; padding: 12px 14px; cursor: pointer; }
.pp__list input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--petrol); flex: none; }
.pp__list strong { display: block; font-weight: 600; }
.pp__list small { color: var(--muted); font-size: .9rem; }
.pp__sum { margin-top: 18px; color: var(--muted); font-size: .94rem; }

/* Tabele (mobilnie jako karty) */
.table-wrap { margin: 20px 0 0; }
.tbl { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--stone-2); }
.tbl thead th { background: var(--petrol); color: var(--white); font: 700 .86rem var(--head); }
.tbl tbody th { font: 700 .96rem var(--head); color: var(--petrol); }
@media (max-width: 859px) {
  .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; width: 100%; }
  .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tbl { background: transparent; }
  .tbl tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
  .tbl tbody th { background: var(--mist); }
  .tbl td { border-bottom: 1px solid var(--stone-2); }
  .tbl td:last-child { border-bottom: 0; }
  .tbl td::before { content: attr(data-l); display: block; font: 700 .74rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
}

/* Formularze (wspólne komponenty PCDE) */
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font: 700 .93rem var(--head); color: var(--petrol); }
.field .opt { font: 500 .88rem var(--body); color: var(--muted); }
input[type=text], input:not([type]), input[type=email], input[type=tel], textarea, select { font: inherit; width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #C9C2B5; border-radius: 10px; background: var(--white); color: var(--char); }
textarea { min-height: 0; }
input:focus, textarea:focus { border-color: var(--teal-ink); outline: 3px solid rgba(63, 136, 128, .25); outline-offset: 0; }
.hint { font-size: .88rem; color: var(--muted); margin: 0; }
.result { display: grid; gap: 24px; align-items: start; }
@media (min-width: 980px) { .result { grid-template-columns: minmax(0, 1fr) 340px; } }
.lead { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); scroll-margin-top: 96px; }
.lead__head p { color: var(--muted); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 700px) { .form__row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--petrol); flex: none; }
.form__note { font-size: .88rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 0 0 18px; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.notice--ok { border-color: #A9CDB7; background: var(--ok-bg); }
.notice--error { border-color: #E4B4AC; background: var(--bad-bg); }
.notice--error li { color: var(--bad); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.topics a { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font: 600 .9rem var(--head); color: var(--char); background: var(--white); min-height: 44px; display: inline-flex; align-items: center; }
.topics a[aria-current] { border-color: var(--petrol); background: var(--petrol); color: var(--white); }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; position: relative; font: 700 1.02rem/1.4 var(--head); color: var(--petrol); min-height: 58px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--clay-ink); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 20px 18px; margin: 0; }

/* Źródła na stronie */
.metab { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 22px; font-size: .9rem; color: var(--muted); }
.metab__src { padding-left: 1.3em; display: grid; gap: 6px; margin: 12px 0 0; }
.metab__src a { overflow-wrap: anywhere; }

/* Stopka */
.ftr { background: #0F272D; color: #B9C9C5; padding: 56px 0 24px; font-size: .94rem; }
.ftr a { color: #DCE6E3; text-decoration: none; }
.ftr a:hover { color: var(--white); text-decoration: underline; }
.ftr__grid { display: grid; gap: 28px; }
.ftr__grid nav { display: grid; gap: 8px; align-content: start; }
.ftr__brand { font: 800 1.15rem var(--head); color: var(--white); }
.ftr__h { font: 700 .8rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--teal-soft); margin: 0 0 4px; }
.ftr__note { color: #DCE6E3; }
.ftr__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; font-size: .84rem; }
@media (min-width: 900px) { .ftr__grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); } }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1F7A4D; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { background: #17613D; color: #fff; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 560px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; font-size: .93rem; }
.cookie-banner__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Druk: tylko narzędzie */
@media print {
  .hdr, .ftr, .wa-float, .cookie-banner, .crumbs, .phead, .btn, .tri__actions, .tri__progress, .pp form, .vform, .metab, .disc, .quality, .section:not(:has(.tri, .pp__doc)) { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .tri__group, .pp__doc, .tri__res { border: 0; box-shadow: none; padding: 0; }
  .tri__note { display: block; } .tri__note[open] textarea, .tri__note textarea { border: 0; }
  .tri__opt:not(:has(input:checked)) { display: none; }
  a { color: #000; text-decoration: none; }
}
