/* ==========================================================================
   drzwi-aluminiowe-pruszkow.pl — marka „Drzwi Aluminiowe Pruszków” (prowadzi POWER Rubber)
   Wygląd z makiety v2 (makieta/makieta.html, zaakceptowana 2026-11-12):
   chłodne szarości anodu, antracyt RAL 7016, jeden ciepły akcent #C2410C; nagłówki Archivo, tekst Inter.
   Klasy treści zgodne z panpawilon.pl (CLAUDE.md → „Klasy”) + kreator wyceny (szablon/kreator.html).
   Mobile first; jasny motyw (bez trybu ciemnego).
   ========================================================================== */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; 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: "Inter"; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; 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: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 500 700; 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: "Inter"; src: url("../fonts/inter-latin-ext-600-normal.woff2") format("woff2"); font-weight: 500 700; 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: "Archivo"; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 600 700; 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: "Archivo"; src: url("../fonts/archivo-latin-ext-700-normal.woff2") format("woff2"); font-weight: 600 700; 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: "Archivo"; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800 900; 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: "Archivo"; src: url("../fonts/archivo-latin-ext-800-normal.woff2") format("woff2"); font-weight: 800 900; 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; }

@view-transition { navigation: auto; }

:root {
  --bg: #F4F5F6;          /* tło strony */
  --surface: #FFFFFF;     /* karty, formularze */
  --alu: #E3E6E9;         /* sekcje naprzemienne, aluminium */
  --alu-2: #ECEEF0;
  --line: #C9CED3;
  --line-2: #DADEE2;
  --fg: #1E2327;          /* tekst */
  --muted: #535B63;       /* tekst pomocniczy (kontrast AA na --alu) */
  --ink: #2B3238;         /* antracyt — stopka, CTA */
  --ink-2: #22282D;
  --on-ink: #F4F5F6;
  --on-ink-muted: #B9C1C7;
  --accent: #C2410C;      /* akcent — przyciski, wyróżnienia */
  --accent-dark: #A3360A;
  --accent-soft: #FBEDE6;
  --warm: #C2410C;
  --cold: #2F6F8F;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
  --radius: 8px;
  --radius-lg: 10px;
  --shadow: 0 14px 34px -20px rgba(20, 26, 30, .45);
  --shadow-sm: 0 6px 16px -10px rgba(20, 26, 30, .35);
  --wrap: 1160px;
  --head-h: 68px;
}

*, *::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: var(--body); font-size: 16.5px; line-height: 1.6; color: var(--fg); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
picture { display: contents; }
img { height: auto; }
a { color: var(--accent-dark); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; color: var(--fg); }
h1 { font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong, b { font-weight: 600; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.narrow { max-width: 860px; }
.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: .55em; font: 600 .76rem/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); flex: none; }
.eyebrow-light { color: var(--on-ink-muted); }
.section { padding: clamp(44px, 7vw, 84px) 0; position: relative; }
.section-alt { background: var(--alu); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.answer { font-size: 1.07rem; }
.answer strong { color: var(--fg); }
.lead-text { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cold); outline-offset: 2px; }
.warm { color: var(--warm); }
.cold { color: var(--cold); }

