/* ── Police Service — Shared CSS (index.html aesthetic) ── */

/* ── POLICE LIGHT ANIMATION ── */
.light-blue, .light-red { border-radius: 50%; }
.light-blue { background: #3b82f6; animation: flash-blue 1s infinite; }
.light-red  { background: #ef4444; animation: flash-red  1s infinite; }
@keyframes flash-blue {
  0%,49%  { opacity: 1; box-shadow: 0 0 6px #3b82f6; }
  50%,100%{ opacity: 0.15; box-shadow: none; }
}
@keyframes flash-red {
  0%,49%  { opacity: 0.15; box-shadow: none; }
  50%,100%{ opacity: 1; box-shadow: 0 0 6px #ef4444; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: #0B1D36;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}
a, button, select, input, textarea, label { cursor: pointer; }
input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }

/* ── SITE NAV ── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: #ffffff;
  border-bottom: 1px solid #D9E2ED;
  transition: box-shadow 0.3s;
}
#site-nav.scrolled { box-shadow: 0 1px 16px rgba(0,0,0,0.09); }

.site-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.site-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}
.site-nav-logo-wrap {
  width: 32px; height: 32px;
  background: #0B1D36;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.site-nav-logo-wrap img { width: 17px; height: 17px; object-fit: contain; filter: invert(1); }
.site-nav-logo span {
  font-family: 'Inter', sans-serif;
  font-size: 0.925rem; font-weight: 700;
  color: #0B1D36; letter-spacing: -0.01em;
}
.site-nav-logo strong { color: #1A4F8C; }

/* Desktop links */
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin-left: auto;
  padding: 0;
}
.site-nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #3C5068;
  text-decoration: none;
  letter-spacing: 0.01em;
  text-transform: none;
  position: relative;
  transition: color 0.2s;
}
.site-nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: #1A4F8C;
  transition: width 0.25s ease;
}
.site-nav-links a:hover,
.site-nav-links a.nav-active { color: #1A4F8C; }
.site-nav-links a:hover::after,
.site-nav-links a.nav-active::after { width: 100%; }

/* Right cluster */
.site-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Language buttons */
.site-lang { display: flex; gap: 4px; }
.site-lang-btn {
  background: transparent;
  border: 1px solid #D9E2ED;
  color: #6B7E95;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}
.site-lang-btn:hover,
.site-lang-btn.active {
  background: #EDF3FB;
  border-color: #1A4F8C;
  color: #1A4F8C;
}

/* Admin link */
.site-nav-admin {
  font-size: 0.72rem;
  color: #6B7E95;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav-admin:hover { color: #1A4F8C; }

/* CTA button */
.site-nav-cta {
  background: #1A4F8C;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  white-space: nowrap;
}
.site-nav-cta:hover { background: #123A6A; }

/* Burger */
.site-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.site-burger span {
  display: block;
  width: 22px; height: 2px;
  background: #0B1D36;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.site-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-burger.open span:nth-child(2) { opacity: 0; }
.site-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.site-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 950;
  flex-direction: column;
  padding: 1.5rem 2rem;
}
.site-mobile-menu.open { display: flex; }
.smm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}
.site-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.site-mobile-menu nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0B1D36;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.site-mobile-menu nav a:hover { color: #1A4F8C; }
.smm-cta {
  display: block;
  background: #1A4F8C !important;
  color: #ffffff !important;
  text-align: center;
  padding: 0.8rem 1.5rem !important;
  border-radius: 3px;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem !important;
}
.smm-lang { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.smm-lang button {
  background: #EDF3FB;
  border: 1px solid #D9E2ED;
  color: #1A4F8C;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}
.smm-lang button:hover { background: #D9E2ED; }

/* Nav spacer */
body::before { content: ''; display: block; height: 64px; }

/* ── FOOTER ── */
#site-footer {
  background: #0B1D36;
  padding: 3.5rem 0 1.5rem;
  font-family: 'Inter', sans-serif;
}
.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.sf-logo-link { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; margin-bottom: 1.1rem; }
.sf-logo-wrap {
  width: 30px; height: 30px;
  background: #1A4F8C;
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.sf-logo-wrap img { width: 15px; filter: invert(1); }
.sf-name { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: #ffffff; }
.sf-name strong { color: #4A8FD4; }
.sf-brand p { font-size: 0.8rem; color: #52698A; line-height: 1.7; max-width: 260px; }
.sf-col h4 {
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #4A8FD4; margin-bottom: 1rem;
}
.sf-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; margin: 0; }
.sf-col ul a { font-size: 0.8rem; color: #52698A; text-decoration: none; transition: color 0.2s; }
.sf-col ul a:hover { color: #ffffff; }
.sf-contacts li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: #52698A; }
.sf-bottom {
  max-width: 1280px; margin: 0 auto;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.72rem; color: #2E4460;
}
.sf-bottom-links { display: flex; gap: 1.5rem; }
.sf-bottom-links a { color: #2E4460; text-decoration: none; transition: color 0.2s; }
.sf-bottom-links a:hover { color: #90B8E0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav-links, .site-nav-right { display: none !important; }
  .site-burger { display: flex; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .site-footer-inner { grid-template-columns: 1fr; }
  .sf-bottom { flex-direction: column; text-align: center; }
}

/* ── SHARED PAGE COMPONENTS ── */
.page-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Product card */
.product-card {
  background: #ffffff;
  border: 1px solid #D9E2ED;
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.product-card:hover {
  border-color: #1A4F8C;
  box-shadow: 0 6px 24px rgba(26,79,140,0.09);
}
.product-card:hover .card-img { transform: scale(1.04); }
.card-img { transition: transform 0.35s ease; width: 100%; height: 100%; object-fit: cover; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center;
  gap: 0.4rem; flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.8rem;
}
.breadcrumb a { color: #6B7E95; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #1A4F8C; }
.breadcrumb span { color: #B0BDD0; }
.breadcrumb .current { color: #3C5068; }

/* Form fields */
.form-field {
  width: 100%; border: 1px solid #D9E2ED; border-radius: 3px;
  padding: 0.6rem 0.875rem; font-size: 0.85rem;
  color: #0B1D36; background: #ffffff; outline: none;
  transition: border-color 0.2s; font-family: 'Inter', sans-serif;
}
.form-field:focus { border-color: #1A4F8C; box-shadow: 0 0 0 3px rgba(26,79,140,0.06); }
.form-field::placeholder { color: #A0AFC2; }
select.form-field { cursor: pointer; }
.form-label {
  display: block; font-size: 0.72rem; font-weight: 600;
  color: #0B1D36; letter-spacing: 0.03em; margin-bottom: 0.35rem;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  background: #1A4F8C; color: #ffffff;
  font-size: 0.85rem; font-weight: 600;
  padding: 0.75rem 1.75rem; border-radius: 3px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s; font-family: 'Inter', sans-serif;
}
.btn-primary:hover { background: #123A6A; }

.btn-outline {
  display: inline-flex;
  align-items: center; gap: 0.5rem;
  background: transparent; color: #3C5068;
  font-size: 0.85rem; font-weight: 500;
  padding: 0.75rem 1.75rem; border-radius: 3px;
  border: 1px solid #D9E2ED; text-decoration: none;
  cursor: pointer; transition: border-color 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-outline:hover { border-color: #1A4F8C; color: #1A4F8C; }

/* Section label */
.section-label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #1A4F8C; display: block; margin-bottom: 0.5rem;
}
.section-divider {
  width: 44px; height: 3px;
  background: #1A4F8C; margin-top: 1rem; border-radius: 1px;
}

/* Loading skeleton */
.prod-skeleton {
  background: #EEF2F7;
  border-radius: 3px;
  min-height: 280px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}
@keyframes skeleton-pulse { 0%,100%{opacity:.5} 50%{opacity:1} }

/* Admin sidebar */
.admin-sidebar, #admin-sidebar { background: #0B1D36 !important; }
