/* =====================================================================
   FOTOCERAMIKA — strona WSPÓŁPRACA / B2B (redesign wg Claude Design)
   Scoped pod body.fc-redesign. System designu + chrome z design.css.
   ===================================================================== */

/* ---------- HERO ---------- */
.wsp-hero { background: var(--paper); padding: 196px 0 96px; position: relative; overflow: hidden; }
.wsp-hero::before {
  content: ""; position: absolute; right: -120px; top: 80px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,106,0.08) 0%, transparent 70%); pointer-events: none;
}
.wsp-crumb {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
  padding: 8px 16px; background: var(--paper-warm); border: 1px solid var(--line); border-radius: 99px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--muted);
}
.wsp-crumb a { color: var(--muted); text-decoration: none; }
.wsp-crumb a:hover { color: var(--navy); }
.wsp-crumb .cur { color: var(--navy); }
.wsp-crumb svg { opacity: 0.5; }

.wsp-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; }
.wsp-hero h1 { font-family: var(--serif); font-size: clamp(48px, 6.5vw, 96px); line-height: 0.96; margin: 0; font-weight: 400; letter-spacing: -0.025em; color: var(--ink); }
.wsp-hero h1 span { display: block; }
.wsp-hero h1 .navy { color: var(--navy); }
.wsp-hero-lead { font-size: 19px; line-height: 1.55; color: #3a3f55; max-width: 540px; margin: 32px 0 40px; }
.wsp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wsp-hero-actions .btn { padding: 16px 28px; font-size: 15px; }
.wsp-hero-stats { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }
.wsp-hero-stats .k { font-family: var(--serif); font-size: 30px; color: var(--navy); font-weight: 500; font-style: italic; line-height: 1; }
.wsp-hero-stats .v { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px; }

/* karta partnera */
.wsp-card { position: relative; background: var(--navy); color: #fff; border-radius: 22px; padding: 36px; box-shadow: 0 40px 80px -30px rgba(14,32,73,0.4); overflow: hidden; }
.wsp-card::before { content: ""; position: absolute; top: -80px; right: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,106,0.25) 0%, transparent 70%); }
.wsp-card h2 { font-family: var(--serif); font-size: 32px; margin: 0 0 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.1; position: relative; }
.wsp-card h2 em { font-style: italic; color: var(--accent); }
.wsp-card-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; position: relative; }
.wsp-card-list li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.45; }
.wsp-card-list .ck { width: 22px; height: 22px; border-radius: 99px; background: var(--accent); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.wsp-card-foot { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; align-items: baseline; position: relative; }
.wsp-card-foot .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-light); }
.wsp-card-foot .big { font-family: var(--serif); font-size: 32px; color: var(--accent); font-weight: 500; font-style: italic; }

/* ---------- KTO PRACUJE Z NAMI ---------- */
.wsp-sec { padding: 120px 0; }
.wsp-2head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: flex-end; margin-bottom: 56px; }
.wsp-2head h2 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 56px); margin: 0; line-height: 1; color: var(--ink); letter-spacing: -0.01em; font-weight: 500; }
.wsp-2head h2 em { font-style: italic; color: var(--navy); }
.wsp-2head p { font-size: 17px; color: var(--muted); max-width: 460px; line-height: 1.6; margin-bottom: 8px; }
.dark .wsp-2head h2, .dark .wsp-2head p { color: #fff; }
.dark .wsp-2head p { color: var(--muted-light); }

.wsp-seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wsp-seg { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.wsp-seg:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 0 24px 50px -20px rgba(14,32,73,0.18); }
.wsp-seg .ico { flex: none; width: 52px; height: 52px; border-radius: 12px; background: var(--paper-warm); display: flex; align-items: center; justify-content: center; }
.wsp-seg .ico svg { width: 34px; height: 34px; }
.wsp-seg h3 { font-family: var(--serif); font-size: 19px; margin: 0; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; line-height: 1.25; }
.wsp-seg p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; flex: 1; }

