/* Elektro-Kam, demo. Kolory z nowego banera: nocny granat, krem, czerwony pomarańcz z logo. */
:root {
  --night: oklch(0.175 0.024 255);
  --night-2: oklch(0.215 0.028 255);
  --earth: oklch(0.14 0.02 255);
  --horizon: oklch(0.25 0.038 260);
  --cream: oklch(0.955 0.012 85);
  --cream-2: oklch(0.83 0.016 255);
  --rule-d: oklch(0.34 0.026 255);
  --day: oklch(0.975 0.004 255);
  --day-2: oklch(0.94 0.008 255);
  --ink: oklch(0.2 0.025 255);
  --ink-2: oklch(0.42 0.022 255);
  --rule: oklch(0.86 0.01 255);
  --red: oklch(0.67 0.2 37);
  --red-btn: oklch(0.57 0.2 33);
  --red-btn-h: oklch(0.51 0.19 32);
  --red-ink: oklch(0.52 0.19 33);
  --amber: oklch(0.8 0.13 68);
  --c-el: oklch(0.8 0.13 68);
  --c-al: oklch(0.67 0.2 37);
  --c-mo: oklch(0.95 0.012 85);
  --c-do: oklch(0.84 0.065 238);
  --f-d: 'Sofia Sans Condensed', 'Arial Narrow', sans-serif;
  --f-b: 'Sofia Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 82rem;
  --g: clamp(1rem, 4vw, 3rem);
  --r: 6px;
  --head: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sec: clamp(4.5rem, 9vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--f-b); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, ul, ol, dl, dd, figure, h1, h2, h3 { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
abbr[title] { text-decoration: none; }
h1, h2, h3 { font-family: var(--f-d); font-weight: 800; line-height: 1; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 1.5rem + 5.6vw, 6rem); line-height: .94; }
h2 { font-size: clamp(2.25rem, 1.45rem + 2.9vw, 3.9rem); }
h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); font-weight: 700; }
h1 em, .foot-claim em { font-style: italic; color: var(--red); padding-right: .04em; }
p { text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--g), var(--wrap)); margin-inline: auto; }
.night { background: var(--night); color: var(--cream); }
.night-2 { background: var(--night-2); color: var(--cream); }
.day { background: var(--day); color: var(--ink); }
.day-2 { background: var(--day-2); color: var(--ink); }
.night p, .night-2 p { line-height: 1.68; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--cream); color: var(--ink); padding: .7rem 1rem; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.night :focus-visible, .night-2 :focus-visible, .head :focus-visible, .foot :focus-visible, .switches :focus-visible { outline-color: var(--cream); }

