﻿.insun-carousel .swiper-wrapper {
  height: 100%;
}

.insun-carousel .swiper-slide {
  min-width: 0;
}

.insun-carousel .swiper-pagination.insun-carousel__pagination {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.insun-carousel .swiper-pagination-lock.insun-carousel__pagination {
  display: none;
}

.insun-carousel .insun-carousel__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.78);
  opacity: 1;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.insun-carousel .insun-carousel__dot.is-active {
  width: 28px;
  background: var(--gold);
}

.insun-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 55px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  padding: 0 26px;
  color: #ffffff;
  background: transparent;
  font-size: 14px;
  transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.insun-button:hover,
.insun-button--light {
  color: var(--text-main);
  border-color: #ffffff;
  background: #ffffff;
}

.insun-button--dark {
  color: #1d2b38;
  border-color: #aab4bf;
}

.insun-button--dark:hover {
  border-color: #ffffff;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #202b35;
  font-size: clamp(30px, 2.25vw, 42px);
  font-weight: 500;
}

.section-heading p {
  margin: 22px auto 0;
  color: #87909b;
  font-size: 24px;
}

.home-motion body[data-route="home"] :is(
  .home-hero__content p,
  .home-hero__content h1,
  .home-hero__content span,
  .home-hero__actions .insun-button,
  .home-institute__content p,
  .home-institute__content h2,
  .home-institute__content strong,
  .home-institute__content span,
  .home-institute__content .insun-button,
  .home-clients .section-heading > *,
  .home-clients__logos,
  .home-join h2,
  .home-join__content > p,
  .home-join__actions,
  .site-footer__content > *
) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.home-motion body[data-route="home"] .home-hero__content p {
  transform: translate3d(-18px, 0, 0);
}

.home-motion body[data-route="home"] .home-hero__content h1 {
  transform: translate3d(0, 30px, 0);
}

.home-motion body[data-route="home"] .home-hero__content span {
  transform: translate3d(0, 18px, 0);
}

.home-motion body[data-route="home"] .home-hero__actions .insun-button {
  transform: translate3d(0, 16px, 0);
}

.home-motion body[data-route="home"] .home-institute__content :is(p, h2, strong, span) {
  transform: translate3d(-26px, 0, 0);
}

.home-motion body[data-route="home"] .home-clients__logos img {
  opacity: 0.86;
  transform: scale(1.012);
}

@media (prefers-reduced-motion: reduce) {
  .home-motion body[data-route="home"] :is(
    .home-hero__content p,
    .home-hero__content h1,
    .home-hero__content span,
    .home-hero__actions .insun-button,
    .home-institute__content p,
    .home-institute__content h2,
    .home-institute__content strong,
    .home-institute__content span,
    .home-institute__content .insun-button,
    .home-clients .section-heading > *,
    .home-clients__logos,
    .home-clients__logos img,
    .home-join h2,
    .home-join__content > p,
    .home-join__actions,
    .site-footer__content > *
  ) {
    opacity: 1;
    transform: none;
  }
}

.home-hero__slide {
  min-height: 1080px;
  background: url("../../assets/images/pc-hero-kv-01.png") center top / cover no-repeat;
}

.home-hero__content {
  width: min(900px, 86vw);
  margin: 0 auto;
  padding-top: 284px;
  color: #ffffff;
  text-align: center;
}

.home-hero__content p {
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 24px;
}

.home-hero__content h1 {
  margin: 0;
  font-size: clamp(38px, 3vw, 45px);
  font-weight: 400;
}

.home-hero__content span {
  display: block;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.home-hero__actions,
.home-institute__actions,
.home-join__actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 80px;
}

.home-business {
  padding: 124px clamp(32px, 5.6vw, 57px) 28px;
  background: #ffffff;
}

.home-business__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 39px 25px;
  max-width: 1806px;
  margin: 38px auto;
}

.home-business__card {
  position: relative;
  margin: 0;
}

.home-business__motion {
  display: block;
}

.home-business__image {
  position: relative;
  overflow: hidden;
  background: #d8e2ea;
}

.home-business__image img {
  width: 100%;
  aspect-ratio: 585 / 271;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.home-business__card:hover .home-business__image img,
.home-business__card.is-hover .home-business__image img {
  transform: scale(1.055);
}

.home-business__card h3 {
  margin: 20px 0 14px;
  color: #1d2732;
  font-size: 30px;
  font-weight: 500;
}

.home-business__motion > p {
  margin: 0;
  color: #66717e;
  font-size: 18px;
}

.home-business__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  align-content: center;
  justify-content: center;
  gap: 14px;
  padding: 26px;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.home-business__card:hover .home-business__overlay,
.home-business__card.is-hover .home-business__overlay {
  opacity: 1;
}

.home-business__overlay span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 3px;
  padding: 0 12px;
  color: #3b4650;
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  white-space: nowrap;
}

