/* Implementacja WWW na bazie Brand Book 1.0. Treść i struktura index.html pozostają bez zmian. */
:root {
  --bg: #F2EEE6;
  --bg-alt: #E9E2D7;
  --card: #F8F5EF;
  --ink: #24201F;
  --ink-soft: #6B645C;
  --plum: #5B2947;
  --plum-dark: #351525;
  --plum-bright: #9A607C;
  --amber: #D89A45;
  --line: rgba(36, 32, 31, .16);
  --dark: #24201F;
  --dark-2: #302A28;
  --cream: #F2EEE6;
  --cream-soft: #DED6C9;
  --line-dark: rgba(242, 238, 230, .18);
  --shadow: none;
  --shadow-lift: none;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

body { background: var(--bg); font-size: 16px; line-height: 1.55; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.045em; }
.wrap { max-width: var(--maxw); padding: 0 36px; }

/* Systemowy detal: krótka amberowa kreska zamiast kropki. */
.eyebrow { gap: 10px; color: var(--plum); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.eyebrow::before { width: 22px; height: 3px; border-radius: 0; background: var(--amber); }
.eyebrow.on-dark { color: var(--cream-soft); }
.lead { color: var(--ink-soft); font-size: 19px; }

/* Kafelki oferty: odcinają się tonalnie od tła Paper, bez sugerowania hierarchii między obszarami. */
.offer-card { background: var(--cream-soft); }
.offer-card .tool-link { align-self: flex-start; padding: 8px 0 6px; border-bottom: 2px solid var(--amber); }
.offer-card .tool-link:hover { color: var(--ink); border-bottom-color: var(--plum); transform: translateX(3px); }

/* Nawigacja i pełny lockup 02A. */
header.nav { border-bottom: 1px solid transparent; }
.nav .wrap { height: 88px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; width: 161px; height: auto; }
.brand-logo--light { display: none; }
.nav-links { gap: 26px; }
.nav-links a { color: var(--cream-soft); font-size: 14px; font-weight: 650; }
.nav-menu-toggle { display: none; }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--amber); content: ""; transition: transform .2s ease; }
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links .nav-cta { padding: 12px 20px; border: 1px solid var(--cream); border-radius: 999px; background: var(--cream); color: var(--ink); }
.nav-cta:hover { background: transparent; color: var(--cream); box-shadow: none; }
header.nav.scrolled { background: rgba(242, 238, 230, .92); border-bottom-color: var(--line); box-shadow: none; }
header.nav.scrolled .brand-logo--dark { display: none; }
header.nav.scrolled .brand-logo--light { display: block; }
header.nav.scrolled .nav-links a { color: var(--ink-soft); }
header.nav.scrolled .nav-links a:hover { color: var(--ink); }
header.nav.scrolled .nav-links .nav-cta { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* CTA. */
.btn { min-height: 48px; padding: 0 21px; border-radius: 999px; font-size: 14px; font-weight: 750; }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--plum-dark); box-shadow: none; }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost.on-dark { border-color: rgba(242,238,230,.72); background: transparent; }
.btn-ghost.on-dark:hover { background: var(--cream); color: var(--ink); }

/* Hero: ta sama fotografia, ale motyw Human Signal. */
.hero { padding: 138px 0 70px; background: var(--ink); }
.hero::before { position: absolute; z-index: 0; top: -155px; right: -140px; width: 570px; height: 570px; border: 1px solid rgba(242,238,230,.32); border-radius: 50%; content: ""; }
.hero::after { position: absolute; z-index: 0; right: 7%; bottom: 84px; width: 260px; height: 260px; border: 1px solid var(--amber); border-radius: 50%; content: ""; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 74px; }
.hero-copy h1 { max-width: 650px; font-size: clamp(54px, 6.4vw, 86px); line-height: .96; }
.hero-copy h1 .hero-title { font-size: 1em; }
.hero-copy h1 .hero-subline { margin-top: .15em; font-size: .67em; }
.hero-copy h1 .mark::after { height: .1em; border-radius: 0; background: var(--amber); }
.hero .sub { max-width: 55ch; color: var(--cream-soft); font-size: 19px; line-height: 1.48; }
.hero .btn-primary { border-color: var(--cream); background: var(--cream); color: var(--ink); }
.hero .btn-primary:hover { border-color: var(--amber); background: var(--amber); color: var(--ink); }
.hero-photo { border: 0; border-radius: 3px 3px 74px 3px; background: var(--dark-2); box-shadow: 15px 17px 0 rgba(222,214,201,.85); }
.hero-photo::before { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(145deg, rgba(91,41,71,.20), transparent 48%); pointer-events: none; content: ""; }
.hero-photo img { filter: saturate(.82) contrast(1.04); }

