/* Strona główna, Nasza oferta, Jak to działa, dokumenty prawne, te same kolory i czcionki co reszta strony */

/* ---------- sekcje ---------- */
.sec { padding: 80px 48px; background: var(--cream); }
.sec.alt { background: var(--cream-dark); }
.sec.dark { background: var(--brown-dark); position: relative; overflow: hidden; }
.sec.dark::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 10% 0%, rgba(217,122,74,.14), transparent 40%), radial-gradient(circle at 92% 100%, rgba(224,163,64,.12), transparent 42%); }
.sec.dark > * { position: relative; }
.wrap { max-width: 1120px; margin: 0 auto; }
.section-label { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--brown-light); margin-bottom: 12px; text-align: center; }
.section-h2 { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 400; color: var(--text-dark); text-align: center; margin-bottom: 8px; line-height: 1.2; }
.section-sub { font-size: 13px; font-weight: 300; color: var(--text-muted); text-align: center; margin: 0 auto 44px; line-height: 1.7; max-width: 620px; }
.sec.dark .section-label { color: rgba(240,230,211,.5); }
.sec.dark .section-h2 { color: var(--cream-light); }
.sec.dark .section-sub { color: rgba(240,230,211,.6); }
.more-row { text-align: center; margin-top: 36px; }
.btn-dark { background: var(--brown-mid); color: #faf0e4; border: none; padding: 13px 24px; font-size: 12px; letter-spacing: .8px; border-radius: 6px; text-decoration: none; display: inline-block; transition: background .2s; }
.btn-dark:hover { background: #7a4525; }
.btn-line { background: transparent; color: var(--brown-mid); border: 1px solid var(--brown-light); padding: 12px 24px; font-size: 12px; letter-spacing: .8px; border-radius: 6px; text-decoration: none; display: inline-block; transition: all .2s; }
.btn-line:hover { background: var(--brown-mid); color: #faf0e4; }

/* ---------- HERO (strona główna) ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 57px); }
.hero-left { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 80px 56px; }
.hero-bg { position: absolute; inset: 0; background: var(--brown-dark); overflow: hidden; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(28,16,8,.5); }
.hero-content { position: relative; z-index: 2; }
.badge { display: inline-block; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-light); border: .5px solid rgba(240,230,211,.3); background: rgba(240,230,211,.08); padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero-h1 { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 400; line-height: 1.2; color: var(--cream-light); margin-bottom: 16px; }
.hero-sub { font-size: 14px; font-weight: 300; line-height: 1.75; color: rgba(240,230,211,.7); max-width: 400px; margin-bottom: 32px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-right { background: var(--cream); padding: 80px 48px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-card { background: #fff; border: 1px solid #e0d8ce; border-top: 3px solid var(--offer-color, var(--brown-light)); border-radius: 10px; padding: 20px; transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.offer-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(45,31,20,.16); }
.offer-tag { align-self: flex-start; font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--offer-color); background: color-mix(in srgb, var(--offer-color) 12%, transparent); padding: 3px 9px; border-radius: 20px; margin-bottom: 10px; }
.offer-name { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--text-dark); margin-bottom: 6px; }
.offer-price { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--offer-color); }
.offer-price b { font-weight: 400; }
.offer-price span { font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 300; color: #999; }
.offer-desc { font-size: 12px; font-weight: 300; color: var(--text-muted); line-height: 1.55; margin-top: 8px; flex: 1; }
.offer-link { align-self: flex-start; margin-top: 12px; font-size: 10px; letter-spacing: .8px; text-transform: uppercase; color: var(--offer-color); text-decoration: none; border-bottom: .5px solid var(--offer-color); padding-bottom: 1px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust div { background: var(--cream-dark); border-radius: 8px; padding: 12px 14px; font-size: 11.5px; line-height: 1.45; color: var(--text-mid); font-weight: 300; }
.trust b { display: block; font-weight: 500; color: var(--text-dark); margin-bottom: 2px; font-size: 12px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-content > *, .hero-right > * { opacity: 0; animation: fadeUp .7s ease forwards; }
.badge { animation-delay: .15s; } .hero-h1 { animation-delay: .3s; } .hero-sub { animation-delay: .45s; } .btn-row { animation-delay: .6s; }
.offer-grid { animation-delay: .35s; } .trust { animation-delay: .5s; }

/* ---------- kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: st; }
.step { background: #fff; border: 1px solid #e0d8ce; border-radius: 14px; padding: 26px 22px; position: relative; }
.step .n { width: 34px; height: 34px; border-radius: 50%; background: var(--brown-mid); color: #faf0e4; font-family: 'Playfair Display', serif; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--text-mid); }
.sec.dark .step { background: rgba(240,230,211,.06); border-color: rgba(240,230,211,.12); }
.sec.dark .step h3 { color: var(--cream-light); }
.sec.dark .step p { color: rgba(240,230,211,.65); }
.sec.dark .step .n { background: var(--accent-terracotta); }

.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- karty usług ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: #fff; border: 1px solid #e0d8ce; border-top: 3px solid var(--c); border-radius: 14px; padding: 28px 24px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(45,31,20,.18); }
.svc-badge { align-self: flex-start; font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; }
.svc-name { font-family: 'Playfair Display', serif; font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.svc-price { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--c); margin-bottom: 10px; }
.svc-price span { font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300; color: #999; }
.svc-short { font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--text-mid); flex: 1; margin-bottom: 18px; }
.svc-btn { display: block; text-align: center; padding: 12px; border-radius: 6px; font-size: 11px; letter-spacing: .8px; text-decoration: none; background: var(--c); color: #fffdf9; transition: filter .2s; }
.svc-btn:hover { filter: brightness(.9); }
.svc-card.wide { grid-column: span 1; }

/* ---------- plusy ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why { border-left: 2px solid var(--c, var(--accent-terracotta)); padding: 6px 0 6px 18px; }
.why h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 18px; color: var(--cream-light); margin-bottom: 6px; }
.why p { font-size: 13px; font-weight: 300; line-height: 1.65; color: rgba(240,230,211,.62); }

/* ---------- opinie ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev { background: #fff; border: 1px solid #e0d8ce; border-radius: 14px; padding: 24px; }
.rev q { display: block; quotes: none; font-family: 'Playfair Display', serif; font-style: italic; font-size: 16px; line-height: 1.6; color: var(--text-mid); margin-bottom: 14px; }
.rev .who { font-size: 12px; color: var(--text-muted); }
.rev .who b { color: var(--text-dark); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid #e0d8ce; border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-size: 14.5px; font-weight: 500; color: var(--text-dark); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--brown-light); flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; font-size: 13.5px; font-weight: 300; line-height: 1.75; color: var(--text-mid); }
.faq .ans a { color: var(--brown-mid); }

/* ---------- pas CTA ---------- */
.cta-band { background: var(--brown-dark); border-radius: 18px; padding: 44px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 15% 0%, rgba(217,122,74,.2), transparent 45%), radial-gradient(circle at 90% 100%, rgba(224,163,64,.16), transparent 45%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 30px; color: var(--cream-light); margin-bottom: 10px; }
.cta-band p { font-size: 14px; font-weight: 300; color: rgba(240,230,211,.65); max-width: 520px; margin: 0 auto 24px; line-height: 1.7; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Nasza oferta: porównanie + szczegóły ---------- */
.cmp-wrap { overflow-x: auto; border: 1px solid #e0d8ce; border-radius: 14px; background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 13px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #efe7dc; vertical-align: top; line-height: 1.5; }
.cmp thead th { font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brown-light); font-weight: 400; background: var(--cream); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:first-child { font-family: 'Playfair Display', serif; font-size: 15px; white-space: nowrap; }
.cmp td.pr { font-family: 'Playfair Display', serif; font-size: 17px; white-space: nowrap; }
.cmp a { color: var(--brown-mid); }

.svc-detail { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; background: #fff; border: 1px solid #e0d8ce; border-top: 3px solid var(--c); border-radius: 16px; padding: 36px; margin-bottom: 26px; scroll-margin-top: 80px; }
.svc-detail .svc-name { font-size: 28px; }
.svc-detail .svc-price { font-size: 36px; }
.svc-tag { font-size: 14px; font-style: italic; font-weight: 300; line-height: 1.6; color: var(--text-muted); margin-bottom: 20px; }
.svc-meta { font-size: 13px; line-height: 1.65; color: var(--text-mid); font-weight: 300; margin-bottom: 18px; }
.svc-meta b { font-weight: 500; color: var(--text-dark); display: block; font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brown-light); margin-bottom: 3px; }
.svc-detail h3 { font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400; color: var(--brown-light); margin: 0 0 12px; }
.tick { list-style: none; margin-bottom: 26px; }
.tick li { display: flex; gap: 10px; font-size: 13.5px; font-weight: 300; line-height: 1.6; color: var(--text-mid); padding: 5px 0; }
.tick li::before { content: '✓'; flex-shrink: 0; width: 17px; height: 17px; margin-top: 3px; border-radius: 50%; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.num { list-style: none; counter-reset: n; }
.num li { counter-increment: n; display: flex; gap: 12px; font-size: 13.5px; font-weight: 300; line-height: 1.6; color: var(--text-mid); padding: 6px 0; }
.num li::before { content: counter(n); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.common { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.common div { background: #fff; border: 1px solid #e0d8ce; border-radius: 12px; padding: 20px 22px; font-size: 13px; font-weight: 300; line-height: 1.65; color: var(--text-mid); }
.common b { display: block; font-family: 'Playfair Display', serif; font-weight: 400; font-size: 17px; color: var(--text-dark); margin-bottom: 6px; }

/* ---------- Jak to działa ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: #fff; border: 1px solid #e0d8ce; border-radius: 14px; padding: 30px 28px; }
.panel h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 22px; margin-bottom: 10px; }
.panel p { font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--text-mid); }
.track { background: #fff; border: 1px solid #e0d8ce; border-top: 3px solid var(--c); border-radius: 14px; padding: 30px 28px; --c: var(--accent-terracotta); }
.track h3 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 24px; margin-bottom: 4px; }
.track .sub { font-size: 13px; font-style: italic; font-weight: 300; color: var(--text-muted); margin-bottom: 18px; }
.legal-note { max-width: 780px; margin: 0 auto; font-size: 12.5px; font-weight: 300; line-height: 1.75; color: var(--text-muted); text-align: center; }
.legal-note a { color: var(--brown-mid); }

/* ---------- dokumenty prawne ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }
.legal .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 26px; }
.legal .toc { background: #fff; border: 1px solid #e0d8ce; border-radius: 12px; padding: 18px 24px; margin-bottom: 34px; font-size: 13px; }
.legal .toc b { font-size: 9.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 400; color: var(--brown-light); display: block; margin-bottom: 8px; }
.legal .toc ol { margin-left: 18px; columns: 2; column-gap: 28px; }
.legal .toc a { color: var(--brown-mid); text-decoration: none; line-height: 1.9; }
.legal h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 22px; margin: 36px 0 12px; scroll-margin-top: 80px; }
.legal h3 { font-size: 15px; font-weight: 500; margin: 20px 0 6px; }
.legal p, .legal li { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--text-mid); }
.legal p { margin-bottom: 10px; }
.legal ol, .legal ul { margin: 4px 0 12px 22px; }
.legal li { margin-bottom: 5px; }
.legal a { color: var(--brown-mid); }
.legal .note { background: color-mix(in srgb, var(--accent-amber) 14%, #fff); border: 1px solid color-mix(in srgb, var(--accent-amber) 50%, #fff); border-radius: 10px; padding: 14px 18px; font-size: 13px; margin-bottom: 24px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0 16px; }
.legal th, .legal td { border: 1px solid #e0d8ce; padding: 9px 12px; text-align: left; vertical-align: top; line-height: 1.55; font-weight: 300; color: var(--text-mid); }
.legal th { background: var(--cream-dark); font-weight: 500; color: var(--text-dark); }
.form-box { background: #fff; border: 1px dashed var(--brown-light); border-radius: 10px; padding: 18px 22px; }
.ph { background: #fff3b0; border-radius: 3px; padding: 0 4px; }
.ph:empty::before { content: '[uzupełnij w data/offers.js → owner]'; font-size: .9em; }

/* ---------- mobile ---------- */
@media (max-width: 1000px) {
  .steps, .steps-3 { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .rev-grid { grid-template-columns: 1fr 1fr; }
  .svc-detail { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
  .common { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .sec { padding: 56px 22px; }
  .section-h2 { font-size: 28px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-left { padding: 56px 26px 52px; }
  .hero-h1 { font-size: 36px; }
  .hero-right { padding: 36px 22px 48px; }
  .two { grid-template-columns: 1fr; }
  .legal .toc ol { columns: 1; }
  .cta-band { padding: 34px 22px; }
  .cta-band h2 { font-size: 24px; }
}
@media (max-width: 600px) {
  .steps, .steps-3, .svc-grid, .why-grid, .rev-grid, .offer-grid, .trust { grid-template-columns: 1fr; }
}

.more-row .btn-line + .btn-line { margin-left: 14px; }
@media (max-width: 600px) { .more-row .btn-line + .btn-line { margin: 10px 0 0; display: inline-block; } }
.section-h2 + #cmp, .section-h2 + #detail { margin-top: 36px; }

