/* Civic Checker service hero. Loaded after civic-checker.css. */
.service-hero.hero-cinematic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: none;
  margin: 0;
  min-height: 820px;
  min-height: min(960px, calc(100svh - 84px));
  padding: 140px max(6%, calc((100vw - 1180px) / 2)) 210px;
  background: #051226;
  text-align: center;
}

.service-hero .civic-cinematic-media,
.service-hero .civic-cinematic-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.service-hero .civic-cinematic-media { z-index: -2; background: #081b30; }
.service-hero .civic-cinematic-media img,
.service-hero .civic-cinematic-media video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.7);
}
.service-hero .civic-cinematic-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, #051226ed 0%, #051226ba 40%, #05122673 72%, #051226 100%),
    radial-gradient(ellipse at 50% 35%, #051226e8 0%, #051226a6 48%, #05122600 85%);
}
.service-hero .civic-hero-content { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }
.service-hero .civic-hero-content .eyebrow {
  max-width: 720px;
  margin: 0 auto 29px;
  color: #c4d7ed;
  font-size: .69rem;
  font-weight: 650;
  line-height: 1.8;
  letter-spacing: .15em;
}
.service-hero .civic-hero-content h1 {
  max-width: 1000px;
  margin: 0 auto 32px;
  color: #f5f7ff;
  font-size: clamp(3.8rem, 6.6vw, 6.65rem);
  font-weight: 740;
  line-height: 1.055;
  letter-spacing: -.048em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.service-hero .civic-hero-content h1 span { color: #c0ddff; }
.service-hero .civic-hero-content .lead {
  max-width: 675px;
  margin: 0 auto 29px;
  color: #d1dbea;
  font-size: clamp(1.06rem, 1.55vw, 1.26rem);
  line-height: 1.8;
  text-wrap: pretty;
}
.service-hero .civic-hero-content .button {
  min-height: 50px;
  margin: 6px 0 0;
  padding: 15px 25px;
  gap: 18px;
  background: #edf5ff;
  color: #08182e;
  font-size: .89rem;
  font-weight: 650;
  line-height: 1.4;
  transition: transform .18s, opacity .18s;
}
.service-hero .civic-hero-content .button:hover { transform: scale(1.025); opacity: .94; }
.service-hero .civic-hero-content .service-caption {
  max-width: 640px;
  margin: 24px auto 0;
  color: #bdcde1;
  font-size: .75rem;
  line-height: 1.8;
  letter-spacing: .015em;
}
.service-hero .hero-motion-control {
  position: absolute;
  right: max(6%, calc((100vw - 1180px) / 2));
  bottom: 42px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  min-width: 125px;
  padding: 11px 16px;
  border: 1px solid #b4c9df66;
  border-radius: 100px;
  background: #06162ce8;
  color: #edf5ff;
  font: 500 .73rem/1.3 system-ui, -apple-system, sans-serif;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background .15s, transform .15s;
}
.service-hero .hero-motion-control[hidden] { display: none; }
.service-hero .hero-motion-control:hover { background: #102846; transform: scale(1.02); }
.service-hero .hero-motion-control [data-motion-icon] { width: 12px; font-size: .7rem; text-align: center; }
.service-hero .hero-motion-control:focus-visible,
.service-hero .civic-hero-content .button:focus-visible { outline: 3px solid #f4cf80; outline-offset: 5px; }
.service-hero .service-visual {
  position: relative;
  z-index: 1;
  max-width: 930px;
  margin: 95px auto 0;
  background: #081b32ed;
  border-color: #7392b547;
  box-shadow: 0 24px 60px #0003;
}

@media (min-width: 1700px) {
  .service-hero.hero-cinematic { padding-top: 170px; padding-bottom: 245px; }
}
@media (max-width: 900px) {
  .service-hero.hero-cinematic { min-height: 740px; padding: 115px 6% 190px; }
  .service-hero .civic-hero-content h1 { font-size: clamp(3.5rem, 8vw, 5.7rem); }
  .service-hero .civic-hero-content .lead { max-width: 620px; font-size: 1.1rem; }
}
@media (max-width: 650px) {
  .service-hero.hero-cinematic { min-height: 680px; padding: 93px 24px 180px; }
  .service-hero .civic-cinematic-overlay {
    background: linear-gradient(180deg, #051226ef 0%, #051226dc 30%, #051226a1 67%, #051226 100%);
  }
  .service-hero .civic-hero-content .eyebrow { font-size: .61rem; letter-spacing: .13em; margin-bottom: 24px; }
  .service-hero .civic-hero-content h1 { font-size: clamp(2.45rem, 11.6vw, 4rem); line-height: 1.09; letter-spacing: -.045em; margin-bottom: 27px; }
  .service-hero .civic-hero-content .lead { font-size: 1.02rem; line-height: 1.8; margin-bottom: 26px; }
  .service-hero .civic-hero-content .button { max-width: 100%; font-size: .82rem; padding: 14px 20px; }
  .service-hero .civic-hero-content .service-caption { font-size: .7rem; max-width: 310px; }
  .service-hero .hero-motion-control { right: 24px; bottom: 35px; }
  .service-hero .service-visual { margin-top: 65px; padding: 27px 23px; border-radius: 23px; }
}
@media (max-width: 360px) {
  .service-hero.hero-cinematic { padding-left: 20px; padding-right: 20px; }
  .service-hero .civic-hero-content h1 { font-size: 2.4rem; }
  .service-hero .civic-hero-content .lead { font-size: .98rem; }
  .service-hero .hero-motion-control { right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-hero .hero-motion-control,
  .service-hero .civic-hero-content .button { transition: none; }
  .service-hero .hero-motion-control:hover,
  .service-hero .civic-hero-content .button:hover { transform: none; }
}
@media print {
  .service-hero .civic-cinematic-media,
  .service-hero .civic-cinematic-overlay,
  .service-hero .hero-motion-control { display: none; }
  .service-hero.hero-cinematic { min-height: 0; padding: 35px 0; background: white; color: black; }
  .service-hero .civic-hero-content h1,
  .service-hero .civic-hero-content h1 span,
  .service-hero .civic-hero-content p { color: black; }
}