/* ---------- KORZYŚCI (dark) ---------- */
.wsp-center { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.wsp-center .tag { justify-content: center; margin-bottom: 20px; }
.wsp-center h2 { font-family: var(--serif); font-size: clamp(34px, 4.5vw, 56px); margin: 0; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.wsp-center h2 em { font-style: italic; color: var(--accent); }
.wsp-center p { font-size: 17px; color: var(--muted-light); margin-top: 20px; line-height: 1.6; }

.wsp-kor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wsp-kor-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; color: #fff; transition: transform .25s, border-color .2s; }
.wsp-kor-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.wsp-kor-card .ico { width: 56px; height: 56px; border-radius: 12px; background: rgba(201,168,106,0.15); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.wsp-kor-card h3 { font-family: var(--serif); font-size: 22px; margin: 0; font-weight: 500; letter-spacing: -0.005em; line-height: 1.2; }
.wsp-kor-card p { font-size: 14px; color: var(--muted-light); margin: 0; line-height: 1.6; }

/* ---------- PROCES ---------- */
.wsp-proc-head { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: flex-end; margin-bottom: 56px; }
.wsp-proc-head h2 { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); margin: 0; line-height: 1; color: var(--ink); letter-spacing: -0.01em; font-weight: 500; }
.wsp-proc-head h2 em { font-style: italic; color: var(--navy); }
.wsp-proc-head p { font-size: 17px; color: var(--muted); max-width: 540px; line-height: 1.6; margin-bottom: 8px; }
.wsp-proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.wsp-proc-step { padding: 40px 28px; border-right: 1px solid var(--line); }
.wsp-proc-step:first-child { padding-left: 0; }
.wsp-proc-step:last-child { border-right: none; }
.wsp-proc-step .n { font-family: var(--serif); font-size: 56px; color: var(--navy); font-weight: 500; font-style: italic; line-height: 1; display: block; margin-bottom: 24px; }
.wsp-proc-step h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 10px; color: var(--ink); font-weight: 500; }
.wsp-proc-step p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ---------- CENNIK PORÓWNAWCZY (dark deep) ---------- */
.wsp-cen-table { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; overflow: hidden; max-width: 980px; margin: 0 auto; }
.wsp-cen-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; align-items: center; }
.wsp-cen-row + .wsp-cen-row { border-top: 1px solid rgba(255,255,255,0.05); }
.wsp-cen-head { background: rgba(255,255,255,0.04); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.wsp-cen-head > div { padding: 16px 24px; }
.wsp-cen-head .c { text-align: center; }
.wsp-cen-head .acc { text-align: center; color: var(--accent); }
.wsp-cen-row .p { padding: 20px 24px; font-size: 15px; font-weight: 500; color: #fff; font-family: var(--serif); }
.wsp-cen-row .det { padding: 20px 24px; text-align: center; color: var(--muted-light); text-decoration: line-through; font-family: ui-monospace, monospace; font-size: 14px; }
.wsp-cen-row .net { padding: 20px 24px; text-align: center; font-size: 20px; font-weight: 500; color: var(--accent); font-family: var(--serif); }
.wsp-cen-row .save { padding: 20px 24px; text-align: center; font-size: 13px; font-weight: 700; }
.wsp-cen-row .save span { padding: 4px 10px; background: rgba(46,160,67,0.25); color: #4ddb88; border-radius: 99px; }
.wsp-cen-note { text-align: center; margin-top: 28px; font-size: 12px; color: var(--muted-light); }

/* ---------- OPINIE ---------- */
.wsp-op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wsp-op-card { margin: 0; padding: 36px 32px; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 24px; position: relative; min-height: 320px; }
.wsp-op-card .mark { font-family: var(--serif); font-size: 72px; line-height: 0.5; color: var(--navy); opacity: 0.14; font-style: italic; font-weight: 500; position: absolute; top: 28px; left: 28px; }
.wsp-op-card .q { font-family: var(--serif); margin: 16px 0 0; font-size: 18px; line-height: 1.55; color: var(--ink); font-style: italic; font-weight: 400; position: relative; z-index: 1; flex: 1; }
.wsp-op-card .foot { padding-top: 20px; border-top: 1px solid var(--line); }
.wsp-op-card .who { font-family: var(--serif); font-size: 16px; font-weight: 500; color: var(--ink); }
.wsp-op-card .firma { font-size: 12px; color: var(--muted); margin-top: 4px; }
.wsp-op-card .lata { font-size: 10px; color: var(--navy); margin-top: 8px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- FAQ (akordeon — kontrakt initFaq: .fc-faq-item/.fc-faq-q/.open) ---------- */
.wsp-faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: flex-start; }
.wsp-faq-aside { position: sticky; top: 120px; }
.wsp-faq-aside h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); margin: 0; line-height: 1; color: var(--ink); letter-spacing: -0.01em; font-weight: 500; }
.wsp-faq-aside h2 em { font-style: italic; color: var(--navy); }
.wsp-faq-aside p { font-size: 16px; color: var(--muted); margin-top: 22px; line-height: 1.6; max-width: 380px; }
.wsp-faq-list .fc-faq-item { border-bottom: 1px solid var(--line); }
.wsp-faq-list .fc-faq-item:first-child { border-top: 1px solid var(--line); }
.wsp-faq-q { width: 100%; text-align: left; background: transparent; border: none; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; color: var(--ink); font: inherit; }
.wsp-faq-q .qt { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -0.005em; line-height: 1.25; }
.wsp-faq-q .ic { width: 32px; height: 32px; border-radius: 99px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s, background .2s, color .2s; }
.fc-faq-item.open .wsp-faq-q .ic { transform: rotate(45deg); background: var(--ink); color: #fff; }
.wsp-faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.fc-faq-item.open .wsp-faq-a { max-height: 500px; }
.wsp-faq-a p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0 0 24px; max-width: 620px; }

/* ---------- KONTAKT + FORMULARZ (dark deep) ---------- */
.wsp-kontakt { position: relative; overflow: hidden; }
.wsp-kontakt::before { content: ""; position: absolute; right: -200px; top: -100px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(201,168,106,0.12) 0%, transparent 70%); pointer-events: none; }
.wsp-kt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: flex-start; position: relative; }
.wsp-kt-grid h2 { font-family: var(--serif); font-size: clamp(36px, 4.5vw, 60px); margin: 0; line-height: 1; font-weight: 500; letter-spacing: -0.015em; }
.wsp-kt-grid h2 em { font-style: italic; color: var(--accent); }
.wsp-kt-lead { font-size: 17px; color: var(--muted-light); margin-top: 24px; max-width: 460px; line-height: 1.65; }
.wsp-contact-rows { margin-top: 40px; display: grid; gap: 18px; }
.wsp-contact-row { display: flex; gap: 16px; align-items: flex-start; color: inherit; text-decoration: none; }
.wsp-contact-row .ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.wsp-contact-row .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-light); margin-bottom: 4px; }
.wsp-contact-row .val { font-family: var(--serif); font-size: 19px; color: #fff; font-weight: 500; }
.wsp-contact-row .hint { font-size: 12px; color: var(--muted-light); margin-top: 2px; }
a.wsp-contact-row:hover .val { color: var(--accent); }

.wsp-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 22px; padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.wsp-form h3 { font-family: var(--serif); margin: 0; font-size: 26px; font-weight: 500; color: #fff; }
.wsp-form .intro { margin: -4px 0 8px; font-size: 13px; color: var(--muted-light); }
.wsp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wsp-field { display: flex; flex-direction: column; gap: 8px; }
.wsp-field > span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-light); font-weight: 500; }
.wsp-field input, .wsp-field select { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 12px 14px; color: #fff; font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s; }
.wsp-field input:focus, .wsp-field select:focus { border-color: var(--accent); }
.wsp-field input::placeholder { color: rgba(255,255,255,0.4); }
.wsp-field select option { color: #000; }
.wsp-rodo { display: flex; gap: 12px; font-size: 12px; color: var(--muted-light); align-items: flex-start; line-height: 1.5; margin-top: 4px; }
.wsp-rodo input { margin-top: 3px; accent-color: var(--accent); }
.wsp-form .btn { align-self: flex-start; margin-top: 8px; padding: 14px 28px; font-size: 14px; }

/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 1024px) {
  .wsp-kor-grid { grid-template-columns: 1fr 1fr; }
  .wsp-op-grid { grid-template-columns: 1fr; }
  .wsp-kt-grid { grid-template-columns: 1fr; gap: 48px; }
  .wsp-seg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .wsp-hero { padding-top: calc(var(--top-stack-h, 82px) + 96px); }
  .wsp-hero-grid { grid-template-columns: 1fr; }
  .wsp-2head { grid-template-columns: 1fr; gap: 20px; align-items: flex-start; }
  .wsp-kor-grid { grid-template-columns: 1fr; }
  .wsp-proc-head { grid-template-columns: 1fr; gap: 24px; }
  .wsp-proc-grid { grid-template-columns: 1fr; }
  .wsp-proc-step { border-right: none; border-bottom: 1px solid var(--line); padding-left: 0; }
  .wsp-proc-step:last-child { border-bottom: none; }
  .wsp-faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .wsp-faq-aside { position: static; }
}
@media (max-width: 700px) {
  /* na telefonie zostawiamy Produkt + cenę partnera (to istota tabeli) */
  .wsp-cen-row { grid-template-columns: 1.4fr 1fr; }
  .wsp-cen-row .det, .wsp-cen-row .save { display: none; }
  .wsp-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wsp-seg-grid { grid-template-columns: 1fr; }
}
/* odstępy nad i pod leadem w hero (ogólna reguła .fc-redesign p zerowała margines) */
.fc-redesign .wsp-hero-lead { margin: 32px 0 40px; }
/* moduł „Co możesz zamawiać” — 4 karty produktów */
.wsp-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wsp-prod { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; }
.wsp-prod:hover { transform: translateY(-4px); border-color: var(--navy); box-shadow: 0 24px 50px -20px rgba(14,32,73,0.18); }
.wsp-prod .foto { height: 140px; border-radius: 12px; background: var(--paper-warm); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; overflow: hidden; }
.wsp-prod .foto img { width: auto; height: auto; max-height: 86%; max-width: 86%; object-fit: contain; }
.fc-redesign .wsp-prod h3 { font-family: var(--serif); font-size: 19px; margin: 0; font-weight: 500; color: var(--ink); line-height: 1.25; }
.fc-redesign .wsp-prod p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }
@media (max-width: 1024px) { .wsp-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .wsp-prod-grid { grid-template-columns: 1fr; } }

