/* ============================================================
   企业宣传片：播放按钮 / 弹层 / 关于页影像带
   首页（index.html）与关于我们（about.html）共用
   ============================================================ */
:root {
  --film-brand: #036db8;
  --film-brand-deep: #02426f;
  --film-dark: #012a49;
  --film-accent: #7fc4f5;
  --film-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 播放按钮（醒目版：实心蓝 + 脉冲光圈） ---------- */
.film-play {
  display: inline-flex; align-items: center; gap: clamp(14px, 1.6vw, 22px);
  padding: 0; border: 0; background: none; color: #fff;
  cursor: pointer; text-align: left; font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.film-play__icon {
  position: relative; flex: none;
  width: clamp(68px, 6.4vw, 92px); height: clamp(68px, 6.4vw, 92px);
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #0a86d9, var(--film-brand) 55%, #025a99);
  box-shadow: 0 18px 46px rgba(3, 109, 184, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .35s var(--film-ease), box-shadow .35s var(--film-ease), filter .35s;
}
.film-play__icon svg {
  width: 32%; height: 32%; margin-left: 5%; fill: #fff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
}
.film-play__icon::before,
.film-play__icon::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 1.5px solid rgba(127, 196, 245, .6);
  animation: filmPulse 2.8s cubic-bezier(.16, .84, .44, 1) infinite;
  pointer-events: none;
}
.film-play__icon::after { animation-delay: 1.4s; }
@keyframes filmPulse {
  0% { transform: scale(1); opacity: .75; }
  100% { transform: scale(1.62); opacity: 0; }
}
.film-play:hover .film-play__icon,
.film-play:focus-visible .film-play__icon {
  transform: scale(1.07);
  box-shadow: 0 22px 60px rgba(3, 109, 184, .6), inset 0 1px 0 rgba(255, 255, 255, .4);
  filter: brightness(1.08);
}
.film-play__text { display: grid; gap: 5px; }
.film-play__text b {
  font-size: clamp(16px, 1.35vw, 19px); font-weight: 600;
  letter-spacing: .04em; line-height: 1.3;
}
.film-play__text em {
  font-style: normal; font-size: 12px; letter-spacing: .16em;
  color: rgba(255, 255, 255, .66);
}

/* ---------- 弹层 ---------- */
html.is-film-open { overflow: hidden; }
.film-modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 4vh 4vw;
}
.film-modal[hidden] { display: none; }
.film-modal__mask {
  position: absolute; inset: 0;
  background: rgba(1, 20, 35, .95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.film-modal__panel {
  position: relative; width: min(1180px, 100%);
  aspect-ratio: 16 / 9; max-height: 88vh;
  background: #000; border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
  animation: filmIn .45s var(--film-ease);
}
.film-modal__video { width: 100%; height: 100%; display: block; background: #000; }
.film-modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(0, 0, 0, .5); color: #fff; cursor: pointer;
  transition: background .3s, transform .3s;
}
.film-modal__close svg { width: 18px; height: 18px; }
.film-modal__close:hover { background: var(--film-brand); transform: rotate(90deg); }
@keyframes filmIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* ---------- 关于我们页：整幅影像带 ---------- */
.film-band {
  position: relative; display: flex; align-items: center;
  min-height: clamp(420px, 70vh, 720px);
  overflow: hidden; background: var(--film-dark); color: #fff;
  isolation: isolate;
}
.film-band__media { position: absolute; inset: 0; z-index: -2; }
.film-band__media img { width: 100%; height: 100%; object-fit: cover; }
.film-band__veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(1, 42, 73, .95) 0%, rgba(2, 66, 111, .8) 40%, rgba(2, 66, 111, .32) 74%, rgba(3, 109, 184, .16) 100%);
}
.film-band__inner {
  display: flex; flex-direction: column; gap: 18px;
  padding-block: clamp(56px, 9vh, 96px);
}
.film-band__eyebrow {
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.film-band__title {
  max-width: 18em; font-size: clamp(28px, 3.4vw, 50px);
  font-weight: 300; line-height: 1.2; letter-spacing: -.01em;
}
.film-band__desc {
  max-width: 40em; font-size: clamp(14px, 1vw, 16px);
  line-height: 1.8; color: rgba(255, 255, 255, .76);
}
.film-band .film-play { margin-top: 10px; }

@media (max-width: 640px) {
  .film-play { gap: 14px; }
  .film-play__text b { font-size: 15px; }
  .film-modal { padding: 0; }
  .film-modal__panel { width: 100%; max-height: none; border-radius: 0; }
  .film-band { min-height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .film-play__icon::before,
  .film-play__icon::after { animation: none; opacity: 0; }
  .film-modal__panel { animation: none; }
}