/* Referencje: bio w hero, z mniejszym portretem zamiast powtórzonej sekcji poniżej. */
.references-hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); gap: 56px; align-items: center; }
.references-hero .hero-copy h1 { font-size: clamp(42px, 4.6vw, 64px); }
.references-hero .hero-copy .sub + .sub { margin-top: 14px; }
.references-hero .hero-photo { max-width: 340px; margin-left: auto; }
.hero-trust { margin-top: 55px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.hero-trust .ht-label { color: var(--cream-soft); }
.hero-trust .ht-label::before, .hero-trust .ht-label::after { background: transparent; }
.hero-trust-list { justify-content: center; gap: 10px 22px; margin-top: 19px; }
.hero-trust-list span { color: var(--cream); font-family: var(--sans); font-size: 14px; font-weight: 650; }
.hero-trust-list span::after { color: var(--amber); }

/* Sekcje i problem. */
section { padding: 112px 0; border-top-color: var(--line); }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 880px; margin-bottom: 50px; }
.section-head h2 { margin-bottom: 20px; font-size: clamp(43px, 5.2vw, 70px); line-height: .99; }
.section-head h2 .problem-mark::after { height: .09em; border-radius: 0; background: var(--amber); }
#jak-pracuje .section-head { margin-bottom: 12px; }
#jak-pracuje .section-head .eyebrow { margin-bottom: 0; }
.bigq { color: rgba(91,41,71,.09); }

/* Human Signal poza hero: ten sam język, inne skale i funkcje. */
#problem, #rozwiazanie, #efekt, #referencje, #wspolpraca, #faq, .final { position: relative; overflow: hidden; }
#problem .wrap, #rozwiazanie .wrap, #efekt .wrap, #referencje .wrap, #wspolpraca .wrap, #faq .wrap, .final .wrap { position: relative; z-index: 1; }

/* Problem: napięcie i niedomknięty obieg. */
#problem::before { position: absolute; top: 150px; right: -270px; width: 520px; height: 520px; border: 1px solid rgba(91,41,71,.17); border-radius: 50%; content: ""; }
#problem::after { position: absolute; right: -72px; bottom: 78px; width: 228px; height: 228px; border: 1px solid rgba(216,154,69,.58); border-radius: 50%; content: ""; }

/* Rozwiązanie: łuk prowadzi przez trzy kroki. */
#rozwiazanie::before { position: absolute; top: 42px; left: -156px; width: 318px; height: 318px; border: 1px solid rgba(216,154,69,.62); border-radius: 50%; content: ""; }
#rozwiazanie::after { position: absolute; right: -232px; bottom: -152px; width: 480px; height: 480px; border: 1px solid rgba(91,41,71,.14); border-radius: 50%; content: ""; }

/* Efekt: uporządkowane punkty zamiast kolejnego pełnego okręgu. */
#efekt::before { position: absolute; top: 92px; right: -8px; width: 252px; height: 190px; opacity: .72; background-image: radial-gradient(circle, rgba(91,41,71,.42) 1.4px, transparent 1.6px); background-size: 24px 24px; content: ""; }
#efekt::after { position: absolute; right: 70px; bottom: 68px; width: 142px; height: 142px; border: 1px solid rgba(216,154,69,.62); border-radius: 50%; content: ""; }

/* Referencje: łuki są spokojniejsze, aby nie konkurować z cytatami. */
#referencje::before { position: absolute; top: 116px; left: -260px; width: 480px; height: 480px; border: 1px solid rgba(91,41,71,.14); border-radius: 50%; content: ""; }
#referencje::after { position: absolute; right: -122px; top: 46px; width: 252px; height: 252px; border: 1px solid rgba(216,154,69,.48); border-radius: 50%; content: ""; }

/* Współpraca: łuki otwierają przestrzeń na decyzję o rozmowie. */
#wspolpraca::before { position: absolute; top: -226px; right: -136px; width: 486px; height: 486px; border: 1px solid rgba(216,154,69,.58); border-radius: 50%; content: ""; }
#wspolpraca::after { position: absolute; bottom: -230px; left: -170px; width: 410px; height: 410px; border: 1px solid rgba(91,41,71,.14); border-radius: 50%; content: ""; }