/* ---------- ikony ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }
.arr { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.ext { width: 1em; height: 1em; transition: transform .3s var(--ease); }

/* ---------- przyciski i linki ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.25rem; padding: .8rem 1.5rem; border: 1.5px solid transparent; border-radius: var(--r); background: var(--red-btn); color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--red-btn-h); }
.btn:hover .arr { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: 1rem; }
.btn-line { background: transparent; color: var(--cream); border-color: oklch(0.955 0.012 85 / .4); }
.btn-line:hover { background: transparent; border-color: var(--cream); }
.day .btn-line, .day-2 .btn-line { color: var(--ink); border-color: oklch(0.2 0.025 255 / .3); }
.day .btn-line:hover, .day-2 .btn-line:hover { border-color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--day); }
.btn-ink:hover { background: oklch(0.3 0.03 255); }

.lnk { display: inline; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--red); transition: text-decoration-color .2s; }
.lnk:hover { text-decoration-color: currentColor; }
.lnk .i { display: inline-block; margin-left: .4rem; vertical-align: -.18em; }
a[href^='tel:'] { white-space: nowrap; }
.srv-tx .lnk, .srv-mo-box .lnk, .since-tx .lnk, .de-tx > .lnk, .visit-tx .lnk { display: inline-block; }
.lnk:hover .arr { transform: translateX(3px); }
.lnk:hover .ext { transform: translate(2px, -2px); }
dd .lnk, .de-c .lnk { display: inline; font-weight: 600; text-underline-offset: 5px; }

.status { display: inline-flex; align-items: center; gap: .55rem; font-size: .98rem; color: var(--cream-2); }
.status .dot { width: .55rem; height: .55rem; border-radius: 50%; background: oklch(0.6 0.02 255); flex: none; }
.status.is-open .dot { background: oklch(0.78 0.17 150); box-shadow: 0 0 0 4px oklch(0.78 0.17 150 / .18); }
.status-ink { color: var(--ink-2); }
.status-ink.is-open .dot { background: oklch(0.6 0.16 150); box-shadow: 0 0 0 4px oklch(0.6 0.16 150 / .15); }

/* ---------- nagłówek ---------- */
.head { position: sticky; top: 0; z-index: 30; background: var(--night); color: var(--cream); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.is-stuck { border-bottom-color: var(--rule-d); }
.head-in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--head); }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.logo img { width: 54px; height: auto; }
.logo-t { display: grid; line-height: 1.1; }
.logo-t b { font-family: var(--f-d); font-weight: 800; font-size: 1.35rem; letter-spacing: .005em; }
.logo-t small { font-size: .82rem; color: var(--cream-2); }
.nav ul { display: flex; align-items: center; gap: .25rem; }
.nav-l { position: relative; display: block; padding: .6rem .7rem; font-weight: 600; font-size: 1rem; color: var(--cream-2); text-decoration: none; transition: color .2s; }
.nav-l::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--cream); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-l:hover { color: var(--cream); }
.nav-l:hover::after { transform: scaleX(1); }
.nav-l[aria-current] { color: var(--cream); }
.nav-l[aria-current]::after { transform: scaleX(1); background: var(--red); }
.nav-de abbr { font-family: var(--f-d); font-weight: 800; letter-spacing: .04em; }
.head-tel { margin-left: .5rem; }
.burger { display: none; width: 3rem; height: 3rem; border: 1.5px solid var(--rule-d); border-radius: var(--r); background: none; color: var(--cream); cursor: pointer; place-items: center; }
.burger .i { width: 1.5rem; height: 1.5rem; }
.burger .i:last-child, .burger[aria-expanded='true'] .i:first-child { display: none; }
.burger[aria-expanded='true'] .i:last-child { display: block; }
.menu { position: fixed; inset: var(--menu-top, var(--head)) 0 0 0; background: var(--night); overflow-y: auto; padding: 1rem 0 6rem; z-index: 29; border-top: 1px solid var(--rule-d); }
.menu-list a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--rule-d); font-family: var(--f-d); font-weight: 700; font-size: 1.85rem; text-decoration: none; }
.menu-list a[aria-current]::after { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); }
.menu-foot { display: grid; gap: 1.1rem; justify-items: start; margin-top: 2rem; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
}
@media (max-width: 560px) {
  .head-tel { display: none; }
  .logo-t small { display: none; }
  :root { --head: 68px; }
  .logo img { width: 48px; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-home, .hero-svc { background: linear-gradient(180deg, var(--night) 0%, var(--night) 35%, var(--horizon) 100%); }
.hero-txt { position: relative; z-index: 2; padding-top: clamp(2.5rem, 5vw, 5rem); }
.hero-home .hero-txt { padding-top: clamp(2rem, 3.6vw, 3.6rem); }
.hero-home h1 { max-width: 9ch; }
.hero-lead { max-width: 34rem; margin-top: 1.6rem; font-size: clamp(1.13rem, 1rem + .4vw, 1.3rem); color: var(--cream-2); line-height: 1.6; }
.hero-act { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-status { margin-top: 1.4rem; }
.hero-sub { margin-top: 1rem; font-family: var(--f-d); font-weight: 700; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); color: var(--red); }
.hero-plain .hero-txt { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem); }
.hero-plain h1 { max-width: 17ch; }
.nf .hero-txt { min-height: 60vh; }

.scene { position: relative; z-index: 1; aspect-ratio: 900 / 600; }
.hero-home .scene { aspect-ratio: 1600 / 600; margin-top: calc(-1 * clamp(0rem, 23vw, 23.5rem)); pointer-events: none; }
.hero-svc { display: grid; }
.hero-svc .hero-txt { padding-bottom: 0; }
.hero-svc .scene { margin-top: 1rem; }
@media (min-width: 1000px) {
  .hero-svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .hero-svc .hero-txt { width: auto; margin: 0; padding-left: max(var(--g), (100vw - var(--wrap)) / 2); padding-bottom: clamp(3rem, 6vw, 5rem); }
  .hero-svc .scene { align-self: end; margin-top: 0; }
  .hero-svc h1 { max-width: 12ch; }
}
@media (max-width: 999px) {
  .hero-home .scene { aspect-ratio: 1000 / 600; margin-top: 1rem; }
}
@media (max-width: 640px) {
  .hero-home .scene, .scene { aspect-ratio: 820 / 600; }
}

/* rysunek domu */
.house { width: 100%; height: 100%; }
.house .earth { fill: var(--earth); }
.house .crown { fill: oklch(0.2 0.028 252); stroke: oklch(0.9 0.02 255 / .2); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.house .ln { fill: none; stroke: oklch(0.9 0.02 255 / .48); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.house .wall { fill: oklch(0.225 0.027 255); stroke: oklch(0.9 0.02 255 / .48); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.house .slab { fill: oklch(0.29 0.026 255); stroke: oklch(0.9 0.02 255 / .55); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.house .pane { fill: oklch(0.145 0.02 255); }
.house .door { fill: oklch(0.36 0.05 55); stroke: oklch(0.9 0.02 255 / .48); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.house .fix { fill: oklch(0.55 0.02 255); }
.house .board { fill: oklch(0.2 0.025 255); stroke: oklch(0.9 0.02 255 / .4); stroke-width: 1.2; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.house .ground { stroke: oklch(0.9 0.02 255 / .6); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.house .inner { fill: oklch(0.32 0.05 55 / .55); stroke: oklch(0.32 0.05 55 / .8); stroke-width: 2; }
.house .dev rect { fill: oklch(0.93 0.01 255); }
.house .s-al.dev rect { fill: var(--cream); stroke: var(--c-al); stroke-width: 1.2; }
.house .s-mo.dev .br { stroke: oklch(0.93 0.01 255); stroke-width: 3; }
.house .s-mo.dev .hood { stroke: oklch(0.93 0.01 255); stroke-width: 2; }
.house .scr { fill: var(--c-do) !important; }
.house .led { fill: var(--c-al); }
.house .pulse { fill: none; stroke: var(--c-do); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }

.house .s-el, .house .s-al, .house .s-mo, .house .s-do { opacity: 0; transition: opacity .4s ease; }
.house.el .s-el, .house.al .s-al, .house.mo .s-mo, .house.do .s-do { opacity: 1; transition: opacity .9s ease .55s; }
.house .cab { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .45s ease; }
.house .cab-el { stroke: var(--c-el); }
.house .cab-al { stroke: var(--c-al); }
.house .cab-mo { stroke: oklch(0.95 0.012 85 / .85); }
.house .cab-do { stroke: var(--c-do); }
.house.el .cab-el, .house.al .cab-al, .house.mo .cab-mo, .house.do .cab-do { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease); }
.house.pre .s-el, .house.pre .s-al, .house.pre .s-mo, .house.pre .s-do { opacity: 0; transition: none; }
.house.pre .cab { stroke-dashoffset: 1; transition: none; }
@media (prefers-reduced-motion: no-preference) {
  .house.al .led, .house.mo .led { animation: blink 1.8s steps(1) infinite; }
  .house.do .pulse { animation: ring 2.6s var(--ease) 1.2s infinite; }
}
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .2; } }
@keyframes ring { from { transform: scale(.5); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* przełączniki systemów */
.switches { position: relative; z-index: 2; background: var(--earth); border-top: 1px solid var(--rule-d); }
.sw-in { display: grid; grid-template-columns: 11rem minmax(0, 1fr); align-items: center; gap: 1.5rem; width: min(100% - 2 * var(--g), var(--wrap)); margin: 0 auto; padding-block: .9rem; }
.sw-h { font-size: .95rem; line-height: 1.35; color: var(--cream-2); }
.sw-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.sw + .sw { border-left: 1px solid var(--rule-d); }
.sw button { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; width: 100%; min-height: 4.25rem; padding: .7rem 1.1rem; border: 0; border-radius: var(--r); background: none; color: var(--cream); text-align: left; cursor: pointer; transition: background-color .2s; }
.sw button:hover { background: oklch(0.2 0.025 255); }
.sw button:hover .sw-track { border-color: var(--cream-2); }
.sw button[aria-checked='true']:hover .sw-track { border-color: var(--sw); }
.sw button:focus-visible { outline-offset: -3px; }
.sw-track { position: relative; width: 2.6rem; height: 1.45rem; border: 1.5px solid var(--rule-d); border-radius: 1rem; transition: background-color .3s, border-color .3s; }
.sw-knob { position: absolute; top: 2px; left: 2px; width: calc(1.45rem - 7px); height: calc(1.45rem - 7px); border-radius: 50%; background: var(--cream-2); transition: transform .35s var(--ease), background-color .3s; }
.sw button[aria-checked='true'] .sw-track { border-color: var(--sw); background: var(--sw); }
.sw button[aria-checked='true'] .sw-knob { transform: translateX(1.15rem); background: var(--night); }
.sw-t { display: grid; line-height: 1.2; }
.sw-t b { font-family: var(--f-d); font-weight: 700; font-size: 1.3rem; }
.sw-t small { margin-top: .2rem; font-size: .88rem; color: var(--cream-2); }
.sw-el { --sw: var(--c-el); } .sw-al { --sw: var(--c-al); } .sw-mo { --sw: var(--c-mo); } .sw-do { --sw: var(--c-do); }
@media (max-width: 1240px) {
  .sw-in { grid-template-columns: 1fr; gap: .4rem; padding-top: 1.1rem; }
}
@media (max-width: 1100px) {
  .sw-list { grid-template-columns: repeat(2, 1fr); }
  .sw:nth-child(3) { border-left: 0; }
  .sw:nth-child(n + 3) { border-top: 1px solid var(--rule-d); }
}
@media (max-width: 560px) {
  .sw button { grid-template-columns: auto minmax(0, 1fr); gap: .7rem; padding: .9rem .6rem; min-height: 4rem; }
  .sw-t b { font-size: 1.15rem; }
  .sw-t small { display: none; }
}

/* ---------- sekcje ---------- */
.intro { padding-block: var(--sec); }
.intro-head h2 { max-width: 24ch; }
.intro-head p { max-width: 40rem; margin-top: 1.5rem; font-size: 1.2rem; color: var(--ink-2); }

.srv { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; margin-top: clamp(4rem, 8vw, 7rem); }
.srv-ph { display: block; border-radius: var(--r); overflow: hidden; }
.srv-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.srv-el .srv-ph { grid-column: 1 / span 7; }
.srv-el .srv-tx { grid-column: 8 / span 5; }
.srv-al .srv-tx { grid-column: 1 / span 5; }
.srv-al .srv-ph { grid-column: 7 / span 6; }
.srv-al .srv-ph img { aspect-ratio: 16 / 11; }
.srv-tx > * + * { margin-top: 1.1rem; }
.srv-tx .lnk { margin-top: 1.8rem; display: inline-block; }
.srv h3 a, .srv-mo h3 a { text-decoration: none; }
.srv h3 a:hover, .srv-mo h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--red); }
.srv-sub { margin-top: .5rem !important; font-family: var(--f-d); font-weight: 700; font-size: 1.2rem; color: var(--red-ink); }
.srv-tx p:not(.srv-sub):not(.brands) { color: var(--ink-2); }
.ticks li { position: relative; padding-left: 1.2rem; }
.ticks li + li { margin-top: .4rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; background: var(--red); }
.ticks a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.ticks a:hover { text-decoration-color: currentColor; }
.ticks-tight { font-size: 1.05rem; }
.ticks-tight li + li { margin-top: .25rem; }
.brands { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.brands span { font-family: var(--f-d); font-weight: 800; font-size: 1.55rem; color: var(--ink); }
.brands-lg span { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.5rem); }

.srv-mo { position: relative; display: grid; align-items: end; min-height: clamp(34rem, 58vw, 48rem); margin-top: clamp(4rem, 8vw, 7rem); color: var(--cream); overflow: hidden; }
.srv-mo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.srv-mo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, oklch(0.175 0.024 255 / .55), oklch(0.175 0.024 255 / 0) 60%); }
.srv-mo .wrap { position: relative; z-index: 1; padding-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.srv-mo-box { max-width: 30rem; padding: clamp(1.6rem, 3vw, 2.6rem); background: var(--night); border-radius: var(--r); }
.srv-mo-box > * + * { margin-top: 1.1rem; }
.srv-mo-box .srv-sub { color: var(--red); }
.srv-mo-box .lnk { margin-top: 1.8rem; }

@media (max-width: 999px) {
  .srv { grid-template-columns: 1fr; }
  .srv > * { grid-column: 1 / -1 !important; }
  .srv-al .srv-ph { order: -1; }
}
@media (max-width: 560px) {
  .srv-mo { display: block; min-height: 0; }
  .srv-mo-bg { position: static; aspect-ratio: 4 / 3; }
  .srv-mo::after { display: none; }
  .srv-mo .wrap { width: 100%; padding: 0; }
  .srv-mo-box { border-radius: 0; padding: 2rem var(--g) 2.5rem; max-width: none; }
}

/* kroki */
.steps { padding-block: var(--sec); }
.step-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.step-list::before { content: ''; position: absolute; top: 1.4rem; left: 1.4rem; right: 0; height: 2px; background: linear-gradient(90deg, var(--red), oklch(0.67 0.2 37 / .15)); }
.step-list li { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border: 2px solid var(--red); border-radius: 4px; background: var(--night); font-family: var(--f-d); font-weight: 800; font-size: 1.4rem; color: var(--cream); }
.step-list h3 { margin-top: 1.6rem; }
.step-list p { margin-top: .8rem; color: var(--cream-2); max-width: 30rem; }
@media (max-width: 860px) {
  .step-list { grid-template-columns: 1fr; gap: 2.5rem; }
  .step-list::before { top: 1.4rem; bottom: 1.4rem; left: 1.4rem; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--red), oklch(0.67 0.2 37 / .15)); }
  .step-list li { padding-left: 4.4rem; }
  .step-n { position: absolute; left: 0; top: 0; }
  .step-list h3 { margin-top: .3rem; }
}

/* od 2008 */
.since { padding-block: var(--sec); }
.since-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.since-ph img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; }
figcaption { margin-top: .8rem; font-size: .95rem; color: var(--ink-2); }
.since-tx > * + * { margin-top: 1.2rem; }
.since-tx p { color: var(--ink-2); }
.who { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding-block: .4rem; }
.who span { font-family: var(--f-d); font-weight: 700; font-size: 1.4rem; color: var(--ink) !important; }
.since-tx .lnk { margin-top: 1.6rem; }
@media (max-width: 999px) { .since-in { grid-template-columns: 1fr; } }

/* niemiecki */
.de { padding-block: clamp(4rem, 7vw, 6.5rem); }
.de h2 { max-width: 22ch; }
.de h2 span { display: block; color: var(--red); }
.de-tx { max-width: 44rem; margin-top: 1.6rem; }
.de-tx > * + * { margin-top: 1rem; }
.de-tx p { color: var(--cream-2); }
.de-c b { color: var(--cream); }
.de-tx > .lnk { margin-top: 1.6rem; }

/* praca (pasek) */
.job { padding-block: clamp(3.5rem, 6vw, 5rem); }
.job h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); }
.job-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 3rem; align-items: end; }
.job-in h2 { grid-column: 1; }
.job-in p { grid-column: 1; max-width: 40rem; color: var(--ink-2); }
.job-in .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 760px) { .job-in { grid-template-columns: 1fr; } .job-in .btn { grid-column: 1; grid-row: auto; justify-self: start; } }

