/* 页面基础、双栏布局及右侧服务区 */
:root {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #24528f;
  background: #e9f5ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 8px 3.44vw;
  background:
    radial-gradient(ellipse at 7% 12%, #c4e4fd, transparent 46%),
    linear-gradient(120deg, #e8f4ff, #f5faff 64%, #dfefff);
}

a {
  font: inherit;
  cursor: pointer;
}

a:focus-visible {
  outline: 3px solid #228af2;
  outline-offset: 4px;
}

.portal {
  max-width: 1680px;
  min-height: auto;
  margin: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 14px;
  border-radius: 30px;
  background: rgba(245, 254, 255, 0.87);
  box-shadow: 0 18px 65px #7dadd226;
}

.feature {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 30px;
  background: #fcfdff;
}

.right-column {
  display: grid;
  grid-template-rows: max-content minmax(440px, 1fr);
  gap: 12px;
  min-width: 0;
}

.shortcuts {
  border-radius: 26px;
  background: #ffffffeb;
  padding: 18px 20px 19px;
  box-shadow: 0 12px 36px #87bad52a;
}

.shortcuts h2 {
  display: table;
  border-radius: 30px;
  background: #edf5ff;
  color: #2c70ce;
  font-size: 14px;
  line-height: 30px;
  padding: 0 16px;
  margin: 0 0 13px;
  font-weight: 700;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.shortcut-grid a {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 19px;
  text-align: left;
  border: 1px solid #d5e5ff;
  border-radius: 24px;
  box-shadow:
    inset 0 0 0 1px white,
    0 9px 18px #a1c1ed14;
  background: linear-gradient(#fff, #eaf3ff);
  color: #2e65b4;
  font-size: 21px;
  font-weight: 500;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.shortcut-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 16px #96c4f840;
}

.brand {
  width: 42px;
  flex: none;
  display: block;
  text-align: center;
}

.shortcut-grid .brand-icon {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.services {
  background: linear-gradient(125deg, #f7fbff, #eaf2ff);
  border-radius: 26px;
  padding: 49px 20px 23px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 32px #87bad520;
}

.service-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 9px;
  text-align: center;
}

.service-heading:before,
.service-heading:after {
  content: "";
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, #cbdfff, #62749e);
}

.service-heading:after {
  transform: scaleX(-1);
}

.service-heading h2 {
  font-size: 52px;
  line-height: 1.2;
  letter-spacing: 2px;
  margin: 9px 0 0;
  color: #596c98;
  font-weight: 900;
  white-space: nowrap;
}

.service-heading p {
  margin: 0;
  color: #596c98;
  letter-spacing: 2px;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 600;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  flex: 1;
}

.service-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 15px;
  padding: 20px 18px;
  text-align: left;
  color: #5d5970;
  box-shadow: 0 3px 2px #0000001c;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px #90add338;
}

.service-card svg {
  width: 86px;
  flex: none;
  filter: drop-shadow(0 6px 2px #548bcd20);
}

.service-card strong {
  display: block;
  font-size: 30px;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
}

.description {
  display: block;
  font-size: 20px;
  line-height: 1.45;
}

.service-card > span {
  min-width: 0;
}

@media (min-width: 1600px) {
  .portal {
    height: calc(100vh - 16px);
    min-height: 850px;
  }
}

@media (max-width: 1400px) {
  .right-column {
    grid-template-rows: max-content 1fr;
  }

  .shortcuts {
    padding: 16px;
  }

  .shortcut-grid {
    gap: 12px;
  }

  .shortcut-grid a {
    height: 73px;
    font-size: 18px;
    gap: 12px;
    padding: 0 14px;
  }

  .services {
    padding: 36px 16px 20px;
  }

  .service-heading h2 {
    font-size: 42px;
  }

  .service-heading p {
    font-size: 22px;
  }

  .service-card {
    padding: 20px 12px;
    gap: 6px;
  }

  .service-card svg {
    width: 64px;
  }

  .service-card strong {
    font-size: 24px;
  }

  .description {
    font-size: 16px;
  }
}

@media (max-width: 1050px) {
  body {
    padding: 12px;
  }

  .portal {
    grid-template-columns: 1fr;
    max-width: 820px;
    padding: 12px;
    gap: 14px;
  }

  .right-column {
    grid-template-rows: max-content auto;
  }

  .shortcuts {
    padding: 20px;
  }

  .shortcut-grid a {
    font-size: 21px;
    height: 80px;
  }

  .services {
    padding: 28px 20px 24px;
  }

  .service-heading {
    margin-bottom: 20px;
  }

  .service-grid {
    grid-auto-rows: minmax(145px, auto);
  }

  .service-card svg {
    width: 78px;
  }

  .service-card strong {
    font-size: 27px;
  }

  .description {
    font-size: 18px;
  }
}

@media (max-width: 520px) {
  body {
    padding: 7px;
  }

  .portal {
    padding: 8px;
    border-radius: 24px;
  }

  .feature {
    border-radius: 19px;
  }

  .shortcuts {
    padding: 16px 12px;
    border-radius: 19px;
  }

  .shortcut-grid {
    gap: 10px;
  }

  .shortcut-grid a {
    height: 66px;
    padding: 0 10px;
    gap: 9px;
    font-size: 15px;
    border-radius: 17px;
  }

  .brand {
    width: 31px;
  }

  .shortcut-grid .brand-icon {
    height: 31px;
  }

  .services {
    padding: 23px 12px 17px;
    border-radius: 19px;
  }

  .service-heading {
    gap: 10px;
    margin-bottom: 16px;
  }

  .service-heading h2 {
    font-size: 34px;
  }

  .service-heading p {
    font-size: 18px;
  }

  .service-grid {
    gap: 10px;
    grid-auto-rows: minmax(145px, auto);
  }

  .service-card {
    padding: 15px 9px;
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }

  .service-card svg {
    width: 48px;
  }

  .service-card strong {
    font-size: 20px;
  }

  .description {
    font-size: 14px;
  }

  .description br {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.service-heading {
  position: relative;
}

.service-heading:before {
  clip-path: polygon(0 0, 94% 0, 100% 100%, 96% 100%, 93% 12%, 0 12%);
  height: 20px;
}

.service-heading:after {
  clip-path: polygon(0 0, 94% 0, 100% 100%, 96% 100%, 93% 12%, 0 12%);
  height: 20px;
}

/* 左侧轮播：按容器宽度缩放，不受右侧文字样式影响。 */
.carousel {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  container-type: inline-size;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel-viewport {
  height: 122.564103cqw;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  height: 100%;
  transition: transform 900ms ease;
  will-change: transform;
}

.swiper-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding-bottom: 5.128205cqw;
}

.carousel_carouselItem__1aY9k {
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 900ms ease-in-out,
    transform 900ms ease-in-out;
}

.swiper-slide-active .carousel_carouselItem__1aY9k {
  opacity: 1;
  transform: scale(1);
}

.carousel_upImg__379jJ {
  display: block;
  width: 100%;
  height: 70.25641cqw;
  object-fit: fill;
  mix-blend-mode: multiply;
  user-select: none;
  -webkit-user-drag: none;
}

.slide-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 9.230769cqw;
  margin: 0 0 2.564103cqw;
  color: #12bcef;
  font-size: 6.153846cqw;
  line-height: 1;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow:
    0 0.512821cqw 0 #cff3ff,
    0 0.769231cqw 0.769231cqw #9edbea66;
}

.content-panel {
  display: block;
  width: 100%;
  height: 31.794872cqw;
  margin: 0;
  padding: 0;
}

.content-panel-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow {
  position: absolute;
  top: calc(55.153846cqw - 22px);
  width: 6.153846cqw;
  height: 6.153846cqw;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #21a9e1;
}

.carousel-arrow span {
  width: 4.102564cqw;
  height: 4.102564cqw;
  border-top: 0.769231cqw solid currentColor;
  border-right: 0.769231cqw solid currentColor;
}

.previous {
  left: 10px;
}

.previous span {
  transform: rotate(-135deg);
}

.next {
  right: 10px;
}

.next span {
  transform: rotate(45deg);
}

.pagination {
  position: absolute;
  bottom: 3.076923cqw;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.025641cqw;
  height: 1.025641cqw;
}

.pagination button {
  position: relative;
  width: 2.564103cqw;
  height: 1.025641cqw;
  padding: 0;
  border: 0;
  border-radius: 0.769231cqw;
  background: #afb3c8;
  opacity: 0.4;
  transition:
    width 300ms linear,
    opacity 300ms linear;
}

.pagination button::before {
  content: "";
  position: absolute;
  inset: -12px -2px;
}

.pagination button.active {
  width: 4.102564cqw;
  opacity: 1;
}

.is-resetting .swiper-wrapper,
.is-resetting .carousel_carouselItem__1aY9k {
  transition: none !important;
}

.is-dragging .swiper-wrapper {
  transition: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .swiper-wrapper,
  .carousel_carouselItem__1aY9k,
  .pagination button {
    transition: none;
  }
}

button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
.carousel:focus-visible {
  outline: 3px solid #228af2;
  outline-offset: 4px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(135deg, #2bcaf0, #2485ed);
  color: white;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}
