/* ==========================================================================
   MyT Global Recruitment — Global Styles
   Premium Dark Agency — base typography, layout, utilities
   ========================================================================== */

/* ── BASE ───────────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-neutral-900);
  background-color: var(--color-white);
  font-weight: var(--font-regular);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-neutral-900);
  line-height: var(--leading-tight);
  font-weight: var(--font-bold);
  letter-spacing: -0.01em;
}

p {
  line-height: var(--leading-relaxed);
  color: var(--color-neutral-700);
}

strong {
  font-weight: var(--font-semibold);
  color: var(--color-neutral-900);
}

small {
  font-size: var(--text-sm);
}

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--section-py-mobile);
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--section-py-desk);
  }
}

/* ── COLOR BACKGROUNDS ──────────────────────────────────────────────────── */

.bg-white  { background-color: var(--color-white); }
.bg-light  { background-color: var(--color-neutral-50); }
.bg-subtle { background: var(--color-purple-50); }
.bg-dark   { background-color: var(--color-neutral-950); }
.bg-brand  { background: var(--gradient-hero); }
.bg-cta    { background: var(--gradient-cta); }

/* ── SECTION LABELS ─────────────────────────────────────────────────────── */

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-4);
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-cta);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: var(--font-extrabold);
  color: var(--color-neutral-900);
  margin-bottom: var(--space-4);
  line-height: var(--leading-tight);
}

.section-title--white {
  color: var(--color-white);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-neutral-500);
  max-width: 560px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.section-subtitle--white {
  color: rgba(255, 255, 255, 0.75);
}

/* ── TEXT UTILITIES ─────────────────────────────────────────────────────── */

.text-center  { text-align: center; }
.text-accent  { color: var(--color-brand-accent); }
.text-primary { color: var(--color-brand-primary); }
.text-white   { color: var(--color-white); }
.text-muted   { color: var(--color-neutral-500); }

.text-center .section-tag {
  justify-content: center;
}

.text-center .section-subtitle {
  margin-inline: auto;
}
