/* stronaza1000.pl - landing oferty.
   Kierunek: cena i termin na wierzchu, motyw rachunku/kwitu (bo cała obietnica to
   brak ukrytych kosztów), ciemny grafit z bursztynowym akcentem. Świadomie inny
   od trzech demo - to marka wykonawcy, nie klienta. */

:root {
  --ink: #0e1116;
  --ink-2: #151a21;
  --card: #1a2029;
  --line: #262e39;
  --txt: #eef2f7;
  --muted: #96a1b1;
  --amber: #f4b942;
  --amber-soft: #ffd070;
  --green: #58d68d;
  --red: #f4796b;

  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --wrap: 1180px;
  --r: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--txt);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .num { font-family: var(--display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
a { color: inherit; }
p { margin: 0 0 16px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.amber { color: var(--amber); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- Nawigacja ----------------------------------------------------------- */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 17, 22, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo { font-family: var(--display); font-size: 19px; text-decoration: none; letter-spacing: -0.04em; }
.logo b { color: var(--amber); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--txt); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 15.5px;
  padding: 13px 24px; border-radius: 10px; text-decoration: none; cursor: pointer;
  /* bez tego przegladarka wstawia wlasne tlo przycisku (biale) i tekst znika */
  background: transparent;
  border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: #191203; }
.btn-amber:hover { background: var(--amber-soft); }
.btn-ghost { border-color: var(--line); color: var(--txt); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* --- Hero ---------------------------------------------------------------- */

.hero { position: relative; padding: clamp(44px, 7vw, 92px) 0 clamp(40px, 6vw, 76px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 520px; z-index: -1;
  background:
    radial-gradient(620px 320px at 22% 30%, rgba(244, 185, 66, .16), transparent 70%),
    radial-gradient(circle at center, rgba(238, 242, 247, .045) 1px, transparent 1.4px) 0 0 / 30px 30px;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--amber); margin-bottom: 18px; font-weight: 700; }
.hero h1 { font-size: clamp(38px, 6.4vw, 74px); margin-bottom: 22px; }
/* Cena i termin wyróżnione kolorem, nie podkreśleniem: pod tym krojem pasek
   podcinał znaki i psuł czytelność. Kolor niesie ten sam akcent, a nie zabiera
   światła literom. */
.hero h1 span {
  color: var(--amber);
  white-space: nowrap;
  text-shadow: 0 0 40px rgba(244, 185, 66, .28);
}
.hero .lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.hero-note { font-size: 14.5px; color: var(--muted); }

/* Kwit z ceną - motyw przewodni: nic nie doliczamy w trakcie */
.receipt {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 28px 22px; position: relative;
  box-shadow: 0 40px 80px -50px #000;
}
.receipt::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--r) var(--r) 0 0;
  background: repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 24px);
}
.receipt h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-family: var(--body); font-weight: 700; margin-bottom: 18px; }
.receipt-price {
  font-family: var(--display); font-size: clamp(52px, 7vw, 76px); line-height: 1;
  color: var(--amber); margin: 0 0 14px; letter-spacing: -0.04em;
}
.receipt-price span {
  display: block; font-family: var(--body); font-size: 16px; font-weight: 700;
  letter-spacing: .04em; color: var(--txt); margin-top: 10px;
}
.receipt-what { margin: 0 0 16px; font-size: 15.5px; }
.receipt-foot {
  margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.55;
  border-top: 1px dashed var(--line); padding-top: 14px;
}
.receipt-link {
  display: inline-block; color: var(--amber); font-size: 14px; font-weight: 700;
  text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s;
}
.receipt-link:hover { border-color: var(--amber); }

/* --- Pasek faktów -------------------------------------------------------- */

.facts { border-block: 1px solid var(--line); background: var(--ink-2); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts div { padding: 24px 20px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--display); font-size: clamp(19px, 2.4vw, 26px); color: var(--amber); margin-bottom: 4px; }
.facts span { font-size: 13.5px; color: var(--muted); }

/* --- Sekcje -------------------------------------------------------------- */

section { padding: clamp(50px, 7vw, 96px) 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.head h2 { font-size: clamp(28px, 4.2vw, 46px); margin-bottom: 14px; }
.head p { color: var(--muted); margin: 0; font-size: 17px; }

/* --- Co dostajesz -------------------------------------------------------- */

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px 26px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--amber); transform: translateY(-3px); }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card .ico { font-family: var(--display); font-size: 26px; color: var(--amber); display: block; margin-bottom: 12px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber);
  transform: rotate(-45deg);
}