/* FAQ: punkty podtrzymują rytm, bez konkurowania z odpowiedziami. */
#faq::before { position: absolute; top: 68px; right: -118px; width: 276px; height: 276px; border: 1px solid rgba(91,41,71,.15); border-radius: 50%; content: ""; }
#faq::after { position: absolute; bottom: 62px; left: 7%; width: 190px; height: 142px; opacity: .6; background-image: radial-gradient(circle, rgba(216,154,69,.72) 1.25px, transparent 1.45px); background-size: 22px 22px; content: ""; }
.quote-grid { gap: 0; border-top: 1px solid var(--ink); }
#problem .prose { margin-bottom: 20px !important; }
#problem .quote { position: relative; min-height: 142px; padding: 24px 34px 29px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: var(--cream-soft); box-shadow: none; }
#problem .quote::before { display: block; margin-bottom: 29px; color: var(--amber); font-family: var(--sans); font-size: 11px; font-weight: 850; letter-spacing: .14em; content: "01"; }
#problem .quote:nth-child(2)::before { content: "02"; }
#problem .quote:nth-child(3)::before { content: "03"; }
#problem .quote:nth-child(4)::before { content: "04"; }
#problem .quote:nth-child(5)::before { content: "05"; }
#problem .quote:nth-child(6)::before { content: "06"; }
#problem .quote:hover { transform: none; box-shadow: none; background: var(--cream); }
.quote:nth-child(even) { border-right: 0; }
.quote p { font-family: var(--serif); font-size: 20px; line-height: 1.3; }
.problem-close { margin-top: 44px; }
.problem-close .accent-rule { width: 52px; height: 3px; border-radius: 0; }
.problem-close p { font-size: clamp(28px, 3.3vw, 40px); }
.problem-close p.accent { color: var(--plum); }

