:root {
  color-scheme: light;
  --brand: #0066cc;
  --brand-strong: #004c99;
  --brand-soft: #e6f0ff;
  --surface: #ffffff;
  --muted: #6b7280;
  --radius: 0.75rem;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 76, 153, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  background: transparent;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
}

.nav-link {
  position: relative;
  transition: color 150ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left;
  transition: opacity 150ms ease, transform 150ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--brand);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(0, 102, 204, 0.08);
  color: #0f172a;
  border: 1px solid rgba(0, 102, 204, 0.14);
}

.chip i {
  color: var(--brand);
}

.chip-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(148, 163, 184, 0.5);
  color: #0f172a;
}

[data-photo-thumb].is-active {
  border-color: rgb(0, 102, 204);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.35);
}

.timeline-dot.is-active {
  border-color: rgb(0, 102, 204);
  background-color: rgb(0, 102, 204);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.25);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-logo {
  filter: none;
}

.hero-headline {
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hero-headline span {
  display: inline-block;
  padding-right: 6px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  transition: background 150ms ease, transform 150ms ease, color 150ms ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: translateY(-1px);
}

.coverage-card .coverage-map {
  background-color: #fff;
}

.hero-section {
  position: relative;
  background-repeat: no-repeat;
  animation: hero-pan 28s ease-in-out infinite alternate;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 65% at 50% 20%, rgba(0, 0, 0, 0.55), transparent),
    linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-logo {
  filter: none;
  pointer-events: none;
}

@keyframes hero-pan {
  0% {
    background-position: 50% 0%;
  }
  100% {
    background-position: 50% 12%;
  }
}

.service-card .service-overlay {
  background: linear-gradient(to top, rgba(0, 102, 204, 0.8), rgba(0, 102, 204, 0.2), transparent);
}

.service-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.14);
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 102, 204, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.service-card[data-category="fire"] .service-overlay {
  background: linear-gradient(to top, rgba(239, 68, 68, 0.82), rgba(239, 68, 68, 0.24), transparent);
}

.service-card[data-category="fire"] .service-pill {
  background: rgba(239, 68, 68, 0.9);
}

.service-card[data-category="cctv"] .service-overlay {
  background: linear-gradient(to top, rgba(59, 130, 246, 0.82), rgba(59, 130, 246, 0.24), transparent);
}

.service-card[data-category="cctv"] .service-pill {
  background: rgba(59, 130, 246, 0.95);
}

.service-card[data-category="burglar"] .service-overlay {
  background: linear-gradient(to top, rgba(245, 158, 11, 0.85), rgba(245, 158, 11, 0.3), transparent);
}

.service-card[data-category="burglar"] .service-pill {
  background: rgba(245, 158, 11, 0.95);
}

.service-card[data-category="access"] .service-overlay {
  background: linear-gradient(to top, rgba(99, 102, 241, 0.82), rgba(99, 102, 241, 0.26), transparent);
}

.service-card[data-category="access"] .service-pill {
  background: rgba(99, 102, 241, 0.95);
}

.service-card[data-category="network"] .service-overlay {
  background: linear-gradient(to top, rgba(16, 185, 129, 0.82), rgba(16, 185, 129, 0.26), transparent);
}

.service-card[data-category="network"] .service-pill {
  background: rgba(16, 185, 129, 0.95);
}

.service-card[data-category="smart"] .service-overlay {
  background: linear-gradient(to top, rgba(14, 165, 233, 0.82), rgba(14, 165, 233, 0.26), transparent);
}

.service-card[data-category="smart"] .service-pill {
  background: rgba(14, 165, 233, 0.95);
}
