/* 企业定制页：Hero / 行业 / 流程 / FAQ / Journal / 更多定制案例 / 获取专属方案 */

.custpage {
  padding-bottom: 48px;
  background: #fff;
}

.custpage--cases,
.custpage--proposal {
  padding-bottom: 56px;
}

.custpage h2 {
  text-align: center;
  margin: 0 0 36px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  color: #111;
  line-height: 1.15;
}

.custpage h2 span {
  color: var(--blue);
}

.custpage__cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.custpage__cta .btn {
  min-height: 50px;
  min-width: 168px;
  padding: 0 36px;
  border-radius: 12px;
  font-size: 16px;
}

/* —— Hero：视频 / 海报 + 叠字 —— */
.cust-hero {
  padding: 28px 0 8px;
}

.cust-hero__media {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: clamp(320px, 48vw, 520px);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #e8ecf0 0%, #d5dbe0 100%);
}

.cust-hero__video,
.cust-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cust-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 28, 40, 0.55) 0%, rgba(20, 28, 40, 0.28) 48%, rgba(20, 28, 40, 0.08) 100%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.cust-hero__play {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.92);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.cust-hero__play span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.cust-hero__play--hint {
  pointer-events: none;
  opacity: 0.9;
}

.cust-hero__copy {
  position: absolute;
  left: clamp(24px, 6vw, 72px);
  right: clamp(24px, 18vw, 220px);
  bottom: clamp(28px, 6vw, 64px);
  z-index: 2;
  max-width: 640px;
}

.cust-hero__copy h1 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.cust-hero__copy p {
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* —— 行业案例 —— */
.cust-industries {
  padding: 56px 0 24px;
}

.cust-industries__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.cust-industry__open {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.cust-industry__shot {
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  background: #eef2f6;
}

.cust-industry__shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cust-industry__open:hover .cust-industry__shot img {
  transform: scale(1.04);
}

.cust-industry h3 {
  margin: 14px 0 0;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #222;
  line-height: 1.35;
}

/* —— 更多定制案例：左分类 + 右图格 —— */
.cust-cases {
  padding: 22px 0 0;
}

.cust-cases__layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.cust-cases-side {
  width: 200px;
  flex: none;
}

.cust-cases-main {
  flex: 1;
  min-width: 0;
}

.cust-cases-fold__head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 5px 0 14px;
  border: none;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.cust-cases-fold__caret {
  width: 16px;
  height: 16px;
  max-width: none;
  transition: transform 0.2s ease;
}

.cust-cases-fold.is-shut .cust-cases-fold__caret {
  transform: rotate(180deg);
}

.cust-cases-cats {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cust-cases-cat {
  display: flex;
  align-items: center;
  width: auto;
  padding: 7px 0 7px 14px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  color: #3f3f3f;
  line-height: 1.25;
  cursor: pointer;
}

.cust-cases-cat:hover {
  color: #1a1a1a;
}

.cust-cases-cat.is-on span {
  position: relative;
  display: inline-block;
  color: #1a1a1a;
  font-weight: 800;
}

.cust-cases-cat.is-on span::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -5px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.cust-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}

.cust-cases-card {
  min-width: 0;
}

.cust-cases-card__shot {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: #eef2f6;
  box-shadow: 0 2px 10px rgba(18, 40, 70, 0.08);
}

.cust-cases-card__shot img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.cust-cases-card:hover .cust-cases-card__shot img {
  transform: scale(1.04);
}

.cust-cases-empty {
  padding: 72px 12px;
  color: #888;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.cust-cases-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  color: #222;
  font-size: 16px;
  font-weight: 800;
}

.cust-cases-pager__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.cust-cases-pager__arrow img {
  width: 16px;
  height: 22px;
  max-width: none;
  object-fit: contain;
}

.cust-cases-pager__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.cust-cases-pager__num {
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: none;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  font-weight: 800;
  color: #222;
  cursor: pointer;
}

.cust-cases-pager__num.is-on {
  background: var(--blue);
  color: #fff;
}

.cust-cases-pager__jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  font-weight: 700;
}

.cust-cases-pager__jump input {
  width: 48px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: #f2f3f5;
  color: #222;
  text-align: center;
  font: inherit;
  font-weight: 700;
}

/* —— 定制流程（结构对齐 upload-steps：图标行 + 文案行） —— */
.cust-process {
  padding: 48px 0 24px;
}

.cust-process__inner {
  width: min(920px, 100%);
  margin: 0 auto;
}

/*
 * step | arrow | step | arrow | step
 * 图标与文案同列居中；虚线对齐菱形垂直中心（切图菱形已几何居中）。
 */
.cust-process__track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 12px 0 0;
}