/* ---------- Przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1.15 var(--body); padding: 13px 22px; min-height: 48px; border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; text-align: center; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary, .btn-red { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-red:hover { background: var(--accent-dark); color: #fff; }
.btn-line { background: transparent; color: var(--fg); border-color: currentColor; }
.btn-line:hover { color: var(--accent-dark); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--fg); color: var(--fg); }
.btn-white { background: #fff; color: var(--fg); }
.btn-sm { padding: 9px 16px; min-height: 44px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: wait; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.tel { font: 600 1.05rem var(--mono); white-space: nowrap; }

/* ---------- Nagłówek ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); transition: box-shadow .3s; }
.site-head.scrolled { box-shadow: 0 6px 18px -14px rgba(0, 0, 0, .45); }
.site-head .wrap { max-width: 1320px; }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex: none; min-width: 0; }
.brand:hover { color: var(--fg); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font: 800 1.02rem/1.05 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.brand-name small { display: block; font: 600 .66rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light .brand-name small { color: var(--on-ink-muted); }

.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(--fg); text-decoration: none; font-weight: 600; font-size: .93rem; padding: 10px 8px; border-radius: 6px; white-space: nowrap; }
.nav-list > li > a:hover, .nav-list > li > a.active, .nav-list > li > a[aria-current] { color: var(--accent-dark); }
.nav-list > li > a.active { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.sub-toggle { width: 24px; height: 32px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.sub-toggle::before { content: ""; position: absolute; left: 7px; 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-2); border-radius: var(--radius-lg); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; max-height: calc(100vh - var(--head-h) - 20px); overflow-y: auto; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--fg); text-decoration: none; font-weight: 500; font-size: .93rem; }
.sub a:hover, .sub a[aria-current] { background: var(--alu-2); color: var(--accent-dark); }
@media (min-width: 1121px) {
  .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: 12px; }
.head-btn { white-space: nowrap; }
.head-phone { font: 600 1rem var(--mono); color: var(--fg); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; min-height: 44px; }
.head-phone svg { width: 18px; height: 18px; color: var(--accent); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--fg); 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: 1120px) {
  .burger { display: block; }
  .nav { position: fixed; top: var(--head-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 8px 16px calc(80px + env(safe-area-inset-bottom)); 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-2); }
  .nav-list > li > a { flex: 1; padding: 15px 4px; font-size: 1.06rem; }
  .nav-list > li > a.active { box-shadow: none; }
  .sub-toggle { width: 48px; height: 48px; }
  .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; max-height: none; }
  .has-sub.open .sub { display: block; }
  .nav-mobile-extra { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
  .nav-tel { font: 600 1.2rem var(--mono); color: var(--fg); text-decoration: none; text-align: center; padding: 8px; }
  body.nav-open { position: fixed; left: 0; right: 0; width: 100%; overflow: visible; }
  body.nav-open .site-head { z-index: 100; backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.nav-open .mobile-bar, body.nav-open .cookie { visibility: hidden; }
}
@media (max-width: 760px) {
  .head-btn { display: none; }
  .head-phone span { display: none; }
  .head-phone { width: 46px; height: 46px; justify-content: center; border-radius: 6px; background: var(--alu-2); }
}
@media (max-width: 400px) {
  .brand-name { font-size: .9rem; }
  .brand-mark { width: 30px; height: 30px; }
  .head-cta { gap: 8px; }
}

/* ---------- Hero strony głównej (kierunek A z makiety) ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 6vw, 72px); background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.hero-text { display: grid; gap: 18px; align-content: start; }
.hero-text > * { margin: 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.05; }
.hero-lead { font-size: clamp(1.04rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 58ch; }
.hero-lead strong { color: var(--fg); }
.usp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: .96rem; font-weight: 500; }
.usp li { display: flex; gap: .55rem; align-items: baseline; }
.usp li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); transform: translateY(1px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.drawing { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.drawing img { width: 100%; }
.drawing figcaption { font-size: .82rem; color: var(--muted); margin-top: 6px; }
@media (min-width: 560px) { .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; } }

/* ---------- Hero podstron ---------- */
.page-hero { background: var(--bg); padding: 18px 0 clamp(32px, 5vw, 60px); border-bottom: 1px solid var(--line-2); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.page-hero.no-img .page-hero-grid { max-width: 900px; }
.page-hero h1 { font-size: clamp(1.85rem, 4.2vw, 3rem); line-height: 1.07; margin: 12px 0 14px; }
.hero-brand { margin: 14px 0 0; }
.page-hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--muted); margin-bottom: 22px; }
.page-hero .lead strong { color: var(--fg); }
.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: var(--radius); width: 100%; }
.page-hero-rys img { background: var(--surface); border: 1px solid var(--line); padding: 12px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; font-size: .85rem; 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(--accent-dark); text-decoration: underline; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } .page-hero.no-img .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.img-ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--alu) 0 10px, transparent 10px 20px); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font: 600 .78rem/1.4 var(--mono); }