/* kontakt */
.contact { padding-block: var(--sec); }
.contact-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); }
.contact-lead { margin-top: 1.3rem; color: var(--cream-2); max-width: 30rem; }
.ct-big { display: inline-block; margin-top: 2rem; font-family: var(--f-d); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); line-height: 1; text-decoration: none; text-decoration-thickness: 3px; text-underline-offset: 8px; text-decoration-color: var(--red); }
.ct-big:hover { text-decoration-line: underline; }
.contact .status { display: flex; margin-top: 1rem; }
.ct-list { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
.ct-list dt { font-size: .92rem; color: var(--cream-2); }
.ct-list dd { margin-top: .15rem; }
.ct-list-ink dt { color: var(--ink-2); }
@media (max-width: 999px) { .contact-in { grid-template-columns: 1fr; } }

/* formularz */
.form { display: grid; gap: 1.1rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.f { display: grid; gap: .4rem; }
.f label { font-weight: 600; font-size: 1rem; }
.f label small { font-weight: 400; color: var(--cream-2); margin-left: .3rem; }
.f input, .f select, .f textarea { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; border: 1.5px solid var(--rule-d); border-radius: var(--r); background: var(--night-2); color: var(--cream); font-size: 1.05rem; transition: border-color .2s; }
.f textarea { resize: vertical; min-height: 8rem; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.2rem) 50%, calc(100% - .85rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.f input:hover, .f select:hover, .f textarea:hover { border-color: oklch(0.5 0.025 255); }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.f [aria-invalid='true'] { border-color: var(--red); }
.f-check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.f-check input { appearance: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; min-height: 0; margin: .15rem 0 0; padding: 0; border: 1.5px solid oklch(0.5 0.025 255); border-radius: 4px; background: var(--night-2); cursor: pointer; transition: background-color .2s, border-color .2s; }
.f-check input::after { content: ''; width: .4rem; height: .75rem; margin-top: -.15rem; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .2s var(--ease); }
.f-check input:checked { background: var(--red-btn); border-color: var(--red-btn); }
.f-check input:checked::after { transform: rotate(45deg) scale(1); }
.day .f-check input { background: #fff; border-color: oklch(0.65 0.015 255); }
.day .f-check input:checked { background: var(--red-btn); border-color: var(--red-btn); }
.f-check label { font-weight: 400; font-size: .95rem; color: var(--cream-2); }
.f-check a { text-decoration-color: var(--red); text-underline-offset: 3px; }
.form-err { color: var(--red); font-weight: 600; }
.form .btn { justify-self: start; margin-top: .4rem; }
.form-note { font-size: .9rem; color: var(--cream-2); }
.day .f input, .day .f select, .day .f textarea { background: #fff; color: var(--ink); border-color: var(--rule); }
.day .f input:hover, .day .f select:hover, .day .f textarea:hover { border-color: oklch(0.65 0.015 255); }
.day .f input:focus-visible, .day .f select:focus-visible, .day .f textarea:focus-visible { border-color: var(--red-ink); outline-color: var(--red-ink); }
.day .f label small, .day .f-check label, .day .form-note { color: var(--ink-2); }
.day .form-err { color: var(--red-ink); }
@media (max-width: 640px) { .f-row { grid-template-columns: 1fr; } }

/* dojazd i godziny */
.visit { padding-block: clamp(4rem, 7vw, 6rem); }
.visit-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.visit-tx > * + * { margin-top: 1.2rem; }
.visit-tx p { color: var(--ink-2); }
.visit-map { width: 100%; height: 100%; min-height: 24rem; border: 1px solid var(--rule); border-radius: var(--r); background: var(--day-2); }
.visit-map-wide { min-height: 28rem; }
@media (max-width: 860px) { .visit-in { grid-template-columns: 1fr; } .visit-map { min-height: 20rem; } }
.hours { max-width: 24rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--rule); }
.hours dt { display: flex; align-items: center; gap: .6rem; }
.hours .off dd { color: var(--ink-2); }
.hours .today { font-weight: 700; }
.hours .today dt::after { content: 'dziś'; padding: .05rem .5rem; border-radius: 1rem; background: var(--ink); color: var(--day); font-size: .78rem; font-weight: 600; line-height: 1.5; }

/* podstrona usługi */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.6rem; font-size: .95rem; color: var(--cream-2); }
.crumbs li + li::before { content: '/'; margin-right: .4rem; color: var(--rule-d); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--cream); }

.scope { padding-block: var(--sec); }
.scope-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.scope-list { margin-top: 2rem; border-bottom: 1px solid var(--rule); }
.scope-list div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: .4rem 2rem; padding: 1.3rem 0; border-top: 1px solid var(--rule); }
.scope-list dt { font-family: var(--f-d); font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.scope-list dd { color: var(--ink-2); }
.brands-box { margin-top: 3rem; }
.brands-box h3 { font-family: var(--f-b); font-weight: 600; font-size: 1rem; color: var(--ink-2); margin-bottom: .6rem; }
.scope-ph { position: sticky; top: calc(var(--head) + 2rem); }
.scope-ph img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 999px) { .scope-in { grid-template-columns: 1fr; } .scope-ph { position: static; order: -1; } .scope-ph img { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .scope-list div { grid-template-columns: 1fr; } }

.gal { padding-block: clamp(3rem, 6vw, 5rem); }
.gal-in { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.gal-1 { grid-template-columns: minmax(0, 46rem); justify-content: start; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: #fff; }
.gal img[src*='zestaw'] { object-fit: contain; padding: 1.5rem; }

.for { padding-block: var(--sec); }
.for-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.for-list > li { padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.for-list h3 { font-size: 1.6rem; }
.for-list h3 a { text-decoration: none; }
.for-list h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 5px; }
.for-list p, .for-list .ticks { margin-top: .8rem; color: var(--ink-2); }
@media (max-width: 860px) { .for-list { grid-template-columns: 1fr; } }

.more { padding-block: clamp(4rem, 7vw, 6rem); }
.more-list { margin-top: 2rem; border-bottom: 1px solid var(--rule-d); }
.more-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--rule-d); text-decoration: none; }
.more-n { font-family: var(--f-d); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.6rem); line-height: 1.05; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-color: transparent; transition: text-decoration-color .2s; }
.more-d { color: var(--cream-2); }
.more-list .arr { width: 1.6rem; height: 1.6rem; color: var(--red); }
.more-list a:hover .more-n { text-decoration-color: var(--red); }
.more-list a:hover .arr { transform: translateX(5px); }
@media (max-width: 640px) { .more-list a { grid-template-columns: 1fr auto; } .more-d { grid-column: 1; grid-row: 2; } .more-list .arr { grid-row: 1 / span 2; grid-column: 2; } }

.cta { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--rule-d); }
.cta h2 { max-width: 22ch; }
.cta-act { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2.2rem; }
.cta-who { width: 100%; color: var(--cream-2); }
.cta-who b { color: var(--cream); }

