:root {
  --purpura:     #900060;
  --pomarancz:   #ff8c00;
  --niebieski:   #0680cc;
  --bursztyn:    #ffbe3c;
  --grafit:      #3c434a;
  --jasny-szary: #e7eaed;
  --biel:        #ffffff;
}

* { box-sizing: border-box; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Lato", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--grafit);
  background: var(--biel);
  line-height: 1.65;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--purpura); }
a:hover { color: var(--pomarancz); }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.5rem; }
.sekcja { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.lista { padding-left: 1.2em; margin: 0 0 1.1em; }
.lista li { margin-bottom: .5em; }
.drobne { font-size: .92rem; color: #6a737c; }

.hero-foto img, .sekcja-foto img, .pasek-foto img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 4px 22px rgba(60, 67, 74, .16);
}

.sekcja-z-foto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.sekcja-foto img { max-width: 18rem; }
.sekcja-tekst > :first-child { margin-top: 0; }

.pasek-foto {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  margin-top: 2.5rem;
  max-width: 38rem;
  padding: 1.25rem 1.75rem 1.25rem 1.25rem;
  background: var(--jasny-szary);
  border-left: 5px solid var(--pomarancz);
}

.pasek-foto img { width: 9rem; height: 12rem; flex: 0 0 auto; object-fit: cover; object-position: 50% 50%; }
.pasek-foto .drobne { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--grafit); }

.cta {
  display: inline-block;
  background: var(--pomarancz);
  color: #2a2000;
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.6rem;
  border-radius: 2px;
}
.cta:hover { background: var(--bursztyn); color: #2a2000; }
.cta-duza { font-size: 1.1rem; padding: 1rem 2rem; }

.karty {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}
.karta h3 { margin-bottom: .4em; }
.karta p { margin: 0; font-size: .98rem; }

.lista-pomoc { margin: 1.5rem 0 0; padding-left: 1.4em; max-width: 46em; }
.lista-pomoc li { margin-bottom: .9em; }
.lista-pomoc li:last-child { margin-bottom: 0; }

.faq-poz { padding: 1.2rem 0; border-bottom: 1px solid #cfd5db; }
.faq-poz:last-child { border-bottom: 0; }
.faq-poz p { margin: 0; }

.stopka { background: var(--grafit); color: #d7dbdf; padding: 2.5rem 0; font-size: .96rem; }
.stopka a { color: var(--bursztyn); }
.stopka a:hover { color: var(--pomarancz); }
.stopka .drobne { color: #9aa3ac; margin-top: 1.5rem; }

:focus-visible { outline: 3px solid var(--niebieski); outline-offset: 2px; }

body { font-size: 1.0625rem; }

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;

  background: #1c1e21;
  color: var(--biel);
  overflow: hidden;
}

.hero-uklad { z-index: 2; width: 100%; padding-top: 6rem; padding-bottom: 3.5rem; }

.hero-foto { position: absolute; inset: 0; z-index: 1; }

.hero-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: 50% 46%;
  border-radius: 0;
  box-shadow: none;
}

.hero-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(24, 26, 29, .92) 0%,
      rgba(24, 26, 29, .80) 34%,
      rgba(24, 26, 29, .35) 58%,
      rgba(24, 26, 29, .04) 82%),
    linear-gradient(to top, rgba(24, 26, 29, .55) 0%, rgba(24, 26, 29, 0) 45%);
}

.hero-tresc { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  color: var(--biel);
  letter-spacing: -.02em;
  margin-bottom: .1em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.nadtytul {
  margin: 0 0 1.6rem;
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  letter-spacing: .01em;
  color: var(--bursztyn);
  font-weight: 700;
  max-width: 28em;
}
.lead {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  max-width: 34em;
}
.hero .lead,
.pas-cta .lead { color: rgba(255, 255, 255, .95); max-width: 30em; }

h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: var(--purpura); }
h3 { font-size: 1.15rem; color: var(--grafit); }
.faq-poz h3 { color: var(--purpura); }

.pas-pomoc { background: var(--grafit); color: var(--biel); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.pas-pomoc h2 { color: var(--biel); }
.lista-pomoc li::marker { color: var(--pomarancz); font-weight: 700; }

.sekcja-wyrozniona { background: var(--jasny-szary); }
.karta {
  background: var(--biel);
  border: 0;
  border-left: 5px solid var(--pomarancz);
  box-shadow: 0 2px 14px rgba(60, 67, 74, .09);
  padding: 1.5rem;
}
.pas-cta { background: var(--purpura); color: var(--biel); }
.pas-cta h2 { color: var(--biel); }
.pas-cta .drobne { color: rgba(255, 255, 255, .7); }

@media (max-width: 46rem) {
  .hero { min-height: 62vh; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.hero-maly {
  background: #1c1e21;
  color: var(--biel);
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 4px solid var(--pomarancz);
}
.hero-maly h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--biel);
  margin: 0;
}
.powrot { margin: 0 0 1rem; font-size: .95rem; }
.powrot a { color: var(--bursztyn); text-decoration: none; }
.powrot a:hover { color: var(--pomarancz); text-decoration: underline; }

.wrap-waski { max-width: 44rem; }

.wrap-waski h2 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
}
.wrap-waski h2:first-of-type { margin-top: 1.5rem; }

.kontakt-glowny {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 700;
  margin: 1.5rem 0 2.5rem;
}
.kontakt-glowny a { text-decoration: none; border-bottom: 3px solid var(--pomarancz); }

