/* SKP Otwock - style strony.
   Motyw przewodni: "protokół z linii diagnostycznej". Grafit hali, betonowa szarość,
   żółć sygnałowa jak oznakowanie poziome i belka skanera, która przejeżdża po nagłówkach.
   Etykiety mono działają jak odczyty z przyrządów. */

:root {
  --ink: #1c1d1f;
  --ink-2: #242528;
  --ink-3: #2d2e32;
  --concrete: #d8d8d4;
  --paper: #e7e6e1;
  --white: #f5f4f0;
  --muted: #6c6b67;
  --muted-d: #9a9a96;
  --line: rgba(28, 29, 31, .14);
  --line-d: rgba(245, 244, 240, .12);
  --accent: #f2c200;
  --accent-2: #ffd83a;
  --gutter: clamp(16px, 3.2vw, 48px);
  --hdr: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --logo: 'Unbounded', var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.is-loading { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.dim { color: var(--muted-d); }
.light .dim { color: var(--muted); }
.small { font-size: 14px; color: var(--muted-d); }
.light .small { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--accent); color: var(--ink); padding: 8px 12px; }
.skip:focus { left: 8px; }

.dark { background: var(--ink); color: var(--white); }
.light { background: var(--concrete); color: var(--ink); }

/* ---------- typografia ---------- */
.h-hero { font-weight: 500; font-size: clamp(52px, 9.6vw, 168px); line-height: .9; letter-spacing: -.045em; }
.h-hero .line { display: block; }
.h-xl { font-weight: 500; font-size: clamp(44px, 7.4vw, 124px); line-height: .92; letter-spacing: -.04em; }
.h-lg { font-weight: 500; font-size: clamp(34px, 4.6vw, 72px); line-height: .98; letter-spacing: -.035em; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--muted-d); max-width: 34em; }
.light .lead { color: #46464a; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted-d); }
.tick { width: 10px; height: 10px; background: var(--accent); box-shadow: 0 0 14px rgba(242, 194, 0, .55); }

/* belka skanera na nagłówkach (data-scan) */
[data-scan] { position: relative; display: inline-block; justify-self: start; width: fit-content; }
.scan-ready [data-scan] .scan-txt { clip-path: inset(0 100% 0 0); }
[data-scan] .scan-beam {
  position: absolute; top: -4%; bottom: -4%; left: 0; width: 3px; background: var(--accent);
  box-shadow: 0 0 18px 2px rgba(242, 194, 0, .7); opacity: 0; pointer-events: none;
}
[data-scan] .scan-block { position: absolute; left: calc(100% + .12em); bottom: .1em; height: .14em; width: 0; background: var(--accent); }

/* ---------- przyciski ---------- */
.btn {
  --h: 44px; display: inline-flex; align-items: center; gap: 12px; height: var(--h); padding: 0 6px 0 16px;
  font-weight: 500; font-size: 15px; white-space: nowrap; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn .sq { width: 32px; height: 32px; display: grid; place-items: center; background: var(--accent); color: var(--ink); transition: transform .4s var(--ease); }
.btn .sq svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn:hover .sq { transform: translateX(3px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent .sq { background: var(--ink); color: var(--accent); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--ghost { padding: 0 16px; border: 1px solid var(--line-d); color: var(--white); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { --h: 56px; font-size: 16px; padding-left: 20px; }
.btn--lg .sq { width: 44px; height: 44px; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--white);
  display: grid; place-items: end start; padding: var(--gutter); overflow: hidden;
}
.loader-in { display: flex; flex-direction: column; gap: 6px; }
.loader-num { font-size: clamp(64px, 12vw, 180px); letter-spacing: -.04em; line-height: .9; color: var(--accent); }
.loader-beam { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); box-shadow: 0 0 24px 4px rgba(242, 194, 0, .55); }
html:not(.is-loading) .loader { pointer-events: none; }

/* ---------- nagłówek ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; height: var(--hdr); z-index: 50;
  display: flex; align-items: center; gap: 28px; padding-right: var(--gutter);
  background: rgba(28, 29, 31, 0); transition: background .4s var(--ease), transform .5s var(--ease);
}
.hdr.is-bar { background: rgba(28, 29, 31, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-d); }
.hdr.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: stretch; height: 100%; gap: 14px; }
.brand-plate {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 18px 0 var(--gutter);
  background: var(--accent); color: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 72%, calc(100% - 14px) 100%, 0 100%);
}
.brand-plate b { font: 700 22px/1 var(--logo); letter-spacing: -.02em; }
.brand-plate small { font: 500 10px/1.3 var(--mono); letter-spacing: .16em; margin-top: 3px; }
.brand-plate--lg { padding: 18px 26px; height: auto; }
.brand-plate--lg b { font-size: 40px; }
.brand-city { display: flex; flex-direction: column; justify-content: center; font-weight: 500; font-size: 15px; line-height: 1.15; }
.brand-city small { font: 400 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-d); }
.nav { display: flex; gap: 26px; margin-left: 14px; }
.nav a { position: relative; font-size: 15px; color: rgba(245, 244, 240, .82); padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover { color: var(--white); }
.nav a:hover::after { transform: scaleX(1); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-d); font-size: 11px; }
.open-now i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-d); }
.open-now.is-open i { background: #3ddc84; box-shadow: 0 0 10px rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
.open-now.is-open { color: var(--white); }
@keyframes pulse { 50% { opacity: .35; } }
.menu-btn { display: none; height: 44px; padding: 0 14px; border: 1px solid var(--line-d); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before { /* winieta pod tekstem */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(28, 29, 31, .55) 0%, rgba(28, 29, 31, 0) 26%, rgba(28, 29, 31, 0) 52%, rgba(28, 29, 31, .92) 100%);
}
.hero-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-in {
  position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter) clamp(28px, 5vh, 56px);
  display: grid; grid-template-columns: 1fr minmax(280px, 400px); align-items: end; gap: 20px 48px;
}
.hero-in .eyebrow { grid-column: 1 / -1; margin-bottom: 6px; }
.hero-side { display: flex; flex-direction: column; gap: 22px; padding-bottom: 10px; }
.hero-side p { color: rgba(245, 244, 240, .78); font-size: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hud { position: absolute; z-index: 2; color: rgba(245, 244, 240, .7); display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.hud--tl { top: calc(var(--hdr) + 22px); left: var(--gutter); }
.hud--tl b { color: var(--accent); font-weight: 500; }
.hud--tr { top: calc(var(--hdr) + 22px); right: var(--gutter); text-align: right; gap: 6px; }
.hud--tr li { display: flex; justify-content: flex-end; align-items: center; gap: 10px; opacity: .45; transition: opacity .4s; }
.hud--tr li::after { content: '- - -'; color: var(--muted-d); width: 3.2em; text-align: right; }
.hud--tr li.is-ok { opacity: 1; }
.hud--tr li.is-ok::after { content: 'OK'; color: var(--accent); }
.scroll-hint { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 8px; font-size: 10px; color: var(--muted-d); }
.scroll-hint i { width: 1px; height: 28px; background: linear-gradient(var(--accent), transparent); }

/* ---------- fakty ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.fact { position: relative; padding: 70px var(--gutter) 34px; display: flex; flex-direction: column; gap: 10px; }
.fact::before { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: var(--accent); transform-origin: top; transform: scaleY(var(--grow, 1)); }
.fact h3 { font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.fact p { color: var(--muted-d); font-size: 15px; max-width: 26em; }

/* ---------- nagłówki sekcji ---------- */
section { position: relative; }
.sec-head {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 24px 48px;
  padding: clamp(110px, 16vh, 190px) var(--gutter) clamp(48px, 7vh, 80px);
}
.sec-head .lead { justify-self: end; }
.sec-head .lead .mono { display: block; margin-top: 12px; color: var(--ink); }

/* ---------- karuzela zakresu badań ---------- */
.rail { border-top: 1px solid var(--line-d); }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 0px) / 4.3));
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.rail-track::-webkit-scrollbar { display: none; }
.vcard {
  position: relative; scroll-snap-align: start; padding: 34px 24px 30px; border-right: 1px solid var(--line-d);
  display: flex; flex-direction: column; gap: 10px; min-height: 440px; transition: background .4s var(--ease);
}
.vcard:hover { background: var(--ink-2); }
.vcard .ico { width: 96px; height: 72px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: square; margin-bottom: auto; transition: transform .6s var(--ease); }
.vcard:hover .ico { transform: translateX(8px); }
.vcard h3 { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-top: 28px; }
.vcard p { color: var(--muted-d); font-size: 15px; }
.vcard .price { margin-top: 14px; font: 500 30px/1 var(--sans); letter-spacing: -.03em; color: var(--white); display: flex; align-items: center; gap: 10px; }
.vcard .price::before { content: ''; width: 10px; height: 10px; background: var(--accent); }
.rail-nav { display: flex; align-items: stretch; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.rail-btn { width: 56px; height: 54px; display: grid; place-items: center; border-right: 1px solid var(--line-d); transition: background .3s, color .3s; }
.rail-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.rail-btn:hover { background: var(--accent); color: var(--ink); }
.rail-btn:disabled { opacity: .3; pointer-events: none; }
.rail-count { display: flex; align-items: center; padding: 0 20px; color: var(--muted-d); }

/* ---------- alert LPG ---------- */
.alert { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: start; padding: 34px var(--gutter); background: var(--accent); color: var(--ink); }
.alert-tag { background: var(--ink); color: var(--accent); padding: 8px 12px; }
.alert p { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.4; max-width: 54em; }

/* ---------- cennik ---------- */
.pricing { padding-bottom: clamp(80px, 12vh, 140px); }
.calc { display: grid; grid-template-columns: 1.4fr 1fr; margin: 0 var(--gutter); border: 1px solid var(--line); }
.calc-form { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 30px; background: var(--paper); }
fieldset { border: 0; margin: 0; padding: 0; transition: opacity .4s var(--ease); }
fieldset[disabled] { opacity: .32; }
legend { padding: 0; margin-bottom: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid var(--line); background: var(--white); font-size: 15px; transition: background .25s, border-color .25s, color .25s; }
.chip small { font: 500 12px var(--mono); color: var(--muted); }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip input:checked + span small { color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc-out { padding: clamp(22px, 3vw, 40px); display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; gap: 0 10px; position: relative; overflow: hidden; }
.calc-out > .mono { width: 100%; margin-bottom: 18px; }
.calc-sum { font: 500 clamp(80px, 10vw, 148px)/.85 var(--sans); letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.calc-cur { font-size: 28px; color: var(--accent); }
.calc-lines { width: 100%; margin-top: 26px; border-top: 1px solid var(--line-d); }
.calc-lines li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line-d); color: rgba(245, 244, 240, .75); font-size: 11px; }
.calc-note { width: 100%; margin-top: 18px; font-size: 13px; color: var(--muted-d); }

.sums { margin: clamp(60px, 9vh, 100px) var(--gutter) 0; }
.sums h3 { color: var(--muted); margin-bottom: 18px; }
.sum-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sum-grid li { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.sum-grid li:hover { background: var(--paper); }
.sum-grid b { font-weight: 500; font-size: 34px; letter-spacing: -.035em; line-height: 1; }
.sum-grid span { color: #46464a; font-size: 15px; }

.table-wrap { margin: 28px var(--gutter) 0; border: 1px solid var(--line); background: var(--paper); }
.table-wrap summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px; font-size: 19px; font-weight: 500; }
.table-wrap summary::-webkit-details-marker { display: none; }
.table-wrap summary .mono { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.table-wrap summary i, .row-btn i { width: 26px; height: 26px; background: var(--accent); position: relative; }
.table-wrap summary i::before, .table-wrap summary i::after, .row-btn i::before, .row-btn i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.table-wrap summary i::after, .row-btn i::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] > summary i::after { transform: translate(-50%, -50%) rotate(0); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
.fees { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
.fees th { text-align: left; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 22px; border-bottom: 1px solid var(--line); }
.fees td { padding: 12px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees td:first-child { font-family: var(--mono); font-size: 13px; color: var(--muted); width: 64px; }
.fees td:last-child, .fees th:last-child { text-align: right; white-space: nowrap; font-weight: 500; }
.fees tr.grp td { background: var(--concrete); font-weight: 500; }
.fees tbody tr:not(.grp):hover td { background: var(--white); }
.fees sup { font-size: 10px; color: var(--muted); }
.footnotes { list-style: none; padding: 18px 22px 0; display: grid; gap: 8px; font-size: 13px; color: #46464a; }
.footnotes li::before { content: attr(value) ') '; font-family: var(--mono); color: var(--muted); }
.legal { padding: 16px 22px 22px; color: var(--muted); font-size: 10.5px; line-height: 1.6; }

/* ---------- klimatyzacja ---------- */
.feature { padding-bottom: clamp(90px, 14vh, 160px); }
.feature-stage { position: relative; display: grid; grid-template-columns: 1fr 420px; min-height: 76vh; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.feature-media { position: relative; overflow: hidden; background: var(--ink-2); }
.feature-media { display: grid; place-items: center; }
.feature-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(38px) saturate(1.1) brightness(.55); transform: scale(1.1); }
.feature-img { position: relative; z-index: 1; width: min(76%, 560px); height: auto; box-shadow: 0 30px 80px rgba(0,0,0,.5); filter: contrast(1.04); }
.feature-media::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); }
.feature-media figcaption { position: absolute; z-index: 3; left: 22px; bottom: 20px; color: var(--white); }
.feature-panel { background: var(--white); color: var(--ink); padding: 34px 30px; display: flex; flex-direction: column; gap: 22px; }
.feature-panel .dim { color: var(--muted); }
.ticks li { position: relative; padding: 14px 0 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 16px; margin-top: -8px; background: var(--accent); }
.feature-panel .small { margin-top: auto; color: var(--muted); }
.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-d); }
.spec { padding: 30px var(--gutter); border-right: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 10px; }
.spec:last-child { border-right: 0; }
.spec p { color: rgba(245, 244, 240, .78); font-size: 15px; }
.ozone { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: clamp(70px, 11vh, 130px) var(--gutter) 0; align-items: start; }
.ozone-num b { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px; margin: 14px 0 16px; font-weight: 500; font-size: clamp(72px, 10vw, 160px); line-height: .85; letter-spacing: -.05em; color: var(--accent); font-variant-numeric: tabular-nums; }
.ozone-num small { font: 500 14px var(--mono); letter-spacing: .06em; color: var(--white); }
.ozone-num p { color: var(--muted-d); max-width: 26em; }
.ozone-txt h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 18px; }
.ozone-txt p { color: rgba(245, 244, 240, .78); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pills li { border: 1px solid var(--line-d); padding: 8px 12px; font-size: 11px; }

/* ---------- usługi (wiersze) ---------- */
.services { padding-bottom: clamp(80px, 12vh, 140px); }
.rows { margin: 0 var(--gutter); border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); border-right: 1px solid var(--line); transition: background .35s var(--ease); }
.row:hover, .row[open] { background: var(--paper); }
.row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 84px 1.2fr 1fr auto; align-items: start; gap: 28px; padding: 0 18px 0 0; min-height: 150px; }
.row summary::-webkit-details-marker { display: none; }
.row-ico { width: 84px; height: 84px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.row-ico svg { width: 34px; height: 34px; fill: none; stroke: var(--ink); stroke-width: 1.3; }
.row h3 { font-weight: 500; font-size: clamp(30px, 3.6vw, 56px); letter-spacing: -.035em; line-height: 1; padding-top: 18px; }
.row summary p { padding-top: 22px; font-size: 16px; color: #3e3e42; max-width: 30em; }
.row-btn { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; height: 40px; padding: 0 6px 0 14px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 500; }
.row-body { padding: 0 18px 30px calc(84px + 28px); }
.row-body p { max-width: 44em; color: #3e3e42; }
.row-body a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.cols { columns: 2; column-gap: 40px; max-width: 900px; }
.cols li { break-inside: avoid; padding: 9px 0 9px 18px; position: relative; border-bottom: 1px solid var(--line); }
.cols li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 2px; background: var(--ink); }
.row-body .small { margin-top: 14px; }
.row--gift .row-ico { background: var(--accent); }
.brands { margin: 64px var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.brands ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 46px; font-size: clamp(15px, 1.6vw, 22px); letter-spacing: .14em; color: #3e3e42; }

/* ---------- hala ---------- */
.hall { padding-top: clamp(100px, 15vh, 170px); }
.hall-in { padding: 0 var(--gutter) clamp(40px, 6vh, 70px); max-width: 1300px; display: flex; flex-direction: column; gap: 20px; }
.hall-media { position: relative; aspect-ratio: 16 / 9; max-height: 92vh; width: 100%; overflow: hidden; border-top: 1px solid var(--line-d); }
.hall-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(.5) contrast(1.05) brightness(.9); }
.hall-media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(28,29,31,.45), rgba(28,29,31,0) 30%, rgba(28,29,31,0) 75%, rgba(28,29,31,.5)); }
.hall-media figcaption { position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 18px; display: flex; justify-content: space-between; gap: 20px; color: var(--white); font-size: 11px; }

