/* =========================================================
   Trust strip + premium footer
   Desktop = multi-column reference layout
   Mobile (≤700px) = compact horizontal cards + accordion footer
   ========================================================= */

.trust-section {
  background:
    radial-gradient(720px 240px at 50% 0%, rgba(37, 99, 235, 0.05), transparent 65%),
    #ffffff;
  padding: 3.1rem 0 2.6rem;
  border-top: 1px solid #eef2f7;
  overflow-x: clip;
  max-width: 100%;
}

.trust-section *,
.site-footer.ft-premium * {
  box-sizing: border-box;
}

.trust-shell {
  max-width: 1120px;
}

.trust-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.6rem;
}

.trust-eyebrow {
  margin: 0 0 0.7rem;
  color: #2563eb;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-wrap: nowrap;
  max-width: 100%;
}

.trust-eyebrow-text {
  min-width: 0;
}

.trust-head h2 {
  margin: 0;
  color: #0b1b34;
  font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.trust-head h2 span {
  color: #2563eb;
}

.trust-lead {
  margin: 0.7rem auto 0;
  max-width: 40rem;
  color: #647892;
  font-size: 0.95rem;
  line-height: 1.55;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-card {
  background: #fff;
  border: 1px solid #e6eef8;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 36, 84, 0.05);
  padding: 1.15rem 1rem 1.1rem;
  text-align: center;
  min-width: 0;
}

.trust-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  color: #fff;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.28);
  flex-shrink: 0;
}

.trust-badge svg {
  width: 22px;
  height: 22px;
}

.trust-card-body {
  min-width: 0;
}

.trust-card h3 {
  margin: 0 0 0.35rem;
  color: #0b1b34;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.trust-card p {
  margin: 0;
  color: #6b7c93;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Chevron only used on mobile layout */
.trust-card-chevron {
  display: none;
}

.trust-platforms {
  margin-top: 1.35rem;
  padding: 0.85rem 1rem;
  border: 1px solid #e6eef8;
  border-radius: 14px;
  background: #fbfcff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.trust-platforms-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #0b1b34;
  font-size: 0.9rem;
  font-weight: 700;
  min-width: 0;
}

.trust-platforms-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #e8f0ff;
  color: #2563eb;
  flex-shrink: 0;
}

.trust-platforms-ico svg {
  width: 16px;
  height: 16px;
}

.trust-platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.trust-platform-list li {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
}

.trust-platform-link {
  display: grid;
  gap: 0.25rem;
  justify-items: start;
  text-decoration: none;
  color: inherit;
}

.trust-platform-link:hover .trust-platform-meta,
.trust-platform-link:focus-visible .trust-platform-meta {
  color: #2563eb;
}

.trust-platform-logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.trust-platform-logo.logo-freelancer { color: #29b2fe; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }
.trust-platform-logo.logo-upwork { color: #14a800; text-transform: lowercase; }
.trust-platform-logo.logo-fiverr { color: #1dbf73; text-transform: lowercase; }
.trust-platform-logo .dot { color: #1dbf73; }

.trust-platform-meta {
  color: #5b6b82;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.trust-platform-meta .star { color: #2563eb; }
.trust-platform-meta small { color: #7b8ba3; font-weight: 500; }
.tp-short { display: none; }

/* —— Premium footer (desktop) —— */
.site-footer.ft-premium {
  background: #071225;
  color: rgba(232, 238, 252, 0.78);
  padding: 2.6rem 0 1.15rem;
  overflow-x: clip;
  max-width: 100%;
}

.ft-premium .ft-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 3.55fr) minmax(0, 1.05fr);
  gap: 1.4rem 1.15rem;
  align-items: start;
}

.ft-nav-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  min-width: 0;
}

.ft-premium .ft-brand,
.ft-premium .ft-col {
  min-width: 0;
}

.ft-premium .brand-footer {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.ft-premium .brand-text {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ft-premium .footer-desc {
  margin: 0.85rem 0 0;
  max-width: 18.5rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.ft-social {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ft-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ft-social a:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.ft-social svg {
  width: 15px;
  height: 15px;
}

.ft-premium .footer-heading,
.ft-premium .ft-acc-btn {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  font-family: inherit;
  line-height: 1.3;
}

.ft-premium .ft-acc-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: default;
  pointer-events: none;
}

.ft-acc-ico {
  display: none;
}

.ft-premium .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ft-premium .footer-links a {
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.86rem;
  text-decoration: none;
}

.ft-premium .footer-links a:hover {
  color: #fff;
}

.ft-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.ft-email-ico {
  display: none;
  color: #60a5fa;
  flex-shrink: 0;
}

.ft-email:hover { color: #fff; }

.ft-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.85rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #2563eb;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ft-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.ft-bottom {
  margin-top: 1.7rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.65);
}

.ft-bottom-end {
  display: contents;
}

.ft-copy {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: start;
  grid-column: 1;
}

.ft-copy-ico {
  color: #60a5fa;
  display: inline-flex;
  flex-shrink: 0;
}

.ft-made {
  margin: 0;
  justify-self: center;
  text-align: center;
  white-space: nowrap;
  grid-column: 2;
}

.ft-top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(226, 232, 240, 0.78);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  grid-column: 3;
}

.ft-top span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.45);
  display: inline-grid;
  place-items: center;
}

.ft-top:hover {
  color: #fff;
}

/* —— Tablet (keep desktop spirit; 2x2 trust cards) —— */
@media (max-width: 1100px) {
  .ft-premium .ft-main {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .ft-nav-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   MOBILE redesign (reference match) — do not affect desktop
   ========================================================= */
@media (max-width: 700px) {
  .trust-section {
    padding: 1.65rem 0 1.35rem;
    background: #fff;
  }

  .trust-head {
    margin: 0 auto 1rem;
  }

  .trust-eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.07em;
    gap: 0.28rem;
  }

  .trust-eyebrow-text {
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .trust-head h2 {
    font-size: 1.38rem;
    line-height: 1.2;
  }

  .trust-lead {
    margin-top: 0.5rem;
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 22rem;
  }

  /* Horizontal compact trust cards */
  .trust-cards {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .trust-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-align: left;
    padding: 0.72rem 0.7rem;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(15, 36, 84, 0.05);
  }

  .trust-badge {
    width: 40px;
    height: 40px;
    margin: 0;
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.24);
  }

  .trust-badge svg {
    width: 18px;
    height: 18px;
  }

  .trust-card-body {
    flex: 1 1 auto;
  }

  .trust-card h3 {
    margin: 0 0 0.15rem;
    font-size: 0.9rem;
  }

  .trust-card p {
    font-size: 0.74rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trust-card-chevron {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    color: #b6c2d4;
    flex-shrink: 0;
  }

  .trust-card-chevron svg {
    width: 14px;
    height: 14px;
  }

  /* Compact platform row — 3 columns */
  .trust-platforms {
    margin-top: 0.85rem;
    padding: 0.7rem 0.75rem 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    border-radius: 12px;
  }

  .trust-platforms-label {
    justify-content: flex-start;
    text-align: left;
    font-size: 0.8rem;
    gap: 0.4rem;
  }

  .trust-platforms-ico {
    width: 24px;
    height: 24px;
    border-radius: 7px;
  }

  .trust-platforms-ico svg {
    width: 13px;
    height: 13px;
  }

  .trust-platform-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
  }

  .trust-platform-list li {
    justify-items: center;
    text-align: center;
    min-width: 0;
  }

  .trust-platform-logo {
    font-size: 0.78rem;
  }

  .trust-platform-meta {
    font-size: 0.64rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .tp-full { display: none; }
  .tp-short { display: inline; }

  /* Compact accordion footer */
  .site-footer.ft-premium {
    padding: 1.45rem 0 1rem;
  }

  .ft-premium .ft-main {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ft-premium .ft-brand {
    text-align: left;
  }

  .ft-premium .brand-footer {
    justify-content: flex-start;
  }

  .ft-premium .brand-icon {
    width: 34px;
    height: 34px;
  }

  .ft-premium .footer-desc {
    margin: 0.55rem 0 0;
    margin-inline: 0;
    max-width: none;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .ft-social {
    margin-top: 0.7rem;
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .ft-social a {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .ft-nav-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ft-col.ft-acc {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ft-premium .ft-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    padding: 0.72rem 0;
    pointer-events: auto;
    cursor: pointer;
    color: #fff;
    font-size: 0.92rem;
  }

  .ft-acc-ico {
    display: block;
    color: rgba(226, 232, 240, 0.7);
    flex-shrink: 0;
    transition: transform 0.2s ease;
  }

  .ft-acc.is-open .ft-acc-ico {
    transform: rotate(180deg);
  }

  .ft-acc .footer-links {
    display: none;
    padding: 0 0 0.7rem;
    gap: 0.38rem;
  }

  .ft-acc.is-open .footer-links {
    display: grid;
  }

  .ft-premium .footer-links a {
    font-size: 0.82rem;
  }

  .ft-connect {
    text-align: left;
    padding-top: 0.15rem;
  }

  .ft-connect-heading {
    display: none;
  }

  .ft-email {
    display: inline-flex;
    font-size: 0.88rem;
  }

  .ft-email-ico {
    display: inline-flex;
  }

  .ft-cta {
    width: 100%;
    margin-top: 0.7rem;
    min-height: 44px;
    border-radius: 10px;
  }

  .ft-bottom {
    margin-top: 1.1rem;
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .ft-bottom-end {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
  }

  .ft-copy,
  .ft-made,
  .ft-top {
    justify-self: auto;
    grid-column: auto;
  }

  .ft-copy {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .ft-top span {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 360px) {
  .trust-head h2 {
    font-size: 1.28rem;
  }

  .trust-platform-logo {
    font-size: 0.7rem;
  }

  .trust-platform-meta {
    font-size: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-social a,
  .ft-cta,
  .ft-acc-ico {
    transition: none;
  }
}
