.home-business,
.home-about {
  padding: 120px 24px 128px;
}

.home-business__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: min(100%, var(--layout-max));
  margin: 56px auto 0;
}

.home-business-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 10px;
  min-height: 400px;
  padding: 30px 30px 26px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 18, 18, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(18, 18, 18, 0.14);
}

.home-business-card.is-pending {
  color: var(--color-muted);
}

.home-business-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
}

.home-business-card strong {
  color: var(--color-muted);
  font-size: 19px;
  font-weight: 700;
}

.home-business-card span {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-about {
  background: var(--color-soft);
}

.home-about__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: min(100%, var(--layout-max));
  margin: 56px auto 0;
}

.home-about-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  min-height: 190px;
  padding: 34px;
  border-radius: 8px;
  color: #ffffff;
}

.home-about-card__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.home-about-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(1, 13, 29, 0.04) 20%, rgba(1, 13, 29, 0.72) 100%);
  content: "";
}

.home-about-card:hover .home-about-card__image,
.home-about-card:focus-visible .home-about-card__image {
  transform: scale(1.025);
}

.home-about-card--company {
  grid-row: 1 / span 2;
  min-height: 400px;
}

.home-about-card span {
  font-size: 15px;
  font-weight: 600;
}

.home-about-card strong {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.45;
}

.home-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 496px;
  padding: 90px 24px;
}

.home-contact__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../images/home/main-section.png") center / cover;
}

.home-contact::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.58);
  content: "";
}

.home-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 80px;
  width: min(100%, var(--layout-max));
  margin: 0 auto;
}

.home-contact__copy {
  display: grid;
  gap: 24px;
}

.home-contact__copy p,
.home-contact__copy h2,
.home-contact__copy span {
  margin: 0;
}

.home-contact__copy p {
  color: #bbbbbb;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 8px;
}

.home-contact__copy h2 {
  font-size: clamp(24px, 3.2vw, 29px);
  line-height: 1.5;
}

.home-contact__copy span {
  color: var(--color-body);
  font-size: 18px;
  line-height: 1.7;
}

.home-contact__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 44px 40px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(18, 18, 18, 0.12);
}

.home-contact__brand {
  display: grid;
  flex: 0 0 150px;
  gap: 18px;
}

.home-contact__card strong img {
  display: block;
  width: 116px;
  height: auto;
}

.home-contact__card p {
  margin: 0;
  color: var(--color-blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.home-contact__card ul {
  display: grid;
  flex: 1 1 auto;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--color-body);
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}

.home-contact__card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.home-contact__card li img {
  width: 16px;
  height: 16px;
}

@media (max-width: 1100px) {
  .home-business__grid,
  .home-about__layout,
  .home-contact__inner {
    grid-template-columns: 1fr 1fr;
  }

  .home-contact__inner {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  .home-business,
  .home-about,
  .home-contact {
    padding: 72px 20px;
  }

  .home-business__grid,
  .home-about__layout,
  .home-contact__inner {
    grid-template-columns: 1fr;
  }

  .home-about__layout {
    grid-template-rows: none;
  }

  .home-about-card:not(.home-about-card--company) {
    height: 216px;
    min-height: 0;
  }

  .home-about-card--company {
    grid-row: auto;
  }

  .home-contact__card {
    flex-direction: column;
    align-items: stretch;
    padding: 32px;
  }

  .home-contact__brand {
    flex: 0 0 auto;
  }
}
