.brand img {
  width: 96px;
}

.hero-mark img {
  width: 250px;
  height: auto;
}

.logo-on-dark {
  filter: brightness(0) invert(1);
  background: transparent !important;
}

.footer-grid img {
  width: 96px;
}

.group-intro,
.ecosystem {
  padding: 7rem 0;
}

.group-intro {
  background: #fff;
}

.group-intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) 1.28fr;
  gap: 7rem;
  align-items: center;
}

.group-logo-card {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 4rem;
  border: 1px solid #dfe3ea;
  background: linear-gradient(145deg, #fff 55%, #f6f7f9 55%);
}

.group-logo-card img {
  width: min(100%, 250px);
}

.group-intro-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.group-intro-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: #5b6576;
  font-size: 1.05rem;
}

.group-principles {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}

.group-principles span {
  padding: .55rem .8rem;
  border: 1px solid #001c71;
  color: #001c71;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-panel > img {
  width: min(100%, 250px);
}

.ecosystem {
  background: #f6f7f9;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid #cfd5df;
  background: #cfd5df;
}

.brand-card {
  min-height: 390px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem;
  background: #fff;
}

.brand-card img {
  width: 170px;
  height: auto;
}

.brand-card h3 {
  margin-bottom: .7rem;
  font-size: 1.35rem;
}

.brand-card p {
  color: #5b6576;
}

.brand-card a,
.brand-card span {
  color: #001c71;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.brand-card-restaurant {
  border-top: 4px solid #ff6c0e;
}

.brand-card-company {
  border-top: 4px solid #001c71;
}

@media (max-width: 850px) {
  .group-intro,
  .ecosystem {
    padding: 5rem 0;
  }

  .group-intro-grid,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .group-intro-grid {
    gap: 2.5rem;
  }

  .group-logo-card {
    min-height: 310px;
  }
}

@media (max-width: 560px) {
  .brand-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .brand-card img {
    width: 140px;
  }
}