/* ---------- kontakt ---------- */
.contact { display: grid; grid-template-columns: 40% 60%; min-height: 92vh; }
.contact-l { position: relative; overflow: hidden; background: var(--accent); color: var(--ink); padding: clamp(90px, 13vh, 140px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 30px; }
.contact-l .h-xl { font-size: clamp(44px, 5.8vw, 100px); }
.contact-l address { font-style: normal; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; font-weight: 500; }
.contact-mark { position: absolute; width: 130%; max-width: none; left: -15%; bottom: -55%; fill: none; stroke: var(--ink); stroke-width: 9; opacity: .9; }
.contact-r { padding: clamp(90px, 13vh, 140px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 28px; }
.info { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.info > div { padding: 20px 0; border-bottom: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 6px; }
.info > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line-d); }
.info > div:nth-child(even) { padding-left: 20px; }
.info dd { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.info a:hover { color: var(--accent); }
.late { color: rgba(245, 244, 240, .8); }
.late .mono { display: block; color: var(--accent); margin-bottom: 4px; }
.map { position: relative; flex: 1; min-height: 300px; border: 1px solid var(--line-d); background:
  repeating-linear-gradient(0deg, transparent 0 39px, var(--line-d) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, var(--line-d) 39px 40px), var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--white); }
.map-load .mono { background: var(--accent); color: var(--ink); padding: 12px 16px; }
.map-load small { color: var(--muted-d); font-size: 13px; }
.map-link { position: absolute; z-index: 2; right: 0; bottom: 0; display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); padding: 0 6px 0 14px; height: 42px; font-size: 11px; }
.map-link i { width: 30px; height: 30px; background: var(--accent); position: relative; }
.map-link i::before { content: ''; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-top: 1.6px solid var(--ink); border-right: 1.6px solid var(--ink); transform: translateX(-1px) rotate(45deg); }

