.police-hero {
  --police-navy: #071A2F;
  --police-deep: #0B2F5B;
  --police-royal: #1E5AA8;
  --police-glow: #5AB8FF;
  --police-white: #FFFFFF;
  --police-muted: #C9D8E8;
  --police-gold: #D6A23A;
  --police-silver: #AFC3D8;
  margin-top: 0.55rem !important;
  color: var(--police-white);
}

.police-hero,
body.hero-intro-ready .police-hero {
  min-height: auto !important;
  width: auto !important;
  display: block !important;
}

.police-hero .police-hero__shell,
body.hero-intro-ready .police-hero .police-hero__shell {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 38vh, 420px) !important;
  padding: clamp(0.85rem, 2.4vw, 1.65rem) !important;
  border: 1px solid rgba(175, 195, 216, 0.34);
  border-radius: 24px !important;
  background:
    linear-gradient(rgba(175, 195, 216, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(175, 195, 216, 0.10) 1px, transparent 1px),
    radial-gradient(circle at 12% 14%, rgba(90, 184, 255, 0.20), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(30, 90, 168, 0.30), transparent 32%),
    linear-gradient(135deg, var(--police-navy) 0%, var(--police-deep) 62%, #061326 100%) !important;
  background-size: 46px 46px, 46px 46px, auto, auto, auto;
  box-shadow:
    0 24px 70px rgba(7, 26, 47, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  isolation: isolate;
}

.police-hero .police-hero__shell::before,
body.hero-intro-ready .police-hero .police-hero__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(90, 184, 255, 0.12) 42%, transparent 51% 100%),
    linear-gradient(90deg, transparent, rgba(214, 162, 58, 0.12), transparent);
  opacity: 0.64 !important;
  pointer-events: none;
}

.police-hero .police-hero__shell::after,
body.hero-intro-ready .police-hero .police-hero__shell::after,
body.page-loaded .police-hero .police-hero__shell::after {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 28% 30%, rgba(90, 184, 255, 0.30), transparent 24%),
    radial-gradient(circle at 76% 18%, rgba(30, 90, 168, 0.30), transparent 26%),
    radial-gradient(circle at 70% 82%, rgba(214, 162, 58, 0.10), transparent 28%) !important;
  opacity: 0.66 !important;
  filter: blur(2px);
  transform: translate3d(0, 0, 0);
  animation: policeHeroGlow 13s ease-in-out infinite alternate !important;
  pointer-events: none;
}

.police-hero .police-hero__inner,
body.hero-intro-ready .police-hero .police-hero__inner {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: center !important;
  min-height: calc(clamp(300px, 38vh, 420px) - clamp(1.7rem, 4.8vw, 3.3rem));
  width: min(100%, 900px);
  max-width: none;
  margin: 0 auto;
  padding: 0 !important;
}

.police-hero .police-hero__copy {
  position: relative;
  min-width: 0;
  width: 100%;
  padding: clamp(0.9rem, 2.6vw, 1.45rem);
  border: 1px solid rgba(175, 195, 216, 0.25);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 18px 54px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.police-hero .police-hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid rgba(214, 162, 58, 0.48);
  pointer-events: none;
}

.police-hero .police-hero__badge,
body.hero-intro-ready .police-hero .police-hero__badge {
  width: fit-content;
  min-height: 1.9rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(214, 162, 58, 0.48);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  margin-bottom: 0.72rem;
  background: rgba(214, 162, 58, 0.12);
  color: #fff7d6;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  animation: policeHeroIn 560ms cubic-bezier(.16, 1, .3, 1) 120ms both;
}

.police-hero .police-hero__title-wrap,
body.hero-intro-ready .police-hero .police-hero__title-wrap {
  width: min(100%, 840px);
}

.police-hero .police-hero__title,
body.hero-intro-ready .police-hero .police-hero__title {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  color: var(--police-white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 3.35vw, 2.65rem) !important;
  font-weight: 950;
  line-height: 1.06 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
  text-shadow: 0 12px 38px rgba(3, 10, 24, 0.40);
}

.police-hero .police-hero__text,
body.hero-intro-ready .police-hero .police-hero__text {
  display: block !important;
  max-width: 42rem !important;
  margin: 0.78rem 0 0 !important;
  color: var(--police-muted) !important;
  font-size: clamp(0.9rem, 1.2vw, 1.04rem) !important;
  font-weight: 750;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  overflow: visible !important;
  -webkit-line-clamp: initial !important;
  -webkit-box-orient: initial !important;
}

.police-hero .hero-type-word {
  display: inline-block;
  white-space: nowrap;
}