.home-business .home-business__more {
  display: flex;
  width: max-content;
  margin: 0 auto;
  transition: color 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.home-business .home-business__more:hover,
.home-business .home-business__more:focus-visible {
  color: #ffffff;
  border-color: #09264b;
  background: #09264b;
  box-shadow: 0 12px 26px rgba(9, 38, 75, 0.18);
  transform: translateY(-2px);
}

.home-business__mobile {
  display: none;
}

.home-institute {
  min-height: 1080px;
  background: url("../../assets/images/pc-institute-bg.png") center top / cover no-repeat;
}

.home-institute__content {
  width: min(900px, 86vw);
  margin: 0 auto;
  padding-top: 376px;
  color: #ffffff;
  text-align: center;
}

.home-institute__content p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  letter-spacing: 6px;
}

.home-institute__content h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 500;
}

.home-institute__content strong {
  display: block;
  margin-top: 6px;
  font-size: 42px;
  font-weight: 500;
}

.home-institute__content span {
  display: block;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 24px;
}

.home-clients {
  padding: 165px 0 127px;
  background: #ffffff;
}

.home-clients__carousel {
  width: min(1202px, 82vw);
  margin: 70px auto 0;
  overflow: visible;
}

.home-clients__logos {
  display: flex;
  justify-content: center;
}

.home-clients__logos picture,
.home-clients__logos img {
  width: 100%;
  height: auto;
}

.home-join {
  min-height: 1080px;
  background: url("../../assets/images/pc-join-bg.png") center top / cover no-repeat;
}

.home-join__content {
  width: min(900px, 88vw);
  margin: 0 auto;
  padding-top: 180px;
  color: #ffffff;
  text-align: center;
}

.home-join__content h2 {
  margin: 0 0 34px;
  font-size: 42px;
  font-weight: 400;
}

.home-join__content p {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 24px;
}

.home-join__content p strong {
  color: #ffffff;
  font-weight: 500;
}

.home-join__content p span::before {
  margin-right: 18px;
  content: "|";
}

.home-join__actions {
  margin-top: 78px;
}

.home-join-contact {
  position: relative;
  display: inline-flex;
  z-index: 3;
}

.home-join-contact__card {
  position: absolute;
  right: calc(100% + 18px);
  top: 50%;
  width: min(412px, 72vw);
  color: #1f2d3a;
  opacity: 0;
  pointer-events: none;
  text-align: left;
  transform: translateY(-50%) translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-join-contact.is-open .home-join-contact__card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.home-join-contact__tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  border-radius: 0 18px 0 0;
  padding: 0 42px 0 22px;
  color: #ffffff;
  background: #1688d6;
  font-size: 14px;
  line-height: 1;
}

.home-join-contact__tag::after {
  margin-left: 8px;
  content: ">";
}

.home-join-contact__body {
  display: grid;
  grid-template-columns: 158px 1fr;
  overflow: hidden;
  min-height: 166px;
  border-radius: 0 5px 5px 5px;
  background: #ffffff;
  box-shadow: 0 20px 38px rgba(9, 38, 75, 0.18);
}

.home-join-contact__qr {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
}

.home-join-contact__qr img {
  width: 116px;
  height: 116px;
}

.home-join-contact__info {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 28px 22px;
}

.home-join-contact__person {
  display: flex;
  align-items: baseline;
  margin-bottom: 18px;
}

.home-join-contact__name {
  color: #2387d8;
  font-size: 23px;
  font-weight: 500;
}

.home-join-contact__divider,
.home-join-contact__position {
  color: #1c2430;
  font-size: 15px;
  font-weight: 400;
}

.home-join-contact__divider {
  margin: 0 10px;
}

.home-join-contact__info p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  margin: 7px 0;
  color: #30343a;
  font-size: 17px;
  line-height: 1.2;
}

