/* ========== 方案板块 Plan- 专属样式 ========== */

/* 方案板块背景 */
.Plan-page.Plan-page--plan {
  background-image: url(/assets/image/plan/plan_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: auto;
  /* news.css 后加载的 .Plan-page { overflow:hidden } 会令 sticky 失效。 */
  overflow: visible;
}
.Plan-page--plan .Plan-page__inner {
  padding-top: 120px;
}

/* 清除浮动 */
.Plan-page--plan .Plan-page__inner::after {
  content: "";
  display: block;
  clear: both;
}

/* ========== 左侧 2x2 卡片网格 ========== */
.Plan-cards {
  float: left;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  width: 58%;
}

.Plan-cards__column {
  display: flex;
  flex-direction: column;
  gap: 51px;
  min-width: 0;
  position: relative;
  z-index: 99;
}

/* 只让右列整体下沉一次，列内第二张卡片不会重复累加偏移。 */
.Plan-cards__column--right {
  padding-top: 190px;
}

.Plan-card {
  position: relative;
  width: 100%;
  aspect-ratio: 406 / 598;
  overflow: hidden;
  background-color: #ddd;
  cursor: pointer;
}

.Plan-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.Plan-card:hover .Plan-card__bg {
  transform: scale(1.05);
}

.Plan-card--rohs .Plan-card__bg {
  background-image: url(/assets/image/plan/plan_rohs.png);
}
.Plan-card--coating .Plan-card__bg {
  background-image: url(/assets/image/plan/plan_coating.png);
}
.Plan-card--metal .Plan-card__bg {
  background-image: url(/assets/image/plan/plan_metal.png);
}
.Plan-card--halogen .Plan-card__bg {
  background-image: url(/assets/image/plan/plan_halogen.png);
}

/* 卡片底部渐变蒙层 */
.Plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.Plan-card__content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: #ffffff;
}

.Plan-card__title {
  display: block;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0px;
  margin-bottom: 0px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.Plan-card__subtitle {
  display: block;
  font-size: 16px;
  opacity: 0.85;
  letter-spacing: 0px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-family: "almmFM";
  opacity: 0.2;
}

/* ========== 装饰图标 ========== */
.Plan-icon {
  width: 62px;
  height: 62px;
  position: absolute;
  left: -102px;
  top: 85px;
}

.Plan-info__title-row {
  display: block;
}

/* ========== 右侧信息区 - 粘滞定位 ========== */
.Plan-info {
  float: right;
  width: 38%;
  max-width: 480px;
  padding: 20px 0 180px;
  position: sticky;
  top: 160px;
  height: max-content;
}

.Plan-info__headline {
  position: relative;
  margin-bottom: 41px;
}

.Plan-info__title {
  display: block;
  font-weight: 700;
  line-height: 1.152;
  letter-spacing: 0px;
}

.Plan-info__title--blue {
  font-size: 66px;
  color: #1783ec;
  font-family: "almmFM";
}

.Plan-info__title--black {
  font-size: 66px;
  color: #000000;
  font-family: "almmFM";
}

.Plan-info__subtitle {
  display: block;
  margin-top: 10px;
  font-size: 40px;
  line-height: 1.025;
  color: #333;
  font-weight: 300;
  letter-spacing: 0px;
  font-family: "almmFM";
  text-transform: uppercase;
  opacity: 0.1;
}

.Plan-info__feature {
  font-size: 36px;
  line-height: 1;
  color: #000000;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0px;
}

.Plan-info__desc {
  font-size: 16px;
  line-height: 1.625;
  color: #333333;
  letter-spacing: 0px;
}

.Plan-info__arrow {
  width: 93px;
  height: 93px;
  margin-top: 146px;
  border: 1px solid #363535;
  background-color: rgba(231, 233, 231, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.Plan-info__arrow:hover {
  background-color: rgb(223 223 223);
  border-color: #555555;
}

.Plan-info__arrow:hover .Plan-info__arrow-icon {
  color: #333333;
}

.Plan-info__arrow-icon {
  font-size: 26px;
  color: #999999;
  line-height: 1;
  transition: color 0.3s ease;
}

/* ========== 响应式 ========== */
@media screen and (max-width: 1280px) {
  .Plan-info__title--blue,
  .Plan-info__title--black {
    font-size: 52px;
  }
  .Plan-info__subtitle {
    font-size: 32px;
  }
  .Plan-info__feature {
    font-size: 28px;
  }
  .Plan-info {
    top: 140px;
  }
}

@media screen and (max-width: 1024px) {
  .Plan-page--plan .Plan-page__inner {
    padding: 30px 0;
  }
  .Plan-cards,
  .Plan-info {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .Plan-cards {
    max-width: 600px;
  }
  .Plan-cards__column--right {
    padding-top: 0;
  }
  .Plan-info {
    position: static;
    margin-top: 40px;
    text-align: center;
  }
  .Plan-icon {
    display: none;
  }
  .Plan-info__desc {
    text-align: left;
  }
  .Plan-info__arrow {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 640px) {
  .Plan-cards {
    grid-template-columns: 1fr;
    gap: 51px 56px;
    max-width: 400px;
  }
  .Plan-cards__column--right {
    padding-top: 0;
  }
  .Plan-info__title--blue,
  .Plan-info__title--black {
    font-size: 40px;
  }
  .Plan-info__subtitle {
    font-size: 24px;
  }
  .Plan-info__feature {
    font-size: 22px;
  }
  .Plan-info__desc {
    font-size: 14px;
    line-height: 1.6;
  }
  .Plan-info__arrow {
    width: 70px;
    height: 70px;
    margin-top: 30px;
  }
  .Plan-info__arrow-icon {
    font-size: 20px;
  }
  .Plan-card__title {
    font-size: 22px;
  }
  .Plan-card__subtitle {
    font-size: 14px;
  }
  .Plan-card__content {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
}
