/* ============================================================
   DOBRY OPAŁ ŚLĄSK — design system
   Premium industrial + warmth + Silesia + materiality
   ============================================================ */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0b0d0f;
  --coal: #14171b;
  --anthracite: #1b2026;
  --anthracite-2: #232931;
  --line: rgba(244, 239, 231, .12);
  --line-soft: rgba(244, 239, 231, .07);

  --paper: #f4efe7;
  --paper-2: #ece5d9;
  --ink-on-paper: #191c1f;
  --muted-on-paper: #5d5a53;

  --text: #ede8df;
  --muted: #a3a9b0;

  --wood: #a97b50;
  --wood-deep: #7c5433;
  --ember: #e0772c;
  --ember-hot: #f08a3c;
  --copper: #b4653a;
  --forest: #5f7052;

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --w: min(100% - 3rem, 1240px);
  --w-wide: min(100% - 2rem, 1480px);

  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --dur: .8s;

  --header-h: 84px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--ember); color: #fff; }

.container { width: var(--w); margin-inline: auto; }
.container-wide { width: var(--w-wide); margin-inline: auto; }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ember); color: #fff; padding: .8rem 1.2rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
.display, h1, h2 {
  font-weight: 780;
  font-stretch: 112%;
  text-transform: uppercase;
  line-height: .97;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 7.2vw, 6.2rem); }
@media (max-width: 480px) { .hero h1 { font-size: 9.2vw; } }
h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; }
.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.3rem;
}
.kicker::before { content: ''; width: 2.2rem; height: 2px; background: var(--ember); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .9rem 1.9rem;
  font-weight: 740; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px;
  transition: transform .35s var(--ease), background .35s, border-color .35s, color .35s, box-shadow .35s;
  will-change: transform;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-primary { background: var(--ember); color: #16110b; box-shadow: 0 10px 34px rgba(224, 119, 44, .28); }
.btn-primary:hover { background: var(--ember-hot); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--text); background: rgba(11,13,15,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ember); color: var(--ember-hot); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ember-hot); outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .45s, height .45s, box-shadow .45s, backdrop-filter .45s;
}
.site-header .container-wide { display: flex; align-items: center; gap: 2.2rem; }
.site-header.scrolled {
  height: 66px;
  background: rgba(12, 14, 16, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.brand { display: flex; flex-direction: column; line-height: 1; letter-spacing: .04em; }
.brand b { font-weight: 820; font-stretch: 114%; font-size: 1.18rem; text-transform: uppercase; white-space: nowrap; }
.brand span { font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: var(--ember); margin-top: .28rem; }
.main-nav { display: flex; gap: 1.7rem; margin-left: auto; }
.main-nav a {
  position: relative; font-size: .92rem; font-weight: 640; letter-spacing: .03em; padding: .4rem 0;
  color: var(--text);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--ember); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 760; font-size: .98rem; white-space: nowrap; }
.header-phone svg { color: var(--ember); }
.header-cta { min-height: 44px; padding: .55rem 1.3rem; font-size: .82rem; }
.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 1023px) {
  .main-nav, .header-cta { display: none; }
  .header-phone { margin-left: auto; }
  .nav-toggle {
    display: grid; place-items: center; width: 46px; height: 46px;
    border: 1.5px solid var(--line); border-radius: 12px;
  }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    content: ''; display: block; width: 20px; height: 2px; background: var(--text);
    transition: transform .35s var(--ease), opacity .3s; position: relative;
  }
  .nav-toggle .bars::before { position: absolute; top: -6px; }
  .nav-toggle .bars::after { position: absolute; top: 6px; }
  body.nav-open .nav-toggle .bars { background: transparent; }
  body.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: rgba(11, 13, 15, .97);
  display: flex; flex-direction: column; justify-content: center; padding: 6rem 2rem 3rem;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.mobile-nav a {
  font-size: clamp(1.7rem, 7vw, 2.4rem); font-weight: 780; font-stretch: 110%;
  text-transform: uppercase; padding: .55rem 0; line-height: 1.1;
  transform: translateY(18px); opacity: 0; transition: transform .5s var(--ease), opacity .5s;
}
body.nav-open .mobile-nav a { transform: none; opacity: 1; }
.mobile-nav a:nth-child(2) { transition-delay: .05s; } .mobile-nav a:nth-child(3) { transition-delay: .1s; }
.mobile-nav a:nth-child(4) { transition-delay: .15s; } .mobile-nav a:nth-child(5) { transition-delay: .2s; }
.mobile-nav a:nth-child(6) { transition-delay: .25s; } .mobile-nav a:nth-child(7) { transition-delay: .3s; }
.mobile-nav .mn-phone { margin-top: 2rem; color: var(--ember-hot); font-stretch: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroKen 34s var(--ease) both;
}
@keyframes heroKen { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,13,15,.96) 0%, rgba(11,13,15,.55) 34%, rgba(11,13,15,.15) 60%, rgba(11,13,15,.55) 100%);
}
.hero-inner { width: var(--w); margin-inline: auto; padding: calc(var(--header-h) + 3rem) 0 6.2rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 720; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ember-hot); margin-bottom: 1.6rem;
}
.hero-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.hero h1 .line { display: block; overflow: clip; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .14s; color: var(--ember-hot); }
@keyframes lineUp { to { transform: none; } }
.hero-sub {
  max-width: 34rem; margin-top: 1.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d6d1c8;
  opacity: 0; animation: fadeUp .9s var(--ease) .5s forwards;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; opacity: 0; animation: fadeUp .9s var(--ease) .75s forwards; }
