/* CursorPad: strona sprzedażowa. Ciemna góra, jasna reszta.
   Mobile first: style bazowe są dla telefonu, a szersze ekrany dokładają
   układ w @media (min-width). Progi: 640 px (duży telefon, tablet) i 900 px (desktop). */

:root {
  --ink: #08090a;
  --ink-2: #0e1012;
  --tile: #111316;
  --line-d: rgba(255, 255, 255, 0.11);
  --txt-d: #f3f3f1;
  --mut-d: #9b9da3;

  --white: #ffffff;
  --paper: #f3f2ef;
  --txt-l: #0b0c0d;
  --mut-l: #5d5f64;
  --line-l: rgba(11, 12, 13, 0.13);

  --accent: #e0122d;

  --wrap: 1200px;
  --gut: 16px;
  --r: 14px;
  --r-sm: 6px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt-d);
  font-family: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Typografia ---------- */

h1, h2 { font-stretch: 112%; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4.1vw, 3.35rem); }
h3 { font-stretch: 108%; font-weight: 500; font-size: clamp(1.3rem, 2.3vw, 1.95rem); letter-spacing: -0.02em; line-height: 1.14; text-wrap: balance; }
h4 { font-stretch: 106%; font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }

.eyebrow { font-stretch: 112%; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut-d); }
.sec--light .eyebrow, .sec--paper .eyebrow { color: var(--mut-l); }

