/* Why Gotezu is Different, upright arc (height-only) */
.why-gotezu {
  background: var(--gotezu-bg, #f7f4ef);
  padding: 72px 24px 100px;
  overflow: hidden;
}

.why-gotezu.why-gotezu--decorated {
  position: relative;
  isolation: isolate;
  z-index: 2;
  overflow: visible;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: 28px;
}

.why-gotezu.why-gotezu--decorated .why-gotezu__stage {
  padding-bottom: 190px;
}

.why-gotezu.why-gotezu--decorated::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/serviceelement2.png") center center / 100% auto no-repeat;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.92;
}

.why-gotezu.why-gotezu--decorated .why-gotezu__inner {
  position: relative;
  z-index: 1;
}

.why-gotezu__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.why-gotezu__head {
  text-align: center;
  margin-bottom: 20px;
}

.why-gotezu__title {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1c2539;
}

.why-gotezu__stage {
  position: relative;
  padding-top: 24px;
  padding-bottom: 304px;
  overflow: visible;
}

.why-gotezu__arc-line {
  position: absolute;
  left: 50%;
  top: 8px;
  width: min(1220px, 100%);
  height: 280px;
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.why-gotezu__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
  min-height: 460px;
}

.why-gotezu__mascot {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(70px);
  z-index: 20;
  width: min(677px, 57.3vw);
  pointer-events: none;
}

.why-gotezu__mascot img {
  display: block;
  width: 100%;
  height: auto;
}

.why-gotezu__card {
  width: 100%;
  min-height: 320px;
  padding: 26px 24px 28px;
  background: #fff;
  border: 1px solid #e6e8ec;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(28, 37, 57, 0.08);
  color: #1c2539;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Arc via vertical position only, no rotation, no overlap */
.why-gotezu__card--1 {
  margin-top: 96px;
}

.why-gotezu__card--2 {
  margin-top: 40px;
}

.why-gotezu__card--3 {
  margin-top: 0;
  border-color: #fa8b17;
  box-shadow: 0 16px 36px rgba(250, 139, 23, 0.16);
}

.why-gotezu__card--4 {
  margin-top: 40px;
}

.why-gotezu__card--5 {
  margin-top: 96px;
}

.why-gotezu__card:hover {
  border-color: rgba(250, 139, 23, 0.55);
  box-shadow: 0 18px 40px rgba(28, 37, 57, 0.12);
  transform: translateY(-6px);
}

.why-gotezu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #fff4e8;
  color: #fa8b17;
  font-size: 20px;
}

.why-gotezu__card-title {
  margin: 0 0 12px;
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1c2539;
  text-align: center;
}

.why-gotezu__card-text {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5d666f;
}

@media (prefers-reduced-motion: reduce) {
  .why-gotezu__card {
    transition: none;
  }
}

@media (max-width: 1100px) {
  .why-gotezu__cards {
    gap: 14px;
    min-height: 420px;
  }

  .why-gotezu__stage {
    padding-bottom: 423px;
  }

  .why-gotezu.why-gotezu--decorated .why-gotezu__stage {
    padding-bottom: 250px;
  }

  .why-gotezu__mascot {
    bottom: 18px;
    width: min(547px, 52vw);
  }

  .why-gotezu__card {
    min-height: 300px;
    padding: 20px 18px 22px;
  }

  .why-gotezu__card-title {
    font-size: 16px;
  }

  .why-gotezu__card-text {
    font-size: 12.5px;
  }

  .why-gotezu__card--1, .why-gotezu__card--5 {
    margin-top: 72px;
  }

  .why-gotezu__card--2, .why-gotezu__card--4 {
    margin-top: 28px;
  }
}

@media (max-width: 900px) {
  .why-gotezu {
    padding: 56px 16px 56px;
  }

  .why-gotezu__arc-line {
    display: none;
  }

  .why-gotezu__stage {
    padding-bottom: 0;
  }

  .why-gotezu__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
  }

  .why-gotezu__card, .why-gotezu__card--1, .why-gotezu__card--2, .why-gotezu__card--3, .why-gotezu__card--4, .why-gotezu__card--5 {
    margin-top: 0;
    min-height: 0;
  }

  .why-gotezu__mascot {
    position: static;
    left: auto;
    transform: none;
    width: min(417px, 73.9vw);
    margin: 82px auto 0;
  }
}
