/* Section 02 — Trusted by (partner logos) */

.age-trusted {
  width: 100%;
  background: var(--age-sand);
  color: var(--age-green);
  font-size: 1rem;
  line-height: 1.5;
}

.age-trusted *,
.age-trusted *::before,
.age-trusted *::after {
  box-sizing: border-box;
}

.age-trusted__inner {
  max-width: var(--age-content-max);
  margin: 0 auto;
  padding: clamp(1.1rem, 2.4vw, 1.75rem) clamp(1rem, 4vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.35rem);
}

.age-trusted__title {
  margin: 0;
  font-family: var(--age-font-display);
  font-size: clamp(1.35rem, 2.5vw + 0.65rem, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  color: var(--age-green);
}

.age-trusted__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 1.75rem) clamp(0.85rem, 2vw, 1.25rem);
  align-items: center;
  justify-items: center;
}

@media (min-width: 640px) {
  .age-trusted__logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .age-trusted__logos {
    grid-template-columns: repeat(5, 1fr);
  }
}

.age-trusted__logos li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 11rem;
  min-height: 3.25rem;
}

/* Mobile 2-col grid: ultimo logo (FH) da solo — occupa tutta la riga e resta centrato */
@media (max-width: 639px) {
  .age-trusted__logos li.age-trusted__logo-item--fh {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: min(100%, 16.5rem);
  }
}

.age-trusted__logos img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(2.5rem, 5vw, 4.25rem);
  object-fit: contain;
  object-position: 50% 50%;
}

.age-trusted__note {
  margin: 0;
  max-width: 36rem;
  font-family: var(--age-font-display);
  font-size: clamp(1rem, 1.4vw + 0.85rem, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: var(--age-green);
}