/* o firmie / praca / kontakt / tekst */
.about { padding-block: 0 var(--sec); }
.about-ph { margin-top: calc(-1 * clamp(0rem, 3vw, 2.5rem)); }
.about-ph img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); }
.about-tx { max-width: 46rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.about-tx > * + * { margin-top: 1.2rem; }
.about-tx p { color: var(--ink-2); }
.about-tx .about-big { font-family: var(--f-d); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.25; color: var(--ink); }
.hero-plain + .about { background: linear-gradient(180deg, var(--night) 0 clamp(0rem, 3vw, 2.5rem), var(--day) 0); }
@media (max-width: 760px) { .about-ph img { aspect-ratio: 4 / 3; } }

.jobp, .ct { padding-block: var(--sec); }
.jobp-in, .ct-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.jobp-l figure img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; }
.jobp h2, .ct-h { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); margin: 2.4rem 0 1.2rem; }
.jobp-r h2, .ct-r .ct-h { margin-top: 0; }
.ct-big-ink { margin-top: 0; color: var(--ink); text-decoration-color: var(--red-ink); }
.ct .status { display: flex; margin-top: 1rem; }
@media (max-width: 999px) { .jobp-in, .ct-in { grid-template-columns: 1fr; } }

.prose { padding-block: var(--sec); }
.prose-in { max-width: 46rem; }
.prose h2 { font-size: 1.7rem; margin: 2.4rem 0 .8rem; }
.prose p + p { margin-top: 1rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4rem; }
.prose a { text-decoration-color: var(--red-ink); text-underline-offset: 3px; }

