/* ============================================================
         HERO
         ============================================================ */
.hero {
  padding: 84px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 48px);
  margin-bottom: 22px;
  color: var(--text-special-heading);
  font-weight: 100;
}
.hero h1 .hl {
  font-weight: 600;
}
.hero p.lead {
  font-size: 17.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* --- karta "dashboard" — element sygnaturowy hero --- */
.logo-strip {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
}
.logo-strip .cap {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .report-card {
    transform: none;
    max-width: 460px;
  }
}

/* --- bolączki --- */
@media (max-width: 980px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .pain-grid {
    grid-template-columns: 1fr;
  }
}

/* --- zakres / co dostajesz --- */
.scope-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.scope-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.scope-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 28px;
  position: sticky;
  top: 100px;
  height: fit-content;
}
@media (max-width: 900px) {
  .scope-wrap {
    grid-template-columns: 1fr;
  }
  .scope-note {
    position: static;
  }
}

/* --- proces --- */
@media (min-width: 900px) {
  .process-step:not(:last-child)::after {
    display: block;
  }
}
@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}
@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
         PRZYKŁADY AUTOMATYZACJI — siatka kart specyficzna dla tej usługi
         ============================================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.usecase-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
}
.usecase-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.usecase-ico svg {
  width: 20px;
  height: 20px;
}
.usecase-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}
.usecase-card p {
  font-size: 13.5px;
  color: var(--text-muted);
}
@media (max-width: 980px) {
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
         CENNIK — Krok 1 (wdrożenie) + Krok 2 (abonamenty)
         ============================================================ */
.pricing-step {
  margin-bottom: 56px;
}
.step-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 20px;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.rec {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-dim), var(--surface) 40%);
}
.price-card .badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.price-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.price-card .desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 34px;
}
.price-card .price {
  font-family: var(--font-mono);
  font-size: 34px;
  color: var(--text);
  margin-bottom: 2px;
}
.price-card .price span {
  font-size: 14px;
  color: var(--text-faint);
  font-weight: 400;
}
.price-card .period {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.price-feat {
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}
/* --- Krok 1: karta hero cennika, szersza, dwukolumnowa --- */
.price-card-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  max-width: 100%;
}
.price-card-hero .hero-main .price {
  font-size: 40px;
}
.price-card-hero .hero-feats .price-feat {
  margin-bottom: 0;
}

@media (max-width: 820px) {
  .price-card-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* --- przepływ automatyzacji — element sygnaturowy tej podstrony --- */
.flow-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.flow-node {
  flex: 1 1 220px;
  max-width: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 22px 18px;
  text-align: center;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.flow-node:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.flow-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.flow-ico svg {
  width: 20px;
  height: 20px;
}
.flow-label {
  display: block;
  font-size: 13.5px;
  color: var(--text-muted);
}
.flow-arrow {
  font-size: 22px;
  color: var(--text-faint);
  flex: none;
}
@media (max-width: 700px) {
  .flow-wrap {
    flex-direction: column;
  }
  .flow-arrow {
    transform: rotate(90deg);
  }
  .flow-node {
    max-width: 100%;
    width: 100%;
  }
}

/* --- realizacje --- */
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--surface);
}
.work-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface-2), var(--ink));
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}
.work-body h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}
.work-body .metric {
  font-size: 14px;
  color: var(--status);
  font-weight: 600;
}
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* --- opinie --- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 26px;
}
.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--accent);
}
.quote-card p.q {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.quote-who .name {
  font-size: 13.5px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ --- */
/* --- CTA końcowe / kontakt --- */
.cta-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
}
.cta-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 18px;
}
.cta-copy p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 440px;
}
.contact-alt {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.contact-alt a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.contact-alt a svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.form-card {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px; /* iOS Safari: <16px na inputach wywoluje auto-zoom przy fokusie */
}
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* --- mobilny pasek CTA --- */
