/* ==========================================================================
   plyty-gumowe.pl — serwis POWER Rubber
   Kolory i czcionki: company/identyfikacja.md
   ========================================================================== */

@font-face { font-family: "Syne"; src: url("../fonts/syne-latin-ext.woff2") format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Syne"; src: url("../fonts/syne-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@view-transition { navigation: auto; }

:root {
  --blue: #005CAB;
  --blue-dark: #00488a;
  --red: #ED1944;
  --yellow: #FFCB08;
  --graphite: #34394D;
  --graphite-2: #262a3a;
  --sky: #E5EEF6;
  --sky-2: #f3f7fb;
  --ink: #0b0d14;
  --muted: #545867;
  --grey: #767676;
  --line: #d8e1ea;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(0, 40, 90, .35);
  --shadow-sm: 0 6px 18px -8px rgba(0, 40, 90, .25);
  --wrap: 1200px;
  --skew: 3.2vw;
  --head-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Figtree", system-ui, sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 2px; }
h1, h2, h3 { font-family: "Syne", "Figtree", sans-serif; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 6px; background: var(--red); transform: skewX(-30deg); }
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--yellow); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-alt { background: var(--sky-2); }
.section-head { max-width: 820px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.answer { font-size: 1.1rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 700 1rem/1.15 "Figtree", sans-serif; padding: 16px 24px; min-height: 48px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s, border-color .2s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 92, 171, .8); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }
.btn-sm { padding: 11px 18px; min-height: 44px; font-size: .92rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- Nagłówek ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-head.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.site-head .wrap { max-width: 1400px; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--blue); position: relative; overflow: hidden; flex: none; }
.brand-mark::before { content: ""; position: absolute; left: 8px; top: 6px; width: 11px; height: 18px; background: #fff; transform: skewX(-14deg); }
.brand-mark::after { content: ""; position: absolute; left: 21px; top: 6px; width: 5px; height: 18px; background: var(--red); transform: skewX(-14deg); }
.brand-name { font-family: "Syne", sans-serif; font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; white-space: nowrap; }
.brand-name span { color: var(--red); }
.brand-name em { font-style: normal; color: var(--blue); }
.brand-light { color: #fff; }
.brand-light .brand-name em { color: #8cc2f2; }

.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; padding: 10px 8px; border-radius: 8px; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a.active, .nav-list > li > a[aria-current] { color: var(--blue); }
.nav-list > li > a.active { box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.sub-toggle { width: 22px; height: 30px; margin-left: -6px; border: 0; background: none; cursor: pointer; position: relative; }
.sub-toggle::before { content: ""; position: absolute; left: 6px; top: 11px; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.sub { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem; }
.sub a:hover, .sub a[aria-current] { background: var(--sky); color: var(--blue); }
@media (min-width: 1281px) {
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
}
.nav-mobile-extra { display: none; }
.head-cta { display: flex; align-items: center; gap: 14px; }
.head-btn { white-space: nowrap; }
.head-phone { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.head-phone svg { width: 18px; height: 18px; color: var(--blue); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1440px) { .head-phone span { display: none; } }
@media (max-width: 1280px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--head-h) 0 0 0; background: #fff; overflow-y: auto; padding: 12px 20px 120px; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility .25s; visibility: hidden; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-list > li > a { flex: 1; padding: 15px 4px; font-size: 1.08rem; }
  .nav-list > li > a.active { box-shadow: none; }
  .sub-toggle { width: 48px; height: 48px; margin: 0; }
  .sub-toggle::before { left: 18px; top: 17px; }
  .sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg); top: 21px; }
  .sub { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 8px; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
  .nav-tel { font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; text-align: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .head-btn { display: none; }
  .head-phone { width: 46px; height: 46px; justify-content: center; border-radius: 12px; background: var(--sky); }
  .brand-name { font-size: 1.08rem; }
}

/* ---------- Hero strony głównej ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--sky-2) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: min(640px, 82vh); }
.hero-text { padding: clamp(36px, 6vw, 80px) 0 clamp(70px, 8vw, 110px); position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue); display: block; }
.hero-lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: #262a36; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: .88rem; }
.hero-facts li b { color: var(--blue); }
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; width: 54%; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky-2) 0%, rgba(243, 247, 251, 0) 26%); z-index: 1; }
.hero-media::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 34%; height: 46%; background: var(--blue); clip-path: polygon(0 100%, 0 38%, 100% 100%); opacity: .95; z-index: 2; }
.hero-badge { position: absolute; z-index: 3; right: 24px; top: 26px; background: var(--yellow); color: var(--ink); font-weight: 800; font-family: "Syne", sans-serif; padding: 10px 16px; border-radius: 12px; transform: rotate(-3deg); box-shadow: var(--shadow-sm); font-size: .95rem; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-media { position: relative; width: auto; margin: 0 -20px; height: 300px; }
  .hero-media::before { background: linear-gradient(180deg, var(--sky-2) 0%, rgba(243, 247, 251, 0) 30%); }
  .hero-text { padding-bottom: 28px; }
}

/* ---------- Hero podstron ---------- */
.page-hero { background: linear-gradient(180deg, #fff 0%, var(--sky-2) 100%); padding: 22px 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-hero.no-img .page-hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 16px; }
.page-hero .lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: #262a36; margin-bottom: 24px; }
.page-hero .lead p:last-child { margin-bottom: 0; }
.page-hero-img { margin: 0; position: relative; }
.page-hero-img img, .page-hero-img .img-ph { border-radius: 22px; box-shadow: var(--shadow); width: 100%; }
.page-hero-img::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 38%; height: 36%; background: var(--blue); clip-path: polygon(100% 0, 100% 100%, 0 100%); border-radius: 0 0 22px 0; z-index: -1; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-img::after { right: -8px; bottom: -8px; } }

.img-ph { aspect-ratio: 3 / 2; background: repeating-linear-gradient(-45deg, var(--sky) 0 14px, var(--sky-2) 14px 28px); border: 2px dashed #b8cde0; border-radius: 18px; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--muted); font-weight: 600; font-size: .9rem; }

/* ---------- Blok „cięcie na wymiar” ---------- */
.cut { background: var(--blue); color: #fff; position: relative; overflow: hidden; clip-path: polygon(0 var(--skew), 100% 0, 100% calc(100% - var(--skew)), 0 100%); padding: calc(var(--skew) + 34px) 0 calc(var(--skew) + 34px); margin: -6px 0; }
.cut::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 30px); pointer-events: none; }
.cut-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 34px; align-items: center; position: relative; z-index: 1; }
.cut h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.cut p { color: rgba(255, 255, 255, .9); margin-bottom: 14px; }
.cut-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cut-list a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; }
.cut-list a:hover { background: #fff; color: var(--blue); }
.cut-facts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.cut-facts li { padding-left: 26px; position: relative; color: rgba(255, 255, 255, .92); }
.cut-facts li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); transform: rotate(-45deg); }
.cut-facts b { color: #fff; }
@media (max-width: 860px) { .cut-in { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ---------- Treść ---------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.pic { margin: 0; }
.pic img, .pic .img-ph { border-radius: 18px; box-shadow: var(--shadow-sm); width: 100%; }
.pic figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #b9cfe4; }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 10px; }
.card .more { margin-top: auto; font-weight: 700; color: var(--blue); font-size: .93rem; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card-img { margin: -22px -22px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card-img img, .card-img .img-ph { border-radius: 0; border: 0; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.section-alt .card { background: #fff; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; position: relative; }
.steps li::before { content: counter(s); font-family: "Syne", sans-serif; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.facts li { background: var(--graphite); color: #fff; border-radius: var(--radius); padding: 20px; }
.facts b { display: block; font-family: "Syne", sans-serif; font-size: 1.7rem; line-height: 1.1; color: var(--yellow); margin-bottom: 4px; }
.facts span { color: rgba(255, 255, 255, .8); font-size: .93rem; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 15px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.crosses li::before { border: 0; width: 14px; height: 3px; background: var(--red); transform: rotate(45deg); top: .75em; box-shadow: none; }
.crosses li::after { content: ""; position: absolute; left: 2px; top: .75em; width: 14px; height: 3px; background: var(--red); transform: rotate(-45deg); }

.note { background: #fff6d6; border-left: 4px solid var(--yellow); border-radius: 10px; padding: 14px 18px; margin: 1em 0; font-size: .96rem; }
.note-blue { background: var(--sky); border-left-color: var(--blue); }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 1em 0 1.4em; background: #fff; -webkit-overflow-scrolling: touch; }
.tbl-wrap.tall { max-height: 440px; overflow-y: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--graphite); color: #fff; font-weight: 700; position: sticky; top: 0; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--sky-2); }
tbody tr:last-child td { border-bottom: 0; }
caption { caption-side: bottom; text-align: left; font-size: .84rem; color: var(--muted); padding: 10px 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 1em; padding: 0; }
.chips li, .chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Realizacje ---------- */
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.ref { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; border-top: 4px solid var(--blue); }
.ref .where { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.ref h3 { font-size: 1.05rem; margin-bottom: 8px; }
.ref p { font-size: .94rem; color: var(--muted); margin-bottom: 10px; }
.ref dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; font-size: .88rem; }
.ref dt { color: var(--grey); font-weight: 600; }
.ref dd { margin: 0; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 17px 54px 17px 20px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005CAB' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/13px no-repeat; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > div { padding: 0 20px 16px; color: #2b2f3c; }
.faq-item > div p:last-child { margin-bottom: 0; }

/* ---------- Linki miast ---------- */
.city-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.city-links a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.city-links a:hover { border-color: var(--blue); color: var(--blue); }
.city-links small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }

.nap { background: var(--graphite); color: #fff; border-radius: var(--radius); padding: 24px; }
.nap a { color: #fff; }
.nap h3 { color: #fff; }
.map-link { display: inline-flex; margin-top: 10px; }

/* ---------- Formularze ---------- */
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: .93rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid #c4d1de; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(0, 92, 171, .14); }
.field .err { color: #b00020; font-size: .85rem; font-weight: 600; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b00020; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 700; }
.form-msg.ok { color: #0a7a3c; }
.form-msg.bad { color: #b00020; }
.form .btn { justify-self: start; }

.wizard-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0 0 6px; padding: 0; counter-reset: w; }
.wizard-progress li { counter-increment: w; font-size: .8rem; font-weight: 700; color: var(--muted); border-top: 4px solid var(--line); padding-top: 8px; }
.wizard-progress li::before { content: counter(w) ". "; }
.wizard-progress li.done, .wizard-progress li.cur { border-color: var(--blue); color: var(--ink); }
.js .step[hidden] { display: none; }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.step > legend { font-family: "Syne", sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 4px; padding: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tile span { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px; font-weight: 700; text-align: center; transition: border-color .2s, background .2s; min-height: 64px; display: grid; place-items: center; }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.tile input:checked + span { border-color: var(--blue); background: var(--sky); color: var(--blue); }
.tile input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wizard-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.drop { border: 2px dashed #b8cde0; border-radius: 14px; padding: 18px; text-align: center; background: var(--sky-2); }
.drop input { font-size: .9rem; max-width: 100%; }
.drop p { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.js .no-js-only { display: none; }
html:not(.js) [data-prev], html:not(.js) [data-next], html:not(.js) .wizard-progress { display: none; }
.wizard-nav [hidden] { display: none; }

/* ---------- Narzędzia ---------- */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tool-out { background: var(--graphite); color: #fff; border-radius: 22px; padding: clamp(20px, 3vw, 30px); position: sticky; top: calc(var(--head-h) + 16px); }
.tool-out h3 { color: #fff; }
.tool-out .big { font-family: "Syne", sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--yellow); line-height: 1.05; margin: 4px 0 10px; }
.tool-out p, .tool-out li { color: rgba(255, 255, 255, .88); }
.tool-out a { color: #9fd0ff; }
.tool-out .note { color: var(--ink); }
@media (max-width: 860px) { .tool { grid-template-columns: minmax(0, 1fr); } .tool-out { position: static; } }
.mat-result { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.mat-result li { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; }
.mat-result li b { color: #fff; }
.mat-result .no { opacity: .55; }

/* ---------- CTA końcowe ---------- */
.cta-final { background: var(--sky-2); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.cta-contact { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.cta-contact li { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.cta-contact span { color: var(--grey); font-weight: 600; font-size: .9rem; }
.cta-contact a { font-weight: 700; color: var(--ink); }
@media (max-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Blog ---------- */
.post-meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.toc { background: var(--sky-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 0 0 2em; }
.toc p { font-weight: 800; margin-bottom: 6px; }
.toc ol { margin: 0; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--sky-2); border-radius: var(--radius); padding: 20px; margin-top: 2em; }
.author-box .av { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: "Syne", sans-serif; font-weight: 800; font-size: 1.3rem; flex: none; }

/* ---------- Stopka ---------- */
.site-foot { background: var(--graphite-2); color: rgba(255, 255, 255, .78); padding: 64px 0 96px; font-size: .94rem; }
.site-foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand p { margin: 14px 0; }
.foot-brand address { font-style: normal; line-height: 1.75; }
.foot-brand b { color: #fff; }
.foot-h { color: #fff; font-weight: 800; font-family: "Syne", sans-serif; margin-bottom: 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: space-between; font-size: .84rem; }
.foot-bottom p { margin: 0; }
.foot-logo { width: 170px; height: auto; background: #fff; padding: 8px 10px; border-radius: 8px; box-sizing: content-box; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .3); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 800; text-decoration: none; color: var(--ink); border: 2px solid var(--line); }
  .mobile-bar svg { width: 18px; height: 18px; color: var(--blue); }
  .mobile-bar .mb-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
  .cookie { bottom: 76px; }
}

/* ---------- Baner cookies ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); padding: 18px 20px; font-size: .9rem; }
.cookie p { margin-bottom: 10px; }
.cookie-prefs { display: grid; gap: 8px; margin-bottom: 12px; }
.cookie-prefs[hidden], .cookie[hidden] { display: none; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 480px) { .cookie { left: 8px; right: 8px; max-width: none; } }

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* odbojnice-gumowe.pl: narzędzia */
.form [hidden], .tool [hidden] { display: none !important; }
.wizard-progress.w3 { grid-template-columns: repeat(3, 1fr); }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-label { margin: 0; font-size: .93rem; }
.field-label small { font-weight: 500; color: var(--muted); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 6px; }
.opts { gap: 8px; }
.opts .check { color: var(--ink); font-size: .95rem; }
.kat-firma { display: grid; gap: 14px; }
.form .check + .check { margin-top: -4px; }
.prose .facts { margin: 0 0 1.2em; }
.tool-out .mat-result a { color: #fff; text-decoration: underline; }
.tool-out .calc-formula { font-size: .9rem; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.dl-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.dl-page form { margin: 1.2em 0; }
@media (max-width: 420px) { .tiles-2 { grid-template-columns: minmax(0, 1fr); } }