/* ---------- stopka ---------- */
.foot { background: var(--earth); color: var(--cream); padding-top: clamp(4rem, 7vw, 6rem); border-top: 1px solid var(--rule-d); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.foot-logo img { width: clamp(84px, 9vw, 120px); height: auto; }
.foot-claim { font-family: var(--f-d); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); line-height: .95; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 3rem; }
.foot-h { font-family: var(--f-b); font-size: .95rem; font-weight: 600; color: var(--cream-2); margin-bottom: .9rem; }
.foot-cols li + li { margin-top: .45rem; }
.foot-cols a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.foot-cols a:hover { text-decoration-color: var(--red); }
.foot-cols p { color: var(--cream-2); }
.status-foot { margin-top: .8rem; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding: 1.6rem 0 2rem; border-top: 1px solid var(--rule-d); font-size: .9rem; color: var(--cream-2); }
.foot-bottom a { text-underline-offset: 3px; }
.foot-bottom a:hover { color: var(--cream); }
.demo-note { margin-left: auto; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr; } .demo-note { margin-left: 0; } }

.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 4rem; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr; background: var(--night); border-top: 1px solid var(--rule-d); padding-bottom: env(safe-area-inset-bottom); }
  .dock a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 4rem; color: var(--cream); font-weight: 700; text-decoration: none; }
  .dock a:first-child { background: var(--red-btn); color: #fff; }
}

