/* ==========================================================================
   Safety CCTV United Kingdom — Executive Security & Engineering Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand Colors (Upgraded from Tilda #0071bd) */
  --brand-primary: #0071bd;
  --brand-primary-light: #0ea5e9;
  --brand-primary-dark: #00548f;
  --brand-accent: #38bdf8;
  --brand-glow: rgba(14, 165, 233, 0.25);

  /* Dark Executive Surfaces */
  --bg-dark: #060e1a;
  --bg-dark-elevated: #0b1829;
  --bg-dark-card: #102138;
  --bg-dark-glass: rgba(11, 24, 41, 0.85);

  /* Light Surfaces */
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;

  /* Text Colors */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #94a3b8;

  /* Status & Accents */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-danger: #ef4444;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.14);
  --shadow-blue: 0 12px 28px -6px rgba(0, 113, 189, 0.35);

  /* Layout & Transitions */
  --container-max: 1280px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Section Headers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-primary);
  background: rgba(0, 113, 189, 0.09);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 113, 189, 0.18);
}

.eyebrow--dark {
  color: var(--brand-accent);
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  text-align: left;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section--dark .section-title {
  color: var(--text-on-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section--dark .section-subtitle {
  color: var(--text-on-dark-muted);
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section--white {
  background-color: var(--bg-white);
}

.section--subtle {
  background-color: var(--bg-subtle);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 113, 189, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(14, 165, 233, 0.12) 0%, transparent 45%);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 1.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-light) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -6px rgba(0, 113, 189, 0.5);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn--outline:hover {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   Top Utility Bar & Main Header Navigation
   ========================================================================== */

.topbar {
  background-color: #040911;
  color: var(--text-on-dark-muted);
  font-size: 0.8125rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0;
  font-weight: 500;
}

.topbar__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
  font-weight: 500;
}

.topbar__link:hover {
  color: var(--brand-accent);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

.topbar__social a:hover {
  background: var(--brand-primary);
  color: #ffffff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.header--scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background: rgba(6, 14, 26, 0.97);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__logo {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  color: #e2e8f0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

.nav__link:hover,
.nav__link.active {
  color: var(--brand-accent);
  background: rgba(255, 255, 255, 0.05);
}

.nav__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.nav__item--dropdown:hover .nav__link svg {
  transform: rotate(180deg);
}

/* Mega Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 680px;
  background: #0b1829;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav__item--dropdown:hover .dropdown-menu,
.nav__item--dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(56, 189, 248, 0.25);
}

.dropdown-item--highlight {
  background: linear-gradient(135deg, rgba(0, 113, 189, 0.2) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-color: rgba(56, 189, 248, 0.35);
  grid-column: span 2;
}

.dropdown-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 113, 189, 0.2);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item__icon svg {
  width: 22px;
  height: 22px;
}

.dropdown-item__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.badge-new {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
}

.dropdown-item__desc {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  line-height: 1.4;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.header__phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 113, 189, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section & Interactive Slider
   ========================================================================== */

.hero {
  position: relative;
  min-height: 680px;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__slides {
  position: relative;
  width: 100%;
  min-height: 680px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  padding: 5.5rem 0 7rem;
}

.hero__slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6s ease-out;
  z-index: -2;
}

.hero__slide.active .hero__bg {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 14, 26, 0.94) 0%,
    rgba(6, 14, 26, 0.82) 52%,
    rgba(0, 84, 143, 0.45) 100%
  );
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.hero__title span {
  background: linear-gradient(135deg, #38bdf8 0%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  backdrop-filter: blur(8px);
}

.hero__tag svg {
  width: 15px;
  height: 15px;
  color: var(--brand-accent);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__card {
  background: rgba(15, 30, 52, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.hero__stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  border-radius: var(--radius-md);
}

.hero__stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--brand-accent);
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.2rem;
}

.hero__controls {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 10;
}

.hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__dots {
  display: flex;
  gap: 0.65rem;
}

.hero__dot {
  height: 10px;
  width: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.hero__dot.active {
  width: 56px;
  background: var(--brand-accent);
}

.hero__arrows {
  display: flex;
  gap: 0.6rem;
}

.hero__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.hero__arrow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-accent);
}

/* ==========================================================================
   Page Hero (Subpages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0, 113, 189, 0.28) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.16) 0%, transparent 50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--brand-accent);
}

.page-hero__title {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.page-hero__desc {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.page-hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  background: var(--bg-dark-card);
}

.page-hero__visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.page-hero__visual--contain img {
  object-fit: contain;
  padding: 2rem;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(11, 24, 41, 0.95) 100%);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 113, 189, 0.35);
}

.service-card--featured {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.service-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-dark);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(6, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-card__badge--alarm {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card__title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  color: var(--text-main);
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.service-card__pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--brand-primary);
}

.service-card__link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Interactive Smart Property Hotspot Showcase
   ========================================================================== */

.smart-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.smart-diagram {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
}

.smart-diagram img {
  width: 100%;
  height: auto;
  display: block;
}

.hotspot {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #ffffff;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 0 0 6px rgba(0, 113, 189, 0.35);
  transition: var(--transition);
  z-index: 3;
}

.hotspot:hover,
.hotspot.active {
  background: var(--brand-accent);
  color: var(--bg-dark);
  transform: scale(1.18);
  box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.35);
}

.smart-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.smart-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.smart-item:hover,
.smart-item.active {
  background: rgba(0, 113, 189, 0.22);
  border-color: var(--brand-accent);
  transform: translateX(6px);
}

.smart-item__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.45rem;
}

.smart-item__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  color: var(--brand-accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smart-item__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.smart-item__desc {
  font-size: 0.925rem;
  color: var(--text-on-dark-muted);
  padding-left: 2.6rem;
}

/* ==========================================================================
   Feature Cards & Why Choose Us
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 113, 189, 0.3);
}

.section--dark .feature-box {
  background: var(--bg-dark-card);
  border-color: var(--border-dark);
}

.feature-box__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 113, 189, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.section--dark .feature-box__icon {
  background: rgba(56, 189, 248, 0.14);
  color: var(--brand-accent);
}

.feature-box__icon svg {
  width: 26px;
  height: 26px;
}

.feature-box__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.feature-box__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.section--dark .feature-box__text {
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   How It Works (4 Steps Process)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.step-card__number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-blue);
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.step-card__desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Alternating Content Blocks (Service Detail Pages)
   ========================================================================== */

.detail-blocks {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.detail-row--reverse .detail-row__media {
  order: 2;
}

.detail-row--reverse .detail-row__content {
  order: 1;
}

.detail-row__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-dark);
  position: relative;
}

.detail-row__media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.detail-row:hover .detail-row__media img {
  transform: scale(1.03);
}

.detail-row__title {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.detail-row__text {
  font-size: 1.025rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.check-list svg {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Gallery & Certificates Grid + Lightbox
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 240px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  background: var(--bg-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item--cert {
  height: 260px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.gallery-item--cert img {
  object-fit: contain;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 17, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Testimonials & Partner Logos
   ========================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.review-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card__stars {
  color: #f59e0b;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.review-card__quote {
  font-size: 1.025rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-light));
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.review-card__name {
  font-weight: 700;
  color: var(--text-main);
}

.review-card__role {
  font-size: 0.85rem;
  color: var(--brand-primary);
  font-weight: 600;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.partner-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  height: 92px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.partner-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.partner-card img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(25%);
  opacity: 0.85;
  transition: var(--transition);
}

.partner-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Quote / Contact Form Section
   ========================================================================== */

.quote-box {
  background: linear-gradient(135deg, #071324 0%, #0d223d 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.form-card {
  background: var(--bg-white);
  color: var(--text-main);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group--full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 189, 0.15);
}

.checkbox-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkbox-pill {
  cursor: pointer;
}

.checkbox-pill input {
  display: none;
}

.checkbox-pill span {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.checkbox-pill input:checked + span {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #065f46;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   Intruder Alarm Configurator & Comparison Cards
   ========================================================================== */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
}

.package-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.package-card--popular {
  border: 2px solid var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.package-card__ribbon {
  position: absolute;
  top: -13px;
  right: 1.5rem;
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.package-card__grade {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.package-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.package-card__desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: #040911;
  color: var(--text-on-dark-muted);
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer__desc {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.925rem;
  line-height: 1.7;
}

.footer__heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.925rem;
  color: var(--text-on-dark-muted);
}

.footer__links a:hover {
  color: var(--brand-accent);
  transform: translateX(3px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.925rem;
  color: #e2e8f0;
}

.footer__contact-item svg {
  width: 19px;
  height: 19px;
  color: var(--brand-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__grid,
  .page-hero__grid,
  .smart-showcase,
  .detail-row,
  .quote-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .detail-row--reverse .detail-row__media {
    order: 1;
  }
  .detail-row--reverse .detail-row__content {
    order: 2;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: #060e1a;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    max-height: calc(100vh - 82px);
    overflow-y: auto;
  }

  .nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    grid-template-columns: 1fr;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: none;
  }

  .dropdown-item--highlight {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4rem 0;
  }

  .steps-grid,
  .footer__grid,
  .form-grid,
  .hero__stats {
    grid-template-columns: 1fr;
  }

  .form-group--full {
    grid-column: span 1;
  }

  .quote-box {
    padding: 1.75rem;
  }

  .form-card {
    padding: 1.5rem;
  }

  .header__phone span {
    display: none;
  }

  .topbar__left {
    display: none;
  }
}