.cust-process__step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cust-process__node {
  width: 196px;
  height: 196px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* 设计切图：编号徽章 + 菱形图标一体，菱形几何居中 */
.cust-process__icon {
  display: block;
  width: 188px;
  height: 188px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

/* 虚线夹在相邻菱形之间，垂直对齐菱形中心 */
.cust-process__arrow {
  flex: 0 0 clamp(64px, 10vw, 120px);
  display: flex;
  align-items: center;
  gap: 4px;
  width: clamp(64px, 10vw, 120px);
  height: 18px;
  margin: 0;
  /* node 高 196，箭头高 18 → 顶距 (196-18)/2 与菱形中心对齐 */
  margin-top: 89px;
  pointer-events: none;
}

.cust-process__arrow-line {
  flex: 1 1 auto;
  display: block;
  height: 0;
  border-top: 2.5px dashed #006db8;
}

.cust-process__arrow-head {
  flex: 0 0 12px;
  display: block;
  width: 12px;
  height: 18px;
  overflow: visible;
}

.cust-process__label {
  width: 100%;
  max-width: 220px;
  /* 切图下方透明留白较大，上移贴近菱形 */
  margin: -36px 0 0;
  padding: 0 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  color: #222;
}

/* —— FAQ（对齐首页 FAQ 交互） —— */
.cust-faq {
  padding: 56px 0 24px;
}

.cust-faq__head {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}

.cust-faq__deco {
  position: absolute;
  left: calc(50% - 250px);
  top: -18px;
  width: 150px;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.cust-faq__head h2,
.cust-faq__lead {
  position: relative;
  z-index: 1;
}

.cust-faq__head h2 {
  margin-bottom: 0;
}

.cust-faq__lead {
  margin: 10px auto 0;
  max-width: 560px;
  color: #777;
  font-size: 16px;
  line-height: 1.55;
}

.cust-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.cust-faq-item {
  position: relative;
}

.cust-faq-item__q {
  position: relative;
  display: block;
  width: 100%;
  min-height: 64px;
  padding: 0;
  background: transparent;
  text-align: left;
  font-weight: 800;
  font-size: 16px;
  color: #111;
  line-height: 1.35;
  z-index: 2;
}

.cust-faq-item__q-bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.cust-faq-item__q-text {
  position: absolute;
  left: 24px;
  right: 84px;
  top: 0;
  bottom: 22%;
  display: flex;
  align-items: center;
  z-index: 1;
}

.cust-faq-item__toggle {
  position: absolute;
  top: 100%;
  left: 86.25%;
  width: 12.21%;
  height: auto;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(180deg);
  transition: transform 0.2s ease;
  z-index: 3;
}

.cust-faq-item.is-open .cust-faq-item__toggle {
  transform: translate(-50%, -50%) rotate(0deg);
}

.cust-faq-item__a {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding: 38px 24px 20px;
  background: #eef5ff;
  border-radius: 16px;
  color: #555;
  line-height: 1.65;
  font-size: 14px;
}

.cust-faq-item__a p {
  margin: 0;
}

/* —— Brand Journal —— */
.cust-journal {
  padding: 48px 0 16px;
}

.cust-journal__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: stretch;
  padding: 28px;
  border-radius: 20px;
  background: #e8f3fb;
}

.cust-journal__feature {
  overflow: hidden;
  border-radius: 14px;
  min-height: 280px;
  background: #d7e6f2;
}

.cust-journal__feature img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.cust-journal__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.cust-journal__side > p {
  margin: 0;
  color: #555;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.cust-journal__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cust-journal__thumb {
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  background: #d7e6f2;
}

.cust-journal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— 获取专属方案表单 —— */
.cust-proposal {
  padding: 48px 0 24px;
}

.cust-proposal__wrap {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.cust-proposal__head {
  text-align: center;
  margin-bottom: 40px;
}

.cust-proposal__head h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.2;
}

.cust-proposal__head h1 span {
  color: #111;
}

.cust-proposal__head p {
  margin: 0;
  font-size: 15px;
  color: #8a8a8a;
  line-height: 1.5;
}

.cust-proposal__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cust-proposal__row {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.cust-proposal__row--2 > .cust-field {
  flex: 1 1 0;
  min-width: 0;
}

.cust-proposal__row--target {
  align-items: flex-end;
  gap: 20px;
}

.cust-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.cust-field--grow {
  flex: 1 1 auto;
  min-width: 0;
}

.cust-field__label {
  font-size: 15px;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
}

.cust-field__req {
  color: #e10600;
  margin-left: 2px;
}

.cust-field input[type='text'],
.cust-field input[type='email'],
.cust-field textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 12px 14px;
  border: 1.5px solid #c5d6e4;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: #222;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cust-field input::placeholder,
.cust-field textarea::placeholder {
  color: #b0b0b0;
}

.cust-field input:focus,
.cust-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 196, 0.12);
}

.cust-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.45;
}