.home-join-contact__info p img {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.home-join-contact__info p span::before {
  content: none;
}

.home-clients .home-clients__carousel .swiper-pagination.insun-carousel__pagination {
  bottom: -54px;
}

.home-clients .home-clients__carousel .insun-carousel__dot {
  background: #d5dce2;
}

.home-clients .home-clients__carousel .insun-carousel__dot.is-active {
  background: var(--gold);
}

@media (max-width: 767px) {
  .home-hero,
  .home-hero__slide,
  .home-business,
  .home-institute,
  .home-clients,
  .home-join {
    height: var(--mobile-section-height);
    min-height: var(--mobile-section-height);
    max-height: var(--mobile-section-height);
    overflow: hidden;
  }

  .home-hero__slide {
    background-image: url("../../assets/images/mobile-hero-kv-01.png");
    background-position: center;
    background-size: cover;
  }

  .home-hero__content {
    width: var(--mobile-content-width);
    padding-top: 170px;
  }

  .home-hero__content p {
    margin-bottom: 21px;
    font-size: 15px;
    letter-spacing: 3px;
  }

  .home-hero__content h1 {
    font-size: 23px;
  }

  .home-hero__content span {
    margin-top: 16px;
    font-size: 12px;
  }

  .home-hero__actions {
    gap: 10px;
    margin-top: 272px;
  }

  .home-business {
    padding: 88px 0 56px;
  }

  .home-business__grid {
    display: none;
  }

  .home-business__mobile {
    display: block;
    width: 100%;
    max-width: 100vw;
    height: auto;
    margin: 36px auto 0;
    padding-bottom: 36px;
    box-sizing: border-box;
  }

  .home-business__mobile .swiper-wrapper {
    align-items: stretch;
    height: auto;
  }

  .home-business__mobile .swiper-slide {
    display: flex;
    align-items: stretch;
    width: min(390px, calc(100vw - 72px));
    height: auto;
  }

  .home-business__mobile-card {
    width: 100%;
    height: auto;
    background: #ffffff;
    box-sizing: border-box;
  }

  .home-business__mobile-card .home-business__image {
    overflow: hidden;
  }

  .home-business__mobile-card img {
    width: 100%;
    aspect-ratio: 352 / 164;
    object-fit: cover;
  }

  .home-business__mobile-card h3 {
    margin: 20px 0 15px;
    color: #121820;
    font-size: 18px;
    font-weight: 500;
  }

  .home-business__mobile-card p {
    color: #787f88;
    font-size: 15px;
  }

  .home-business__mobile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
  }

  .home-business__mobile-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    min-height: 24px;
    border-radius: 2px;
    padding: 0 11px;
    color: #7c838b;
    background: #f1f2f4;
    font-size: 12px;
  }

  .home-business__mobile .insun-carousel__dot {
    background: #d5dce2;
  }

  .home-business__mobile .insun-carousel__dot.is-active {
    background: var(--gold);
  }

  .home-business .home-business__more {
    margin: 22px auto 0;
  }

  .home-institute {
    background-image: url("../../assets/images/mobile-institute-bg.png");
    background-position: center;
    background-size: cover;
  }

  .home-institute__content {
    width: var(--mobile-content-width);
    padding-top: 197px;
  }

  .home-institute__content p {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 2px;
  }

  .home-institute__content h2,
  .home-institute__content strong {
    font-size: 22px;
  }



  .home-institute__content span {
    margin-top: 18px;
    font-size: 12px;
  }

  .home-institute__actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 150px;
  }

  .home-clients {
    padding: 88px 0 72px;
  }

  .home-clients__carousel {
    width: var(--mobile-content-width);
    margin-top: 32px;
  }

  .home-clients .swiper-pagination.insun-carousel__pagination {
    display: none;
  }

  .home-join {
    background-image: url("../../assets/images/mobile-join-bg.png");
    background-position: center;
    background-size: cover;
  }

  .home-join__content {
    width: var(--mobile-content-width);
    padding-top: 130px;
  }

  .home-join__content h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 500;
    white-space: nowrap;
  }

  .home-join__content p {
    justify-content: flex-start;
    gap: 6px;
    width: max-content;
    margin: 7px auto;
    padding-left: 0;
    font-size: 12px;
    text-align: left;
  }

  .home-join__content p strong {
    font-size: 13px;
  }

  .home-join__content p span {
    font-size: 13px;
  }

  .home-join__content p span::before {
    margin-right: 6px;
  }

  .home-join__actions {
    position: relative;
    gap: 17px;
    margin-top: 348px;
  }

  .home-join-contact {
    position: static;
  }

  .home-join-contact__card {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 14px);
    width: min(342px, calc(100vw - 36px));
    transform: translateX(-50%) translateY(8px);
  }

  .home-join-contact.is-open .home-join-contact__card {
    transform: translateX(-50%) translateY(0);
  }

  .home-join-contact__tag {
    height: 24px;
    padding: 0 28px 0 16px;
    font-size: 12px;
  }

  .home-join-contact__body {
    grid-template-columns: 122px 1fr;
    min-height: 145px;
  }

  .home-join-contact__qr img {
    width: 86px;
    height: 86px;
  }

  .home-join-contact__info {
    padding: 20px 14px;
  }

  .home-join-contact__person {
    margin-bottom: 18px;
  }

  .home-join-contact__name {
    font-size: 23px;
  }

  .home-join-contact__info p {
    gap: 6px;
    margin: 5px 0;
    font-size: 12px;
  }

  .home-join-contact__info p img {
    width: 13px;
    height: 13px;
  }

  .insun-carousel .swiper-pagination.insun-carousel__pagination {
    bottom: 22px;
    gap: 8px;
  }

  .insun-carousel .insun-carousel__dot {
    width: 5px;
    height: 5px;
  }

  .insun-carousel .insun-carousel__dot.is-active {
    width: 18px;
  }

  .insun-button {
    min-width: 140px;
    height: 40px;
    padding: 0 18px;
    font-size: 12px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .section-heading p {
    margin-top: 13px;
    font-size: 15px;
    padding: 0 39px;
  }

  .home-business__mobile .swiper-pagination.insun-carousel__pagination {
    bottom: 18px;
  }
}