.hero-cities {
  margin-top: 2.6rem; font-size: .82rem; font-weight: 640; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  opacity: 0; animation: fadeUp .9s var(--ease) .95s forwards;
}
.hero-cities b { color: var(--text); font-weight: 640; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scroll-hint {
  position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: ''; width: 1px; height: 54px;
  background: linear-gradient(to bottom, var(--ember), transparent);
  animation: hintDrop 2.2s var(--ease) infinite;
}
@keyframes hintDrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Sections base ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { margin-top: 1.1rem; color: var(--muted); }
.on-paper { background: var(--paper); color: var(--ink-on-paper); }
.on-paper .muted, .on-paper .section-head p { color: var(--muted-on-paper); }
.on-paper .kicker { color: var(--copper); }
.on-paper .kicker::before { background: var(--copper); }

/* reveal system */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-group.in > * { opacity: 1; transform: none; }
.reveal-group.in > *:nth-child(2) { transition-delay: .09s; }
.reveal-group.in > *:nth-child(3) { transition-delay: .18s; }
.reveal-group.in > *:nth-child(4) { transition-delay: .27s; }
.reveal-group.in > *:nth-child(5) { transition-delay: .36s; }
.reveal-group.in > *:nth-child(6) { transition-delay: .45s; }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line-soft); background: var(--coal); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 2.4rem 1.6rem; border-left: 1px solid var(--line-soft); }
.trust-item:first-child { border-left: 0; }
.trust-item .num { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800; font-stretch: 112%; line-height: 1; color: var(--ember-hot); }
.trust-item .lbl { margin-top: .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-top: 1px solid var(--line-soft); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(odd) { border-left: 0; }
}