/* Proces i efekt. */
.steps { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.step { min-height: 360px; padding: 27px 28px 30px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.step:last-child { border-right: 0; }
.step .tag { color: var(--amber); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.step h3 { margin-top: 66px; font-size: 37px; line-height: 1; }
.step p, .solution-card-copy { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.solution-format { max-width: 850px; border-top-color: var(--line); }
.solution-format-label { color: var(--plum); font-weight: 800; }
.solution-format-copy { color: var(--ink-soft); font-size: 17px; line-height: 1.6; }
.solution-format-copy + .solution-format-copy { margin-top: 14px; }
.deliver-grid { gap: 0; border-top: 1px solid var(--ink); }
.deliver { min-height: 290px; padding: 27px 28px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.deliver:nth-child(3n) { border-right: 0; }
.deliver:hover { transform: none; box-shadow: none; background: rgba(222,214,201,.28); }
.deliver .ico { width: 42px; height: 42px; margin-bottom: 48px; border-radius: 50%; background: var(--plum); color: var(--cream); }
.deliver h3 { font-size: 25px; line-height: 1.08; }
.deliver .solution-card-copy { font-size: 15px; }
.recommended-ai-grid .deliver { display: flex; flex-direction: column; }
.recommended-ai-grid .tool-link { margin-top: auto; padding-top: 18px; }

/* Referencje. */
.reference-intro { max-width: 820px; }
.reference-intro h3 { font-size: 34px; }
.trust-heading { margin-bottom: 26px; font-size: clamp(36px, 4vw, 50px); text-align: center; }
.trust-label, .hero-trust .ht-label { font-weight: 800; letter-spacing: .13em; }
.trust-label::before, .trust-label::after { background: var(--line); }
.trust-row { border-bottom-color: var(--line); }
.trust-row span { font-family: var(--sans); font-size: 15px; font-weight: 700; }
.quote .qm { color: var(--amber); }
.quote .who { color: var(--ink); }
.proof-card { position: relative; padding: 38px 36px 12px; border: 0; border-top: 3px solid var(--amber); border-radius: 0 0 62px 0; background: var(--ink); box-shadow: none; }
.proof-card h3, .proof-card p, .proof-card .proof-quote-list p { color: var(--cream); }
.proof-card .eyebrow { color: var(--cream-soft); }
.proof-card .proof-note { padding-right: 190px; }
.proof-card .stat { border: 1px solid rgba(242,238,230,.19); border-radius: 0; background: transparent; }
.proof-card .stat .num { color: var(--amber); }
.proof-card .stat .desc { color: var(--cream-soft); }
.proof-card .quote-brand { position: absolute; top: 34px; right: 36px; width: 150px; margin: 0; opacity: .52; }
.proof-card .quote-brand img { filter: grayscale(1) brightness(0) invert(1); }
.proof-quote { border-top-color: rgba(242,238,230,.2); }
.proof-quote .qm { color: var(--amber); }
.quote-brand.top { border-bottom-color: var(--line); }

/* FAQ i kontakt. */
.faq { max-width: 920px; }
.faq-item { margin-bottom: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.faq-item.open { border-color: var(--ink); }
.faq-q { padding: 24px 0; font-size: 18px; }
.faq-q .chev { color: var(--amber); }
.faq-a p { padding: 0 0 25px; color: var(--ink-soft); }
.final { background: var(--ink); }
.final::before { position: absolute; top: -150px; right: 4%; width: 470px; height: 470px; border: 1px solid rgba(242,238,230,.28); border-radius: 50%; content: ""; }
.final::after { position: absolute; bottom: 58px; left: 8%; width: 218px; height: 145px; opacity: .32; background-image: radial-gradient(circle, var(--amber) 1.2px, transparent 1.4px); background-size: 22px 22px; content: ""; }
.final .wrap { position: relative; z-index: 1; }
.final h2 { max-width: 820px; font-size: clamp(48px, 5.6vw, 75px); line-height: .98; }
.contact-side { border-left-color: rgba(242,238,230,.22); }
.contact-reasons li::before { color: var(--amber); }
.contact-email { text-decoration-color: var(--amber); }

/* Footer i cookies. */
footer { background: #1B1716; }
.cookie-banner, .cookie-modal-card { border-color: var(--line); border-radius: 0 0 28px 0; box-shadow: 12px 14px 0 rgba(222,214,201,.95); }
.cbtn { border-radius: 999px; }
.cbtn.cbtn-primary { background: var(--ink); border-color: var(--ink); }

@media (max-width: 920px) {
  .hero { padding-top: 122px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step:last-child { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .step h3 { margin-top: 36px; }
}
@media (max-width: 820px) {
  .nav .wrap { position: relative; }
  .nav-menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 1px solid rgba(242,238,230,.72); border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
  .nav-menu-toggle span { display: block; width: 100%; height: 2px; border-radius: 2px; background: currentColor; }
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); right: 20px; left: 20px; z-index: 5; flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; border: 1px solid var(--line-dark); border-radius: 3px 3px 28px 3px; background: var(--ink); box-shadow: 10px 12px 0 rgba(222,214,201,.82); }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.nav-cta) { display: block; padding: 14px 12px; color: var(--cream); font-size: 16px; }
  .nav-links .nav-cta { display: flex; justify-content: center; margin-top: 4px; padding: 13px 18px; color: var(--ink); font-size: 16px; }
  header.nav.scrolled .nav-menu-toggle { border-color: var(--ink); color: var(--ink); }
  header.nav.scrolled .nav-links a:not(.nav-cta) { color: var(--cream); }
}
@media (max-width: 760px) {
  .wrap { padding: 0 20px; }
  .nav .wrap { height: 76px; }
  .brand-logo { width: 161px; }
  .nav-links { right: 20px; left: 20px; }
  .hero { padding: 113px 0 60px; }
  .hero::before { display: none; }
  .hero::after { right: -94px; bottom: 118px; width: 184px; height: 184px; opacity: .62; }
  .hero-grid { gap: 32px; }
  .hero-visual { order: 2; }
  .hero-photo { max-width: none; }
  .hero-copy h1 { font-size: 53px; }
  .hero .sub { font-size: 18px; }
  .hero-cta { display: grid; grid-template-columns: 1fr; gap: 12px; width: 100%; margin-bottom: 30px; }
  .hero-cta .btn { width: 100%; min-height: 58px; padding: 14px 20px; }
  .hero-cta .btn-primary { justify-content: space-between; text-align: left; }
  .hero-cta .btn-ghost { justify-content: center; text-align: center; }
  .hero-trust { display: none; }
  section { padding: 76px 0; }
  .quote-grid, .deliver-grid { grid-template-columns: 1fr; }
  .quote, .quote:nth-child(even), .deliver, .deliver:nth-child(3n) { min-height: 0; border-right: 0; }
  #problem .quote { padding: 22px 0 25px; }
  #problem .quote::before { margin-bottom: 18px; }
  .deliver .ico { margin-bottom: 35px; }
  .proof-card { padding: 30px 24px 8px; }
  .proof-card .quote-brand { right: 24px; }
  #problem::before { top: auto; right: -230px; bottom: 100px; width: 390px; height: 390px; }
  #problem::after, #rozwiazanie::after, #referencje::after { display: none; }
  #rozwiazanie::before { top: 36px; left: -216px; }
  #efekt::before { right: -84px; opacity: .45; }
  #efekt::after { right: -56px; bottom: 28px; }
  #referencje::before { left: -330px; }
  #wspolpraca::before { top: -244px; right: -250px; }
  #wspolpraca::after { display: none; }
  #faq::before { right: -202px; }
  #faq::after { left: auto; right: -45px; bottom: 44px; opacity: .38; }
  .final::after { left: auto; right: -36px; bottom: 34px; opacity: .22; }
}

@media (max-width: 640px) {
  .proof-card .proof-note { padding-right: 0; }
  .proof-card .quote-brand { position: static; justify-content: flex-start; width: auto; margin: 20px 0 26px; }
}
