:root {
  --business-red: #d02d26;
  --business-yellow: #edb84d;
  --business-green: #8abd70;
  --business-purple: #572181;
}
.subhero {
  min-height: 620px;
  padding: 170px max(20px, calc((100% - 1200px) / 2)) 90px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 48%,
      rgba(0, 0, 0, 0.32) 100%
    ),
    url("../assets/hero01_1.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.subhero::after {
  content: "BUSINESS";
  position: absolute;
  right: -2vw;
  bottom: -0.18em;
  color: rgba(255, 255, 255, 0.05);
  font-size: clamp(110px, 20vw, 300px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}
.subhero > * {
  position: relative;
  z-index: 1;
}
.subhero h1 {
  margin: 8px 0 26px;
  font-size: clamp(48px, 8vw, 102px);
  line-height: 1.08;
}
.subhero h1 span {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: 0.28em;
}
.subhero__lead {
  max-width: 780px;
  margin: 0 0 24px;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.5;
}
.subhero__body {
  max-width: 760px;
  margin: 0;
  color: #d0d0d0;
}
.page-index {
  max-width: 1200px;
  margin: -1px auto 0;
  padding: 80px 20px 110px;
}
.page-index h2 {
  font-size: 24px;
}
.page-index__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  background: #111;
}
.page-index__links a {
  min-height: 150px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  background: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.page-index__links a:nth-child(1) {
  color: var(--business-red);
}
.page-index__links a:nth-child(2) {
  color: var(--business-yellow);
}
.page-index__links a:nth-child(3) {
  color: var(--business-green);
}
.page-index__links a:nth-child(4) {
  color: #a56bd0;
}
.page-index__links b {
  color: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
}
.page-index__links i {
  align-self: flex-end;
  font-style: normal;
  font-size: 20px;
}
.service {
  --accent: var(--business-red);
  position: relative;
  padding: 140px max(20px, calc((100% - 1280px) / 2));
  overflow: hidden;
}
.service:nth-of-type(even) {
  background: #f4f2ef;
}
.service__number {
  position: absolute;
  top: 55px;
  right: max(20px, calc((100% - 1280px) / 2));
  color: color-mix(in srgb, var(--accent), transparent 84%);
  font-size: clamp(120px, 18vw, 250px);
  font-weight: 800;
  line-height: 1;
}
#used .service__number,
#amusement .service__number {
  right: auto;
  left: max(20px, calc((100% - 1280px) / 2));
}
.service__head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  gap: 7vw;
  align-items: center;
}
#used .service__head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5vw;
}
.service--reverse {
  padding-left: max(20px, calc((100% - 1160px) / 2));
}
.service--reverse .service__media {
  grid-column: 2;
}
.service--reverse .service__copy {
  grid-column: 1;
  grid-row: 1;
}
.service__media {
  height: 520px;
  overflow: hidden;
  box-shadow: 22px 22px 0 var(--accent);
}
.service__copy {
  max-width: 610px;
}
.service__label {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.service h2 {
  margin-bottom: 30px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.45;
}
.service__copy > p:not(.service__label) {
  margin-bottom: 16px;
}
.flow {
  position: relative;
  z-index: 1;
  margin-top: 90px;
  padding: 40px;
  background: #fff;
  border-top: 4px solid var(--accent);
}
.service:nth-of-type(even) .flow {
  background: #fff;
}
.flow h3 {
  margin-bottom: 30px;
  font-size: 18px;
}
.flow__list {
  display: grid;
  grid-template-columns: repeat(var(--count), minmax(0, 1fr));
  gap: 18px;
}
.flow__item {
  position: relative;
  min-width: 0;
  text-align: center;
}
.flow__item:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 38px;
  right: -14px;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
}
.flow__icon {
  width: 110px;
  height: 110px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent), white 68%);
  color: var(--accent);
  font-size: 38px;
  font-weight: 800;
}
.flow__icon img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}
.flow__item p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.service__cta {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  flex-wrap: wrap;
}
.service__cta .button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.service__cta .button::before {
  background: #111;
}
#rental .service__cta .button {
  width: min(100%, 420px);
  margin-left: 0;
  margin-right: 0;
}
#rental .service__cta .button--short {
  border-color: #0a3a91;
  background: #0a3a91;
}
.service--red {
  --accent: var(--business-red);
}
.service--yellow {
  --accent: var(--business-yellow);
}
.service--green {
  --accent: var(--business-green);
}
.service--purple {
  --accent: var(--business-purple);
}
.business-contact {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.business-contact__bg {
  position: absolute;
  inset: 0;
}
.business-contact__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(35, 0, 4, 0.78);
}
.business-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.business-contact h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.45;
}
.business-contact p {
  margin-top: 25px;
}
@media (max-width: 900px) {
  .page-index__links {
    grid-template-columns: 1fr 1fr;
  }
  .service__head {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .service--reverse .service__media,
  .service--reverse .service__copy {
    grid-column: auto;
    grid-row: auto;
  }
  .flow__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 18px;
  }
  .flow__item:nth-child(3)::after {
    display: none;
  }
}
@media (max-width: 767px) {
  .subhero {
    min-height: 620px;
    padding: 135px 20px 70px;
  }
  .subhero__lead {
    font-size: 24px;
  }
  .page-index {
    padding: 65px 20px 85px;
  }
  .page-index__links {
    grid-template-columns: 1fr;
  }
  .page-index__links a {
    min-height: 105px;
  }
  .service {
    padding: 100px 20px;
  }
  .service__number {
    top: 28px;
    right: 10px;
    font-size: 96px;
  }
  #used .service__number,
  #amusement .service__number {
    right: auto;
    left: 10px;
  }
  .service__media {
    height: 320px;
    box-shadow: 12px 12px 0 var(--accent);
  }
  #used .service__head {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  #used .service__media {
    order: 1;
    width: 100%;
  }
  #used .service__copy {
    order: 2;
    width: 100%;
  }
  .service h2 {
    font-size: 28px;
  }
  .flow {
    margin-top: 65px;
    padding: 28px 16px;
  }
  .flow__list {
    grid-template-columns: 1fr 1fr;
  }
  .flow__item:nth-child(2n)::after {
    display: none;
  }
  .flow__icon {
    width: 90px;
    height: 90px;
  }
  .service__cta {
    flex-direction: column;
  }
  .service__cta .button {
    width: 100%;
    min-width: 0;
  }
  .business-contact {
    min-height: 620px;
  }
  .business-contact__bg {
    margin: 0;
  }
  .business-contact__bg img {
    object-fit: cover;
    object-position: 25% center;
  }
}
