/* ==========================================================================
   Dafabet South Africa inner page
   Figma: node 5487:124130 (1440). Tokens come from styles.css / pages.css.
   ========================================================================== */

.sa-page { background: var(--secondary-bg-hover); }      /* solid/solid-800 #F2F3F2 */
.sa-wrap { width: 100%; max-width: 1344px; margin: 0 auto; padding: 0 48px; }

/* ---------- Hero ---------- */
.sa-hero {
  position: relative;
  background: #0B0B0B url("../assets/sa-hero.png") center right / cover no-repeat;
  min-height: 344px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sa-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(250,250,250,.96) 0%, rgba(250,250,250,.90) 26%, rgba(250,250,250,0) 52%);
  pointer-events: none;
}
.sa-hero__inner { position: relative; z-index: 1; max-width: 560px; padding: 48px 0; }
.sa-hero__title {
  font-family: var(--font-carousel);
  font-size: 36px; font-weight: 700; line-height: 44px;
  color: var(--text-dark); margin: 0 0 16px;
}
.sa-hero__text {
  font-family: var(--font-body);
  font-size: 16px; line-height: 24px; letter-spacing: .2px;
  color: var(--text-neutral-1); margin: 0 0 32px; max-width: 460px;
}
.sa-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Trust bar ---------- */
.sa-trust { margin-top: -36px; position: relative; z-index: 2; }
.sa-trust__inner {
  background: var(--secondary-bg);
  border: 1px solid var(--secondary-bg-press);
  border-radius: var(--radius-card);
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 20px 32px;
}
.sa-trust__item { display: flex; align-items: center; gap: 12px; flex: 1 1 240px; }
.sa-trust__dot {
  flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); display: grid; place-items: center;
  color: #fff; font-size: 14px; font-weight: 700;
}
.sa-trust__label { font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 18px; color: var(--text-dark); }
.sa-trust__sub   { font-family: var(--font-body); font-size: 12px; line-height: 16px; color: var(--text-neutral-1); opacity: .85; }

/* ---------- Generic section ---------- */
.sa-section { padding: 72px 0; }
.sa-section--tight { padding: 56px 0; }
.sa-section + .sa-section { border-top: 1px solid var(--secondary-bg-press); }

.sa-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .3px;
  color: var(--primary); text-transform: none; margin: 0 0 20px;
}
.sa-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--primary); }

.sa-h2 {
  font-family: var(--font-carousel);
  font-size: 64px; font-weight: 700; line-height: 68px;
  color: var(--text-dark); margin: 0 0 20px; max-width: 18ch;
}
.sa-h2--sm { font-size: 40px; line-height: 48px; max-width: none; }
.sa-kicker {
  font-family: var(--font-carousel);
  font-size: 24px; font-weight: 700; line-height: 32px;
  color: var(--primary); margin: 0 0 20px;
}
.sa-p {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 400; line-height: 24px; letter-spacing: .2px;
  color: var(--text-neutral-1); margin: 0 0 16px; max-width: 72ch;
}
.sa-p:last-child { margin-bottom: 0; }

/* Two-column: copy left, image right */
.sa-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.sa-figure { margin: 0; border-radius: var(--radius-card); overflow: hidden; }
.sa-figure img { display: block; width: 100%; height: auto; }
.sa-figure__cap {
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  line-height: 20px; color: var(--text-dark); margin-top: 12px;
}

.sa-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Cards ---------- */
.sa-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sa-card {
  background: var(--secondary-bg);
  border: 1px solid var(--secondary-bg-press);
  border-radius: var(--radius-card);
  padding: 32px;
}
.sa-card__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); display: grid; place-items: center;
  color: #fff; margin-bottom: 20px;
}
.sa-card__title {
  font-family: var(--font-carousel);
  font-size: 32px; font-weight: 700; line-height: 36px;
  color: var(--text-dark); margin: 0 0 16px;
}
.sa-card__text {
  font-family: var(--font-body);
  font-size: 16px; line-height: 24px; letter-spacing: .2px;
  color: var(--text-dark); margin: 0 0 20px;
}
.sa-note {
  border-top: 1px solid var(--secondary-bg-press);
  padding-top: 16px;
}
.sa-note__label {
  font-family: var(--font-body);
  font-size: 12px; font-weight: 500; line-height: 16px; letter-spacing: .3px;
  color: var(--primary); margin: 0 0 6px;
}
.sa-note__text {
  font-family: var(--font-body);
  font-size: 14px; line-height: 20px; letter-spacing: .25px;
  color: var(--text-neutral-1); margin: 0;
}
.sa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sa-chip {
  font-family: var(--font-body); font-size: 12px; line-height: 16px;
  letter-spacing: .3px; color: var(--text-neutral-1);
  background: var(--secondary-bg-hover);
  border: 1px solid var(--secondary-bg-press);
  border-radius: 999px; padding: 8px 14px;
}

/* ---------- Closing CTA ---------- */
.sa-cta-panel {
  background: var(--secondary-bg);
  border: 1px solid var(--secondary-bg-press);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.sa-cta-panel__copy { max-width: 60ch; }
.sa-cta-panel .sa-p { margin-bottom: 8px; }
.sa-termslink {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  color: var(--text-dark); text-decoration: underline;
}

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  .sa-wrap { padding: 0 24px; }
  .sa-section { padding: 56px 0; }
  .sa-h2 { font-size: 44px; line-height: 50px; }
  .sa-h2--sm { font-size: 32px; line-height: 40px; }
  .sa-split { grid-template-columns: 1fr; gap: 32px; }
  .sa-cards { grid-template-columns: 1fr; }
  .sa-hero { background-position: 70% center; }
  .sa-hero::after { background: linear-gradient(to right, rgba(250,250,250,.97) 0%, rgba(250,250,250,.90) 45%, rgba(250,250,250,.25) 100%); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .sa-wrap { padding: 0 16px; }
  .sa-section { padding: 40px 0; }
  .sa-hero { min-height: 0; }
  .sa-hero__inner { padding: 36px 0; }
  .sa-hero__title { font-size: 28px; line-height: 34px; }
  .sa-hero__cta .btn { width: 100%; justify-content: center; }
  .sa-trust { margin-top: -24px; }
  .sa-trust__inner { flex-direction: column; gap: 16px; padding: 20px; }
  .sa-h2 { font-size: 30px; line-height: 36px; }
  .sa-h2--sm { font-size: 24px; line-height: 32px; }
  .sa-kicker { font-size: 18px; line-height: 26px; }
  .sa-card { padding: 24px; }
  .sa-card__title { font-size: 24px; line-height: 30px; }
  .sa-media-pair { grid-template-columns: 1fr; }
  .sa-cta-panel { flex-direction: column; align-items: flex-start; padding: 24px; }
}