/* ---------- stopka ---------- */
.ftr { padding: 60px var(--gutter) 28px; border-top: 1px solid var(--line-d); display: flex; flex-direction: column; gap: 60px; }
.ftr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.ftr-big { font-weight: 500; font-size: clamp(38px, 5.4vw, 92px); line-height: .95; letter-spacing: -.04em; max-width: 12em; }
.ftr-cols { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 20px; }
.ftr-col { display: flex; flex-direction: column; gap: 12px; min-width: 190px; border-left: 2px solid var(--white); padding: 0 0 4px 18px; color: rgba(245, 244, 240, .78); font-size: 15px; }
.ftr-col .tab { align-self: flex-start; margin-left: -20px; background: var(--white); color: var(--ink); padding: 8px 16px; font-weight: 500; margin-bottom: 6px; }
.ftr-col a:hover { color: var(--accent); }
.ftr-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 11px; border-top: 1px solid var(--line-d); padding-top: 22px; }
.ftr-bot a:hover { color: var(--white); }


/* ---------- wersja z podstronami ---------- */
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

/* nagłówek podstrony */
.page-hero {
  position: relative; overflow: hidden; padding: calc(var(--hdr) + clamp(60px, 10vh, 110px)) var(--gutter) clamp(50px, 8vh, 90px);
  border-bottom: 1px solid var(--line-d);
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-d) calc(25% - 1px) 25%),
    var(--ink);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted-d); font-size: 11px; margin-bottom: clamp(40px, 7vh, 80px); }