.lead { font-size: clamp(1.02rem, 1.5vw, 1.24rem); color: #c6c7cb; max-width: 44em; text-wrap: pretty; }
.sub { font-size: clamp(1rem, 1.35vw, 1.16rem); color: var(--mut-d); max-width: 40em; text-wrap: pretty; }
.sec--light .sub, .sec--paper .sub { color: var(--mut-l); }

/* ---------- Przyciski ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-stretch: 106%; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 0.86rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.02rem; }
.btn--xl { min-height: 60px; width: 100%; font-size: 1.08rem; }
.btn--light { background: var(--txt-d); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--txt-l); color: #fff; }
.btn--dark:hover { background: #26282b; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--txt-d); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.7); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.was { font-weight: 400; opacity: 0.5; }
.price-inline:empty, .was:empty { display: none; }

/* ---------- Pasek promocji ---------- */

.promo {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 9px var(--gut);
  background: #000; border-bottom: 1px solid var(--line-d);
  font-size: 0.8rem; color: #d8d9dc; text-decoration: none;
}
.promo strong { color: #fff; font-weight: 600; }
.promo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(224, 18, 45, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(224, 18, 45, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 18, 45, 0); } }

.count { display: inline-flex; gap: 8px; font-variant-numeric: tabular-nums; color: var(--mut-d); }
.count b { color: #fff; font-weight: 600; margin-right: 1px; }
.count--lg { gap: 12px; font-size: 1.05rem; color: var(--mut-l); }
.count--lg b { color: var(--txt-l); font-size: 1.3rem; }

/* ---------- Nawigacja ---------- */
/* Na telefonie nie jest przyklejona: miejsce zajmuje dolny pasek kupna. */

.nav { position: relative; z-index: 50; background: rgba(8, 9, 10, 0.9); border-bottom: 1px solid var(--line-d); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.nav__links { display: none; gap: 28px; margin-left: auto; font-size: 0.92rem; }
.nav__links a { color: var(--mut-d); text-decoration: none; transition: color 0.2s; }
.nav__links a:hover { color: #fff; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-stretch: 116%; font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; color: #fff; text-decoration: none; }
.logo img { display: block; flex: none; }
.logo .logo__full { display: none; }
.logo__sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.24); }

/* ---------- Sekcje ---------- */

.sec { padding: clamp(56px, 10vw, 140px) 0; }
.sec--tight { padding-top: clamp(8px, 4vw, 56px); }
.sec--dark { background: var(--ink); color: var(--txt-d); }
.sec--light { background: var(--white); color: var(--txt-l); }
.sec--paper { background: var(--paper); color: var(--txt-l); }

.head { display: grid; gap: 14px; justify-items: start; text-align: left; margin-bottom: clamp(28px, 6vw, 72px); }

/* ---------- Hero ---------- */
/* Telefon: modele, nagłówek, opis, klip, przyciski. Desktop: klip na końcu. */

.hero { padding-top: clamp(28px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); background: radial-gradient(120% 70% at 50% 0%, #16191d 0%, var(--ink) 62%); }
.hero__in { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; text-align: left; }
.hero__in > .media--hero { order: 1; width: 100%; margin-top: 4px; }
.hero__cta { order: 2; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.hero__cta .btn { width: 100%; }
.hero__cta .btn--light { display: none; } /* na telefonie ten przycisk zastepuje dolny pasek kupna */

.fits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; text-decoration: none; }
.fits__label { font-stretch: 112%; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut-d); }
.fits__chips { order: 1; display: flex; gap: 6px; width: 100%; }
.fits__chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 9px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 4px; font-size: 0.78rem; font-variant-numeric: tabular-nums; color: #c6c7cb; white-space: nowrap; transition: border-color 0.2s var(--ease); }
.fits__chip b { font-stretch: 114%; font-weight: 600; color: #fff; letter-spacing: 0.02em; }
.fits:hover .fits__chip { border-color: rgba(255, 255, 255, 0.45); }

.assure { order: 3; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.84rem; color: var(--mut-d); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure li::before { content: ""; width: 11px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(-45deg) translateY(-2px); opacity: 0.75; }

/* ---------- Kafelki zalet ---------- */

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.facts li { display: grid; gap: 2px; align-content: start; padding: 14px; background: var(--tile); border: 1px solid var(--line-d); border-radius: 12px; }
.facts b { font-stretch: 108%; font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; }
.facts span { font-size: 0.84rem; line-height: 1.4; color: var(--mut-d); }
.ico { width: 24px; height: 24px; margin-bottom: 12px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ico .ico__cut { stroke: var(--tile); stroke-width: 5; }

/* ---------- Media (miejsca na klipy) ---------- */

.media {
  position: relative; overflow: hidden;
  border-radius: var(--r);
  background: radial-gradient(90% 90% at 30% 20%, #1b1f24 0%, #0c0e10 70%);
  border: 1px solid var(--line-d);
  isolation: isolate;
}
.media[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.media[data-ratio="16x10"] { aspect-ratio: 16 / 10; }
.media[data-ratio="4x3"] { aspect-ratio: 4 / 3; }
.media[data-ratio="duet"] { aspect-ratio: 32 / 31; } /* ekran nad pokretlem: 1280 x 1240 */
.media--hero { border-radius: clamp(14px, 2vw, 22px); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.04); }
.sec--light .media, .sec--paper .media { border-color: transparent; }
/* Klip "ekran nad pokretlem" ma wlasne tlo w kolorze strony, wiec po zaladowaniu ramka znika,
   a miekki cien w kolorze tla wtapia krawedzie klipu w gradient sekcji. */
.media--duet { width: 100%; max-width: 560px; margin-inline: auto; }
.media--duet.is-loaded { background: var(--ink); border-color: transparent; border-radius: 0; overflow: visible; box-shadow: 0 0 22px 8px var(--ink); }

.media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s var(--ease); z-index: 1; }
.media.is-loaded video { opacity: 1; }
.media.is-loaded .media__ph { opacity: 0; }

.media__ph { position: absolute; inset: 0; display: grid; align-content: end; justify-items: start; text-align: left; gap: 4px; padding: clamp(12px, 2.2vw, 24px); color: #fff; transition: opacity 0.4s; }
.media__tag { font-stretch: 112%; font-size: 0.64rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.media__what { font-size: 0.84rem; line-height: 1.4; color: rgba(255, 255, 255, 0.8); max-width: 34em; }
.media__cursor { position: absolute; left: 50%; top: 42%; width: clamp(34px, 5vw, 60px); aspect-ratio: 1; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.75); background: rgba(190, 195, 200, 0.14); animation: drift 9s var(--ease) infinite; }
@keyframes drift {
  0%, 100% { transform: translate(-90%, 30%); }
  25% { transform: translate(120%, -60%); }
  32% { transform: translate(120%, -60%) scale(0.86); }
  39% { transform: translate(120%, -60%); }
  65% { transform: translate(-10%, 60%); }
  85% { transform: translate(-160%, -40%); }
}

/* ---------- Przed i po ---------- */

.versus { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.versus__col { display: grid; gap: 10px; align-content: start; }
.versus__label { order: -1; font-stretch: 112%; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mut-d); }
.versus__col:not(.versus__col--win) .media { filter: saturate(0.6) brightness(0.85); }
.versus__col--win .versus__label { color: #fff; }
.versus__text { font-stretch: 106%; font-size: clamp(1.1rem, 1.8vw, 1.45rem); letter-spacing: -0.015em; line-height: 1.25; color: var(--mut-d); }
.versus__col--win .versus__text { color: var(--txt-d); }

/* ---------- Funkcje ---------- */

.feat { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line-d); }
.feat__body { display: grid; gap: 10px; }
.feat__body p { color: var(--mut-d); max-width: 30em; }
.feat__no { font-stretch: 120%; font-weight: 300; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--mut-d); }
.note { font-size: 0.86rem; padding-left: 12px; border-left: 1px solid var(--line-d); }
.media-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

/* Telefon: trzy mniejsze funkcje jako karty przesuwane w bok, następna wystaje zza krawędzi. */
.details { display: flex; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 4px var(--gut) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.details::-webkit-scrollbar { display: none; }
.detail { flex: 0 0 80%; scroll-snap-align: start; display: grid; gap: 8px; align-content: start; }
.detail .media { margin-bottom: 8px; }
.detail p { color: var(--mut-d); font-size: 0.95rem; }
/* Punkt bez klipu: w karuzeli na telefonie tekst stoi w polowie wysokosci sasiednich kafli. */
.detail--text { align-content: center; }

/* ---------- Bez sprzętu ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 28px; }
.split__text { display: grid; gap: 16px; }

.ticks { display: grid; gap: 12px; margin-top: 6px; }
.ticks li { position: relative; padding-left: 30px; color: var(--mut-l); }
.ticks li b { color: var(--txt-l); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 13px; height: 7px; border-left: 2px solid var(--txt-l); border-bottom: 2px solid var(--txt-l); transform: rotate(-45deg); }
.ticks--compact { gap: 9px; font-size: 0.96rem; }
.ticks--compact li { color: var(--txt-l); }

/* ---------- Zgodność ---------- */

.models { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; background: var(--line-l); border: 1px solid var(--line-l); border-radius: var(--r); overflow: hidden; }
.model { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 14px; padding: 18px; background: var(--white); }
.model__name { font-stretch: 118%; font-weight: 500; font-size: clamp(2.2rem, 4.5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.model__gen { font-size: 0.88rem; color: var(--mut-l); }
.model__yrs { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 14px; }
.model__yrs div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid var(--line-l); }
.model__yrs dt { font-size: 0.86rem; color: var(--mut-l); }
.model__yrs dd { margin: 0; font-stretch: 108%; font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.models__note { margin-top: 14px; font-size: 0.88rem; color: var(--mut-l); }

.check { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 20px; padding: 22px; background: var(--ink); color: var(--txt-d); border-radius: var(--r); }
.check__art { width: 104px; color: #fff; }
.check__body { display: grid; gap: 14px; }
.steps-inline { display: grid; gap: 10px; counter-reset: s; }
.steps-inline li { position: relative; padding-left: 34px; color: #c9cace; counter-increment: s; }
.steps-inline li::before { content: counter(s); position: absolute; left: 0; top: 0.1em; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 50%; font-size: 0.74rem; font-weight: 600; color: #fff; }
.fineprint { font-size: 0.88rem; color: var(--mut-d); }
.fineprint b { color: var(--txt-d); font-weight: 600; }

/* ---------- Instalacja ---------- */

.steps { display: grid; grid-template-columns: minmax(0, 1fr); }
.steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding: 18px 0; border-top: 1px solid var(--line-l); }
.steps li:last-child { border-bottom: 1px solid var(--line-l); }
.steps__no { grid-row: 1 / span 2; font-stretch: 122%; font-weight: 300; font-size: 2.3rem; line-height: 1; letter-spacing: -0.03em; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--mut-l); }
.support { margin-top: 24px; color: var(--mut-l); }
.support a { color: var(--txt-l); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Oferta ---------- */

.offer { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 32px; }
.offer__card { display: grid; gap: 18px; padding: 22px; background: var(--white); border: 1px solid var(--line-l); border-radius: clamp(14px, 2vw, 22px); box-shadow: 0 30px 80px -50px rgba(11, 12, 13, 0.45); }
.offer__top { display: grid; gap: 8px; justify-items: start; }
.offer__for { color: var(--mut-l); }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: 4px; background: var(--accent); color: #fff; font-stretch: 110%; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.offer__now { font-stretch: 116%; font-weight: 500; font-size: clamp(3.4rem, 8vw, 5.4rem); letter-spacing: -0.04em; line-height: 0.95; }
.offer__was { color: var(--mut-l); font-size: 1.05rem; }
.offer__was s { margin-right: 6px; }
.offer__count { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; padding: 14px 0; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); color: var(--mut-l); font-size: 0.95rem; }
.offer__secure { margin-top: -6px; font-size: 0.84rem; color: var(--mut-l); text-align: center; }

.offer__side { display: grid; gap: 24px; }
.guarantee { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.guarantee__days { display: grid; place-items: center; width: 60px; height: 60px; border: 1.5px solid var(--txt-l); border-radius: 50%; font-stretch: 118%; font-weight: 500; font-size: 1.4rem; letter-spacing: -0.03em; }
.guarantee h3 { font-size: 1.25rem; margin-bottom: 8px; }
.guarantee p { color: var(--mut-l); }
.side-list { display: grid; }
.side-list li { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line-l); }
.side-list b { font-weight: 600; }
.side-list span { color: var(--mut-l); font-size: 0.96rem; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
.faq .head { margin-bottom: 16px; }
.faq__list { border-bottom: 1px solid var(--line-l); }
.faq details { border-top: 1px solid var(--line-l); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-stretch: 106%; font-weight: 500; font-size: 1.04rem; letter-spacing: -0.01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; margin-right: 4px; border-right: 1.5px solid var(--txt-l); border-bottom: 1.5px solid var(--txt-l); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 20px; color: var(--mut-l); max-width: 44em; }

/* ---------- Końcowe CTA i stopka ---------- */

.final { background: radial-gradient(110% 90% at 50% 100%, #171a1e 0%, var(--ink) 65%); }
.final__in { display: grid; gap: 24px; justify-items: center; text-align: center; }
.final .btn { width: 100%; }
.final .assure { justify-content: center; }

.foot { background: #000; border-top: 1px solid var(--line-d); padding: 36px 0 120px; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: center; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; }
.foot__links a { color: var(--mut-d); text-decoration: none; padding: 6px 0; }
.foot__links a:hover { color: #fff; }
.foot__legal { font-size: 0.78rem; color: #6f7177; max-width: 70em; }

/* ---------- Dolny pasek kupna (telefon) ---------- */

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(8, 9, 10, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-d); transform: translateY(110%); transition: transform 0.35s var(--ease); }
.buybar.is-on { transform: none; }
.buybar__txt { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
.buybar__price { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--mut-d); }
.buybar__price b { font-stretch: 114%; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; color: #fff; }
.buybar__price s { opacity: 0.7; }
.buybar__price em { padding: 3px 6px; border-radius: 3px; background: var(--accent); color: #fff; font-style: normal; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.buybar__sub { display: flex; gap: 6px; font-size: 0.76rem; color: var(--mut-d); }
.buybar__sub .count { gap: 5px; }
.buybar .btn { flex: none; padding: 0 18px; }

/* ---------- Wejścia przy przewijaniu ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Po promocji ---------- */

.sale-over [data-sale] { display: none !important; }

/* ========== Od 640 px: duży telefon poziomo, tablet ========== */

@media (min-width: 640px) {
  .logo .logo__mark { display: none; }
  .logo .logo__full { display: block; }

  :root { --gut: 24px; }
  body { font-size: 17px; }
  .promo { font-size: 0.86rem; }

  .hero__cta { flex-direction: row; flex-wrap: wrap; width: auto; }
  .hero__cta .btn { width: auto; }
  .final .btn { width: auto; }

  .fits { gap: 8px 12px; }
  .fits__chips { order: 0; width: auto; }
  .fits__chip { padding: 6px 11px; font-size: 0.82rem; }

  .versus { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); }
  .media-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
  .detail { flex-basis: 46%; }

  .models { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .model { grid-template-columns: minmax(0, 1fr); padding: clamp(20px, 3vw, 34px); }
  .model__gen { margin-top: 8px; }

  .guarantee__days { width: 76px; height: 76px; font-size: 1.7rem; }
  .offer__card { padding: clamp(24px, 4vw, 48px); gap: 22px; }
}

/* ========== Od 900 px: desktop ========== */

@media (min-width: 900px) {
  html { scroll-padding-top: 76px; }

  .nav { position: sticky; top: 0; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
  .nav__in { height: 64px; gap: 28px; }
  .nav__links { display: flex; }

  .eyebrow, .fits__label, .versus__label { font-size: 0.74rem; }
  .head { gap: 18px; }
  .head:not(.head--left) { justify-items: center; text-align: center; }

  /* Hero w dwoch kolumnach: tekst po lewej, klip "ekran nad pokretlem" po prawej.
     Puste wiersze 1fr na gorze i dole trzymaja tekst na wysokosci srodka klipu. */
  .hero { background: radial-gradient(70% 80% at 22% 0%, #16191d 0%, var(--ink) 64%); }
  .hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); grid-template-rows: 1fr auto auto auto auto auto 1fr; column-gap: clamp(32px, 5vw, 76px); row-gap: 20px; justify-items: start; text-align: left; }
  .hero__in > .fits { grid-area: 2 / 1; }
  .hero__in > h1 { grid-area: 3 / 1; font-size: clamp(2.3rem, 4.1vw, 3.5rem); }
  .hero__in > .lead { grid-area: 4 / 1; }
  .hero__in > .hero__cta { grid-area: 5 / 1; margin-top: 8px; }
  .hero__in > .assure { grid-area: 6 / 1; }
  .hero__in > .media--hero { grid-area: 1 / 2 / -1 / 3; align-self: center; margin-top: 0; max-width: none; }
  .hero__cta .btn--light { display: inline-flex; }
  .assure { font-size: 0.88rem; gap: 6px 22px; }

  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
  .facts li { padding: 20px; }
  .facts b { font-size: 1.08rem; }
  .facts span { font-size: 0.9rem; }

  .feat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); padding: clamp(28px, 4.5vw, 60px) 0; }
  .feat--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feat--flip > :first-child { order: 2; }
  .feat--wide { grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
  .feat--wide > :first-child { order: 2; }
  .feat--wide .feat__body { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 80px); align-items: end; }
  .feat--wide .feat__no { grid-column: 1 / -1; }
  .feat--wide .feat__body h3 { grid-row: 2 / span 2; }
  .feat__body { gap: 14px; }

  /* Dwa kafle z klipami obok siebie, pod nimi punkt bez klipu na cala szerokosc (tytul po lewej, opis po prawej). */
  .details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); margin: 0; padding: clamp(28px, 4.5vw, 60px) 0 0; overflow: visible; border-top: 1px solid var(--line-d); }
  .detail--text { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 5vw, 80px); align-items: start; padding-top: clamp(16px, 2.5vw, 32px); border-top: 1px solid var(--line-d); }

  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); }
  .split__text { gap: 20px; }

  .check { grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); margin-top: clamp(16px, 2.5vw, 32px); padding: clamp(24px, 4vw, 48px); }
  .check__art { width: auto; }

  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
  .steps li { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding: 22px 0 0; border-top: 1px solid var(--txt-l); }
  .steps li:last-child { border-bottom: 0; }
  .steps__no { grid-row: auto; font-size: clamp(2.6rem, 5vw, 4rem); }
  .steps h3 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); }
  .support { margin-top: clamp(28px, 4vw, 48px); }

  .offer { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); }
  .offer__side { gap: clamp(24px, 3vw, 40px); padding-top: clamp(0px, 2vw, 24px); }

  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
  .faq .head { margin-bottom: 0; }
  .faq summary { font-size: 1.1rem; }
  .faq details p { padding-right: 40px; }

  .final__in { gap: 28px; }

  .foot { padding: 40px 0 48px; }
  .foot__in { grid-template-columns: auto minmax(0, 1fr); gap: 20px 40px; }
  .foot__links { justify-content: flex-end; }
  .foot__legal { grid-column: 1 / -1; font-size: 0.8rem; }

  .buybar { display: none; }
}

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

/* ---------- Strony tekstowe: regulamin, prywatność, zwroty, podziękowanie, błąd ---------- */
.doc { background: var(--white); color: var(--txt-l); padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); min-height: 62vh; }
.doc__in { max-width: 46rem; }
.doc h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 12px; }
.doc__meta { color: var(--mut-l); font-size: 0.92rem; margin-bottom: clamp(24px, 4vw, 40px); }
.doc h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; margin: 38px 0 10px; }
.doc p, .doc li { color: #2b2d31; line-height: 1.65; text-wrap: pretty; }
.doc p + p, .doc ul + p, .doc ol + p { margin-top: 12px; }
.doc ul, .doc ol { margin-top: 10px; padding-left: 1.25em; display: grid; gap: 6px; }
.doc ul { list-style: disc; } .doc ol { list-style: decimal; }
.doc a { color: var(--txt-l); font-weight: 600; text-underline-offset: 3px; }
.doc .btn { color: #fff; text-decoration: none; margin-top: 28px; }
.doc .todo { background: #ffe08a; padding: 0 5px; border-radius: 3px; }
.doc__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--mut-l); max-width: 36em; }
.page-doc { display: flex; flex-direction: column; min-height: 100vh; }
.page-doc .doc { flex: 1; }
.foot--doc { padding-bottom: 36px; }
