.home-hero {
  min-height: clamp(620px, 72vh, 760px);
}

.home-hero .hero__image img {
  object-position: center center;
}

.home-hero .hero__overlay {
  background:
    linear-gradient(90deg, rgba(3, 34, 66, .94) 0%, rgba(5, 61, 113, .86) 32%, rgba(7, 86, 157, .46) 58%, rgba(7, 86, 157, .08) 100%),
    linear-gradient(180deg, rgba(0, 25, 48, .08), rgba(0, 25, 48, .25));
}

.home-hero .hero__content {
  padding-top: 126px;
  padding-bottom: 126px;
}

.home-hero .hero__title {
  max-width: 900px;
  font-size: clamp(2.5rem, 4.55vw, 4.65rem);
}

.home-hero .hero__lead {
  max-width: 810px;
}

.hero-title-mobile {
  display: none;
}

.hero-title-desktop,
.hero-title-desktop .hero-title-line {
  display: block;
}

.home-section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: end;
  gap: 48px;
}

.home-section-head .section__lead {
  margin: 0;
}

.home-path-grid {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.home-path-card {
  grid-column: span 2;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid #cdddea;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(12, 70, 118, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-path-card--wide {
  grid-column: span 3;
  grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
  grid-template-rows: 1fr;
}

.home-path-card:hover {
  transform: translateY(-3px);
  border-color: #9cc6e6;
  box-shadow: 0 18px 44px rgba(12, 70, 118, .14);
}

.home-path-card__image {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf3fa;
}

.home-path-card--wide .home-path-card__image {
  aspect-ratio: auto;
  min-height: 100%;
}

.home-path-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-path-card:hover .home-path-card__image img {
  transform: scale(1.025);
}

.home-path-card__body {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.home-path-card__number {
  margin: 0 0 8px;
  color: #0b72db;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .11em;
}

.home-path-card h3 {
  margin: 0;
  color: #083c6d;
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  line-height: 1.45;
}

.home-path-card__body > p:not(.home-path-card__number) {
  margin: 10px 0 0;
  color: #5d7185;
  font-size: .94rem;
  line-height: 1.75;
}

.home-path-card__links {
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  display: grid;
  gap: 2px;
}

.home-path-card__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #e0e9f0;
  color: #075ca9;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.45;
}

.home-path-card__links span {
  flex: 0 0 auto;
}

.home-section-actions {
  margin-top: 34px;
}

.home-value {
  overflow: hidden;
}

.home-value__inner {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: clamp(42px, 6vw, 80px);
}

.home-value__visual {
  margin: 0;
  min-height: 620px;
  overflow: hidden;
  border-radius: 26px;
  background: #eaf3fa;
  box-shadow: 0 20px 54px rgba(7, 65, 111, .15);
}

.home-value__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-value__content {
  align-self: center;
}

.home-value__content .section__lead {
  max-width: 720px;
}

.home-value-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-value-grid article {
  padding: 20px;
  border: 1px solid #d6e4ef;
  border-radius: 16px;
  background: #f8fbfe;
}

.home-value-grid span {
  display: block;
  margin-bottom: 8px;
  color: #0b72db;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.home-value-grid h3 {
  margin: 0;
  color: #0a3e6d;
  font-size: 1.02rem;
  line-height: 1.45;
}

.home-value-grid p {
  margin: 8px 0 0;
  color: #627589;
  font-size: .9rem;
  line-height: 1.7;
}

.home-value__company {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #dce6ee;
  color: #607487;
  font-size: .86rem;
  line-height: 1.7;
}

.home-scene-grid {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-scene-card {
  overflow: hidden;
  border: 1px solid #d0dfeb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(12, 70, 118, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-scene-card:hover {
  transform: translateY(-3px);
  border-color: #9fc9e8;
  box-shadow: 0 18px 42px rgba(12, 70, 118, .13);
}

.home-scene-card a {
  display: grid;
  grid-template-columns: minmax(210px, .9fr) minmax(0, 1.1fr);
  height: 100%;
}

.home-scene-card figure {
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  background: #e9f2f9;
}

.home-scene-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-scene-card:hover figure img {
  transform: scale(1.025);
}

.home-scene-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.home-scene-card p {
  margin: 0 0 10px;
  color: #0b72db;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.home-scene-card h3 {
  margin: 0;
  color: #0a3e6d;
  font-size: 1.2rem;
  line-height: 1.55;
}

.home-scene-card span {
  margin-top: 22px;
  color: #075ca9;
  font-size: .9rem;
  font-weight: 850;
}

.home-scene-card b {
  margin-left: 6px;
}

.home-flow-list {
  width: min(var(--container-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-flow-list li {
  position: relative;
  min-height: 230px;
  padding: 26px;
  overflow: visible;
  border: 1px solid #d3e1ec;
  border-radius: 20px;
  background: #fff;
}

.home-flow-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #c8ddea;
  border-radius: 999px;
  background: #fff;
  color: #0b72db;
  font-weight: 900;
  transform: translateY(-50%);
}

.home-flow-list > li > span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #eaf4fd;
  color: #0870cc;
  font-size: .85rem;
  font-weight: 900;
}

.home-flow-list h3 {
  margin: 24px 0 0;
  color: #0a3e6d;
  font-size: 1.08rem;
  line-height: 1.5;
}

.home-flow-list p {
  margin: 10px 0 0;
  color: #617589;
  font-size: .92rem;
  line-height: 1.7;
}

.home-final-cta {
  background:
    linear-gradient(120deg, rgba(4, 38, 72, .96), rgba(7, 95, 174, .88)),
    url('/assets/images/generated/home_category_manage.webp') center / cover no-repeat;
}

.home-final-cta .cta-box {
  background: transparent;
  box-shadow: none;
}

.home-final-cta .section__label {
  color: #8fd0ff;
}

.home-final-cta .cta-box__title,
.home-final-cta .cta-box__text {
  color: #fff;
}

.home-final-cta .cta-box__text {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255,255,255,.84);
}

@media (max-width: 980px) {
  .home-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-path-card,
  .home-path-card--wide {
    grid-column: span 3;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .home-path-card--wide .home-path-card__image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .home-value__inner {
    grid-template-columns: 1fr;
  }

  .home-value__visual {
    min-height: 480px;
  }

  .home-scene-card a {
    grid-template-columns: 1fr;
  }

  .home-scene-card figure {
    min-height: 230px;
    aspect-ratio: 16 / 9;
  }

  .home-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-flow-list li:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .home-hero {
    min-height: 650px;
  }

  .home-hero .hero__image img {
    object-position: 58% center;
  }

  .home-hero .hero__overlay {
    background: linear-gradient(180deg, rgba(3, 34, 66, .82) 0%, rgba(3, 34, 66, .88) 55%, rgba(3, 34, 66, .95) 100%);
  }

  .home-hero .hero__content {
    padding-top: 96px;
    padding-bottom: 86px;
  }

  .home-hero .hero__title {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.14;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: block;
  }

  .hero-title-mobile span {
    display: block;
    white-space: nowrap;
  }

  .home-path-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .home-path-card,
  .home-path-card--wide {
    grid-column: auto;
  }

  .home-value__inner,
  .home-scene-grid,
  .home-flow-list {
    width: calc(100% - 28px);
  }

  .home-value__visual {
    min-height: 340px;
  }

  .home-value-grid,
  .home-scene-grid,
  .home-flow-list {
    grid-template-columns: 1fr;
  }

  .home-flow-list li {
    min-height: 0;
  }

  .home-flow-list li::after {
    display: none !important;
  }

  .home-final-cta .cta-box__title br {
    display: none;
  }
}
