/* =============================================================
   FMH Marketing Components (added 2026-05-10)
   Lifted from converting paid-Meta creatives. Marketing-first —
   do NOT use these on transactional product surfaces.

   Depends on colors_and_type.css for tokens.
   ============================================================= */

/* ---------- Speech-bubble testimonial ---------- */
.fmh-bubble {
  position: relative;
  background: var(--fmh-yellow-400);
  color: var(--fmh-mauve-900);
  padding: 32px 28px 28px;
  border-radius: 16px;
  max-width: 460px;
  margin-top: 70px; /* room for the overhanging quotation glyph */
  font-family: var(--font-sans);
}
.fmh-bubble::before {
  content: "\201C";              /* left double quotation mark */
  position: absolute;
  top: -82px;
  left: 14px;
  font-family: var(--font-display);
  font-weight: var(--w-black);
  font-size: 160px;
  line-height: 1;
  color: var(--fmh-paper);
  text-shadow: 0 6px 18px rgba(45,35,38,0.08);
}
.fmh-bubble::after {
  content: "";
  position: absolute;
  right: 38px; bottom: -18px;
  width: 0; height: 0;
  border-left: 22px solid transparent;
  border-top: 22px solid var(--fmh-yellow-400);
}
.fmh-bubble .body {
  font-size: 18px; line-height: 1.5;
  color: var(--fmh-mauve-900);
  text-wrap: pretty;
}
.fmh-bubble .attr {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fmh-mauve-900);
}
.fmh-bubble .attr-meta {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-weight: var(--w-regular);
  font-size: 13px;
  color: var(--fmh-mauve-700);
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Comparison split (5 rows, always) ---------- */
.fmh-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 28px;
  align-items: stretch;
  position: relative;
  padding: 12px 0;
}
.fmh-compare__col {
  padding: 24px 22px;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 14px;
}
.fmh-compare__col.bad  { background: var(--fmh-compare-bad); }
.fmh-compare__col.good { background: var(--fmh-compare-good); }

.fmh-compare__title {
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: var(--w-semi);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fmh-cream-100);
  background: var(--fmh-mauve-500);
  padding: 6px 14px;
  border-radius: var(--r-pill);
}
.fmh-compare__col.good .fmh-compare__title { background: var(--fmh-mauve-800); }

.fmh-compare__row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; line-height: 1.4;
  color: var(--fmh-mauve-800);
  padding: 4px 0;
  border-bottom: 1px solid rgba(45,35,38,0.08);
}
.fmh-compare__row:last-child { border-bottom: none; }
.fmh-compare__row::before {
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 14px;
  border-radius: 50%;
  color: #fff;
  margin-top: 1px;
}
.fmh-compare__col.bad .fmh-compare__row::before {
  content: "\00D7"; background: var(--fmh-danger-500);
}
.fmh-compare__col.good .fmh-compare__row::before {
  content: "\2713"; background: var(--fmh-success-500);
}

.fmh-compare__vs {
  align-self: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fmh-paper);
  border: 2px solid var(--fmh-danger-500);
  font-family: var(--font-display);
  font-weight: var(--w-black);
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fmh-danger-500);
  box-shadow: var(--shadow-2);
  position: relative; z-index: 2;
}

/* ---------- Logo trust strip ---------- */
.fmh-trust {
  text-align: center;
}
.fmh-trust__caption {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--w-semi);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fmh-mauve-700);
  margin-bottom: 22px;
}
.fmh-trust__grid {
  display: grid;
  grid-template-columns: repeat(6, 112px);
  gap: 18px;
  justify-content: center;
}
.fmh-trust__tile {
  width: 112px; height: 112px;
  background: var(--fmh-paper);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-2);
}
.fmh-trust__tile img {
  width: 78%; height: 78%;
  object-fit: contain;
}
.fmh-trust__tile.text {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--fmh-mauve-900);
  text-align: center;
  line-height: 1.05;
  padding: 0 10px;
}
@media (max-width: 720px) {
  .fmh-trust__grid { grid-template-columns: repeat(3, 112px); }
}

/* ---------- Mauve solid CTA (paired with yellow pill) ---------- */
.fmh-btn-mauve {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: var(--w-semi);
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  background: var(--fmh-mauve-800);
  color: var(--fmh-cream-100);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-base) var(--ease-out),
              transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out);
}
.fmh-btn-mauve:hover {
  background: var(--fmh-mauve-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-mauve);
}
.fmh-btn-mauve:active { transform: translateY(0) scale(0.98); }
