/* ==========================================================================
   Kampania "7 DNI" — landing decyzji o zobowiązaniu do powrotu
   Kancelaria Radców Prawnych Bartosz Krajewski
   Tokeny zgodne z prawoiadministracja.pl: granat #13223f, złoto #b5905c
   ========================================================================== */

:root {
  --navy: #13223f;
  --navy-deep: #0c1729;
  --navy-soft: #1c3054;
  --gold: #b5905c;
  --gold-light: #d4b278;
  --gold-dim: #9c7b4f;
  --cream: #faf8f5;
  --paper: #ffffff;
  --ink: #13223f;
  --ink-soft: #5a6473;
  --ink-mute: #948a78;
  --line: #13223f1f;
  --line-gold: #b5905c33;
  --alert: #b23b3b;
  --ok: #2f7a4f;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 18px 50px -24px #13223f4d;
  --shadow-soft: 0 2px 16px -8px #13223f26;
  --maxw: 1140px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-display: "Outfit", "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans Georgian", sans-serif;
  --font-body: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans Georgian", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section--tight { padding: 48px 0; } }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--gold-dim); }

.lead { font-size: 19px; color: var(--ink-soft); max-width: 60ch; }
.lead--light { color: #ffffffb8; }

/* ---------- Topbar --------------------------------------------------- */

.topbar {
  position: sticky; top: 0; z-index: 60;
  background: #13223fee;
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid #ffffff14;
}
.topbar__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
/* Logo to ten sam plik i te same wymiary co w nawigacji prawoiadministracja.pl
   (TheNav: 48 px / 34 px na mobile). Wcześniej landing miał tu tylko napis złożony
   krojem strony — obok reszty serwisu wyglądał jak inna firma. */
.topbar__brand { display: block; line-height: 0; }
.topbar__logo {
  height: 48px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .topbar__logo { height: 34px; max-width: 46vw; object-fit: contain; }
}
.topbar__spacer { flex: 1; }
.topbar__lang {
  display: flex; align-items: center; gap: 2px;
  flex-wrap: wrap;
}
.topbar__lang a {
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #ffffff8c; padding: 6px 7px; border-radius: var(--radius);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.topbar__lang a:hover { color: #fff; background: #ffffff14; }
.topbar__lang a[aria-current="true"] { color: var(--navy); background: var(--gold); }
.topbar__call {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--navy);
  background: var(--gold); padding: 10px 18px; border-radius: var(--radius);
  transition: background .2s var(--ease);
  white-space: nowrap;
}
.topbar__call:hover { background: var(--gold-light); }

/* Przełącznik języka BYŁ tu chowany (`display: none`) poniżej 860 px — czyli na
   telefonach, skąd idzie większość ruchu z reklam i z wyników mobilnych. Przy
   dziewięciu wersjach językowych to znaczyło, że cudzoziemiec, który trafił na
   niewłaściwą wersję, nie miał jak jej zmienić. Zamiast chować: łamiemy pasek na
   dwa rzędy i dajemy języki jako przewijany poziomo rząd pod logo. */
@media (max-width: 860px) {
  .topbar__inner { flex-wrap: wrap; gap: 12px; padding-bottom: 8px; }
  .topbar__call { order: 2; }
  .topbar__lang {
    order: 3;
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 4px;
    border-top: 1px solid #ffffff14;
  }
  .topbar__lang::-webkit-scrollbar { display: none; }
  .topbar__lang a { flex: none; }
}
@media (max-width: 420px) {
  .topbar__call { font-size: 13px; padding: 9px 14px; }
}

/* ---------- Buttons -------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: .01em;
  padding: 16px 30px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease), color .22s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: #ffffff40; color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-soft); }
.btn--outline { border-color: var(--line); color: var(--navy); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-dim); }
.btn--wide { width: 100%; }
.btn--wa { background: #25d366; color: #04331a; }
.btn--wa:hover { background: #3ee07a; }
.btn--fb { background: #0866ff; color: #fff; }
.btn--fb:hover { background: #3a86ff; }

/* ---------- Hero ----------------------------------------------------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 82% 0%, #1c3054 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 88px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 60px 0 68px; } }

/* Wielka cyfra i podtytuł siedzą WEWNĄTRZ <h1> — nagłówek strony brzmi wtedy
   „7 dni na odwołanie… Nakaz opuszczenia Polski…", czyli zawiera frazę, na którą
   ta strona ma rankować. Wcześniej cyfra była osobnym <div>, a w H1 zostawało samo
   „dni na odwołanie. Nie 14, nie 30." — bez ani jednego słowa kluczowego. */
.hero__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(84px, 15vw, 168px);
  font-weight: 700; line-height: .82; letter-spacing: -.05em;
  background: linear-gradient(160deg, #fff 20%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  margin-bottom: 20px;
}
.hero__h1Main { display: block; }
.hero__h1Sub {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: #ffffffb0;
  max-width: 46ch;
}
.hero__lead { font-size: 19px; color: #ffffffc4; max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__note { font-size: 14px; color: #ffffff8a; }

.trustbar {
  margin-top: 44px; padding-top: 26px; border-top: 1px solid #ffffff1f;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
@media (max-width: 640px) { .trustbar { grid-template-columns: 1fr; gap: 16px; } }
.trustbar__item { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #ffffffb0; line-height: 1.45; }
.trustbar__item b { color: #fff; font-weight: 600; }
.trustbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex: none; }

/* ---------- Kalkulator terminu --------------------------------------- */

.calc {
  background: #ffffff0a;
  border: 1px solid #ffffff26;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.calc__title { font-size: 20px; color: #fff; margin-bottom: 8px; }
.calc__lead { font-size: 14px; color: #ffffff9e; margin-bottom: 20px; }
.calc__label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; font-weight: 600; }
.calc__input {
  width: 100%; font-family: var(--font-body); font-size: 17px; color: #fff;
  background: #0c1729; border: 1px solid #ffffff30; border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 16px;
  color-scheme: dark;
}
.calc__input:focus { outline: none; border-color: var(--gold); }
.calc__out { display: none; }
.calc__out.is-visible { display: block; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.calc__days {
  font-family: var(--font-display); font-size: 60px; font-weight: 700; line-height: 1;
  letter-spacing: -.04em; margin-bottom: 4px;
}
.calc__days--ok { color: var(--gold-light); }
.calc__days--warn { color: #e7a13c; }
.calc__days--alert { color: #ff6b6b; }
.calc__daysLabel { font-size: 14px; color: #ffffffb0; margin-bottom: 14px; }
.calc__deadline { font-size: 14px; color: #fff; border-top: 1px solid #ffffff1f; padding-top: 14px; margin-bottom: 18px; }
.calc__deadline b { color: var(--gold); }
.calc__disc { font-size: 12px; line-height: 1.5; color: #ffffff73; margin-top: 14px; }

/* ---------- Blocks --------------------------------------------------- */

.band { background: var(--cream); }
.band--navy { background: var(--navy); color: #fff; }
.band--navy h2, .band--navy h3 { color: #fff; }

.head { max-width: 760px; margin-bottom: 52px; }
.head h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 16px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-soft);
}
.card--onNavy { background: #ffffff0a; border-color: #ffffff26; box-shadow: none; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--ink-soft); }
.card--onNavy p { color: #ffffffb0; }
.card__icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  margin-bottom: 18px;
}

/* ---------- Kroki ---------------------------------------------------- */

.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 28px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 780px) {
  .step { grid-template-columns: 54px 1fr; gap: 18px; }
  .step__meta { grid-column: 2; }
}
.step__n {
  font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: .9;
  color: var(--gold); opacity: .55; letter-spacing: -.04em;
}
.step__body h3 { font-size: 21px; margin-bottom: 10px; }
.step__body p { color: var(--ink-soft); font-size: 16px; max-width: 62ch; }
.step__meta {
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy); background: #b5905c26; border-radius: 100px; padding: 7px 14px; white-space: nowrap;
}

/* ---------- Lista przesłanek ----------------------------------------- */

.grounds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 780px) { .grounds { grid-template-columns: 1fr; } }
.ground { background: var(--paper); padding: 26px 28px; }
.ground h3 { font-size: 17px; margin-bottom: 8px; }
.ground p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Nazewnictwo decyzji -------------------------------------- */

.naming { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .naming { grid-template-columns: 1fr; gap: 16px; } }
.naming__item {
  /* Karty na kremowo, bo sekcja stoi na białym tle między dwiema jasnymi sekcjami —
     na białym na białym rozpływałyby się w stronie. Odwrotnie niż w `.ground`, gdzie
     białe karty odcinają się od kremowego pasa. */
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}
.naming__item h3 { font-size: 17px; margin-bottom: 8px; }
.naming__item p { font-size: 15px; color: var(--ink-soft); }
.naming__foot {
  margin-top: 26px; font-size: 15px; color: var(--ink-soft);
  max-width: 70ch;
}

/* ---------- Proof ---------------------------------------------------- */

.proof { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; gap: 34px; } }
.proof__num {
  font-family: var(--font-display); font-size: clamp(72px, 10vw, 120px); font-weight: 700;
  line-height: .9; letter-spacing: -.05em; color: var(--gold);
}
.proof__numLabel { font-size: 15px; color: #ffffffb0; margin-top: 10px; max-width: 26ch; }

.vault {
  margin-top: 34px; border-left: 2px solid var(--gold); padding: 4px 0 4px 22px;
}
.vault h3 { font-size: 18px; margin-bottom: 8px; }
.vault p { font-size: 15px; color: #ffffffb0; }

/* ---------- Case studies --------------------------------------------- */

.case { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.case__tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dim); font-weight: 700; margin-bottom: 14px; }
.case dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 6px; }
.case dd { margin: 0 0 16px; font-size: 15.5px; color: var(--ink-soft); }
.case dd:last-child { margin-bottom: 0; }

/* ---------- Cena ----------------------------------------------------- */

.price {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line-gold); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.price__main { padding: 44px; }
.price__side { padding: 44px; background: var(--cream); border-left: 1px solid var(--line); }
@media (max-width: 860px) { .price__side { border-left: none; border-top: 1px solid var(--line); } }
.price__tag { font-family: var(--font-display); font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price__tag small { font-size: 20px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.price__label { font-size: 15px; color: var(--ink-soft); margin: 10px 0 26px; }
.price__list { list-style: none; margin: 0 0 30px; padding: 0; }
.price__list li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15.5px; }
.price__list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.price__note { font-size: 13.5px; color: var(--ink-mute); margin-top: 18px; }
.price__side h3 { font-size: 19px; margin-bottom: 12px; }
.price__side p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }

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

.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 30px;
  width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 34px; }
.faq details p { padding: 0 20px 24px 0; color: var(--ink-soft); font-size: 16px; }

/* ---------- Kontakt -------------------------------------------------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 36px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: #fff;
  background: #ffffff0d; border: 1px solid #ffffff2e; border-radius: var(--radius); padding: 14px 15px;
  color-scheme: dark;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select option { background: var(--navy-deep); }
/* Honeypot — poza ekranem, a nie `display:none`: część botów pomija pola ukryte
   displayem, ale wypełnia te odsunięte. Dla czytników ekranu wycięte `aria-hidden`
   w znaczniku i `tabindex="-1"`, więc nie wchodzi w kolejność tabulacji. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: #ffffff96; margin: 18px 0 22px; }
.consent input { margin-top: 3px; accent-color: var(--gold); width: 16px; height: 16px; flex: none; }
.channels { display: grid; gap: 12px; margin-top: 26px; }
.formNote { font-size: 13px; color: #ffffff8a; margin-top: 14px; }
.formOk { display: none; padding: 18px; border: 1px solid var(--gold); border-radius: var(--radius); color: #fff; font-size: 15.5px; }
.formOk.is-visible { display: block; }

/* ---------- Footer --------------------------------------------------- */

.footer { background: var(--navy-deep); color: #ffffff8f; padding: 56px 0 40px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr; gap: 26px; } }
.footer h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer a:hover { color: #fff; }
.footer__legal { border-top: 1px solid #ffffff1a; padding-top: 24px; font-size: 12.5px; line-height: 1.6; color: #ffffff70; }

/* ---------- Sticky mobile CTA ---------------------------------------- */

.stickyCta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #0c1729f2; backdrop-filter: blur(10px); border-top: 1px solid #ffffff1f;
}
.stickyCta .btn { flex: 1; padding: 14px 12px; font-size: 15px; }
@media (max-width: 720px) { .stickyCta { display: flex; } body { padding-bottom: 78px; } }

/* ---------- Utility -------------------------------------------------- */

/* Ukrywamy tylko gdy JS działa — inaczej strona bez skryptu byłaby pusta. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