/* ---------- Product category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.cat-card {
  position: relative; grid-column: span 2; border-radius: var(--radius); overflow: clip;
  min-height: clamp(420px, 46vw, 540px);
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; min-height: clamp(440px, 40vw, 580px); }
.cat-card img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.cat-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(9,11,13,.92) 8%, rgba(9,11,13,.28) 48%, rgba(9,11,13,.12) 100%);
  transition: background .6s;
}
.cat-card:hover img { transform: scale(1.05); filter: brightness(1.12); }
.cat-body { padding: 1.8rem; width: 100%; }
.cat-body .format { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ember-hot); }
.cat-body h3 { margin-top: .5rem; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 790; font-stretch: 110%; text-transform: uppercase; }
.cat-body p { margin-top: .5rem; font-size: .95rem; color: #cfc9bf; max-width: 30rem; }
.cat-links { display: flex; gap: 1.2rem; margin-top: 1.1rem; }
.cat-links a { font-size: .84rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: .4rem; align-items: center; }
.cat-links a:first-child { color: var(--ember-hot); }
.cat-links a .arr { transition: transform .35s var(--ease); }
.cat-links a:hover .arr { transform: translateX(4px); }
@media (min-width: 861px) {
  .cat-card .cat-extra { max-height: 0; opacity: 0; overflow: clip; transition: max-height .6s var(--ease), opacity .5s .05s; }
  .cat-card:hover .cat-extra, .cat-card:focus-within .cat-extra { max-height: 130px; opacity: 1; }
}
@media (max-width: 1100px) { .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; } }
@media (max-width: 700px) { .cat-card, .cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 6; min-height: 420px; } }

/* ---------- Pogotowie opałowe ---------- */
.emergency {
  background: radial-gradient(120% 130% at 78% 15%, #2a1a0d 0%, var(--ink) 55%);
  border-block: 1px solid var(--line-soft);
  overflow: clip;
}
.emergency-inner { display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }
.emergency h2 { font-size: clamp(2.6rem, 6vw, 5rem); }
.emergency h2 em { font-style: normal; color: var(--ember-hot); }
.emergency-phone {
  display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.9rem;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); font-weight: 820; font-stretch: 112%; letter-spacing: .01em;
  color: var(--text);
}
.emergency-phone:hover { color: var(--ember-hot); }
.emergency-phone svg { color: var(--ember); flex: none; }
.emergency .siren {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 720;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ember-hot); margin-bottom: 1.4rem;
}
.emergency .siren::before {
  content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--ember);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(224,119,44,.55); } 60% { box-shadow: 0 0 0 12px rgba(224,119,44,0); } }
.route-map { width: 100%; height: auto; }
.route-map .road { stroke-dasharray: 6 8; animation: roadMove 1.4s linear infinite; }
@keyframes roadMove { to { stroke-dashoffset: -14; } }
@media (max-width: 900px) { .emergency-inner { grid-template-columns: 1fr; } }

/* ---------- Delivery map section ---------- */
.delivery-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.city-list { display: flex; flex-direction: column; border-top: 1px solid var(--line-soft); }
.city-item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1.05rem .4rem; border-bottom: 1px solid var(--line-soft);
  font-weight: 740; font-stretch: 108%; text-transform: uppercase; font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  transition: color .3s, padding-left .4s var(--ease); cursor: default;
}
.city-item small { font-size: .74rem; font-weight: 640; letter-spacing: .14em; color: var(--muted); text-transform: none; letter-spacing: .08em; text-align: right; }
.city-item:hover, .city-item.hot { color: var(--ember-hot); padding-left: .9rem; }
.silesia-map { width: 100%; height: auto; }
.silesia-map .dot { transition: r .3s var(--ease); }
.silesia-map .halo { opacity: 0; transition: opacity .3s; }
.silesia-map g.hot .halo { opacity: 1; }
.silesia-map g.hot .dot { fill: var(--ember-hot); }
.silesia-map text { font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .08em; fill: #cfc9bf; text-transform: uppercase; }
.silesia-map g.hot text { fill: var(--ember-hot); }

/* ---------- Quick quote ---------- */
.quote-section { background: linear-gradient(180deg, var(--coal), var(--ink)); border-block: 1px solid var(--line-soft); }
.quote-box {
  max-width: 780px; margin-inline: auto;
  background: var(--anthracite); border: 1px solid var(--line-soft); border-radius: 22px;
  padding: clamp(1.6rem, 4vw, 3rem);
}
.quote-progress { display: flex; gap: .5rem; margin-bottom: 2rem; }
.quote-progress span { height: 4px; flex: 1; border-radius: 4px; background: var(--line); transition: background .4s; }
.quote-progress span.done { background: var(--ember); }
.quote-step { display: none; }
.quote-step.active { display: block; animation: fadeUp .5s var(--ease); }
.quote-step h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-transform: uppercase; font-stretch: 110%; font-weight: 780; margin-bottom: 1.4rem; }
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .7rem; }
.chip {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 58px; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font-weight: 680; font-size: .95rem; cursor: pointer; transition: border-color .3s, background .3s, color .3s;
  user-select: none;
}
.chip:hover { border-color: var(--ember); }
.chip.selected { border-color: var(--ember); background: rgba(224,119,44,.12); color: var(--ember-hot); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: .85rem 1.1rem;
  background: var(--coal); border: 1.5px solid var(--line); border-radius: 12px;
  color: var(--text); font: inherit; transition: border-color .3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ember); outline: none; }
