/* =========================================================
   layout/hero.css — Przed Słońcem
   Editorial hero. Duży serif + prosty, mocny layout.
   ========================================================= */

.section-hero {
  position: relative;
  padding: 56px 0 48px;
  background: var(--color-page);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

/* Subtelna dekoracja — linia słoneczna */
.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--color-primary) 40%, var(--color-primary) 60%, transparent 100%);
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 0;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

/* H1 w stylu editorial — duży serif */
.hero-copy h1 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(36px, 8vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-text);
  max-width: 860px;
  margin: 0 0 24px;
}

/* Podkreślona linia akcentu pod kluczowym słowem */
.hero-copy h1 em {
  font-style: italic;
  color: var(--color-primary);
}

.hero-copy .lead {
  max-width: 580px;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* Zdjęcie hero */
.hero-image-wrap {
  margin-top: 40px;
  max-width: 100%;
  position: relative;
}

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

/* Page hero (podstrony) */
.page-hero {
  padding: 48px 0 36px;
  background: var(--color-surface-soft);
  border-bottom: 1px solid var(--color-border);
}

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

/* Drobna dekoracja na page-hero */
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--color-primary);
}

.page-hero { position: relative; }