.dane-firmy {
  background: var(--jasny-szary);
  border-left: 5px solid var(--purpura);
  padding: 1.1rem 1.4rem;
  line-height: 1.8;
}

.do-uzupelnienia {
  background: #ffe9b8;
  color: #6b4a00;
  padding: .1em .5em;
  border: 1px dashed #c99a1e;
  font-size: .9em;
}

.stopka-nawigacja {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #55606a;
}
.stopka-nawigacja a {
  color: #d7dbdf;
  text-decoration: none;
  font-weight: 700;
}
.stopka-nawigacja a:hover { color: var(--pomarancz); }
.stopka-nawigacja a[aria-current="page"] {
  color: var(--bursztyn);
  border-bottom: 2px solid var(--bursztyn);
}

.formularz { margin: 2rem 0 3rem; max-width: 34rem; }

.pole { margin: 0 0 1.4rem; }
.pole label {
  display: block;
  font-weight: 700;
  margin-bottom: .4rem;
  font-size: .98rem;
}
.pole input,
.pole textarea {
  width: 100%;
  font: inherit;
  color: var(--grafit);
  padding: .7rem .85rem;
  border: 2px solid #c3cad1;
  border-radius: 2px;
  background: var(--biel);
}
.pole input:focus,
.pole textarea:focus {
  border-color: var(--purpura);
  outline: none;
}
.pole textarea { resize: vertical; min-height: 8rem; }

.wymagane { color: var(--purpura); }

.pole-zgoda {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin: 0 0 1.8rem;
  font-size: .93rem;
  line-height: 1.55;
}
.pole-zgoda input { margin-top: .3rem; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; }

.pulapka {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta-drugorzedna {
  background: transparent;
  color: var(--purpura);
  border: 2px solid var(--purpura);
}
.cta-drugorzedna:hover { background: var(--purpura); color: var(--biel); }

button.cta { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
button.cta-drugorzedna { border: 2px solid var(--purpura); }

.komunikat {
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-left: 5px solid;
  font-size: 1.02rem;
}
.komunikat-ok   { background: #e6f4ea; border-color: #2e7d4f; color: #17492e; }
.komunikat-blad { background: #fdecea; border-color: #b3261e; color: #7a1a14; }

.baner-zgody {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 200;
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  background: #1c1e21;
  color: #e4e7ea;
  padding: 1.25rem 1.5rem;
  border-top: 4px solid var(--pomarancz);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.baner-zgody-tresc { flex: 1 1 22rem; }
.baner-zgody p { margin: 0 0 .5rem; font-size: .95rem; line-height: 1.55; }
.baner-zgody p:last-child { margin-bottom: 0; }
.baner-zgody-drobne { color: #a7b0b8; font-size: .88rem !important; }
.baner-zgody a { color: var(--bursztyn); }

.baner-zgody-przyciski { display: flex; flex-wrap: wrap; gap: .75rem; }
.baner-zgody-przyciski .cta { padding: .7rem 1.3rem; font-size: .95rem; }
.baner-zgody .cta-drugorzedna { color: #e4e7ea; border-color: #6b757e; background: transparent; }
.baner-zgody .cta-drugorzedna:hover { background: #e4e7ea; color: #1c1e21; border-color: #e4e7ea; }

@media (max-width: 34rem) {
  .baner-zgody-przyciski { width: 100%; }
  .baner-zgody-przyciski .cta { flex: 1 1 auto; text-align: center; }
}

.referencja {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  max-width: 44rem;
  background: var(--biel);
  border-left: 5px solid var(--purpura);
  box-shadow: 0 2px 14px rgba(60, 67, 74, .08);
}

.referencja blockquote {
  margin: 0;
  quotes: "\201E" "\201D";
}
.referencja blockquote p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--grafit);
}

.referencja blockquote p::before { content: open-quote; }
.referencja blockquote p::after  { content: close-quote; }

.referencja figcaption {
  margin-top: 1rem;
  font-size: .93rem;
  line-height: 1.45;
}
.referencja figcaption strong { display: block; color: var(--purpura); }
.referencja figcaption span   { color: #6a737c; }

.referencja-w-faq {
  margin: 1.25rem 0 .25rem;
  padding: 1.1rem 1.35rem;
  background: rgba(255, 255, 255, .75);
  border-left-color: var(--pomarancz);
  box-shadow: none;
}
.referencja-w-faq blockquote p { font-size: .98rem; }

.link-rekomendacje { margin-top: 1.75rem; }
.link-rekomendacje a { color: var(--purpura); }

.rolki {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  max-width: 46rem;
}

.rolka { margin: 0; }

.rolka-klik {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .5rem;
  background: #000;
  box-shadow: 0 2px 10px rgba(60, 67, 74, .18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.rolka-klik:hover,
.rolka-klik:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(60, 67, 74, .28);
}
.rolka-klik:focus-visible { outline: 3px solid var(--niebieski); outline-offset: 2px; }

.rolka-klik img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.rolka-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.rolka-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-38%, -50%);
  border-style: solid;
  border-width: .6rem 0 .6rem 1rem;
  border-color: transparent transparent transparent var(--purpura);
}

.rolka-ramka {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: .5rem;
  background: #000;
}
.rolka-ramka iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.rolka-pod-zdjeciem {
  max-width: 18rem;
  margin: 1.25rem 0 0;
}
.rolka-pod-zdjeciem figcaption {
  margin-top: .6rem;
  font-size: .92rem;
  line-height: 1.45;
  color: #6a737c;
}
