#service-video {
  scroll-margin-top: 135px;
}
.hero-video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.hero-video-link:hover {
  text-decoration: underline;
}
.service-video-section {
  padding: 88px 32px;
  background: #fff;
}
.service-video-inner {
  max-width: 860px;
  margin: auto;
  text-align: center;
}
.service-video-inner .section-title {
  margin-bottom: 16px;
}
.video-intro {
  color: var(--text-sub);
  font-size: 16px;
  margin-bottom: 32px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 200px;
  overflow: hidden;
  border-radius: 16px;
  background: #112b49;
  box-shadow: 0 12px 36px rgba(0, 64, 130, 0.12);
}
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #112b49;
}
.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.18));
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  background: var(--blue);
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 4px 24px #0003;
  transition:
    background 0.15s,
    scale 0.15s;
}
.video-play svg {
  width: 32px;
  height: 32px;
}
.video-poster:hover .video-play {
  background: var(--blue-dark);
  scale: 1.08;
}
.video-poster:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: -5px;
}
.video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  border-radius: 4px;
  padding: 2px 7px;
  background: #000b;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  border: 0;
  width: 100%;
  height: 100%;
}
.video-fallback {
  text-align: right;
  font-size: 12px;
  margin-top: 10px;
}
.video-fallback a {
  color: var(--text-sub);
}
.video-error {
  font-size: 13px;
  padding: 10px;
  color: #774817;
  background: #fff7e9;
  margin-top: 12px;
  border-radius: 8px;
}
.video-consult {
  display: inline-flex;
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .service-video-section {
    padding: 52px 20px;
  }
  .service-video-inner .section-title {
    font-size: 25px;
  }
  .video-intro {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .video-frame {
    border-radius: 12px;
  }
  .video-play {
    width: 60px;
    height: 60px;
  }
  .video-consult {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-play {
    transition: none;
  }
}
