/* =========================================================
   BOOST 2026 — ostre krawędzie, mocniejszy kontrast, bez cieni
   ========================================================= */
body {
  background:
    linear-gradient(90deg, rgba(52, 58, 64, 0.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(52, 58, 64, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
}

.btn {
  position: relative;
  min-height: 46px;
  border-width: 1px;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -2px auto -2px -2px;
  width: 7px;
  background: currentColor;
  opacity: 0.18;
  transition: width 180ms var(--ease), opacity 180ms var(--ease);
  z-index: -1;
}
.btn:hover::before { width: calc(100% + 4px); opacity: 0.1; }
.btn-red { border-color: var(--red); }
.btn-red:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-ink { background: var(--ink); border-color: var(--ink); }
.btn-line-light { border-color: rgba(255, 255, 255, 0.72); }

.topbar {
  background: var(--red);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.topbar a:hover { color: var(--ink); }
.tb-sep { background: rgba(255, 255, 255, 0.5); }

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--ink);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0 34%, transparent 34% 100%);
}
.nav a { color: var(--ink); }
.nav a::after { height: 2px; bottom: -0.58rem; }

.hero {
  min-height: min(820px, calc(100vh - 64px));
  display: grid;
  align-items: end;
  border-bottom: 2px solid var(--red);
}
.hero .img-slot--hero > img {
  filter: grayscale(20%) contrast(1.12) saturate(0.9);
  transform: scale(1.03);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(52, 58, 64, 0.98) 0 38%, rgba(52, 58, 64, 0.84) 52%, rgba(52, 58, 64, 0.38) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25), transparent 48%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px) 0 0 / 80px 80px;
  z-index: 1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(1rem, 7vw, 7rem);
  width: clamp(22px, 3.2vw, 48px);
  height: 52%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 18px),
    var(--red);
  mix-blend-mode: normal;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 62% 100%, 0 100%);
}
.hero-inner {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.2rem);
}
.hero-meta {
  width: fit-content;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--red);
}
.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 9.4vw, 8.3rem);
  letter-spacing: 0;
  text-wrap: balance;
}
.hero h1::after {
  content: "";
  display: block;
  width: min(30vw, 320px);
  height: 3px;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  background: var(--red);
}
.hero .lead {
  padding: 1.1rem 1.2rem;
  border-left: 2px solid var(--red);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.88);
}
.hero-stats {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: none;
}
.hero-stat {
  position: relative;
  padding-block: 1.8rem;
}
.hero-stat strong { color: #fff; }

.ticker {
  padding: 1rem 0;
  background: var(--red);
  border-bottom: 0;
}
.ticker-track { color: #fff; font-weight: 700; }
.ticker-track i { color: var(--ink); font-size: 0.75rem; }

.section {
  position: relative;
  overflow: clip;
}
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(52, 58, 64, 0.045) 1px, transparent 1px) 0 0 / 96px 96px;
  pointer-events: none;
}
.section > .container { position: relative; z-index: 1; }
.section--tint {
  background:
    linear-gradient(90deg, transparent 0 calc(100% - clamp(56px, 9vw, 120px)), rgba(251, 43, 20, 0.09) calc(100% - clamp(56px, 9vw, 120px)) 100%),
    var(--paper-2);
  border-block: 1px solid var(--ink);
}
.section--dark {
  background:
    linear-gradient(135deg, rgba(251, 43, 20, 0.16) 0 18%, transparent 18% 100%),
    var(--ink);
}

.kicker {
  padding-left: 0.7rem;
  border-left: 2px solid var(--red);
}
.kicker::after { height: 1px; background: var(--ink); opacity: 0.22; }
.section--dark .kicker::after { background: #fff; opacity: 0.22; }
.sec-head h2 {
  letter-spacing: 0;
  text-wrap: balance;
}
.sec-intro {
  padding: 1rem 1.2rem 1rem 1.2rem;
  border-left: 1px solid var(--red);
}

.about-copy {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--ink);
  background: #fff;
}
.spec-list li::before {
  width: 12px;
  height: 4px;
}
.brand-quote {
  margin-inline: -1px 0;
  padding: 1.2rem 1.4rem;
  background: var(--ink);
  color: #fff;
  border-left: 2px solid var(--red);
}
.about-photo-main,
.about-photo-side,
.branch .img-slot,
.brands-grid li {
  border: 1px solid var(--ink);
}
.about-photo-side { border-color: #fff; outline: 1px solid var(--red); }
.about-media::before {
  top: -22px;
  right: -22px;
  width: 54%;
  height: 54%;
  border: 2px solid var(--red);
}

.offer-panels {
  gap: 0;
  background: transparent;
  border: 1px solid var(--ink);
}
.offer-panel {
  min-height: 280px;
  padding: clamp(2rem, 4vw, 3.4rem);
}
.offer-panel--ink {
  background:
    linear-gradient(135deg, rgba(251, 43, 20, 0.18) 0 28%, transparent 28% 100%),
    var(--ink);
}
.offer-panel--red {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 22px),
    var(--red);
  border-left: 1px solid var(--ink);
}
.offer-panel h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }

