/* ==========================================================================
   TRUST STRIP
   One line each, four across, closing the page above the footer. Deliberately
   quiet: these are reassurances a visitor confirms on the way out, not claims
   that need to compete with the catalogue.
   ========================================================================== */

.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-4);
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3) var(--sp-4);
}

@media (min-width: 768px) {
  /* Four across and centred once there is room — at that width it reads as a
     single line of reassurance rather than a list. */
  .trust-strip ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--sp-4);
  }

  .trust-strip li { justify-content: center; }
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  min-width: 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--tbs-green);
}

.trust-strip svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.trust-strip span { overflow-wrap: anywhere; }

/* ==========================================================================
   FLASH MESSAGES
   The result of a plain form post, shown at the top of the page after the
   redirect. Lives here because the newsletter form is what introduced them.
   ========================================================================== */

.flash {
  margin: var(--sp-4) 0 0;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-card);
  border-left: 3px solid;
  font-size: var(--fs-small);
}

.flash--ok  { background: var(--tbs-green-soft); border-color: var(--tbs-green); color: #1F5537; }
.flash--bad { background: #FBEEEE;               border-color: var(--danger);    color: #7A2C2A; }

/* ==========================================================================
   HELP BAND
   Three columns above the footer: contact, social, newsletter.

   Cream rather than the footer's green. It is the last thing a visitor reads
   before the legal links, and it is asking for something — a call, a follow, an
   email address. Sitting it in the page's own colour keeps it part of the
   content rather than part of the small print.
   ========================================================================== */

.help-band {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-6);
}

.help-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 720px) {
  /* auto-fit, not a fixed count.

     The Follow us column only renders once a social URL is configured. With a
     hard three-column grid its absence left an empty third of the row — which
     is exactly what the screenshot showed. auto-fit lets the remaining columns
     share the width instead. */
  .help-band__grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-6);
  }
}

@media (min-width: 1024px) {
  .help-band__grid { gap: var(--sp-6); }

  /* Dividers rather than boxes: panels would compete with the cards above. */
  .help-col + .help-col {
    padding-left: var(--sp-6);
    border-left: 1px solid var(--line);
  }
}

.help-col { min-width: 0; }

.help-col__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--tbs-green);
  margin: 0 0 var(--sp-2);
}

.help-col__body {
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0 0 var(--sp-4);
  max-width: 40ch;
}

.help-col__fine {
  margin: var(--sp-3) 0 0;
  font-size: .72rem;
  color: var(--ink-mute);
}

/* ---- Contact list ---- */

.help-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-small);
}

.help-col__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--ink-mute);
}

.help-col__list svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--tbs-green);
}

.help-col__list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.help-col__list a:hover { color: var(--tbs-green); text-decoration: underline; }

/* ---- Social ---- */

.help-social {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.help-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tbs-green-soft);
  color: var(--tbs-green);
  transition: background var(--dur-micro) var(--ease-brand),
              color var(--dur-micro) var(--ease-brand),
              transform var(--dur-micro) var(--ease-brand);
}

.help-social svg { width: 19px; height: 19px; }

.help-social a:hover {
  background: var(--tbs-green);
  color: var(--white);
  transform: translateY(-2px);
}

.help-social a:focus-visible {
  outline: 2px solid var(--tbs-green);
  outline-offset: 3px;
}

/* ---- Subscribe ---- */

.help-sub {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  overflow: hidden;
}

.help-sub:focus-within { border-color: var(--tbs-green); }

.help-sub__input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 13px var(--sp-4);
  font-family: inherit;
  font-size: var(--fs-body);   /* 16px, or iOS zooms the page on focus */
  color: var(--ink);
  background: none;
}

.help-sub__input:focus { outline: none; }

.help-sub__btn {
  flex: none;
  border: 0;
  padding: 0 var(--sp-5);
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--tbs-green);
  cursor: pointer;
  transition: background var(--dur-micro) var(--ease-brand);
}

.help-sub__btn:hover { background: var(--tbs-green-deep); }

.help-sub__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

/* Honeypot. Off-screen rather than display:none — some bots skip anything
   hidden, and the point is that they fill it in. */
.help-sub__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 420px) {
  /* Side by side at this width leaves the field too narrow to read an address
     back in. */
  .help-sub { flex-direction: column; }
  .help-sub__btn { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .help-social a { transition: none; }
  .help-social a:hover { transform: none; }
}
