.services-page {
  --services-blue: #072880;
  --services-orange: #f6b030;
  --services-copy: #888888;
}

.services-page main { overflow: hidden; }
.services-page .section_title { font-size: 32px; }

.services-hero {
  position: relative;
  height: 540px;
  color: #fff;
  overflow: hidden;
}
.services-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.services-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 40, 128, .28), rgba(7, 40, 128, 0) 50%);
}
.services-hero__title {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 232px;
  transform: translateX(-50%);
}
.services-hero__title.reveal-left { transform: translate(-50%, 0) translateX(-80px); }
.services-hero__title.reveal-left.is-visible { transform: translateX(-50%); }
.services-hero__title h1,
.services-hero__title p {
  margin: 0;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 58px;
}
.services-hero__title p { margin-top: 20px; }

.services-overview {
  position: relative;
  height: 1428px;
  background: #fff;
}
.services-overview__inner {
  position: relative;
  width: min(1920px, 100%);
  height: 100%;
  margin-inline: auto;
}
.services-overview .section_title {
  position: absolute;
  left: max(24px, calc((100% - 1520px) / 2));
  top: 3%;
}
.services-brand {
  position: absolute;
  inset: 8% 0 auto;
  height: 769px;
}
.services-brand__logo {
  position: absolute;
  left: 50%;
  top: 0;
  width: 333px;
  height: 96px;
  object-fit: contain;
  transform: translateX(-50%);
}
.services-brand__logo.service-reveal-up { transform: translate(-50%, 64px); }
.services-brand__logo.service-reveal-up.is-visible { transform: translateX(-50%); }
.services-brand__copy {
  position: absolute;
  left: 50%;
  top: 144px;
  width: 872px;
  margin: 0;
  color: #888888;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  transform: translateX(-50%);
}
.services-brand__copy.service-reveal-up { transform: translate(-50%, 64px); }
.services-brand__copy.service-reveal-up.is-visible { transform: translateX(-50%); }
.services-product {
  position: absolute;
  left: 50%;
  top: 292px;
  width: min(1664px, calc(100% - 80px));
  height: 477px;
  overflow: hidden;
  transform: translateX(-50%);
}
.services-product.service-reveal-up { transform: translate(-50%, 64px); }
.services-product.service-reveal-up.is-visible { transform: translateX(-50%); }
.services-product img { position: absolute; max-width: none; }
.services-product__word {
  left: 12.62%;
  top: 55px;
  width: 74.76%;
  height: 320px;
  object-fit: fill;
}
.services-product__orbit {
  left: 35.52%;
  top: -6px;
  width: 24.22%;
  height: 403px;
  object-fit: contain;
}
.services-product__device {
  left: 30.29%;
  top: -57px;
  width: 58.23%;
  height: 545px;
  object-fit: contain;
}
.services-product__fade {
  position: absolute;
  inset: 250px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.8) 45%, #fff 100%);
}

.services-core {
  position: absolute;
  left: 50%;
  top: 980px;
  width: min(1520px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px;
  transform: translateX(-50%);
}
.services-core-card {
  min-width: 0;
  height: 348px;
  padding: 48px 38px 36px;
  border: 2px solid transparent;
  border-radius: 24px;
  outline: none;
  background: #eff8ff;
  transition: opacity .8s var(--ease) var(--service-delay, 0ms), transform .9s var(--ease) var(--service-delay, 0ms), border-color .25s ease, box-shadow .25s ease;
}
.services-core-card:hover,
.services-core-card:focus-visible {
  border-color: var(--services-blue);
  box-shadow: 0 18px 40px rgba(7, 40, 128, .08);
}
.services-core-card img {
  width: 56px;
  height: 56px;
}
.services-core-card h3 {
  margin: 27px 0 13px;
  color: var(--services-blue);
  font-size: 24px;
  font-weight: 700;
  line-height: 42px;
  white-space: nowrap;
}
.services-core-card p {
  margin: 0;
  color: #888888;
  font-size: 16px;
  line-height: 32px;
}
.services-core-card > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease) calc(var(--service-delay, 0ms) + 90ms), transform .8s var(--ease) calc(var(--service-delay, 0ms) + 90ms);
}
.services-core-card.is-visible > * { opacity: 1; transform: none; }

.service-reveal {
  opacity: 0;
  transition: opacity .8s var(--ease) var(--service-delay, 0ms), transform .9s var(--ease) var(--service-delay, 0ms);
}
.service-reveal-up { transform: translateY(64px); }
.service-reveal.is-visible { opacity: 1; transform: none; }