.quote-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.quote-back { color: var(--muted); font-weight: 680; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.quote-back:hover { color: var(--text); }
.quote-summary {
  background: var(--coal); border: 1px solid var(--line-soft); border-radius: 14px;
  padding: 1.2rem 1.4rem; margin-bottom: 1.4rem; font-size: .98rem;
}
.quote-summary b { color: var(--ember-hot); }
.quote-done { text-align: center; padding: 1.5rem 0; }
.quote-done .tick {
  width: 74px; height: 74px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: rgba(224,119,44,.14); display: grid; place-items: center; color: var(--ember-hot);
}
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .83rem; color: var(--muted); margin-top: .4rem; }
.consent input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ember); flex: none; }

/* ---------- Heritage / 60 lat ---------- */
.heritage-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.heritage-media { position: relative; border-radius: var(--radius); overflow: clip; aspect-ratio: 4 / 4.6; }
.heritage-media img { width: 100%; height: 100%; object-fit: cover; }
.heritage-media::after {
  content: '60+'; position: absolute; right: 1.2rem; bottom: .6rem;
  font-size: clamp(4rem, 9vw, 7rem); font-weight: 830; font-stretch: 115%; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,239,231,.35);
}
.timeline { margin-top: 2.4rem; border-left: 2px solid rgba(25,28,31,.15); }
.on-paper .timeline { border-left-color: rgba(25,28,31,.15); }
.timeline li { position: relative; padding: 0 0 1.6rem 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -7px; top: .42em; width: 12px; height: 12px; border-radius: 50%;
  background: var(--copper); box-shadow: 0 0 0 4px rgba(180,101,58,.18);
}
.timeline b { display: block; font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .04em; }
.timeline p { font-size: .97rem; color: var(--muted-on-paper); margin-top: .2rem; }

/* ---------- USP / wiemy co sprzedajemy ---------- */
.usp { position: relative; overflow: clip; }
.usp-bg { position: absolute; inset: 0; z-index: -2; }
.usp-bg img { width: 100%; height: 110%; object-fit: cover; }
.usp::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,13,15,.94) 0%, rgba(11,13,15,.72) 55%, rgba(11,13,15,.3) 100%); }
.usp-inner { max-width: 40rem; padding: clamp(5rem, 12vw, 9rem) 0; }
.usp-points { margin-top: 2rem; display: grid; gap: 1rem; }
.usp-points li { display: flex; gap: .9rem; align-items: flex-start; color: #d6d1c8; }
.usp-points svg { flex: none; color: var(--ember-hot); margin-top: .25rem; }

/* ---------- Material story ---------- */
.story-band { position: relative; min-height: 78svh; display: flex; align-items: center; overflow: clip; isolation: isolate; }
.story-band .band-bg { position: absolute; inset: -8% 0; z-index: -2; }
.story-band .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.story-band::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.story-band.coal::before { background: linear-gradient(90deg, rgba(8,10,12,.92), rgba(8,10,12,.35)); }
.story-band.wood::before { background: linear-gradient(90deg, rgba(30,20,10,.88), rgba(30,20,10,.25)); }
.story-band.home::before { background: linear-gradient(90deg, rgba(20,12,6,.9), rgba(20,12,6,.3)); }
.story-copy { max-width: 32rem; padding: 5rem 0; }
.story-copy .idx { font-size: .8rem; font-weight: 720; letter-spacing: .3em; color: var(--ember-hot); }
.story-copy h3 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; font-weight: 790; font-stretch: 110%; margin-top: .8rem; line-height: 1; }
.story-copy p { margin-top: 1rem; color: #d6d1c8; }

/* ---------- Palety B2B ---------- */
.pallets { background: var(--paper-2); color: var(--ink-on-paper); overflow: clip; }
.pallets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pallets-media { border-radius: var(--radius); overflow: clip; aspect-ratio: 16/11; }
.pallets-media img { width: 100%; height: 100%; object-fit: cover; }
.tag-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; }
.tag { padding: .45rem .95rem; border: 1.5px solid rgba(25,28,31,.22); border-radius: 999px; font-size: .82rem; font-weight: 680; }
@media (max-width: 900px) { .pallets-grid, .heritage-grid, .delivery-grid { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews-placeholder {
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.4rem); text-align: center; color: var(--muted); max-width: 46rem; margin-inline: auto;
}
.reviews-placeholder b { color: var(--text); }

/* ---------- Blog / poradnik ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.blog-card {
  display: flex; flex-direction: column; gap: .8rem; padding: 1.8rem;
  border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--coal);
  transition: transform .45s var(--ease), border-color .45s;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(224,119,44,.5); }
.blog-card .cat { font-size: .72rem; font-weight: 720; letter-spacing: .2em; text-transform: uppercase; color: var(--ember-hot); }
.blog-card h3 { font-size: 1.15rem; line-height: 1.3; }
.blog-card p { font-size: .93rem; color: var(--muted); flex: 1; }
.blog-card .more { font-size: .82rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-hot); display: inline-flex; gap: .4rem; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */
.closing {
  position: relative; text-align: center; overflow: clip; isolation: isolate;
  padding: clamp(6rem, 14vw, 10rem) 0;
}
.closing-bg { position: absolute; inset: 0; z-index: -2; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; }
.closing::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(9, 10, 12, .78); }
.closing h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
.closing h2 em { font-style: normal; color: var(--ember-hot); }
.closing .hero-ctas { justify-content: center; opacity: 1; animation: none; }

