/* Strona główna — layout v2 */

/* ——— Home header: subtle bar ——— */
.header--home {
  position: relative;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

/* ——— Hero: split, single image + panel ——— */
.hero-wrap {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
}

@media (min-width: 900px) {
  .hero-wrap {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
  }
}

.hero-visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 19, 26, 0.75) 0%, transparent 55%);
  pointer-events: none;
}

@media (min-width: 900px) {
  .hero-visual::after {
    background: linear-gradient(105deg, rgba(18, 19, 26, 0.55) 0%, transparent 50%);
  }
}

.hero-panel {
  background: var(--paper);
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid var(--accent);
  position: relative;
}

@media (min-width: 900px) {
  .hero-panel {
    padding: 48px 40px 56px 44px;
  }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cool);
  margin-bottom: 16px;
}

.hero-eyebrow svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.hero-panel h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-panel h1 .line2 {
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.4em;
  letter-spacing: 0.02em;
}

.hero-panel p {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 26px;
  line-height: 1.75;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 14px 26px 14px 22px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-tight);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-cta);
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

/* ——— Motto strip ——— */
.motto-bar {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  overflow: hidden;
}

.motto-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
}

.motto-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-tight);
  background: var(--paper);
}

.motto-pill--solid {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.motto-sep {
  color: var(--line);
  font-weight: 300;
  display: none;
}
@media (min-width: 600px) {
  .motto-sep { display: inline; }
}

/* ——— Insight section (replaces bento) ——— */
.section-block {
  padding: 72px 0;
}

.section-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cool-soft);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 40px;
  max-width: 28rem;
}

.insight-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (min-width: 800px) {
  .insight-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .insight-cell--img {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 100%;
  }
  .insight-cell--stat {
    grid-column: 2;
    grid-row: 1;
  }
  .insight-cell--risk {
    grid-column: 2;
    grid-row: 2;
  }
  .insight-cell--wide {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.insight-cell {
  background: var(--surface);
  padding: 28px 26px;
  min-height: 140px;
}

.insight-cell--img {
  padding: 0;
  min-height: 280px;
}

.insight-cell--img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.stat-xl {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-h {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.stat-p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.stat-p em {
  font-style: normal;
  font-weight: 700;
  color: var(--cool);
}

.pillstack {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0;
  margin-top: 14px;
}

.pillstack i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cool);
  color: #fff;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  border: 2px solid var(--surface);
  flex-shrink: 0;
}
.pillstack i:first-child { margin-left: 0; }

/* Progress — vertical layout, numbers on left */
.risk-block .risk-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}

.meter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.meter-row {
  display: grid;
  grid-template-columns: 72px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
}

.meter-name {
  color: var(--muted);
  font-weight: 600;
}

.meter-bar {
  height: 4px;
  background: var(--paper-deep);
  border-radius: 2px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cool) 0%, var(--accent) 100%);
  border-radius: 2px;
  width: 0;
  transition: width 0.8s ease;
}

.meter-val {
  text-align: right;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.precision-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.precision-h {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}

.precision-num {
  font-family: var(--font-head);
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}

.precision-ic {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--paper-deep);
  border-radius: var(--radius-tight);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--line);
}
.precision-ic svg {
  width: 26px;
  height: 26px;
}

/* ——— Article ——— */
.article-zone {
  padding: 64px 0 80px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.article-zone .container {
  max-width: 680px;
}

.article-zone h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 2.2rem 0 0.75rem;
}

.article-zone h2:first-of-type {
  margin-top: 0;
}

.article-zone p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.article-fig {
  margin: 2rem 0;
}

.article-fig img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article-fig figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
}

.quote-panel {
  margin: 2rem 0;
  padding: 24px 24px 24px 20px;
  background: var(--paper);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: 1.05rem;
  font-style: italic;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.55;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cool);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.step-num {
  width: 48px;
  min-width: 48px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body {
  padding: 16px 18px;
  flex: 1;
}
.step-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.step-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ——— Offer: text left, image right ——— */
.deal-wrap {
  padding: 72px 0 88px;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.deal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 800px) {
  .deal {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .deal__copy {
    order: 1;
  }
  .deal__product {
    order: 2;
  }
}

.deal__copy {
  padding: 40px 32px 44px;
}

.deal__product {
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  min-height: 260px;
}

.deal__product img {
  max-width: 100%;
  width: 240px;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.4));
}

.deal-k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.deal-title {
  font-family: var(--font-head);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.15;
}

.deal-sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.deal-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.deal-price {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.deal-note {
  font-size: 0.82rem;
  color: var(--muted);
}

.feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Tekst po lewej, ikona check po prawej */
.feat span {
  flex: 1;
  text-align: left;
}
.feat-ic {
  width: 22px;
  height: 22px;
  min-width: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.feat strong {
  color: var(--ink);
  font-weight: 600;
}

.deal-cta {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 16px 24px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--radius-tight);
  border: 2px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.deal-cta:hover {
  background: transparent;
  color: var(--ink);
}

.deal-foot {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

@media (max-width: 640px) {
  .section-block { padding: 48px 0; }
  .insight-cell--img { min-height: 220px; }
  .insight-cell--img img { min-height: 220px; }
}
