/* ==========================================================================
   SmartAGM v2 — "We're here to help"
   Markup: templates/home/v2/partials/support.html
   Navy band before the footer: heading + promise on one side, the two
   contact buttons on the other. It follows the navy "Partner" band, so a
   faint line on top keeps the two apart. Below 860px the buttons drop under
   the text; below 480px they stretch to full width. Logical properties
   mirror everything in RTL.
   ========================================================================== */

.support {
  background: var(--color-surface-dark);
  color: var(--color-on-dark);
}

.support__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-6) var(--space-12);
  padding-block: var(--space-14);
  border-top: 1px solid var(--color-on-dark-border);
}

.support__title {
  margin: 0 0 10px;
  /* 28px on phones → 34px on wide screens. */
  font-size: clamp(28px, 0.8vw + 24px, 34px);
  font-weight: var(--weight-light);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-snug);
  text-wrap: balance;
}

.support__lead {
  max-width: 60ch;
  margin: 0;
  color: var(--color-on-dark-muted);
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  text-wrap: pretty;
}

.support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* WhatsApp mark, before the label (after it in RTL). */
.support__icon {
  flex: none;
}

/* Noto Kufi Arabic is only loaded from 400 up (base.html). */
:lang(ar) .support__title {
  font-weight: var(--weight-regular);
  letter-spacing: 0;
}

/* ---- Small screens ------------------------------------------------------ */

@media (max-width: 860px) {
  .support__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .support__inner {
    padding-block: var(--space-12);
  }

  .support__actions .btn {
    flex: 1 1 100%;
  }
}