/* telefon: 120px góra/dół na sekcję = 240px pustego pasa — mobile 72px */
@media (max-width: 600px) { .wsp-sec { padding: 72px 0; } }

/* Desktop: wide centered headings, lead stays narrow */
@media (min-width: 992px) {
  .wsp-center { max-width: 1120px; }
  .wsp-center p { max-width: 720px; margin-left: auto; margin-right: auto; }
  .wsp-2head--solo { grid-template-columns: 1fr; text-align: center; }
  .wsp-2head--solo .tag { justify-content: center; }
  .wsp-2head--solo h2 { max-width: 1120px; margin-left: auto; margin-right: auto; }
}

/* Telefon/tablet: nagłówki sekcji w jednej kolumnie -> eyebrow, H2 i krótki lead
   na środku (długie akapity „Terminy i dostawa” zostają do lewej). Desktop bez zmian. */
@media (max-width: 900px) {
  .wsp-2head > div:first-child, .wsp-2head > p, .wsp-proc-head > div:first-child, .wsp-proc-head > p, .wsp-faq-aside { text-align: center; }
  .wsp-2head .tag, .wsp-proc-head .tag, .wsp-faq-aside .tag { justify-content: center; }
  .fc-redesign .wsp-2head > p, .fc-redesign .wsp-proc-head > p, .fc-redesign .wsp-faq-aside p { margin-left: auto; margin-right: auto; }
  .fc-redesign .wsp-faq-aside .fc-faq-tel { margin-left: auto; margin-right: auto; }
}
/* blok „solo” jest wyśrodkowany od 992px; poniżej (także 901–991px) też */
@media (max-width: 991px) {
  .wsp-2head--solo { grid-template-columns: 1fr; text-align: center; }
  .wsp-2head--solo .tag { justify-content: center; }
}
