/* =========================================================
   CrossMerg Shared Trust Panels
   File: assets/themes/crossmerg/custom/css/marketing-trust-panels.css
   Added: 2026-07-11 12:04 PT

   Purpose:
   - Provides the canonical styling for the shared
     “Why businesses choose CrossMerg” trust panel.

   Scope:
   - Marketing shell only.
   - Opt-in through .cm-trust-panel.
   - No global element selectors.
   - No pricing, Stripe, CRM, Appointly, iframe, CAPTCHA,
     form, JavaScript, or shared contract changes.
   ========================================================= */

body.marketing-site .cm-trust-panel{
  position: relative;
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(62,121,209,0.12), transparent 36%),
    radial-gradient(circle at bottom right, rgba(62,209,150,0.10), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

body.marketing-site .cm-trust-panel::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148,163,184,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 78%);
}

body.marketing-site .cm-trust-panel > .container{
  position: relative;
  z-index: 1;
}

body.marketing-site .cm-trust-panel__head{
  max-width: 820px;
  margin: 0 auto 2rem;
}

body.marketing-site .cm-trust-panel__eyebrow{
  margin: 0 0 0.6rem;
  color: var(--cm-brand, #3e79d1);
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body.marketing-site .cm-trust-panel__title{
  margin: 0 0 0.75rem;
  color: var(--cm-ink, #0f172a);
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -0.035em;
}

body.marketing-site .cm-trust-panel__intro{
  max-width: 60rem;
  margin: 0 auto;
  color: var(--cm-muted-strong, #475569);
  font-size: 1rem;
  line-height: 1.65;
}

body.marketing-site .cm-trust-panel__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}

body.marketing-site .cm-trust-panel__card{
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.3rem, 2.5vw, 1.7rem);
  border: 1px solid rgba(148,163,184,0.24);
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 36px rgba(15,23,42,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.marketing-site .cm-trust-panel__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #3e79d1, #2f66b6);
  box-shadow: 0 10px 22px rgba(62,121,209,0.24);
  font-size: 1.05rem;
}

body.marketing-site .cm-trust-panel__content{
  min-width: 0;
}

body.marketing-site .cm-trust-panel__card-title{
  margin: 0 0 0.35rem;
  color: var(--cm-ink, #0f172a);
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.02em;
}

body.marketing-site .cm-trust-panel__lead{
  margin: 0 0 0.55rem;
  color: var(--cm-brand, #3e79d1);
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 800;
}

body.marketing-site .cm-trust-panel__text{
  margin: 0;
  color: var(--cm-muted-strong, #475569);
  font-size: 0.94rem;
  line-height: 1.6;
}

body.marketing-site .cm-trust-panel__ribbon{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.2rem;
  max-width: 1120px;
  margin: 1.6rem auto 0;
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(148,163,184,0.22);
  border-bottom: 1px solid rgba(148,163,184,0.22);
  color: rgba(15,23,42,0.78);
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 750;
  text-align: center;
}

body.marketing-site .cm-trust-panel__ribbon span{
  position: relative;
}

body.marketing-site .cm-trust-panel__ribbon span + span::before{
  content: "•";
  position: absolute;
  left: -0.75rem;
  color: rgba(62,121,209,0.55);
}

body.marketing-site .cm-trust-panel__action{
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

body.marketing-site .cm-trust-panel__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 46px;
  padding: 0.8rem 1.3rem;
  border-radius: 12px;
  color: #fff !important;
  background: var(--cm-brand, #3e79d1);
  box-shadow: 0 14px 30px rgba(62,121,209,0.24);
  font-size: 0.94rem;
  line-height: 1;
  font-weight: 850;
  text-decoration: none !important;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

body.marketing-site .cm-trust-panel__button:hover,
body.marketing-site .cm-trust-panel__button:focus{
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(62,121,209,0.30);
  outline: none;
}

@media (min-width: 768px){
  body.marketing-site .cm-trust-panel__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px){
  body.marketing-site .cm-trust-panel__card{
    border-radius: 18px;
  }

  body.marketing-site .cm-trust-panel__ribbon{
    flex-direction: column;
    gap: 0.45rem;
  }

  body.marketing-site .cm-trust-panel__ribbon span + span::before{
    display: none;
  }
}

@media (hover:hover){
  body.marketing-site .cm-trust-panel__card{
    transition:
      transform 170ms ease,
      box-shadow 170ms ease,
      border-color 170ms ease;
  }

  body.marketing-site .cm-trust-panel__card:hover{
    transform: translateY(-3px);
    border-color: rgba(62,121,209,0.30);
    box-shadow: 0 22px 48px rgba(15,23,42,0.12);
  }
}

@media (prefers-reduced-motion: reduce){
  body.marketing-site .cm-trust-panel__card,
  body.marketing-site .cm-trust-panel__button{
    transition: none !important;
  }
}
