/* Home page — Figma style */

/* CLIENTS MARQUEE */
.clients { background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.clients__label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-2);
  margin-bottom: 20px; text-align: center;
}
.marquee__item {
  display: flex; align-items: center; justify-content: center;
  height: 60px; flex-shrink: 0; margin-right: 76px;
}
.marquee__item img {
  height: 52px; width: auto; max-width: 180px;
  object-fit: contain; filter: none; opacity: 1;
  transition: transform 0.3s;
}
.marquee__item img:hover { transform: translateY(-3px); }

/* HERO */
.hero {
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #FAFBFD 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__headline {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 14ch;
}
.hero__lede {
  margin-top: 22px;
  max-width: 50ch;
}
.hero__cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--r-xl);
  display: block;
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 4 / 5; max-width: 420px; }
}

/* STATS — niebieski pasek */
.stats {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(40px, 5vw, 64px);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats__item { text-align: center; }
.stats__num {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.stats__label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

/* TRUSTBAR */
.trustbar__title {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.trustbar__row { padding-block: 8px; }
.trustbar__logo {
  height: 55px;
  width: auto;
  max-width: 225px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.trustbar__logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.marquee__track { gap: 0; }
@media (max-width: 760px) {
  .trustbar__logo { height: 36px; max-width: 140px; }
  .marquee__track { gap: 44px; }
}

/* SERVICES */
.services__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.services__head .eyebrow { margin-bottom: 16px; }
.services__head .section-title { margin-bottom: 18px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service { display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.service__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
}
.service__title {
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.service__desc { color: var(--muted); font-size: 15px; line-height: 1.6; }
.service__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.service__list li { position: relative; padding-left: 18px; }
.service__list li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--blue);
}
.service__link {
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.service__link:hover { color: var(--blue-700); }

@media (max-width: 760px) {
  .services__grid { grid-template-columns: 1fr; }
  .service__list { grid-template-columns: 1fr; }
}

/* PROCESS */
.process { background: var(--bg-alt); }
.process__head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.process__head .eyebrow { margin-bottom: 16px; }
.process__head .section-title { margin-bottom: 18px; }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.step__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.step__title { font-size: 18px; font-weight: 600; line-height: 1.25; }
.step__desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
.step__time {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (max-width: 980px) { .process__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process__grid { grid-template-columns: 1fr; } }

/* CASES */
.cases__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}
.cases__head .eyebrow { margin-bottom: 16px; }
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.case-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(11,16,32,0.18); }
.case-card__photo {
  aspect-ratio: 16 / 10;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.case-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-card__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.case-card__desc { color: var(--muted); font-size: 14px; line-height: 1.6; }
.case-card__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
  padding: 14px;
  background: var(--bg-alt);
  border-radius: 10px;
}
.case-card__metrics > div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.case-card__metrics b {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}
.case-card__metrics span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.case-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.case-card__link:hover { color: var(--blue-700); }

@media (max-width: 980px) { .cases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .cases__grid { grid-template-columns: 1fr; } }

/* TRUST / Certificates */
.trust__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.trust__copy .eyebrow { margin-bottom: 16px; }
.trust__copy .section-title { margin-bottom: 18px; }
.trust__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
}
.badge__name { font-size: 13px; font-weight: 600; color: var(--ink); }
.badge__year {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
@media (max-width: 880px) {
  .trust__inner { grid-template-columns: 1fr; }
  .trust__badges { grid-template-columns: repeat(2, 1fr); }
}

/* FAQ */
.faq__head { text-align: center; margin-bottom: clamp(32px, 4vw, 56px); }
.faq__head .eyebrow { margin-bottom: 14px; justify-content: center; display: inline-flex; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.qa {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
  transition: border-color 0.2s;
}
.qa[open] { border-color: var(--blue); }
.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  letter-spacing: -0.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.25s;
}
.qa[open] summary::after { content: "−"; }
.qa p {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 70ch;
}

/* BLOG TEASER */
.blog-teaser__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
  flex-wrap: wrap;
}
.blog-teaser__head .eyebrow { margin-bottom: 16px; }
.blog-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.post-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.post-card__photo {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.post-card__body h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.post-card__meta { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 880px) { .blog-teaser__grid { grid-template-columns: 1fr; } }

/* CTA */
.cta {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(72px, 8vw, 110px);
}
.cta__inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta__title {
  color: #fff;
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.025em;
}
.cta .lede { color: rgba(255,255,255,0.75); margin: 0 auto 30px; }
.cta__btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.cta .btn-ghost:hover { border-color: #fff; }
.cta__notes {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}


/* === Home — Jak wygląda współpraca === */
.home-process header { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.home-process__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.home-process__step {
  background: var(--card-bg, #f7f5f0);
  border: 1px solid var(--border, rgba(0,0,0,.08));
  border-radius: 18px;
  padding: clamp(20px, 2.4vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
}
.home-process__num {
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: 14px; letter-spacing: .04em;
  color: var(--muted, #6b6b66);
}
.home-process__step h3 { font-size: clamp(18px, 1.6vw, 22px); margin: 0; line-height: 1.25; }
.home-process__step p  { color: var(--muted, #4f4f4a); margin: 0; line-height: 1.55; }

/* === Home — Wybrane case studies === */
.home-cases header { max-width: 760px; margin-bottom: clamp(32px, 5vw, 64px); }
.home-cases__more  { margin-top: clamp(28px, 4vw, 48px); display: flex; justify-content: center; }

/* === Home — FAQ — używa stylu z .svc-faq z service.css === */
.home-faq .svc-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 80px); }
@media (max-width: 860px) { .home-faq .svc-faq__grid { grid-template-columns: 1fr; } }


/* OPINIE / TESTIMONIALS */
.home-quotes { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-quotes__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.home-quotes__head .eyebrow { margin-bottom: 16px; }
.home-quotes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.home-quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.home-quote blockquote { margin: 0; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }
.home-quote figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 4px; border-top: 1px solid var(--line); }
.home-quote__name { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.home-quote__role { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.home-quotes__note { margin-top: 28px; color: var(--muted); }
.home-quotes__note a { color: var(--blue); }
@media (max-width: 760px) { .home-quotes__grid { grid-template-columns: 1fr; } .home-quote { padding: 26px; } }