/* ---------- ruch przy przewijaniu (tylko tam, gdzie przeglądarka to wspiera) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .srv-ph img, .since-ph img, .scope-ph img, .about-ph img, .gal img { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .step-list li { animation: rise linear both; animation-timeline: view(); animation-range: entry 10% cover 30%; }
  }
  .hero-home .hero-txt > * { animation: in .9s var(--ease) both; }
  .hero-home .hero-txt > :nth-child(2) { animation-delay: .08s; }
  .hero-home .hero-txt > :nth-child(3) { animation-delay: .16s; }
  .hero-home .hero-txt > :nth-child(4) { animation-delay: .24s; }
}
@keyframes unveil { from { clip-path: inset(10% 0 0 0); transform: scale(1.05); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes rise { from { opacity: .2; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* podstrony usług: pas ziemi przez całą szerokość, bez szwu pod rysunkiem */
.hero-svc { background: linear-gradient(180deg, var(--night) 0%, var(--night) 35%, var(--horizon) 92%, var(--horizon) 100%); }
.hero-svc .house .earth { fill: transparent; }
.hero-svc::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: oklch(0.9 0.02 255 / .6); }
.hero-svc .scene { aspect-ratio: 900 / 540; overflow: hidden; }
.hero-svc .scene .house { height: auto; aspect-ratio: 900 / 600; }
@media (max-width: 640px) { .hero-svc .scene { aspect-ratio: 820 / 540; } .hero-svc .scene .house { aspect-ratio: 820 / 600; } }

/* podstrony alarmu i monitoringu: w domu palą się okna, wyróżniony jest tylko system z danej usługi */
.house.lit .s-el.win, .house.lit .s-el.bloom { opacity: .8; }
.hero-de h1 { font-size: clamp(2.3rem, 1.1rem + 5vw, 5.4rem); hyphens: auto; }
