/* =========================================================
   layout/sections.css — Przed Słońcem
   ========================================================= */

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--color-surface-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
}

.page-hero     { padding: 48px 0 36px; }
.page-hero-compact { padding: 36px 0 22px; }

#formularz-kontaktowy { scroll-margin-top: 90px; }

/* -------------------------
   Eyebrow w sekcjach
   ------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(232, 146, 13, 0.10);
  border: 1px solid rgba(232, 146, 13, 0.20);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -------------------------
   Kafelki usług
   ------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-top: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.service-card {
  padding: 36px 32px;
  background: var(--color-surface-strong);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.18s ease;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
}

.service-card:hover {
  background: #fffdf9;
}

/* Pomarańczowa kreska po lewej przy hover */
.service-card {
  border-left: 3px solid transparent;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.service-card:hover {
  border-left-color: var(--color-primary);
  background: rgba(232, 146, 13, 0.03);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(232, 146, 13, 0.08);
  border: 1px solid rgba(232, 146, 13, 0.15);
  flex-shrink: 0;
  margin: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  stroke: var(--color-primary);
}

.service-icon img {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

.service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-muted);
}

/* -------------------------
   Kroki
   ------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 0 0 0 64px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: visible;
}

/* Linia łącząca kroki */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 42px;
  left: 20px;
  width: 1px;
  height: calc(100% + 32px);
  background: var(--color-border);
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-main);
  flex-shrink: 0;
  z-index: 1;
}

.step-card h3 {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}

.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.65;
}

/* -------------------------
   O nas
   ------------------------- */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.about-image { width: 100%; }

.about-image img,
.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  display: block;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.about-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  background: var(--color-surface-soft);
}

/* -------------------------
   Zdjęcie hero
   ------------------------- */

.hero-image-wrap {
  margin-top: 40px;
  max-width: 100%;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 460px;
  border-radius: var(--radius-card);
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 820px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card {
    border-left: none;
    border-top: 3px solid transparent;
  }
  .service-card:hover {
    border-left-color: transparent;
    border-top-color: var(--color-primary);
    background: rgba(232, 146, 13, 0.03);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 52px;
  }
  .step-card {
    padding: 0;
    padding-top: 60px;
  }
  .step-number {
    top: 0;
    left: 0;
  }
  .step-card:not(:last-child)::after {
    top: 20px;
    left: 40px;
    width: calc(100% - 20px);
    height: 1px;
  }
  .about-section {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
  .about-copy { flex: 1; }
  .about-image { flex: 1; }
}