.police-hero .hero-type-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em);
  filter: blur(4px);
  animation: policeHeroTypeIn 300ms cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--hero-type-base-delay, 0ms) + (var(--hero-type-index, 0) * 38ms));
  will-change: opacity, transform, filter;
}

.police-hero .police-hero__actions,
body.hero-intro-ready .police-hero .police-hero__actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.7rem !important;
  width: auto !important;
  margin-top: 1.05rem !important;
}

.police-hero .police-hero__actions a,
body.hero-intro-ready .police-hero .police-hero__actions a {
  min-height: 48px !important;
  min-width: 9.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  padding: 0.78rem 1rem !important;
  border-radius: 14px !important;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.police-hero .police-hero__primary,
body.hero-intro-ready .police-hero .police-hero__primary {
  border: 1px solid rgba(90, 184, 255, 0.58) !important;
  background: linear-gradient(135deg, var(--police-royal), #2E7BD2) !important;
  color: var(--police-white) !important;
  box-shadow: 0 16px 36px rgba(30, 90, 168, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.police-hero .police-hero__secondary,
body.hero-intro-ready .police-hero .police-hero__secondary {
  border: 1px solid rgba(175, 195, 216, 0.52) !important;
  background: rgba(255, 255, 255, 0.10) !important;
  color: var(--police-white) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.police-hero .police-hero__primary:hover,
.police-hero .police-hero__secondary:hover {
  transform: translateY(-1px);
}

.police-hero .police-hero__primary:focus-visible,
.police-hero .police-hero__secondary:focus-visible {
  outline: 3px solid rgba(214, 162, 58, 0.78);
  outline-offset: 3px;
}

body .police-hero .police-hero__actions {
  animation: policeHeroIn 620ms cubic-bezier(.16, 1, .3, 1) 1500ms both !important;
}

@keyframes policeHeroTypeIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes policeHeroIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes policeHeroGlow {
  from {
    transform: translate3d(-1.2%, -0.7%, 0) scale(1);
  }
  to {
    transform: translate3d(1.1%, 1%, 0) scale(1.035);
  }
}

@media (max-width: 767px) {
  .police-hero {
    margin-top: 0 !important;
  }

  .police-hero .police-hero__shell,
  body.hero-intro-ready .police-hero .police-hero__shell {
    min-height: auto !important;
    padding: 0.56rem !important;
    border-radius: 18px !important;
  }

  .police-hero .police-hero__inner,
  body.hero-intro-ready .police-hero .police-hero__inner {
    min-height: 0;
  }

  .police-hero .police-hero__copy {
    padding: 0.72rem;
    border-radius: 16px;
  }

  .police-hero .police-hero__title,
  body.hero-intro-ready .police-hero .police-hero__title {
    font-size: clamp(1.12rem, 5.3vw, 1.52rem) !important;
    line-height: 1.08 !important;
  }

  .police-hero .police-hero__text,
  body.hero-intro-ready .police-hero .police-hero__text {
    margin-top: 0.5rem !important;
    font-size: 0.8rem !important;
    line-height: 1.34 !important;
  }

  .police-hero .hero-type-char {
    animation-delay: calc(var(--hero-type-base-delay, 0ms) + (var(--hero-type-index, 0) * 28ms));
  }

  .police-hero .police-hero__actions,
  body.hero-intro-ready .police-hero .police-hero__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin-top: 0.68rem !important;
  }

  .police-hero .police-hero__actions a,
  body.hero-intro-ready .police-hero .police-hero__actions a {
    min-width: 0;
    min-height: 44px !important;
    width: 100% !important;
    padding: 0.65rem 0.58rem !important;
    border-radius: 13px !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 374px) {
  .police-hero .police-hero__actions,
  body.hero-intro-ready .police-hero .police-hero__actions {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  .police-hero .police-hero__shell,
  body.hero-intro-ready .police-hero .police-hero__shell {
    min-height: auto !important;
  }

  .police-hero .police-hero__inner,
  body.hero-intro-ready .police-hero .police-hero__inner {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .police-hero *,
  .police-hero .police-hero__shell::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation: none !important;
  }

  .police-hero .hero-type-char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .police-hero .police-hero__shell::after,
  body.hero-intro-ready .police-hero .police-hero__shell::after,
  body.page-loaded .police-hero .police-hero__shell::after {
    animation: none !important;
    transform: none !important;
  }

  body .police-hero .police-hero__actions,
  body:not(.page-loaded) .police-hero .police-hero__actions,
  body.page-loaded .police-hero .police-hero__actions {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