/* ---------- Blok przewag (po H1 podstron usługowych) ---------- */
.przewagi { background: var(--ink); color: var(--on-ink); padding: 22px 0; }
.przewagi-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 28px; }
.przewagi-list li { display: grid; gap: 2px; padding-left: 20px; position: relative; }
.przewagi-list li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.przewagi-list b { font-family: var(--display); font-weight: 700; color: #fff; }
.przewagi-list span { font-size: .9rem; color: var(--on-ink-muted); }
@media (min-width: 820px) { .przewagi-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

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

/* Rysunki SVG {{rys:nazwa|alt|podpis}} */
.rys { margin: 22px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.rys img { display: block; width: 100%; height: auto; }
.rys figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.prose .rys:first-child, .cols > .rys:first-child { margin-top: 0; }
.card-img .rys { margin: 0; border: 0; border-radius: 0; padding: 12px; background: var(--surface); border-bottom: 1px solid var(--line-2); }
.card-img .rys img { object-fit: contain; max-height: 190px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--fg); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card h3 a { color: var(--fg); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card p { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.card .more { margin-top: auto; }
.card-img { margin: -20px -20px 14px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card-img img, .card-img .img-ph { border-radius: 0; border: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tag { align-self: flex-start; font: 600 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: .3rem .5rem; border-radius: 4px; border: 1px solid currentColor; margin-bottom: 10px; }
.more { font-weight: 600; font-size: .94rem; color: var(--accent-dark); }
a.more { text-decoration: none; }
a.more:hover { text-decoration: underline; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps > li, .steps > .step { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.steps > li::before, .steps > .step::before { content: counter(s); font: 800 1.7rem/1 var(--display); color: var(--accent); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.08rem; }
.steps p { color: var(--muted); font-size: .95rem; 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(--ink); color: #fff; border-radius: var(--radius); padding: 18px; }
.facts b { display: block; font: 800 1.4rem/1.1 var(--display); color: #fff; margin-bottom: 4px; }
.facts span { color: var(--on-ink-muted); font-size: .93rem; }

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

.note { background: var(--alu-2); border-left: 4px solid var(--fg); border-radius: 6px; padding: 14px 18px; margin: 1em 0; font-size: .96rem; }
.note-blue { background: #E8F1F5; border-left-color: var(--cold); }
.section-alt .note { background: var(--surface); }

.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 1em 0 1.4em; background: var(--surface); -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; white-space: nowrap; }
thead th.warm { color: #F3A57E; }
thead th.cold { color: #9CCBE1; }
tbody th { font-weight: 600; color: var(--muted); }
tbody tr:nth-child(even) { background: #F8F9FA; }
tbody tr:last-child td, tbody tr:last-child th { 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 > a, .chips li > span, .chips > a, .chips > span { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 500; color: var(--fg); text-decoration: none; }
.chips a:hover { border-color: var(--fg); color: var(--accent-dark); }

/* Opcje wykonania (siatka jak w makiecie) */
.opts-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 28px; list-style: none; margin: 0; padding: 0; }
.opts-grid > * { padding-top: 14px; border-top: 2px solid var(--line); }
.opts-grid h3 { margin-bottom: 4px; }
.opts-grid p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (min-width: 560px) { .opts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .opts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pomiar (rysunek + kroki) */
.measure { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 860px) { .measure { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.measure ol { margin: 0 0 1em; padding-left: 1.2rem; display: grid; gap: .5rem; }

/* Miejsca na zdjęcia (realizacje) */
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 600; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 4px; background: var(--alu-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' 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 > p, .faq-item > div { padding: 0 18px 16px; margin: 0; color: #343B41; }
.faq-item > p + p { padding-top: 0; }
.faq-item > div p:last-child { margin-bottom: 0; }

/* ---------- Linki miejscowości ---------- */
.city-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 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: var(--radius); background: var(--surface); text-decoration: none; color: var(--fg); font-weight: 600; }
.city-links a:hover { border-color: var(--fg); color: var(--accent-dark); }
.city-links small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }

.nap { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: 22px; }
.nap a { color: #fff; }
.nap h2, .nap h3 { color: #fff; }
.nap p { color: var(--on-ink); }
.nap address { font-style: normal; line-height: 1.7; }
.map-link { display: inline-flex; margin-top: 10px; }

/* ---------- Formularze ---------- */
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(16px, 3vw, 26px); box-shadow: var(--shadow-sm); min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .93rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 13px; min-height: 48px; border: 1.5px solid #B4BBC1; border-radius: 6px; background: #fff; color: var(--fg); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fg); outline: none; box-shadow: 0 0 0 4px rgba(47, 111, 143, .2); }
.err { display: block; color: #B00020; font-size: .85rem; font-weight: 600; }
.err:empty { display: none; }
.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(min(100%, 180px), 1fr)); gap: 12px; }
.field-row-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.field-hint { font-size: .86rem; color: var(--muted); margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); min-height: 24px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.check .err { flex-basis: 100%; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #0A6B34; }
.form-msg.bad { color: #B00020; }
.form .btn { justify-self: start; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 8px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px 14px; }
.opts .check { color: var(--fg); font-size: .95rem; }
.form [hidden] { display: none !important; }

/* ---------- Kreator wyceny (4 kroki) ---------- */
.wizard { gap: 16px; }
.wizard-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: w; }
.wizard-progress li { counter-increment: w; font-size: .78rem; font-weight: 600; color: var(--muted); border-top: 5px solid var(--alu); border-radius: 3px 3px 0 0; padding-top: 7px; }
.wizard-progress li::before { content: counter(w) ". "; }
.wizard-progress li.done, .wizard-progress li.cur { border-color: var(--accent); color: var(--fg); }
.step { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.step > legend { font: 800 1.3rem/1.2 var(--display); margin-bottom: 4px; padding: 0; }
.step > legend:focus { outline: none; }
.step-no { display: block; font: 600 .74rem/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
html:not(.js) .step + .step { border-top: 1px solid var(--line-2); padding-top: 18px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr)); gap: 8px; }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.tiles-colors { grid-template-columns: repeat(auto-fill, minmax(min(100%, 112px), 1fr)); }
.tile { position: relative; display: block; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tile > span { display: grid; gap: 3px; align-content: center; text-align: left; border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 14px; font-weight: 600; min-height: 64px; background: var(--bg); transition: border-color .15s, background .15s; }
.tile em { font-style: normal; font-family: var(--display); font-weight: 700; }
.tile small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.tile input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.tile input:focus-visible + span { outline: 3px solid var(--cold); outline-offset: 2px; }
.tile:hover > span { border-color: var(--fg); }
.sw { display: block; width: 26px; height: 18px; border-radius: 3px; border: 1px solid #8A9298; margin-bottom: 4px; }
.sw-7016 { background: #383E42; } .sw-9005 { background: #0A0A0A; } .sw-9016 { background: #F1F0EA; } .sw-srebrny { background: linear-gradient(135deg, #D4D8DB, #A3A9AE); }
.sw-inny { background: conic-gradient(#C2410C, #E3B341, #4C8C4A, #2F6F8F, #6B4C9A, #C2410C); }
.wizard-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.wizard-nav [hidden] { display: none; }
.wizard-nav [type="submit"] { margin-left: auto; }
.wizard:not(.w-ready) [data-prev], .wizard:not(.w-ready) [data-next], .wizard:not(.w-ready) .wizard-progress { display: none; }
.js .wizard.w-ready .step[hidden] { display: none; }
.drop { border: 2px dashed #A9B1B7; border-radius: var(--radius); padding: 16px; background: var(--bg); }
.drop input { font-size: .9rem; max-width: 100%; min-height: 0; border: 0; padding: 4px 0; background: transparent; }
.drop p { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }

/* Sekcja z kreatorem na stronie głównej i /wycena/ */
.wycena-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.wycena-grid > div:first-child > :last-child { margin-bottom: 0; }
@media (min-width: 960px) { .wycena-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; } .wycena-grid > div:first-child { position: sticky; top: calc(var(--head-h) + 20px); } }

/* ---------- CTA końcowe ---------- */
.cta-final { background: var(--ink); color: var(--on-ink); }
.cta-final h2 { color: #fff; }
.cta-final p { color: var(--on-ink-muted); }
.cta-final .cta-text a { color: #F3A57E; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); 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: 84px 1fr; gap: 10px; }
.cta-contact span { color: var(--on-ink-muted); font-size: .9rem; }
.cta-contact a, .cta-contact b { font-weight: 600; color: #fff; }
.cta-final .form { color: var(--fg); }
.cta-final .form p { color: inherit; }
.cta-final .form a { color: var(--accent-dark); }
@media (min-width: 860px) { .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Poradnik ---------- */
.post-meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 2em; }
.toc p { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; }
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 2em; }
.author-box .av { width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 800 1.2rem var(--display); flex: none; }
.upd-note { font-size: .82rem; color: var(--muted); margin: 0; padding: 14px 0; }

/* ---------- Stopka ---------- */
.site-foot { background: var(--ink-2); color: var(--on-ink-muted); padding: 52px 0 96px; font-size: .93rem; }
.site-foot a { color: #E3E6E9; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.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: 700 1rem var(--display); margin-bottom: 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-col a { display: inline-block; padding: 2px 0; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; font-size: .84rem; }
.foot-bottom p { margin: 0; }
.foot-bottom b { color: #fff; }
.foot-logo { width: 170px; height: auto; background: #fff; padding: 8px 10px; border-radius: 6px; box-sizing: content-box; margin-left: auto; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: auto; } }

/* ---------- Pasek mobilny „Zadzwoń | Wycena” ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -14px rgba(0, 0, 0, .35); padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left, 0px)); gap: 8px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 6px; font-weight: 600; text-decoration: none; color: var(--fg); border: 2px solid var(--fg); }
  .mobile-bar svg { width: 18px; height: 18px; color: var(--accent); }
  .mobile-bar .mb-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
  .cookie { bottom: 76px; }
  .site-foot { padding-bottom: 110px; }
}

/* ---------- Baner cookies ---------- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 90; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .45); padding: 16px 18px; 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; } }