.crumbs a:hover { color: var(--accent); }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: var(--white); }
.page-hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 48px; align-items: end; }
.page-hero-in .eyebrow { grid-column: 1 / -1; }
.page-hero-in .lead { justify-self: end; color: rgba(245, 244, 240, .78); }
.page-hero-hud { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(40px, 7vh, 70px); padding-top: 16px; border-top: 1px solid var(--line-d); color: var(--muted-d); font-size: 11px; }
.page-hero-beam { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); box-shadow: 0 0 22px 3px rgba(242, 194, 0, .5); opacity: 0; pointer-events: none; }
.page-hero--404 { min-height: 100svh; display: flex; align-items: flex-end; }
.page-hero--404 .page-hero-in { grid-template-columns: 1fr; }
.page-hero--404 .lead { justify-self: start; }
.nf-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.page-text { padding: clamp(60px, 9vh, 100px) var(--gutter); }

/* wiersze-linki na stronie głównej */
.row--link { display: block; }
.row-sum { display: grid; grid-template-columns: 84px 1.2fr 1fr auto; align-items: start; gap: 28px; padding: 0 18px 0 0; min-height: 150px; }
.row--link p { padding-top: 22px; font-size: 16px; color: #3e3e42; max-width: 30em; }
.row--link .row-btn { transition: background .3s var(--ease), color .3s var(--ease); }
.row--link:hover .row-btn { background: var(--accent); color: var(--ink); }
.row-btn i.arr { width: 26px; height: 26px; background: var(--accent); position: relative; transition: transform .35s var(--ease), background .3s; }
.row-btn i.arr::before { content: ''; position: absolute; inset: 0; left: 0; top: 0; margin: auto; width: 8px; height: 8px; background: none; border-top: 1.6px solid var(--ink); border-right: 1.6px solid var(--ink); transform: translateX(-1px) rotate(45deg); }
.row-btn i.arr::after { display: none; }
.page-hero [data-scan] .scan-block { display: none; }
.row--link:hover .row-btn i.arr { background: var(--ink); transform: translateX(3px); }
.row--link:hover .row-btn i.arr::before { border-color: var(--accent); }
.contact-more { align-self: flex-start; }

/* pasek kontaktu na podstronach */
.cta-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px 48px; align-items: end; padding: clamp(70px, 11vh, 120px) var(--gutter); background: var(--accent); color: var(--ink); }
.cta-band .mono { margin-bottom: 14px; }
.cta-band-note { margin-top: 18px; max-width: 34em; font-size: 17px; }
.cta-band-act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); padding: 0 20px; }
.btn--line:hover { background: var(--ink); color: var(--accent); }