.brand-services {
  height: 2180px;
  background: #fff;
  overflow: hidden;
}
.brand-services__inner {
  height: 100%;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.brand-story {
  display: grid;
  grid-template-columns: 700px 690px;
  gap: 130px;
  width: 100%;
  height: 415px;
  align-items: start;
}
.brand-story__copy { min-width: 0; }
#caotang .brand-story__copy { padding-top: 70px; }
#life .brand-story__copy { padding-top: 72px; }
#xinqineng .brand-story__copy { padding-top: 36px; }
#institute .brand-story__copy { padding-top: 39px; }
.brand-story__logo { object-fit: contain; object-position: left center; }
.brand-story__logo--caotang { width: 264px; height: 72px; }
.brand-story__logo--life { width: 316px; height: 68px; }
.brand-story__logo--xinqineng { width: 254px; height: 80px; }
.brand-story__logo--institute { width: 90px; height: 96px; }
.brand-story__copy p {
  width: 700px;
  margin: 36px 0 0;
  color: #888888;
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
}
#caotang .brand-story__copy p { margin-top: 40px; }
#life .brand-story__copy p { margin-top: 42px; }
#xinqineng .brand-story__copy p { margin-top: 36px; }
#institute .brand-story__copy p { margin-top: 37px; }
.brand-story__image {
  position: relative;
  width: 690px;
  height: 415px;
  overflow: hidden;
}
.brand-story__image img {
  width: 690px;
  height: 400px;
  object-fit: contain;
}
.brand-enter {
  opacity: 0;
  transition: opacity .8s var(--ease), transform .9s var(--ease);
}
.brand-enter-left { transform: translateX(-80px); }
.brand-enter-right { transform: translateX(80px); }
.brand-story.is-visible .brand-enter { opacity: 1; transform: none; }
.brand-story.is-visible .brand-story__image { transition-delay: 140ms; }

@media (max-width: 1580px) {
  .brand-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(48px, 6vw, 96px);
  }
  .brand-story__copy p,
  .brand-story__image,
  .brand-story__image img { width: 100%; }
}

