/* 案例详情：浅底首屏 + 成果数据 + 背景/挑战/方案。顶栏只改本页，不碰页脚 Logo */

.page--case-detail .header {
  color: var(--color-text);
}

.page--case-detail .header .logo__on-dark {
  display: none;
}

.page--case-detail .header .logo__on-light {
  display: block;
}

.page--case-detail .nav {
  color: var(--color-text);
}

.page--case-detail .phone-pill {
  background: var(--color-line);
  color: var(--color-text);
}

.page--case-detail .phone-pill:hover {
  background: rgba(18, 18, 18, 0.12);
}

.page--case-detail .phone-pill__icon {
  filter: invert(1);
}

.page--case-detail .nav-toggle {
  background: rgba(18, 18, 18, 0.06);
}

.page--case-detail .nav-toggle span {
  background: #121212;
}

.case-hero {
  background: var(--color-module);
}

.case-hero .iot-hero__bg {
  background: var(--color-module);
}

.case-hero .iot-hero__bg::after,
.case-hero .iot-hero__bg.has-image::after {
  display: none;
}

.case-hero .iot-hero__bg img {
  object-position: 78% 52%;
}

.case-hero .iot-hero__content {
  width: min(720px, 100%);
  max-width: min(720px, 100%);
  padding-top: 164px;
  gap: 40px;
}

.case-hero .iot-hero__texts {
  gap: 20px;
}

.case-hero .iot-hero__eyebrow,
.case-hero .iot-hero__title {
  width: 100%;
  max-width: 100%;
  color: var(--color-text);
  white-space: normal;
}

.case-hero .iot-hero__title {
  line-height: 1.2;
}

.case-hero .iot-hero__sub {
  color: var(--color-sub);
}

.case-hero .btn {
  width: 164px;
}

.case-stats {
  background: var(--color-module);
  padding: var(--section-y) 0;
}

.case-stats__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--block-gap);
  text-align: center;
}

.case-stats__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  padding: 40px 0;
}

.case-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-align: center;
}

.case-stat strong {
  min-width: 0;
  color: var(--color-primary);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.case-stat strong.is-text {
  font-size: 32px;
  line-height: 1.25;
}

.case-stat strong i {
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
}

.case-stat > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 20px;
  background: var(--color-white);
  color: var(--color-sub);
  font-size: 14px;
  line-height: 1;
}

.case-story {
  background: var(--color-white);
  padding: var(--section-y) 0;
}

.case-story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.case-block {
  min-width: 0;
  padding: 20px;
  border-radius: 20px;
  background: var(--color-module);
}

.case-block h2 {
  margin-bottom: 12px;
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.case-block p,
.case-block li {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-sub);
}

.case-block__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.case-block__list li {
  position: relative;
  padding-left: 18px;
}

.case-block__list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.case-plan {
  margin-top: 40px;
  padding: 20px;
  border-radius: 20px;
  background: var(--color-module);
}

.case-plan h2 {
  margin-bottom: 20px;
  font-size: var(--title-size);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.case-plan__body {
  display: flex;
  align-items: center;
  gap: 80px;
}

.case-plan__list {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.case-plan__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.case-plan__item strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-text);
}

.case-plan__item p {
  font-size: 16px;
  line-height: 28px;
  color: var(--color-sub);
}

.case-plan__aside {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 0;
  max-width: min(520px, 100%);
}

.case-plan__quote {
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  background: var(--color-tag);
  font-size: 16px;
  line-height: 28px;
  color: var(--color-text);
}

.case-plan__demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 16px;
  line-height: 32px;
}

.case-plan__demo:hover {
  text-decoration: underline;
}

.case-plan__demo img {
  width: 13.5px;
  height: 13.5px;
  flex-shrink: 0;
}

.case-detail-cta .iot-cta__inner {
  width: 100%;
}

.case-detail-cta h2 {
  line-height: 1.3;
}

.case-detail-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
