/*
 * Jontro Bazar – Support Section CSS
 * File: /wp-content/themes/YOUR-CHILD-THEME/jontrobazar/support-section.css
 * Scoped .jbsup-* · Mobile-first · Astra safe
 */

/* ═══════════════════════════════════════
   WRAPPER
═══════════════════════════════════════ */
.jbsup {
  width: 100%;
  background: #F9F9FB;
  padding: 52px 20px;
  text-align: center;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  box-sizing: border-box;
}
.jbsup *, .jbsup *::before, .jbsup *::after {
  box-sizing: inherit;
}

/* ═══════════════════════════════════════
   HEADING
═══════════════════════════════════════ */
.jbsup__title {
  font-family: 'Syne', Georgia, serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #111;
  margin: 0 0 8px;
  letter-spacing: -.02em;
}

.jbsup__sub {
  font-size: 14.5px;
  color: #888;
  margin: 0 0 36px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   CARDS ROW
═══════════════════════════════════════ */
.jbsup__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 28px;
}

@media (min-width: 560px) {
  .jbsup__cards {
    flex-direction: row;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════
   SINGLE CARD
═══════════════════════════════════════ */
.jbsup__card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #E8E8EE;
  border-radius: 16px;
  padding: 18px 22px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  max-width: 320px;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}

.jbsup__card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s ease;
  border-radius: inherit;
}

.jbsup__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

/* WhatsApp card — green accent */
.jbsup__card:first-child:hover {
  border-color: #25D366;
}
.jbsup__card:first-child:hover .jbsup__arrow {
  color: #25D366;
}

/* Email card — orange accent */
.jbsup__card:last-child:hover {
  border-color: #F26522;
}
.jbsup__card:last-child:hover .jbsup__arrow {
  color: #F26522;
}

/* Focus ring */
.jbsup__card:focus-visible {
  outline: 2px solid #F26522;
  outline-offset: 3px;
}

/* ═══════════════════════════════════════
   ICON CIRCLE
═══════════════════════════════════════ */
.jbsup__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.jbsup__card:hover .jbsup__icon {
  transform: scale(1.08);
}

/* WhatsApp — green */
.jbsup__icon--wa {
  background: #E8F9EE;
  color: #25D366;
  border: 1.5px solid #C3EDD1;
}

/* Email — orange */
.jbsup__icon--em {
  background: #FFF3EC;
  color: #F26522;
  border: 1.5px solid #FFD9BF;
}

/* ═══════════════════════════════════════
   TEXT
═══════════════════════════════════════ */
.jbsup__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  flex: 1;
}

.jbsup__label {
  font-size: 12px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.jbsup__value {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

/* ═══════════════════════════════════════
   ARROW
═══════════════════════════════════════ */
.jbsup__arrow {
  font-size: 18px;
  color: #CCC;
  transition: color .2s ease, transform .2s ease;
  flex-shrink: 0;
}
.jbsup__card:hover .jbsup__arrow {
  transform: translateX(3px);
}

/* ═══════════════════════════════════════
   TAGLINE
═══════════════════════════════════════ */
.jbsup__tagline {
  font-size: 13.5px;
  color: #999;
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   MOBILE
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .jbsup { padding: 36px 16px; }
  .jbsup__sub { margin-bottom: 24px; }
  .jbsup__card { max-width: 100%; padding: 15px 18px; }
  .jbsup__icon { width: 44px; height: 44px; min-width: 44px; }
  .jbsup__value { font-size: 14px; }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .jbsup__card,
  .jbsup__icon,
  .jbsup__arrow { transition: none; }
}