.steps {
  border: 1px solid var(--ink);
  background: #fff;
}
.step {
  padding: clamp(1.4rem, 2.8vw, 2.4rem);
  border-right: 1px solid var(--ink);
}
.step:last-child { border-right: 0; }
.step h3 { font-size: clamp(1.1rem, 1.7vw, 1.35rem); }

.branch {
  border: 1px solid var(--ink);
  background: #fff;
}
.branch .img-slot--wide { border-bottom: 1px solid var(--ink); }
.branch-body h3 {
  position: relative;
  padding-bottom: 0.7rem;
}
.branch-body h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 2px;
  background: var(--red);
}
.branch-specs { border-top: 1px solid var(--ink); }
.branch-specs > div { border-bottom: 1px solid var(--line); }
.branch-actions .btn { flex: 1 1 180px; }

.brands-grid {
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.brands-grid li {
  min-height: clamp(120px, 13vw, 158px);
  background: #fff;
  border-color: rgba(52, 58, 64, 0.14);
}
.brands-grid li:hover { background: #f3f4f5; border-color: rgba(251, 43, 20, 0.42); }
.brands-grid img {
  max-width: min(78%, 190px);
  max-height: 58px;
  filter: none;
}
.brands-grid li:hover img { filter: none; transform: translateY(-2px); }

.faq-list {
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
  background: #fff;
}
.faq-item { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.faq-q {
  padding: 1.55rem 1.2rem;
}
.faq-q i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--red);
  color: #fff;
}
.faq-a p { padding-inline: 1.2rem; }

.contact-specs {
  padding: clamp(1rem, 2vw, 1.5rem);
  background: var(--ink);
  border: 1px solid var(--ink);
}
.contact-specs > div {
  border-color: rgba(255, 255, 255, 0.18);
}
.contact-specs dt { color: rgba(255, 255, 255, 0.48); }
.contact-specs dd,
.contact-specs a { color: #fff; }
.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line-strong);
  background: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.cta-band {
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 28px),
    var(--red);
  border-block: 2px solid var(--ink);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: min(12vw, 120px);
  height: 100%;
  background: var(--ink);
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-band h2 em { color: var(--ink); background: #fff; padding-inline: 0.08em; }

.site-footer {
  background:
    linear-gradient(90deg, rgba(251, 43, 20, 0.2) 0 6px, transparent 6px 100%),
    var(--ink);
  border-top: 2px solid var(--red);
}
.footer-wordmark {
  letter-spacing: 0;
  border-bottom-width: 3px;
}

/* =========================================================
   Animacja wejścia
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 1020px) {
  .sec-head-row { grid-template-columns: 1fr; align-items: start; }
  .sec-intro { justify-self: start; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .step { padding-top: 1.4rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .offer-panels { grid-template-columns: 1fr; }
  .offer-panel--red { border-left: 0; border-top: 1px solid var(--ink); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brands-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 80px; }
  .topbar-inner { justify-content: center; }
  .topbar-group:nth-child(2) { display: none; }

  .nav {
    position: fixed;
    top: 72px;
    right: 1rem;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.1rem;
    background: #fff;
    border: 1px solid var(--line-strong);
    width: min(78vw, 290px);
    max-width: calc(100vw - 2rem);
    /* Menu bez ruchu: samo pojawienie sie (opacity). Zadnego transform,
       ktory moglby przesunac uklad strony w poziomie. Panel stoi w miejscu,
       w granicach ekranu. */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms var(--ease), visibility 0s linear 160ms;
    z-index: 60;
  }
  .nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 160ms var(--ease), visibility 0s linear 0s;
  }
  .nav a { padding: 0.7rem 0.4rem; font-size: 0.9rem; }
  .menu-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }

  .hero-stats-grid { grid-template-columns: 1fr; }
  .hero-stat { border-left: none; border-top: 1px solid var(--line-dark); padding: 1rem 0; }
  .hero-stat:first-child { border-top: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin-top: 2.5rem; }
  .branch-grid { grid-template-columns: 1fr; }
  .cat-index { grid-template-columns: 1fr; }
  .hero::after { opacity: 0.28; right: 0; width: 28px; }
  .hero h1 { max-width: 8ch; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 2.2rem, var(--maxw)); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .brands-grid { grid-template-columns: 1fr; }
  .about-photo-side { transform: translateY(2rem); border-width: 1px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .topbar { font-size: 0.62rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

