/* Footer trust row: social accounts + accepted payment methods (added 2026-10-22).
   Used on index, pricing, try, privacy, terms and the exam guide pages.
   Brand icons: Simple Icons (CC0), files in assets/icons/. */
.site-trust {
  --trust-ink: #20362b;
  --trust-muted: #637066;
  --trust-line: #dce7dc;
  --trust-chip: #ffffff;
  max-width: 1420px;
  margin: 0 auto;
  padding: 22px 0 6px;
  border-top: 1px solid var(--trust-line);
  font-family: inherit;
  color: var(--trust-muted);
}
.site-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.trust-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trust-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--trust-muted);
}
.trust-social { display: flex; gap: 10px; }
.trust-social-link {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--trust-chip);
  border: 1px solid var(--trust-line);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.trust-social-link img { width: 19px; height: 19px; display: block; }
.trust-social-link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(32, 54, 43, .12); border-color: #b9d3be; }
.trust-social-link:focus-visible { outline: 3px solid #66a47b; outline-offset: 2px; }
.trust-pay { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.trust-pay-badge {
  width: 52px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--trust-line);
}
.trust-pay-badge img { width: 30px; height: 30px; display: block; }
.trust-pay-badge.trust-visa img,
.trust-pay-badge.trust-americanexpress img { width: 34px; height: 34px; }
.trust-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.trust-note { margin: 12px 0 0; font-size: 11px; line-height: 1.5; color: var(--trust-muted); }

/* Bilingual labels: shown by the page language */
html:not([lang="tr"]) .site-trust [data-l="tr"],
html[lang="tr"] .site-trust [data-l="en"] { display: none; }

/* Dark theme: keep white chips so brand colours stay true */
html[data-theme="dark"] .site-trust { --trust-muted: #9eafa1; --trust-line: #303c32; }
html[data-theme="dark"] .trust-social-link,
html[data-theme="dark"] .trust-pay-badge { border-color: #3a473c; }

/* Page-specific spacing */
.site-footer .site-trust { margin-top: 0; }
.site-trust.site-trust-standalone { width: min(1180px, calc(100% - 40px)); margin: 40px auto 0; }
.g-footer .site-trust { max-width: 1120px; padding-top: 0; border-top: 0; margin-bottom: 18px; }

@media (max-width: 650px) {
  .site-trust { padding-top: 18px; }
  .site-trust-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-group { gap: 10px; }
  .trust-label { width: 100%; }
  .trust-pay { gap: 6px; }
  .trust-pay-badge { width: 46px; height: 32px; }
  .trust-pay-badge img { width: 27px; height: 27px; }
  .trust-pay-badge.trust-visa img, .trust-pay-badge.trust-americanexpress img { width: 31px; height: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-social-link { transition: none; }
  .trust-social-link:hover { transform: none; }
}
