/* Landing page (/) - chooses between TEAM for Kids and TEAM Rehabilitation.
   Base design comes from /css/components.css. */

body {
  background: linear-gradient(180deg, #eef7ed 0%, #f6f3f4 45%, #ffffff 100%);
  min-height: 100vh;
}

.landing-page {
  --svc-ink: #2f6b3a;
  padding-bottom: 56px;
}

.landing-hero {
  padding: 56px 0 40px;
}
.landing-logos {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.landing-logos img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(45, 70, 94, .15);
}
.landing-hero .svc-lead {
  max-width: 640px;
}

.landing-brands {
  padding: 0 0 40px;
}
.landing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border-top: 6px solid var(--svc);
  box-shadow: 0 16px 40px rgba(45, 70, 94, .12);
  transition: transform .15s, box-shadow .15s;
}
.landing-card:hover,
.landing-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(45, 70, 94, .18);
}
.landing-card-photo {
  position: relative;
}
.landing-card-photo > img:first-child {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.landing-card-logo {
  position: absolute;
  left: 28px;
  bottom: -44px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  background: #fff;
}
.landing-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 56px 32px 32px;
}
.landing-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.landing-card .svc-btn {
  align-self: flex-start;
}

.landing-page .landing-contact {
  margin-top: 0;
}
.landing-contact a {
  color: inherit;
}

@media (max-width: 575px) {
  .landing-hero { padding: 36px 0 28px; }
  .landing-card-body { padding: 52px 22px 24px; }
  .landing-card .svc-btn { align-self: stretch; }
}