/* dwie kolumny informacji */
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.split-col { padding: clamp(60px, 9vh, 110px) var(--gutter); display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.split-col + .split-col { border-left: 1px solid var(--line); }
.split-col p { color: #3e3e42; max-width: 32em; }
.ticks--light li { border-color: var(--line); }

/* lista kontrolna przed zakupem */
.checklist { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px 60px; padding: clamp(80px, 12vh, 140px) var(--gutter) 40px; }
.checklist-head { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: calc(var(--hdr) + 30px); }
.checklist-head p { color: #3e3e42; max-width: 28em; }
.check-list { border-top: 1px solid var(--line); counter-reset: none; }
.check-list li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.015em; }
.check-list li .mono { color: var(--muted); }
.check-list li:hover .mono { color: var(--ink); }
.services--tight { padding-bottom: 20px; }
.services--tight .brands { margin-top: 30px; }

/* klimatyzacja i cennik jako podstrony: bez dużego odstępu nad treścią */
.feature--page { padding-top: clamp(50px, 8vh, 90px); }
.pricing--page { padding-top: clamp(50px, 8vh, 90px); }
.alert--dark { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-d); }
.alert--dark .alert-tag { background: var(--accent); color: var(--ink); }

@media (max-width: 960px) {
  .page-hero { background: var(--ink); }
  .page-hero-in { grid-template-columns: 1fr; }
  .page-hero-in .lead { justify-self: start; }
  .row-sum { grid-template-columns: 64px 1fr; gap: 6px 18px; }
  .row--link p { grid-column: 2; padding-top: 0; }
  .row--link .row-btn { grid-column: 2; margin: 6px 0 22px; justify-self: start; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band-act { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; }
  .split-col + .split-col { border-left: 0; border-top: 1px solid var(--line); }
  .checklist { grid-template-columns: 1fr; }
  .checklist-head { position: static; }
}
@media (max-width: 600px) {
  .page-hero-hud span:last-child { display: none; }
  .check-list li { grid-template-columns: 40px 1fr; }
}

/* ---------- podstrony tekstowe (polityka, 404) ---------- */
.page { min-height: 100svh; padding: calc(var(--hdr) + 80px) var(--gutter) 80px; }
.page .h-lg { margin-bottom: 36px; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; color: rgba(245, 244, 240, .82); }
.prose h2 { font-size: 22px; font-weight: 500; color: var(--white); margin-top: 18px; }
.prose a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ph { background: rgba(242, 194, 0, .16); outline: 1px dashed var(--accent); padding: 0 4px; }

/* ---------- responsywność ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .open-now { display: none; }
  .rail-track { grid-auto-columns: minmax(290px, 34%); }
  .feature-stage { grid-template-columns: 1fr 360px; }
}
@media (max-width: 960px) {
  :root { --hdr: 60px; }
  .menu-btn { display: inline-block; }
  .hdr-right .btn { display: none; }
  .brand-city { display: none; }
  .brand-plate b { font-size: 19px; }
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0; margin: 0; flex-direction: column; gap: 0; padding: 10px var(--gutter) 30px;
    background: var(--ink); border-bottom: 1px solid var(--line-d); transform: translateY(-110%); visibility: hidden;
    transition: transform .5s var(--ease), visibility 0s .5s; z-index: -1;
  }
  .nav a { font-size: 28px; padding: 14px 0; border-bottom: 1px solid var(--line-d); letter-spacing: -.02em; }
  .hdr.is-open { background: var(--ink); }
  .hdr.is-open .nav { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .hero-in { grid-template-columns: 1fr; }
  .hud--tr { display: none; }
  .scroll-hint { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding-top: 40px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .calc { grid-template-columns: 1fr; }
  .sum-grid { grid-template-columns: 1fr 1fr; }
  .feature-stage { grid-template-columns: 1fr; }
  .feature-media { min-height: 46vh; }
  .feature-img { width: 82%; }
  .hall-media { aspect-ratio: 4 / 3; }
      .hall-media figcaption span:last-child { display: none; }
  .spec-row { grid-template-columns: 1fr; }
  .spec { border-right: 0; border-bottom: 1px solid var(--line-d); }
  .ozone { grid-template-columns: 1fr; }
  .row summary { grid-template-columns: 64px 1fr; gap: 6px 18px; }
  .row-ico { width: 64px; height: 64px; }
  .row summary p { grid-column: 2; padding-top: 0; }
  .row-btn { grid-column: 2; margin: 6px 0 22px; justify-self: start; }
  .row-body { padding-left: calc(64px + 18px); }
  .contact { grid-template-columns: 1fr; }
  .contact-l { min-height: 70vh; }
  .ftr-top { flex-direction: column; }
  .ftr-cols { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .fact { padding: 30px var(--gutter) 26px; }
  .rail-track { grid-auto-columns: 84%; }
  .vcard { min-height: 400px; }
  .alert { grid-template-columns: 1fr; }
  .alert-tag { justify-self: start; }
  .sum-grid { grid-template-columns: 1fr; }
  .cols { columns: 1; }
  .row-body { padding-left: 18px; }
  .info { grid-template-columns: 1fr; }
  .info > div:nth-child(odd) { border-right: 0; padding-right: 0; }
  .info > div:nth-child(even) { padding-left: 0; }
  .chip span { height: 42px; padding: 0 12px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
  html.is-loading { overflow: auto; }
}