/* --- Trzy dni ------------------------------------------------------------ */

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 52px; height: 2px; background: var(--amber); }
.step .day { font-family: var(--display); font-size: 13px; color: var(--amber); letter-spacing: .1em; }
.step h3 { font-size: 19px; margin: 8px 0 10px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* --- Realizacje ---------------------------------------------------------- */

.demos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.demo {
  display: block; text-decoration: none; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; background: var(--card);
  transition: border-color .2s, transform .2s;
}
.demo:hover { border-color: var(--amber); transform: translateY(-3px); }
.demo-top { height: 96px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.demo-body { padding: 18px 22px 22px; }
.demo-body h3 { font-size: 18px; margin-bottom: 6px; }
.demo-body p { color: var(--muted); font-size: 14.5px; margin: 0 0 12px; }
.demo-body span { color: var(--amber); font-size: 14px; font-weight: 700; }

/* --- Cennik -------------------------------------------------------------- */

.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.price-table th { font-weight: 500; color: var(--txt); }
.price-table td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table .sub { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 3px; }
.price-table tr.sum th, .price-table tr.sum td { border-bottom: 0; padding-top: 20px; font-size: 19px; }
.price-table tr.sum td { font-family: var(--display); color: var(--amber); font-size: 24px; }

/* --- FAQ ----------------------------------------------------------------- */

.faq { max-width: 820px; }
details { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); margin-bottom: 10px; }
details summary { cursor: pointer; list-style: none; padding: 17px 54px 17px 22px; font-weight: 700; position: relative; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--amber); font-size: 22px; }
details[open] summary::after { content: "-"; }
details .body { padding: 0 22px 18px; color: var(--muted); }

/* --- Formularz ----------------------------------------------------------- */

.form-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.form-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 34px); }
.form-box h3 { font-size: 23px; margin-bottom: 8px; }
.form-box .muted { font-size: 15px; }
label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
input, select, textarea {
  display: block; width: 100%; margin-top: 8px; font: inherit; font-size: 16px;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: #10151b; color: var(--txt); letter-spacing: 0; text-transform: none; font-weight: 400;
}
textarea { min-height: 92px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(244, 185, 66, .16); }
.consent { display: flex; gap: 11px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-msg { min-height: 22px; margin: 14px 0 0; font-size: 14.5px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }
.form-box .btn { width: 100%; margin-top: 4px; }

/* --- Brief (krok 2) ------------------------------------------------------ */

.brief { display: none; }
.brief.on { display: block; }
.brief-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.brief-head h3 { font-size: 22px; }
.progress { flex: 1; min-width: 140px; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--amber); width: 0; transition: width .35s; }
.brief-step { display: none; }
.brief-step.on { display: block; }
.brief-step > p.muted { margin-bottom: 18px; }
.opts { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0 18px; }
.opts button {
  font: inherit; font-size: 14.5px; cursor: pointer; background: #10151b;
  border: 1px solid var(--line); color: var(--txt); padding: 10px 16px; border-radius: 99px;
}
.opts button:hover { border-color: var(--amber); }
.opts button[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #191203; font-weight: 700; }
.brief-nav { display: flex; gap: 10px; margin-top: 22px; }
.brief-nav .btn { width: auto; flex: 1; }
.saved { font-size: 13px; color: var(--green); margin-top: 10px; min-height: 18px; }
.field-label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 18px 0 0; }

/* --- Stopka -------------------------------------------------------------- */

.footer { border-top: 1px solid var(--line); padding: 40px 0 60px; color: var(--muted); font-size: 14.5px; }
.footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
.footer a { color: var(--amber); text-decoration: none; }
.footer h4 { font-family: var(--display); font-size: 15px; color: var(--txt); margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }

/* --- Strony tekstowe (polityka, skąd dane) ------------------------------- */

.prose { max-width: 70ch; }
.prose h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.prose h2 { font-size: clamp(20px, 2.4vw, 26px); margin: 36px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--amber); }

/* --- Responsywność ------------------------------------------------------- */

@media (max-width: 980px) {
  .hero .wrap, .pricing, .form-wrap { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .nav-links { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brief-nav { flex-direction: column; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