/* ---------- Footer ---------- */
.site-footer { background: #08090b; border-top: 1px solid var(--line-soft); padding: clamp(3.4rem, 7vw, 5.5rem) 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.6rem; padding-bottom: 3rem; }
.footer-grid h4 { font-size: .78rem; font-weight: 740; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.footer-grid ul { display: grid; gap: .55rem; }
.footer-grid a:hover { color: var(--ember-hot); }
.footer-brand p { color: var(--muted); margin-top: 1rem; max-width: 22rem; }
.footer-phone { display: inline-flex; margin-top: 1.3rem; font-size: 1.35rem; font-weight: 790; }
.footer-phone:hover { color: var(--ember-hot); }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding: 1.4rem 0 5.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--muted); font-size: .82rem;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .5s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 60px; font-weight: 760; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-cta .call { background: var(--ember); color: #16110b; }
.sticky-cta .ask { background: var(--coal); color: var(--text); }
@media (max-width: 860px) { .sticky-cta { display: grid; } }

/* ---------- Subpages ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5rem);
  background: var(--coal); overflow: clip; isolation: isolate;
}
.page-hero .ph-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--ink), rgba(11,13,15,.45)); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumbs a:hover { color: var(--ember-hot); }
.breadcrumbs .sep { opacity: .5; }
.prose { max-width: 44rem; }
.prose p + p { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 2.4rem 0 1rem; }
.prose ul { display: grid; gap: .6rem; margin: 1.2rem 0; }
.prose ul li { display: flex; gap: .7rem; }
.prose ul li::before { content: '—'; color: var(--ember); font-weight: 700; }

/* price table */
.price-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.price-table th, .price-table td { text-align: left; padding: 1rem .9rem; border-bottom: 1px solid var(--line-soft); }
.price-table th { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 720; }
.price-table .status {
  display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-size: .74rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(224,119,44,.13); color: var(--ember-hot);
}
.price-table .status.avail { background: rgba(95,112,82,.18); color: #9fb48d; }
.table-scroll { overflow-x: auto; }

/* product page layout */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.product-media { position: sticky; top: calc(var(--header-h) + 1rem); border-radius: var(--radius); overflow: clip; }
.product-media img { width: 100%; height: auto; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } .product-media { position: static; } }
.spec-list { margin-top: 1.6rem; border-top: 1px solid var(--line-soft); }
.spec-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.spec-list dt { color: var(--muted); }
.spec-list dd { font-weight: 680; text-align: right; }

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.3rem 0; cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--ember); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 1.3rem; color: var(--muted); max-width: 42rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-card { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem; background: var(--coal); }
.contact-card h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.contact-card p { font-size: 1.05rem; }
.contact-card a { font-weight: 700; }
.contact-card a:hover { color: var(--ember-hot); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* utility */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-group > *, .hero-sub, .hero-ctas, .hero-cities { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none; animation: none; }
  .hero-media img, .hero-media video { animation: none; }
  .scroll-hint::after { animation: none; height: 40px; }
}
