/* =========================================================
   Dom-Blach – arkusz stylów v0.3
   Identyfikacja: błękit Dom-Blach #00A0E8, czerwień #E00014
   Krój: Figtree (lokalnie). Kierunek: jasno, dziennie, przyjaźnie.
   ========================================================= */

/* ---------- Font (lokalnie, bez Google Fonts – RODO) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  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;
}

/* ---------- Tokeny ---------- */
:root {
  color-scheme: light;
  /* marka */
  --blue: #00a0e8;        /* kolor logo */
  --blue-600: #0083c4;    /* przyciski (kontrast z białym tekstem) */
  --blue-700: #006aa0;    /* tekst w kolorze marki na jasnym tle */
  --red: #e00014;         /* „A” w logo – akcent oszczędnie */
  --navy: #0b2a42;        /* ciemne powierzchnie zamiast czerni */
  --navy-900: #071c2e;

  /* powierzchnie */
  --bg: #ffffff;
  --sky: #eef7fd;         /* jasny błękit – pasma sekcji */
  --card: #ffffff;
  --fg: #12283a;
  --muted-fg: #546779;
  --line: #dbe6ee;
  --border: var(--line);
  --chip: #edf2f6;

  --primary: var(--blue-600);
  --primary-fg: #ffffff;

  --radius: 1rem;
  --radius-sm: 0.625rem;
  --shadow: 0 1px 2px rgba(11, 42, 66, 0.06), 0 8px 24px -12px rgba(11, 42, 66, 0.18);
  --shadow-lg: 0 2px 4px rgba(11, 42, 66, 0.06), 0 24px 48px -20px rgba(11, 42, 66, 0.3);

  --font: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 4.5rem;
  --container: 80rem;
  --gutter: 1.25rem;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 1024px) { :root { --gutter: 2rem; } }

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea { font: inherit; color: inherit; }
fieldset { min-width: 0; }
h1, h2, h3 { font-weight: 750; letter-spacing: -0.02em; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--primary); color: #fff;
  padding: 0.5rem 1rem; border-radius: 999px; font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 5rem; }
@media (min-width: 1024px) { .section { padding-block: 7rem; } }
#produkty, #konfigurator, #powloki, #realizacje, #o-nas, #kontakt { scroll-margin-top: var(--header-h); }

.section-band { background: var(--sky); }
.theme-light { background: var(--bg); }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon--primary { color: var(--blue-700); }

.glass {
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: baseline;
  font-size: 1.875rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1;
  color: var(--blue);
}
.logo__a { align-self: baseline; width: 0.8em; height: 0.69em; margin-inline: 0.01em 0.02em; fill: var(--red); transform: translateY(0.01em); }

