/* =================== hc-trust-card.css =================== */
/* Premium trust-stat card — single instance of a stat tile inside
   .hc-trust-cards grid. Bordered surface with soft gradient backdrop,
   animated gold ring on hover, big serif number with gold underline. */

.hc-trust-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: clamp(20px, 1.8vw, 28px) clamp(20px, 1.8vw, 28px) clamp(22px, 2.2vw, 32px);
  background: linear-gradient(180deg, var(--hc-paper, #ffffff) 0%, rgba(251, 247, 237, 0.78) 100%);
  border: 0.5px solid rgba(141, 109, 71, 0.16);
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.32s cubic-bezier(0.2, 0.84, 0.3, 1),
    border-color 0.32s ease,
    box-shadow 0.32s cubic-bezier(0.2, 0.84, 0.3, 1);
}
.hc-trust-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(circle at 0% 0%, rgba(212, 184, 150, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.42s ease;
  z-index: -1;
  pointer-events: none;
}
.hc-trust-card::after {
  content: "";
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  border-radius: 50%;
  border: 1px dashed rgba(212, 184, 150, 0);
  pointer-events: none;
  transition: border-color 0.32s ease, transform 14s linear;
  z-index: -1;
}
.hc-trust-card:hover {
  transform: translateY(-3px);
  border-color: var(--hc-gold-border, rgba(212, 184, 150, 0.55));
  box-shadow: 0 22px 44px -26px rgba(184, 154, 111, 0.40);
}
.hc-trust-card:hover::before { opacity: 1; }
.hc-trust-card:hover::after {
  border-color: rgba(212, 184, 150, 0.32);
  transform: rotate(360deg);
}

/* ─── Icon ─── */
.hc-trust-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.32), rgba(184, 154, 111, 0.10));
  border: 0.5px solid var(--hc-gold-border, rgba(212, 184, 150, 0.55));
  border-radius: 14px;
  color: var(--hc-accent-dark, #7a6548);
  transition: transform 0.42s cubic-bezier(0.2, 0.84, 0.3, 1), background 0.32s ease, color 0.32s ease;
}
.hc-trust-card__icon svg {
  width: 32px;
  height: 32px;
}
.hc-trust-card:hover .hc-trust-card__icon {
  background: linear-gradient(135deg, var(--hc-gold, #d4b896), #b89a6f);
  color: #2a2018;
  transform: rotate(-6deg) scale(1.06);
}

/* ─── Number with gold underline decoration ─── */
.hc-trust-card__num {
  position: relative;
  font-family: var(--hc-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--hc-ink, #1a1714);
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.hc-trust-card__num small {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--hc-accent-dark, #7a6548);
  letter-spacing: 0;
  margin-left: 2px;
}
.hc-trust-card__num::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--hc-gold, #d4b896), var(--hc-accent, #8b7355));
  border-radius: 2px;
  transition: width 0.42s cubic-bezier(0.2, 0.84, 0.3, 1);
}
.hc-trust-card:hover .hc-trust-card__num::after { width: 60px; }

/* ─── Label (mono uppercase, w/ leading dash) ─── */
.hc-trust-card__lbl {
  font-family: var(--hc-mono, "JetBrains Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hc-accent-dark, #7a6548);
  margin-bottom: 10px;
}

/* ─── Sub-description ─── */
.hc-trust-card__sub {
  font-family: var(--hc-sans, "Outfit", sans-serif);
  font-size: 13px;
  line-height: 1.55;
  color: var(--hc-ink-soft, rgba(26, 23, 20, 0.68));
  max-width: 28ch;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hc-trust-card,
  .hc-trust-card::after,
  .hc-trust-card__icon,
  .hc-trust-card__num::after {
    transition: none !important;
  }
  .hc-trust-card:hover::after { transform: none; }
}