.cust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cust-chips--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.cust-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border: 1.5px solid #7eb8d8;
  border-radius: 10px;
  background: #f3f3f3;
  color: #222;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.cust-chips--grid .cust-chip {
  width: 100%;
}

.cust-chip:hover {
  border-color: var(--blue);
}

.cust-chip.is-on {
  background: #006db8;
  border-color: #006db8;
  color: #fff;
}

.cust-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  border: 2px dashed #6eb0d4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cust-drop.is-dragging,
.cust-drop:hover {
  border-color: var(--blue);
  background: #f7fbff;
}

.cust-drop__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.cust-drop__cloud {
  width: 36px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
  pointer-events: none;
}

.cust-drop__hint,
.cust-drop__name {
  font-size: 14px;
  color: #a0a0a0;
  pointer-events: none;
}

.cust-drop__name {
  color: var(--blue);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cust-drop__clear {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #eee;
  color: #555;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cust-drop__clear:hover {
  background: #e0e0e0;
}

.cust-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 10px;
  cursor: pointer;
  user-select: none;
}

.cust-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.cust-check__box {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #9bb8cc;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.cust-check__box::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}

.cust-check input:checked + .cust-check__box {
  background: #006db8;
  border-color: #006db8;
}

.cust-check input:checked + .cust-check__box::after {
  opacity: 1;
}

.cust-check__text {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
}

.cust-proposal__submit {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

.cust-proposal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  min-width: 220px;
  padding: 0 36px;
  border: none;
  border-radius: 999px;
  background: #e10600;
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(225, 6, 0, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
}

.cust-proposal__btn:hover {
  background: #c50a00;
}

.cust-proposal__btn:active {
  transform: translateY(1px);
}

.cust-proposal__btn-arrow {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #f5c400;
}

.cust-proposal__toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 40;
  transform: translateX(-50%);
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(20, 28, 40, 0.92);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* —— 响应式 —— */
@media (max-width: 1024px) {
  .cust-industries__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cust-process__node {
    width: 168px;
    height: 168px;
  }

  .cust-process__icon {
    width: 160px;
    height: 160px;
  }

  .cust-process__arrow {
    flex-basis: clamp(48px, 8vw, 88px);
    width: clamp(48px, 8vw, 88px);
    margin-top: 75px; /* (168-18)/2 */
  }

  .cust-process__label {
    font-size: 13px;
  }

  .cust-journal__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .cust-cases-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cust-cases__layout {
    flex-direction: column;
    gap: 20px;
  }

  .cust-cases-side {
    width: 100%;
  }

  .cust-cases-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .cust-cases-cat {
    padding: 7px 10px;
  }

  .cust-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cust-proposal {
    padding-top: 32px;
  }

  .cust-proposal__wrap {
    width: calc(100% - 28px);
  }

  .cust-proposal__row--2,
  .cust-proposal__row--target {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .cust-check {
    padding-bottom: 0;
  }

  .cust-chips--grid {
    grid-template-columns: 1fr;
  }

  .cust-hero__media {
    min-height: 280px;
    border-radius: 14px;
  }

  .cust-hero__copy {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .cust-industries,
  .cust-process,
  .cust-faq,
  .cust-journal {
    padding-top: 40px;
  }

  .cust-industries__grid,
  .cust-faq__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 窄屏改为纵向：step / arrow / step */
  .cust-process__track {
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
  }

  .cust-process__step {
    max-width: 280px;
  }

  .cust-process__node {
    width: 168px;
    height: 168px;
  }

  .cust-process__icon {
    width: 160px;
    height: 160px;
  }

  .cust-process__arrow {
    flex: 0 0 auto;
    flex-direction: column;
    width: 16px;
    height: 48px;
    margin-top: 0;
    gap: 4px;
  }

  .cust-process__arrow-line {
    flex: 1 1 auto;
    width: 0;
    height: auto;
    border-top: none;
    border-left: 2.5px dashed #006db8;
  }

  .cust-process__arrow-head {
    transform: rotate(90deg);
  }

  .cust-faq__deco {
    display: none;
  }

  .cust-journal__panel {
    padding: 16px;
  }

  .cust-faq-item__q-text {
    left: 16px;
    right: 64px;
    font-size: 14px;
  }

  .cust-cases-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .cust-cases-pager {
    flex-wrap: wrap;
    gap: 10px;
  }
}
