/* ==========================================================================
   Zarobki z domu — design system
   Kolory marki: #261A23 (ink) / #944F62 (primary) / #FBF6F0 (paper) / #9BBFCC (sky)
   ========================================================================== */

:root{
  --ink: #261A23;
  --ink-soft: #4a3843;
  --primary: #944F62;
  --primary-dark: #7a3f4f;
  --primary-light: #b47186;
  --paper: #FBF6F0;
  --paper-alt: #f3e9e0;
  --sky: #9BBFCC;
  --sky-dark: #7ea6b6;
  --white: #ffffff;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(38, 26, 35, 0.06);
  --shadow-md: 0 12px 32px rgba(38, 26, 35, 0.10);
  --shadow-lg: 0 24px 60px rgba(38, 26, 35, 0.16);

  --container: 1160px;
  --font-head: "Lora", "Georgia", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--ink);
}
h1{ font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -0.01em; }
h2{ font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3{ font-size: 1.3rem; }
p{ margin: 0 0 1em; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-center{ text-align: center; }
.muted{ color: var(--ink-soft); }
.eyebrow{
  display: inline-flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(148, 79, 98, 0.35);
}
.btn-primary:hover{ background: var(--primary-dark); box-shadow: 0 14px 34px rgba(148, 79, 98, 0.42); }
.btn-dark{
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 28px rgba(38, 26, 35, 0.3);
}
.btn-dark:hover{ background: #150e13; }
.btn-outline{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover{ background: var(--ink); color: var(--paper); }
.btn-outline-light{
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline-light:hover{ background: rgba(255,255,255,.14); border-color: #fff; }
.btn-light{
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.btn-light:hover{ background: #fff; }
.btn-block{ width: 100%; }

/* ---------- password gate ---------- */
.gate-form{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  max-width: 480px;
}
.gate-input{
  flex: 1 1 220px;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.gate-input::placeholder{ color: var(--ink-soft); }
.gate-input:focus{ outline: 3px solid var(--sky); }
.gate-error{
  margin-top: 16px;
  display: inline-flex;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(0,0,0,0.22);
  color: #ffe1da;
  font-weight: 600;
  font-size: .9rem;
}
.gate-hint{ opacity: .75; font-size: .85rem; margin-top: 22px; }

/* ---------- navbar ---------- */
.navbar{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 240, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(38,26,35,0.06);
}
.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark{
  width: 34px;
  height: 34px;
  position: relative;
  overflow: hidden;
  flex: 0 0 34px;
}
.logo-mark img{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 42px;
  max-width: none;
  transform: translate(-50%, -50%);
}
.nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a, .nav-links .nav-scroll{
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-links .nav-scroll{
  appearance:none;
  background:transparent;
  border:0;
  padding:0;
  font-family:inherit;
  cursor:pointer;
}
.nav-links a:hover, .nav-links .nav-scroll:hover{ color: var(--primary); }
.nav-cta{ display: flex; align-items: center; gap: 18px; }
.nav-toggle{
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(38,26,35,.15);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  padding: 48px 0 110px;
}
.hero-blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .55;
  z-index: 0;
}
.hero-blob.b1{ width: 480px; height: 480px; top: -180px; right: -140px; background: radial-gradient(circle at 30% 30%, var(--sky), transparent 70%); }
.hero-blob.b2{ width: 380px; height: 380px; bottom: -200px; left: -120px; background: radial-gradient(circle at 60% 40%, var(--primary-light), transparent 70%); opacity: .35; }
.hero .container{ position: relative; z-index: 1; }
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}
.hero-copy p.lead{ font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.hero-stats{
  display: flex;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.hero-stat strong{ display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--primary); }
.hero-stat span{ font-size: .85rem; color: var(--ink-soft); }

.hero-visual{
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink) 0%, var(--primary-dark) 55%, var(--primary) 100%);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual .visual-card{
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  backdrop-filter: blur(6px);
}
.hero-visual .visual-card + .visual-card{ margin-top: 14px; }
.hero-visual .visual-card strong{ display: block; font-size: 1.4rem; font-family: var(--font-head); color: var(--sky); }
.hero-visual .visual-card span{ font-size: .82rem; opacity: .85; }
.hero-image{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- sections ---------- */
.section{ padding: 48px 0; }
.section-alt{ background: var(--paper-alt); }
.section-dark{ background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3{ color: var(--paper); }
.section-head{ max-width: 640px; margin: 0 auto 30px; text-align: center; }
.section-head.left{ margin: 0 0 30px; text-align: left; }

/* ---------- contact ---------- */
.contact-section{ background: var(--paper-alt); }
.contact-grid{ display:flex; justify-content:center; gap:18px; max-width:760px; margin:0 auto; }
.contact-grid .contact-card{ flex:1 1 0; }
.contact-card{
  display:grid;
  grid-template-columns:48px 1fr;
  align-items:center;
  gap:16px;
  padding:22px;
  border:1px solid rgba(38,26,35,.09);
  border-radius:var(--radius-md);
  background:var(--paper);
  box-shadow:var(--shadow-sm);
  color:var(--ink);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--primary); }
.contact-card strong,.contact-card small{ display:block; }
.contact-card strong{ font-family:var(--font-head); font-size:1.2rem; margin-bottom:3px; }
.contact-card small{ color:var(--ink-soft); font-size:.86rem; line-height:1.45; }
.contact-icon{ width:48px; height:48px; display:grid; place-items:center; border-radius:14px; }
.contact-icon svg{ width:25px; height:25px; }
.instagram .contact-icon{ background:#f8e5ec; color:#a04465; }
.whatsapp .contact-icon{ background:#e4f3ea; color:#2a9a5b; }
.contact-arrow{ grid-column:2; color:var(--primary); font-size:.84rem; font-weight:700; margin-top:2px; transition:color .2s ease; }
.contact-card:hover .contact-arrow{ color:var(--primary-dark); }

/* ---------- cards / grid ---------- */
.grid{ display: grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(38,26,35,0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
}
.card h3{ margin-bottom: 8px; }
.card p{ color: var(--ink-soft); margin-bottom: 0; font-size: .95rem; }

/* ---------- stage badge / progress ---------- */
.stage-progress{
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.stage-progress .dot{
  width: 34px; height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(38,26,35,0.12);
}
.stage-progress .dot.active{ background: var(--primary); }
.stage-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--paper);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---------- stage hero (subpages) ---------- */
.stage-hero{
  background: linear-gradient(150deg, var(--ink) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  color: var(--paper);
  padding: 70px 0 100px;
  position: relative;
  overflow: hidden;
}
.stage-hero::after{
  content: "";
  position: absolute;
  right: -160px; top: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sky), transparent 70%);
  opacity: .35;
}
.stage-hero .container{ position: relative; z-index: 1; max-width: 780px; }
.stage-hero .eyebrow{ color: var(--sky); }
.stage-hero p.lead{ font-size: 1.15rem; opacity: .92; max-width: 60ch; }
.stage-hero h1, .stage-hero h2, .stage-hero h3{ color: var(--paper); }

/* ---------- account list ---------- */
.account-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:24px;
}
.account-item{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:24px;
  align-items:center;
  padding:26px 28px;
  background:var(--white);
  border:1px solid rgba(38,26,35,.08);
  border-radius:var(--radius);
  box-shadow:0 10px 24px rgba(38,26,35,.07);
}
.account-item h4{ margin:0; font-family:var(--font-head); font-size:2.7rem; line-height:1; color:var(--ink); }
.account-item p{ margin:8px 0 0; color:var(--ink-soft); }
.account-link{
  box-sizing:border-box;
  width:190px;
  min-width:190px;
  min-height:36px;
  margin:0;
  padding:6px 12px;
  font-size:.78rem;
  line-height:1.15;
  text-align:center;
}

/* ---------- steps timeline ---------- */
.steps{ counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step{
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding-bottom: 40px;
}
.step:last-child{ padding-bottom: 0; }
.step::before{
  counter-increment: step;
  content: counter(step);
  grid-row: 1;
  grid-column: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  z-index: 1;
}
.step:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: -6px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, rgba(148,79,98,.35) 0 6px, transparent 6px 12px);
}
.step .step-body h3{ margin-bottom: 6px; }
.step .step-body p{ color: var(--ink-soft); margin-bottom: 0; }

/* ---------- callout / info boxes ---------- */
.callout{
  border-radius: var(--radius-md);
  padding: 28px 30px;
  border: 1.5px solid rgba(148,79,98,0.25);
  background: var(--paper-alt);
}
.callout.dark{
  background: var(--ink);
  color: var(--paper);
  border: none;
}
.callout.sky{ background: rgba(155,191,204,0.18); border-color: rgba(155,191,204,0.5); }
.callout h3{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.callout ul{ margin-top: 10px; }
.callout li{
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.callout li::before{
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--primary);
  font-weight: 700;
}
.callout.dark li::before{ color: var(--sky); }
.callout.dark h3, .callout.dark h4{ color: var(--paper); }

/* ---------- offer / next-steps card (used across stage pages) ---------- */
.next-card{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(38,26,35,0.06);
}
.next-card .task-time{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-alt);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 18px;
}

/* ---------- FAQ ---------- */
.faq-item{
  border-bottom: 1px solid rgba(38,26,35,0.1);
  padding: 22px 0;
}
.faq-item summary{
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ margin-top: 14px; color: var(--ink-soft); }

/* ---------- pricing card ---------- */
.pricing-card{
  background: linear-gradient(160deg, var(--ink), var(--primary-dark));
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
.pricing-card .price{
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--sky);
}
.pricing-card .price small{ font-size: 1rem; color: rgba(251,246,240,.7); font-family: var(--font-body); font-weight: 600; }
.pricing-card .old-price{ text-decoration: line-through; opacity: .55; font-size: 1.1rem; }
.pricing-alt{
  background: var(--white);
  border: 2px solid rgba(148,79,98,0.18);
  border-radius: var(--radius-lg);
  padding: 36px;
}

/* ---------- cta banner ---------- */
.cta-banner{
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-banner h2{ color: var(--white); margin-bottom: 6px; }
.cta-banner p{ margin: 0; opacity: .9; }

/* ---------- footer ---------- */
.site-footer{
  background: var(--ink);
  color: rgba(251,246,240,0.75);
  padding: 64px 0 30px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251,246,240,0.12);
}
.footer-grid h4{ color: var(--paper); font-size: .95rem; margin-bottom: 18px; }
.footer-grid li{ margin-bottom: 10px; }
.footer-grid a{ font-size: .92rem; transition: color .15s ease; }
.footer-grid a:hover{ color: var(--sky); }
.footer-logo{ font-family: var(--font-head); font-size: 1.4rem; color: var(--paper); margin-bottom: 12px; }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: .85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-privacy-link{
  padding:8px 14px;
  border:1px solid rgba(251,246,240,.45);
  border-radius:var(--radius-pill);
  color:var(--paper);
  font-weight:700;
  transition:background .2s ease, color .2s ease;
}
.footer-privacy-link:hover{ background:var(--paper); color:var(--ink); }

/* ---------- legal pages ---------- */
.legal-hero{ padding: 70px 0 40px; }
.legal-content{
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(38,26,35,0.05);
  max-width: 880px;
  margin: 0 auto 100px;
}
.legal-content h2{ font-size: 1.4rem; margin-top: 2.2em; }
.legal-content h2:first-child{ margin-top: 0; }
.legal-content h3{ font-size: 1.1rem; margin-top: 1.6em; }
.legal-content p, .legal-content li{ color: var(--ink-soft); font-size: .97rem; }
.legal-content ul, .legal-content ol{ padding-left: 22px; margin-bottom: 1em; }
.legal-content ul{ list-style: disc; }
.legal-content ol{ list-style: decimal; }
.legal-content li{ margin-bottom: 8px; }
.legal-content table{ width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92rem; }
.legal-content th, .legal-content td{ text-align: left; padding: 10px 12px; border: 1px solid rgba(38,26,35,0.1); color: var(--ink-soft); }
.legal-content th{ background: var(--paper-alt); color: var(--ink); }
.legal-note{
  background: var(--paper-alt);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 30px;
}
.placeholder{ color: var(--primary); font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual, .hero-image{ max-width: 460px; margin: 0 auto; }
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .nav-links{
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid rgba(38,26,35,0.08);
    display: none;
  }
  .nav-links.open{ display: flex; }
  .nav-toggle{ display: flex; }
  .nav-cta .btn-outline{ display: none; }
  .nav-cta .btn-primary{
    padding: 12px 24px;
    font-size: .8rem;
  }
  .hero-image{ display: none; }
  .hero-copy{ min-width:0; }
  .hero-message{
    position: relative;
    overflow: hidden;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    margin-top: 20px;
    padding: 24px;
    background:
      linear-gradient(105deg, rgba(251,246,240,.9), rgba(251,246,240,.78)),
      url("assets/images/zarobki-z-domu-hero.webp?v=1") center 57% / cover no-repeat;
  }
  .hero-message p.lead{ position:relative; z-index:1; margin:0; }
  .contact-grid{ flex-direction:column; }
  .account-item{ grid-template-columns:1fr; gap:24px; }
  .account-item h4{ font-size:2.15rem; }
  .account-link{ width:190px; min-width:190px; }
  .grid-3, .grid-4, .grid-2{ grid-template-columns: 1fr; }
  .section{ padding: 40px 0; }
  .cta-banner{ padding: 36px 26px; text-align: center; justify-content: center; }
  .legal-content{ padding: 30px 22px; }
  .step{ grid-template-columns: 44px 1fr; gap: 16px; }
  .step::before{ width: 44px; height: 44px; font-size: 1.05rem; }
  .step:not(:last-child)::after{ left: 21px; top: 44px; }
  .pricing-card{ padding: 32px 24px; }
  .footer-bottom{ justify-content: center; text-align: center; }
}