/* ---------- Typografia wspólna ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 700; color: var(--blue-700);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 3px; border-radius: 3px; background: var(--red); }
.eyebrow--dark { color: #fff; }
.eyebrow--dark::before { background: #fff; }

.section-heading { display: grid; gap: 1.25rem; }
.section-heading__title {
  margin-top: 0.75rem;
  font-size: 2.25rem; line-height: 1.08; text-wrap: balance;
}
.section-heading__desc { max-width: 34rem; font-size: 1.0625rem; line-height: 1.65; color: var(--muted-fg); text-wrap: pretty; }
@media (min-width: 640px) { .section-heading__title { font-size: 2.875rem; } }
@media (min-width: 1024px) {
  .section-heading { grid-template-columns: 1fr 1fr; align-items: end; gap: 2rem; }
  .section-heading__desc { justify-self: end; }
}

.fineprint { margin-top: 1.5rem; font-size: 0.8125rem; color: var(--muted-fg); }

/* ---------- Przyciski ---------- */
.btn-primary, .btn-ghost, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.8125rem 1.375rem; font-weight: 700; line-height: 1.2;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 131, 196, 0.65); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-primary[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn-outline { border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; padding: 0.875rem 1.625rem; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-ghost { border: 2px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn-ghost [data-share-icon] { display: contents; }

.link-italic { font-weight: 600; color: var(--blue-700); text-decoration: underline; text-underline-offset: 4px; }
.link-italic:hover { color: var(--navy); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  background: linear-gradient(180deg, rgba(7, 28, 46, 0.55), rgba(7, 28, 46, 0));
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.site-header.is-solid {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(11, 42, 66, 0.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding-left: 1.5rem;
}
.site-header__nav { display: none; margin-left: auto; padding-right: 2rem; }
.site-header__nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-header__nav a {
  display: block; padding: 0.5rem 0.875rem; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; opacity: 0.92;
  transition: background-color 0.2s, opacity 0.2s;
}
.site-header__nav a:hover { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.site-header.is-solid .site-header__nav a:hover { background: var(--sky); color: var(--blue-700); }
@media (min-width: 1024px) {
  .site-header__bar { padding-left: 2.5rem; }
  .site-header__nav { display: block; }
}

.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: var(--header-h); height: var(--header-h);
}
.menu-toggle__lines { position: relative; display: block; width: 1.5rem; height: 0.75rem; }
.menu-toggle__lines span {
  position: absolute; left: 0; width: 1.5rem; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.3s, top 0.3s;
}
.menu-toggle__lines span:first-child { top: 0; }
.menu-toggle__lines span:last-child { top: 0.75rem; }
.site-header.is-open .menu-toggle__lines span:first-child { top: 0.375rem; transform: rotate(45deg); }
.site-header.is-open .menu-toggle__lines span:last-child { top: 0.375rem; transform: rotate(-45deg); }

.site-menu {
  border-top: 1px solid var(--line);
  background: #fff; color: var(--fg);
  max-height: calc(100svh - var(--header-h));
  overflow-y: auto;
}
.site-menu__inner {
  max-width: 72rem; margin-inline: auto; padding: 3rem 1.5rem;
  display: grid; gap: 2.5rem;
}
.site-menu__list { display: flex; flex-direction: column; gap: 0.25rem; }
.site-menu__list a {
  display: flex; align-items: baseline; gap: 1.25rem; padding-block: 0.25rem;
  font-size: 2.25rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15;
  transition: color 0.2s;
}
.site-menu__list a:hover { color: var(--blue-700); }
.site-menu__num { font-size: 0.875rem; font-weight: 700; color: var(--blue); }
.site-menu__contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9375rem; color: var(--muted-fg); }
.site-menu__contact a:hover { color: var(--blue-700); }
.site-menu__office { font-weight: 700; color: var(--fg); }
@media (min-width: 640px) { .site-menu__list a { font-size: 3rem; } }
@media (min-width: 768px) {
  .site-menu__inner { grid-template-columns: 1fr auto; padding-inline: 6rem; }
  .site-menu__contact { text-align: right; }
}

/* ---------- Hero – roto-transition na „A” z logo ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  background: var(--navy); color: #fff;
}
.roto { position: absolute; inset: 0; z-index: -1; }
.roto__base, .roto__next { position: absolute; inset: 0; }
.roto__base picture, .roto__base-img { width: 100%; height: 100%; }
.roto__base-img { object-fit: cover; object-position: center; }
.roto__next { opacity: 0; background: center / cover no-repeat; }
.roto__next.is-visible { opacity: 1; transition: opacity 0.45s ease-out; }

.roto__stage { position: absolute; inset: 0; pointer-events: none; }
.roto__frame, .roto__line {
  position: absolute; left: var(--sx); top: var(--sy);
  width: var(--s); height: var(--s);
  transform-origin: 48.2% 58.7%;            /* środek ciężkości trójkąta */
}
.roto__frame { opacity: 0; overflow: hidden; will-change: transform, opacity; }
.roto__frame--outer { clip-path: polygon(44.5% 6%, 96% 85%, 4% 85%); }
.roto__frame--inner { clip-path: polygon(46.1% 29.7%, 74.5% 73.2%, 23.9% 73.2%); }
.roto__img {
  position: absolute;
  left: calc(var(--sx) * -1); top: calc(var(--sy) * -1);
  width: var(--hw); height: var(--hh);
  background: center / cover no-repeat;
}
.roto__line { overflow: visible; fill: none; will-change: transform; }
.roto__line polygon { stroke-linejoin: round; }
.roto__line--outer polygon { stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; fill: rgba(7, 28, 46, 0.16); }
.roto__line--inner polygon { stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.5; fill: rgba(255, 255, 255, 0.1); }
.roto__line { filter: drop-shadow(0 0 10px rgba(7, 28, 46, 0.35)); }
/* tło „A” zanika na czas obrotu i łagodnie wraca po dopasowaniu zdjęcia */
.roto__line polygon { transition: fill 1.4s ease 0.15s, stroke 1.4s ease 0.15s; }
.hero.is-turning .roto__line polygon { fill: rgba(255, 255, 255, 0); transition-duration: 0.35s; transition-delay: 0s; }
.hero.is-turning .roto__line--outer polygon { fill: rgba(7, 28, 46, 0); }

.roto__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 34% at 50% 50%, rgba(7, 28, 46, 0.5), rgba(7, 28, 46, 0) 80%),
    linear-gradient(180deg, rgba(7, 28, 46, 0.45) 0%, rgba(7, 28, 46, 0) 20%, rgba(7, 28, 46, 0) 70%, rgba(7, 28, 46, 0.55) 100%);
}

/* treść na środku */
.hero__center {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 6rem;
  margin-top: 3vh;
}
.hero__word {
  display: flex; flex-wrap: wrap; justify-content: center;
  font-size: clamp(1.75rem, 4.8vw, 4.25rem); font-weight: 400; line-height: 1;
  letter-spacing: 0.36em; margin-right: -0.36em; text-transform: uppercase;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero__ch { display: inline-block; }
.hero__space { display: inline-block; width: 0.35em; }
.hero__rule-line { display: block; width: min(16rem, 50vw); height: 1px; margin-top: 1.5rem; background: rgba(255, 255, 255, 0.7); }
.hero__sub {
  margin-top: 1.125rem; margin-right: -0.5em;
  font-size: clamp(0.75rem, 1.2vw, 0.9375rem); font-weight: 600; letter-spacing: 0.5em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero__arrows { margin-top: 1.75rem; display: flex; align-items: center; gap: 0.25rem; }
.hero__arrows-sep { width: 1px; height: 2.25rem; background: rgba(255, 255, 255, 0.55); }
.hero__arrow {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 2.75rem; border-radius: 999px; color: #fff; transition: background-color 0.2s, transform 0.2s;
}
.hero__arrow svg { width: 2rem; height: 0.75rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.hero__arrow:hover { background: rgba(255, 255, 255, 0.14); }
.hero__arrow[data-hero-prev]:hover { transform: translateX(-3px); }
.hero__arrow[data-hero-next]:hover { transform: translateX(3px); }
.hero__lead {
  margin-top: 1.25rem; max-width: 30rem;
  font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* dolny pasek */
.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 0 calc(var(--gutter) + 0.5rem) 1.75rem;
}
.hero__badge { display: none; align-items: center; gap: 0.5rem; font-size: 0.9375rem; font-weight: 600; color: rgba(255, 255, 255, 0.95); }
.hero__badge .icon { width: 1.25rem; height: 1.25rem; padding: 0.2rem; border-radius: 999px; background: var(--blue); color: #fff; stroke-width: 3; }
.hero__cta {
  grid-column: 2; justify-self: center;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.625rem; border-radius: 999px;
  background: var(--blue-600); color: #fff; font-weight: 700;
  box-shadow: 0 10px 28px -10px rgba(0, 160, 232, 0.8);
  transition: background-color 0.2s, transform 0.2s;
}
.hero__cta:hover { background: var(--blue-700); transform: translateY(-1px); }
.hero__counter { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 0.875rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; }
.hero__count { display: none; color: rgba(255, 255, 255, 0.9); }
.hero__a { position: relative; width: 2.75rem; height: 2.5rem; transition: transform 0.25s; }
.hero__counter:hover .hero__a { transform: rotate(-12deg) scale(1.06); }
.hero__a svg { width: 100%; height: 100%; overflow: visible; }
.hero__a-fill { fill: var(--red); }
.hero__a-track, .hero__a-progress { fill: none; stroke-width: 5; stroke-linejoin: round; transform: scale(1.18); transform-origin: 48% 62%; }
.hero__a-track { stroke: rgba(255, 255, 255, 0.28); }
.hero__a-progress { stroke: #fff; stroke-dasharray: 100; stroke-dashoffset: 100; }

.hero__socials {
  display: none; position: absolute; top: 0; bottom: 0; right: 1.25rem; z-index: 3;
  flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
}
.hero__socials a { font-size: 0.8125rem; font-weight: 700; color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.hero__socials a:hover { color: #fff; }

.hero__scroll {
  display: none; position: absolute; bottom: 1.75rem; left: 1.5rem; z-index: 3;
  flex-direction: column; align-items: center; gap: 0.875rem;
  color: rgba(255, 255, 255, 0.85); transition: color 0.2s;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-label { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; }
.hero__mouse { display: flex; justify-content: center; width: 1.25rem; height: 2rem; padding-top: 0.375rem; border: 1.5px solid rgba(255,255,255,0.75); border-radius: 999px; }
.hero__mouse span { width: 2px; height: 0.375rem; border-radius: 2px; background: #fff; animation: bounce 1s infinite; }

@media (min-width: 768px) {
  .hero__socials, .hero__scroll { display: flex; }
  .hero__count { display: inline; }
  .hero__bottom { padding-left: 4.5rem; padding-right: 4.5rem; }
  .hero__badge { display: inline-flex; }
}
@media (min-width: 1024px) {
  .hero__scroll { left: 2.25rem; }
}
@media (max-width: 767px) {
  .hero__bottom { grid-template-columns: 1fr auto; }
  .hero__cta { grid-column: 1; justify-self: start; }
  .hero__counter { grid-column: 2; }
  .hero__word { letter-spacing: 0.22em; margin-right: -0.22em; }
  .hero__sub { letter-spacing: 0.3em; margin-right: -0.3em; }
}

/* ---------- Produkty ---------- */
.products { margin-top: 3rem; display: grid; gap: 1.25rem; }
.product {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product__media { position: relative; flex: 1; min-height: 12rem; overflow: hidden; }
.product__media picture { position: absolute; inset: 0; }
.product__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.product:hover .product__img { transform: scale(1.04); }
.product__body { padding: 1.25rem 1.5rem 1.5rem; }
.product__tag { font-size: 0.8125rem; font-weight: 700; color: var(--blue-700); }
.product__title { margin-top: 0.25rem; font-size: 1.5rem; line-height: 1.15; }
.product__arrow {
  position: absolute; top: 1rem; right: 1rem;
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  background: #fff; color: var(--navy); box-shadow: var(--shadow);
  transition: background-color 0.2s, color 0.2s;
}
.product:hover .product__arrow { background: var(--blue-600); color: #fff; }
.product__desc { margin-top: 0.5rem; max-width: 34rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted-fg); }
.chips { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { padding: 0.3rem 0.75rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; background: var(--chip); color: #33495b; }
@media (min-width: 768px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .products { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(340px, auto); }
  .product--large { grid-column: span 2; grid-row: span 2; }
  .product--large .product__title { font-size: 2rem; }
  .product--wide { grid-column: span 2; }
}

/* ---------- Konfigurator ---------- */
.configurator { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 1024px) { .configurator { grid-template-columns: 1.25fr 1fr; } }
.configurator__preview-col { display: flex; flex-direction: column; gap: 1rem; }

.stage {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius); box-shadow: var(--shadow);
  background:
    radial-gradient(ellipse 70% 40% at 50% 90%, rgba(11, 42, 66, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(180deg, #9fd4f3 0%, #d7eefb 55%, #e9f2f7 100%);
  perspective: 1400px; touch-action: pan-y;
}
.sheet {
  position: relative; width: 78%; height: 72%; overflow: hidden; border-radius: 4px;
  box-shadow: 0 46px 60px -26px rgba(11, 42, 66, 0.55), 0 10px 20px -12px rgba(11, 42, 66, 0.35);
  transform: rotateX(32deg) rotateY(-14deg) rotateZ(4deg);
  transition: transform 0.3s ease-out, background-color 0.5s ease;
  will-change: transform;
}
.sheet__gloss { position: absolute; inset: 0; transition: opacity 0.5s; }
.sheet__light { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255,255,255,0.14), transparent, rgba(0,0,0,0.3)); }
.sheet.is-switching { animation: sheet-swap 0.45s var(--ease-out); }

.stage__footer {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.pill {
  padding: 0.4rem 0.875rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 700;
  background: rgba(255, 255, 255, 0.9); color: var(--fg); box-shadow: var(--shadow);
}
.pill--muted { font-weight: 500; color: var(--muted-fg); }
.stage__hint { display: none; }
@media (min-width: 640px) { .stage__hint { display: inline; } }
@media (hover: none) { .stage__hint { display: none; } }

.specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
@media (min-width: 640px) { .specs { grid-template-columns: repeat(4, 1fr); } }
.specs__item { padding: 0.875rem 1rem; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow); }
.specs dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted-fg); }
.specs dd { margin-top: 0.125rem; font-size: 1.375rem; font-weight: 750; letter-spacing: -0.02em; }
.specs dd.is-highlight { color: var(--blue-700); }

.panel {
  display: flex; flex-direction: column; gap: 1.5rem; padding: 1.25rem;
  border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
}
@media (min-width: 640px) { .panel { padding: 1.75rem; } }
.panel__legend { display: flex; align-items: baseline; gap: 0.5rem; font-size: 1.0625rem; font-weight: 750; color: var(--fg); }
.panel__color-name { font-size: 0.9375rem; font-weight: 500; color: var(--muted-fg); }
.panel__families { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.875rem; }
.panel__family { margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--muted-fg); }
.panel__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip-btn {
  padding: 0.4375rem 1rem; border-radius: 999px; border: 2px solid var(--line);
  font-size: 0.9375rem; font-weight: 650; transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.chip-btn:hover { border-color: var(--blue); color: var(--blue-700); }
.chip-btn.is-active { border-color: var(--blue-600); background: var(--blue-600); color: #fff; }

.coating-grid { margin-top: 0.75rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.coating-btn {
  display: flex; flex-direction: column; align-items: flex-start; padding: 0.75rem 0.875rem; text-align: left;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color 0.2s, background-color 0.2s;
}
.coating-btn:hover { border-color: var(--blue); }
.coating-btn.is-active { border-color: var(--blue-600); background: var(--sky); }
.coating-btn__name { font-size: 0.9375rem; font-weight: 700; }
.coating-btn__meta { margin-top: 0.125rem; font-size: 0.8125rem; color: var(--muted-fg); }

.swatches { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.625rem; }
.swatch {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(11, 42, 66, 0.18), 0 0 0 3px #fff, 0 0 0 4px var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active { box-shadow: inset 0 0 0 1px rgba(11, 42, 66, 0.18), 0 0 0 3px #fff, 0 0 0 5px var(--blue-600); }
.swatch__check { color: #fff; mix-blend-mode: difference; opacity: 0; transition: opacity 0.2s; stroke-width: 3; }
.swatch.is-active .swatch__check { opacity: 1; }

.panel__note { display: flex; gap: 0.5rem; padding: 0.875rem 1rem; border-radius: var(--radius-sm); background: var(--sky); font-size: 0.9375rem; line-height: 1.55; color: #33495b; }
.panel__note .icon { margin-top: 0.2rem; }
.panel__actions { margin-top: auto; display: flex; flex-direction: column; gap: 0.5rem; }
.panel__actions .btn-primary { flex: 1; }
@media (min-width: 640px) { .panel__actions { flex-direction: row; } }

/* ---------- Powłoki ---------- */
.coatings { margin-top: 3rem; display: grid; gap: 0.75rem; }
.coatings__row { display: grid; gap: 1rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.coatings__name { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.coatings__thickness { font-size: 0.875rem; color: var(--muted-fg); }
.coatings__bar-col { display: flex; flex-direction: column; gap: 0.75rem; }
.meter { height: 0.625rem; overflow: hidden; border-radius: 999px; background: var(--chip); }
.meter__fill { height: 100%; border-radius: 999px; background: linear-gradient(to right, #7fd0f4, var(--blue)); }
.dots { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.dots li { width: 1.375rem; height: 1.375rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(11, 42, 66, 0.2); }
.coatings__years { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--navy); }
.coatings__years span { margin-left: 0.25rem; font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted-fg); }
@media (min-width: 768px) {
  .coatings__row { grid-template-columns: 1fr 2fr auto; align-items: center; gap: 2rem; }
  .coatings__years { text-align: right; }
}

/* ---------- Realizacje ---------- */
.realizations { margin-top: 3rem; display: grid; gap: 1.25rem; grid-auto-rows: 260px; }
.real { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.real picture, .real__img { width: 100%; height: 100%; }
.real__img { object-fit: cover; transition: transform 0.7s; }
.real:hover .real__img { transform: scale(1.04); }
.real__caption {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92); color: var(--fg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.real__title { font-size: 0.9375rem; font-weight: 700; }
.real__place { font-size: 0.8125rem; color: var(--muted-fg); text-align: right; }
@media (min-width: 768px) {
  .realizations { grid-template-columns: repeat(4, 1fr); }
  .real--large { grid-column: span 2; grid-row: span 2; }
  .real--wide { grid-column: span 2; }
}

/* ---------- O nas ---------- */
.values { margin-top: 3rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.value__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 0.875rem;
  background: var(--sky); color: var(--blue-700);
}
.value__icon .icon { width: 1.375rem; height: 1.375rem; }
.value__title { margin-top: 1.125rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.value__text { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.6; color: var(--muted-fg); }

.suppliers {
  margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.suppliers__label { font-size: 0.9375rem; font-weight: 600; color: var(--muted-fg); }
.suppliers ul { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; }
.suppliers li { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; color: #7a8b99; }
@media (min-width: 768px) { .suppliers { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Kontakt ---------- */
.contact {
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #0094da 0%, #0078b8 100%);
}
.contact__inner { display: grid; gap: 3rem; padding-block: 5rem; }
@media (min-width: 1024px) { .contact__inner { grid-template-columns: 1fr 1.3fr; padding-block: 7rem; } }
.contact__title { margin-top: 0.75rem; font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
@media (min-width: 640px) { .contact__title { font-size: 3.5rem; } }
.contact__lead { margin-top: 1.25rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.contact__list { margin-top: 2.25rem; display: flex; flex-direction: column; gap: 1rem; }
.contact__list .icon { width: 1.25rem; height: 1.25rem; }
.contact__phone, .contact__mail, .contact__row { display: flex; align-items: center; gap: 0.75rem; }
.contact__row--top { align-items: flex-start; }
.contact__row--top .icon { margin-top: 0.15rem; }
.contact__phone { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; }
.contact__mail { font-size: 1.125rem; font-weight: 700; }
.contact__phone:hover, .contact__mail:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__branches-title { font-size: 1.25rem; font-weight: 750; }
.branches { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .branches { grid-template-columns: repeat(2, 1fr); } }
.branch { padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: #fff; color: var(--fg); box-shadow: 0 10px 24px -16px rgba(0, 40, 70, 0.6); }
.branch__city { font-weight: 750; }
.branch__address { margin-top: 0.125rem; font-size: 0.9375rem; color: var(--muted-fg); }
.branch__phone { display: inline-block; margin-top: 0.375rem; font-size: 0.9375rem; font-weight: 700; color: var(--blue-700); }
.branch__phone:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact :focus-visible { outline-color: #fff; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy); color: #fff; }
.site-footer__inner { display: flex; flex-direction: column; gap: 1.5rem; padding-block: 2.75rem; }
.site-footer__brand .logo { font-size: 1.875rem; }
.site-footer__tagline { margin-top: 0.375rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); }
.site-footer__copy { font-size: 0.875rem; color: rgba(255, 255, 255, 0.65); }
.site-footer__giant {
  overflow: hidden; padding: 0 1.25rem 1rem; text-align: center; white-space: nowrap;
  font-size: 17vw; font-weight: 800; letter-spacing: -0.05em; line-height: 0.8;
  color: rgba(255, 255, 255, 0.05); user-select: none;
}
@media (min-width: 768px) { .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Okno wyceny ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(7, 28, 46, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 40rem; max-height: calc(100svh - 2rem); overflow-y: auto;
  padding: 1.75rem 1.5rem 1.5rem; border-radius: 1.25rem;
  background: #fff; box-shadow: 0 40px 80px -20px rgba(7, 28, 46, 0.5);
  animation: rise 0.35s var(--ease-out) both;
}
@media (min-width: 640px) { .modal__dialog { padding: 2.25rem 2rem 2rem; } }
.modal__close {
  position: absolute; top: 0.875rem; right: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; transition: background-color 0.2s;
}
.modal__close:hover { background: var(--sky); }
.modal__close .icon { width: 1.25rem; height: 1.25rem; }
.modal__title { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; padding-right: 2.5rem; }
.modal__summary { margin-top: 1rem; padding: 0.875rem 1rem; border-radius: var(--radius-sm); background: var(--sky); font-size: 0.9375rem; font-weight: 600; color: #234055; }
.form { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.form__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.375rem; }
.field__label { font-size: 0.875rem; font-weight: 700; color: var(--fg); }
.field__label em { font-style: normal; font-weight: 500; color: var(--muted-fg); }
.field input, .field textarea {
  width: 100%; padding: 0.6875rem 0.875rem; border: 2px solid var(--line);
  border-radius: var(--radius-sm); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 160, 232, 0.15); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field__error { font-size: 0.8125rem; font-weight: 600; color: #b80011; }
.consent { display: flex; gap: 0.625rem; font-size: 0.875rem; line-height: 1.5; color: var(--muted-fg); }
.consent input { margin-top: 0.2rem; width: 1.125rem; height: 1.125rem; accent-color: var(--blue-600); flex-shrink: 0; }
.consent.has-error { color: #b80011; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 0.9375rem; font-weight: 600; min-height: 1.25rem; }
.form__status.is-error { color: #b80011; }
.form__status.is-ok { color: #0a7a3c; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
body.has-modal { overflow: hidden; }

/* ---------- Animacje ---------- */
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}
@keyframes sheet-swap { from { filter: brightness(1.2) saturate(0.85); } to { filter: none; } }
.rise { animation: rise 0.8s var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .hero__mouse span, .sheet.is-switching, .modal__dialog { animation: none; }
  .sheet, .product, .btn-primary { transition: none; }
}
