/* Shared catalogue footer, intentionally independent of either header shell. */
.az-site .az-reference-footer {
  background: #fff;
  color: #383838;
  padding: 20px 0 44px;
  font-family: var(--az-font-main, Arial, sans-serif);
  font-size: calc(var(--az-type-body, 1px) * 14);
  font-style: normal;
  font-weight: var(--az-font-weight, 400);
  line-height: 1.5;
  letter-spacing: var(--az-body-letter-spacing, 0em);
  overflow-wrap: anywhere;
  scroll-margin-top: 30px;
}
.az-reference-footer *, .az-reference-footer *::before { box-sizing: border-box; }
.az-reference-footer__container {
  width: min(calc(100% - 2 * var(--az-gutter, 32px)), var(--az-container, 1280px));
  margin-inline: auto;
}
.az-site .az-reference-footer a { text-decoration: none; }
.az-site .az-reference-footer a:focus-visible { outline: 2px solid var(--az-color-primary, #d6192b); outline-offset: 4px; }
.az-site .az-reference-footer p { margin: 0; }
.az-reference-footer__categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.az-site .az-reference-footer__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px 14px;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  color: #374151;
  transition: border-color .15s, background-color .15s;
}
.az-site .az-reference-footer__card:hover {
  border-color: #cbd2d9;
  background: #fafbfc;
}
.az-site .az-reference-footer__image {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  margin-bottom: 10px;
  border-radius: 14px;
  background: #f3f5f7;
  color: #64748b;
}
.az-site .az-reference-footer__image :is(img, svg) {
  display: block;
  width: 36px;
  height: 36px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.az-site .az-reference-footer__image svg { width: 30px; height: 30px; }
.az-site .az-reference-footer__name { color: var(--az-color-secondary, #222222); font-size: calc(var(--az-type-body, 1px) * 13); font-weight: 500; line-height: 1.4; }
.az-site .az-reference-footer__card:hover .az-reference-footer__name { color: var(--az-color-primary, #d6192b); }
.az-site .az-reference-footer__count { display: block; margin-top: 4px; font-size: calc(var(--az-type-body, 1px) * 12); color: #7b8490; }
.az-site .az-reference-footer__details { margin-block: 40px 36px; text-align: center; font-size: calc(var(--az-type-body, 1px) * 14); line-height: 1.6; }
.az-site .az-reference-footer__details strong { font-weight: 500; }
.az-site .az-reference-footer__details a { color: inherit; }
.az-site .az-reference-footer__details a:hover { text-decoration: underline; }
.az-reference-footer__contacts { display: flex; justify-content: center; flex-wrap: wrap; column-gap: .35em; }
.az-reference-footer__contacts > span + span::before { content: '-'; margin-right: .35em; }
.az-site .az-reference-footer__keywords h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  color: var(--az-color-secondary, #222222);
  font-family: var(--az-font-heading, var(--az-font-main, Arial, sans-serif));
  font-size: calc(var(--az-type-h2, 1px) * 16);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--az-body-letter-spacing, 0em);
  text-transform: none;
}
.az-site .az-reference-footer__keywords h2 svg { width: 16px; height: 20px; flex-shrink: 0; }
.az-site .az-reference-footer__keywords ul { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.az-site .az-reference-footer__keywords li { margin: 0; padding: 0; max-width: 100%; }
.az-site .az-reference-footer__keywords li a {
  display: block;
  padding: 4px 12px;
  border: 1px solid #e1e1e1;
  border-radius: 999px;
  background: #f4f4f4;
  color: #707070;
  font-size: calc(var(--az-type-body, 1px) * 13);
  font-weight: var(--az-font-weight, 400);
  line-height: 1.5;
  transition: color .15s, background-color .15s;
}
.az-site .az-reference-footer__keywords li a:hover { color: var(--az-color-primary, #d6192b); background: #eee; }
.az-site .az-reference-footer__keywords .az-reference-footer__keyword--top a {
  font-size: calc(var(--az-type-body, 1px) * 17);
  font-weight: 700;
}
@media (max-width: 960px) {
  .az-reference-footer__categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
  .az-site .az-reference-footer__details { margin-block: 32px; }
}
@media (max-width: 600px) {
  .az-site .az-reference-footer { padding-block: 16px 30px; }
  .az-reference-footer__container { width: calc(100% - 2 * var(--az-mobile-gutter, 16px)); }
  .az-reference-footer__categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .az-site .az-reference-footer__card { padding: 13px 8px 12px; }
  .az-site .az-reference-footer__image { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 8px; }
  .az-site .az-reference-footer__image :is(img, svg) { width: 28px; height: 28px; }
  .az-site .az-reference-footer__details { margin-block: 28px; font-size: calc(var(--az-type-body, 1px) * 13); }
  .az-reference-footer__contacts { flex-direction: column; gap: 4px; }
  .az-reference-footer__contacts > span + span::before { content: none; }
  .az-site .az-reference-footer__keywords li a { font-size: calc(var(--az-type-body, 1px) * 12); padding: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .az-site .az-reference-footer a { transition: none; }
}

.az-footer-confidence {
  --az-footer-accent: #b8090d;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 28px;
  padding: clamp(16px, 3vw, 36px);
  border-radius: 14px;
  background: #e9effd;
}
.az-reference-footer .az-footer-confidence h2 {
  margin: 0 0 16px;
  color: var(--az-footer-accent);
  font-size: calc(var(--az-type-h2, 1px) * 24);
  line-height: 1.25;
}
.az-reference-footer #az-footer-assurances-title { color: #155798; text-transform: uppercase; }
.az-footer-confidence__assurances {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 12px #18243921;
}
.az-footer-confidence__assurances details + details { border-top: 1px solid #d9dce3; }
.az-footer-confidence__assurances summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f1f2f4;
  color: var(--az-footer-accent);
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.az-footer-confidence__assurances summary::-webkit-details-marker { display: none; }
.az-footer-confidence__assurances summary:focus-visible { outline: 2px solid #155798; outline-offset: -3px; }
.az-footer-confidence__toggle {
  display: grid;
  flex: 0 0 32px;
  height: 32px;
  place-items: center;
  border-radius: 5px;
  background: var(--az-footer-accent);
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.az-footer-confidence__toggle::before { content: '+'; }
.az-footer-confidence__assurances details[open] .az-footer-confidence__toggle::before { content: '−'; }
.az-footer-confidence__assurances p { padding: 12px 16px 16px; }
.az-footer-confidence__feedback { text-align: center; }
.az-footer-confidence__review {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  margin: 20px 0 0;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 5px #18243918;
  text-align: left;
}
.az-footer-confidence__avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: #e9effd;
  color: #155798;
  font-size: 20px;
  font-weight: 700;
}
.az-footer-confidence__stars { color: #936000; letter-spacing: .08em; }
.az-footer-confidence__author { color: var(--az-footer-accent); font-weight: 700; }
.az-footer-confidence__review blockquote {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  font-style: italic;
}
@media (max-width: 760px) {
  .az-footer-confidence { grid-template-columns: minmax(0, 1fr); }
}

.az-footer-confidence [hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .az-footer-confidence__review[data-az-footer-review]:not([hidden]) {
    animation: az-footer-review-enter .25s ease-out;
  }
  @keyframes az-footer-review-enter {
    from { opacity: 0; transform: translateX(8px); }
  }
}