@media (max-width: 1400px) and (min-width: 1101px) {
  .services-overview { height: 1810px; }
  .services-core {
    width: min(1000px, calc(100% - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 1200px) and (min-width: 701px) {
  .services-page .empower__copy--left { padding-right: 52%; }
  .services-page .empower__copy--right { padding-left: 45%; }
}

@media (max-width: 1100px) {
  .services-hero { height: min(520px, 58vw); min-height: 380px; }
  .services-hero__title { top: 42%; }

  .services-overview { height: auto; padding: 72px 0; }
  .services-overview__inner { height: auto; }
  .services-overview .section_title { position: static; width: min(100% - 48px, 1520px); margin-inline: auto; }
  .services-brand { position: relative; inset: auto; height: auto; margin-top: 54px; }
  .services-brand__logo,
  .services-brand__copy,
  .services-product { position: relative; left: auto; top: auto; margin-inline: auto; }
  .services-brand__logo { width: 300px; height: auto; transform: none; }
  .services-brand__logo.service-reveal-up { transform: translateY(64px); }
  .services-brand__logo.service-reveal-up.is-visible { transform: none; }
  .services-brand__copy { width: min(760px, calc(100% - 48px)); margin-top: 34px; transform: none; text-align: center; }
  .services-brand__copy.service-reveal-up { transform: translateY(64px); }
  .services-brand__copy.service-reveal-up.is-visible { transform: none; }
  .services-product { width: min(1000px, calc(100% - 48px)); height: 420px; margin-top: 46px; transform: none; }
  .services-product.service-reveal-up { transform: translateY(64px); }
  .services-product.service-reveal-up.is-visible { transform: none; }
  .services-product__word { top: 78px; height: auto; }
  .services-product__orbit { top: 10px; height: auto; }
  .services-product__device { top: -10px; height: auto; }
  .services-product__fade { inset-block-start: 250px; }
  .services-core { position: relative; left: auto; top: auto; width: min(100% - 48px, 760px); margin: 42px auto 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; transform: none; }
  .services-core-card h3 { white-space: normal; }

  .brand-services { height: auto; padding: 72px 0; }
  .brand-services__inner { height: auto; padding-top: 0; gap: 72px; }
  .brand-story { height: auto; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  #caotang .brand-story__copy,
  #life .brand-story__copy,
  #xinqineng .brand-story__copy,
  #institute .brand-story__copy { padding-top: 0; }
  .brand-story__copy p { width: 100%; }
  .brand-story__image { height: 360px; }
  .brand-story__image img { height: 345px; }
}

@media (max-width: 700px) {
  .services-hero { height: 400px; }
  .services-hero > img { object-position: 58% center; }
  .services-hero__title h1,
  .services-hero__title p { font-size: 34px; line-height: 48px; }
  .services-hero__title p { margin-top: 10px; }

  .services-product { height: 300px; }
  .services-product__word { top: 72px; }
  .services-product__orbit { top: 32px; }
  .services-product__device { top: 18px; }
  .services-product__fade { inset-block-start: 185px; }
  .services-core { grid-template-columns: 1fr; }
  .services-core-card { height: auto; min-height: 320px; }

  .brand-story,
  .brand-story--reverse { grid-template-columns: 1fr; gap: 30px; }
  .brand-story__copy { order: 1; }
  .brand-story__image { order: 2; width: 100%; height: auto; aspect-ratio: 690 / 415; }
  .brand-story__image img { width: 100%; height: 100%; }
  .brand-story__copy p { text-align: left; }
}

@media (max-width: 500px) {
  .services-page .page-shell { width: calc(100% - 32px); }
  .services-page .section_title { font-size: 26px; }
  .services-hero { height: 330px; min-height: 330px; }
  .services-hero__title { top: 103px; }
  .services-hero__title h1,
  .services-hero__title p { font-size: 32px; line-height: 46px; }

  .services-overview { padding: 52px 0; }
  .services-overview .section_title { width: calc(100% - 32px); }
  .services-brand { margin-top: 42px; }
  .services-brand__logo { width: 236px; }
  .services-brand__copy { width: calc(100% - 32px); margin-top: 26px; font-size: 14px; line-height: 27px; text-align: center; }
  .services-brand__copy br { display: none; }
  .services-product { width: calc(100% - 16px); height: 236px; margin-top: 34px; }
  .services-product__word { top: 67px; }
  .services-product__orbit { top: 48px; }
  .services-product__device { top: 35px; }
  .services-product__fade { inset-block-start: 152px; }
  .services-core { width: calc(100% - 32px); margin-top: 28px; gap: 18px; }
  .services-core-card { min-height: 286px; padding: 34px 28px 30px; border-radius: 20px; }
  .services-core-card img { width: 56px; height: 56px; }
  .services-core-card h3 { margin: 22px 0 12px; font-size: 21px; line-height: 34px; }
  .services-core-card p { font-size: 14px; line-height: 27px; }

  .brand-services { padding: 52px 0; }
  .brand-services__inner { gap: 58px; }
  .brand-story { gap: 24px; }
  .brand-story__logo--caotang { width: 218px; height: auto; }
  .brand-story__logo--life { width: 244px; height: auto; }
  .brand-story__logo--xinqineng { width: 214px; height: auto; }
  .brand-story__logo--institute { width: 76px; height: auto; }
  #caotang .brand-story__copy p,
  #life .brand-story__copy p,
  #xinqineng .brand-story__copy p,
  #institute .brand-story__copy p { margin-top: 24px; }
  .brand-story__copy p { font-size: 14px; line-height: 27px; }
}

/* ============================================================
   医养合作定点服务机构（合作机构墙）
   切图来源：uploads/2026/10（main_back / left_01 / right_01 / left_02 / right_02 / brand_01-21）
   ============================================================ */
.partners {
  position: relative;
  padding: clamp(44px, 4.6vw, 88px) clamp(16px, 8.07vw, 155px) clamp(52px, 5vw, 96px);
  background-color: #f0f3fa;
  background-image: url("uploads/2026/10/main_back.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  overflow: hidden;
}
.partners__inner {
  width: min(1670px, 100%);
  margin-inline: auto;
}
.partners__head { text-align: center; }

.partners__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.1vw, 22px);
}
.partners__pulse {
  flex: 0 0 auto;
  width: clamp(52px, 6.8vw, 132px);
  height: auto;
}
.partners__kicker {
  margin: 0;
  color: #22314c;
  font-size: clamp(19px, 1.85vw, 35px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .02em;
  white-space: nowrap;
}

.partners__slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2.1vw, 42px);
  margin-top: clamp(12px, 1.5vw, 28px);
}
.partners__laurel {
  flex: 0 0 auto;
  height: clamp(42px, 5.6vw, 108px);
  width: auto;
}
.partners__title {
  margin: 0;
  color: var(--blue);
  font-size: clamp(24px, 3.55vw, 68px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  white-space: nowrap;
}

.partners__grid {
  --cols: 7;
  --tile-zoom: 1.26;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: clamp(24px, 3vw, 58px) 0 0;
  padding: 0;
  list-style: none;
}
.partners__item {
  position: relative;
  align-self: flex-start;
  flex: 0 0 calc(100% / var(--cols));
  width: calc(100% / var(--cols));
  aspect-ratio: 1 / 1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease) var(--partner-delay, 0ms),
              transform .7s var(--ease) var(--partner-delay, 0ms);
}
.partners__item.is-visible { opacity: 1; transform: none; }
.partners__item img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: calc(100% * var(--tile-zoom));
  height: calc(100% * var(--tile-zoom));
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease);
}
.partners__item:hover img,
.partners__item:focus-within img {
  transform: translate(-50%, -50%) translateY(-4px) scale(1.03);
}

@media (max-width: 1199px) {
  .partners__grid { --cols: 4; }
}
@media (max-width: 900px) {
  .partners__grid { --cols: 3; }
}
@media (max-width: 767px) {
  .partners { padding-inline: 16px; }
  .partners__eyebrow { gap: 8px; }
  .partners__slogan { gap: 8px; }
  .partners__pulse { width: 40px; }
  .partners__laurel { height: 34px; }
  .partners__kicker { font-size: clamp(17px, 4.4vw, 19px); }
  .partners__title { font-size: clamp(22px, 5.8vw, 24px); letter-spacing: 0; }
}
@media (max-width: 479px) {
  .partners__grid { --cols: 2; --tile-zoom: 1.2; }
  .partners__pulse { width: 30px; }
  .partners__laurel { height: 28px; }
  .partners__title { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-reveal,
  .services-core-card > *,
  .brand-enter { opacity: 1; transform: none; transition: none; }
  .partners__item { opacity: 1; transform: none; transition: none; }
}

