/* ============================================================
 * foundation/section-head.css
 * .section-head ve .section-head--split bileşeni — tüm sayfalar için ortak.
 * ============================================================ */

/* ── Temel başlık bloğu ───────────────────────────────────── */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: clamp(28px, 3.6vw, 44px);
}

.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-brand);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.section-head__eyebrow::before,
.section-head__eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-brand);
  opacity: .5;
}

.section-head__title {
  margin: 0;
  color: var(--color-brand-deep);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.section-head__lead {
  margin: 0;
  max-width: 60ch;
  color: var(--color-ink-600);
  font-size: .95rem;
  line-height: 1.65;
}

/* ── Split varyant — sol başlık / sağ aksiyon ─────────────── */
.section-head--split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
  gap: var(--space-8);
}

.section-head--split .section-head__main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-head--split .section-head__actions {
  flex-shrink: 0;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 820px) {
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
  }
}

@media (max-width: 640px) {
  .section-head {
    gap: 8px;
    margin-bottom: clamp(20px, 4vw, 28px);
  }

  .section-head__title {
    font-size: clamp(1.18rem, 4.5vw, 1.45rem);
  }
}
