/* ==========================================================================
   WiseSecureTech — global stylesheet
   Mobile-first. Dark/premium tech palette. Respects prefers-reduced-motion.
   ========================================================================== */

:root {
  --black: #05070d;
  --charcoal-900: #0a0e1a;
  --charcoal-800: #10162a;
  --charcoal-700: #171f3b;
  --charcoal-600: #212b4d;
  --tech-blue: #2f7dff;
  --tech-blue-light: #6aa4ff;
  --security-blue: #1c3f8f;
  --orange: #f2711f;
  --orange-dark: #d95f14;
  --gold: #f2b705;
  --white: #ffffff;
  --off-white: #f6f8fc;
  --gray-100: #eaedf5;
  --gray-300: #c3cadd;
  --gray-600: #6b7280;
  --ink: #0d1220;
  --success: #3ecf6b;
  --danger: #e5484d;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 16px 40px rgba(5, 7, 13, 0.25);
  --container: 1180px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.15s;
  --dur-med: 0.4s;
  --dur-slow: 0.7s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-weight: 800; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: var(--white);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--tech-blue-light);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section-alt { background: var(--off-white); }
.section-dark {
  background: linear-gradient(160deg, var(--charcoal-900), var(--charcoal-700));
  color: var(--white);
}

@media (min-width: 768px) {
  .section { padding: 88px 0; }
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-head {
  max-width: 660px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.section-head p { color: var(--gray-600); margin: 0; }
.section-dark .section-head p { color: var(--gray-300); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(120deg, var(--orange), var(--gold));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(242, 113, 31, 0.3);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(242, 113, 31, 0.42); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-dark-outline {
  background: transparent;
  border-color: var(--charcoal-700);
  color: var(--charcoal-700);
}
.btn-dark-outline:hover { background: var(--charcoal-700); color: var(--white); }

.btn-whatsapp {
  background: #1f9e50;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover { background: #1c8c48; box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35); }

.btn-block { width: 100%; }

/* ==== Header ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand-mark { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark img { display: block; object-fit: contain; }

/* Full logo lockup (icon + wordmark + tagline baked into one image) —
   sized by height, width follows the image's own aspect ratio. */
.brand-mark-full { height: 40px; }
.brand-mark-full img { height: 100%; width: auto; }
.footer-brand .brand-mark-full { height: 34px; }
@media (max-width: 480px) {
  .brand-mark-full { height: 30px; }
}

.main-nav ul { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.main-nav a {
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--dur-fast) var(--ease);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(120deg, var(--orange), var(--gold));
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 7px; color: var(--white); font-weight: 700; font-size: 0.9rem; }
.header-phone svg { width: 17px; height: 17px; color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 62px;
    left: 0; right: 0; bottom: 0;
    background: var(--charcoal-900);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    z-index: 49;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 100px; }
  .main-nav li { border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .main-nav a { display: block; padding: 16px 4px; font-size: 1.02rem; }
  .header-phone span { display: none; }
  .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
}

/* ==== Hero ==== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--black), var(--charcoal-700));
  color: var(--white);
  padding: 70px 0 70px;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  display: flex;
  align-items: center;
}

/* Layer 1: the supplied background photo (technician + skyline + network
   plexus), full-bleed behind everything else. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
@media (max-width: 700px) {
  /* Narrow crops of a wide image lose the subject if we keep favouring the
     far right edge — bias left enough to keep helmet + camera in frame. */
  .hero-bg { background-position: 68% 15%; }
}

/* Dark gradient wash so headline copy on the left stays readable over the
   busy part of the photo, fading out toward the technician on the right. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 7, 15, 0.94) 0%, rgba(4, 7, 15, 0.78) 32%, rgba(4, 7, 15, 0.35) 60%, rgba(4, 7, 15, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 7, 15, 0.55), transparent 40%);
}

/* Layer 2: animated network canvas, drawn on top of the photo so its own
   plexus graphic keeps moving instead of sitting static. */
.hero-network {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero-grid-single { grid-template-columns: 1fr; }
.hero-grid-single .hero-copy { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(62, 207, 107, 0.22);
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); margin-bottom: 16px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--orange), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--gray-300); font-size: 1.05rem; max-width: 520px; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.4rem; color: var(--white); }
.hero-stats div span { font-size: 0.8rem; color: var(--gray-300); }

.pulse-dot { animation: pulse-dot 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .pulse-dot { animation: none; } }
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==== Trust bar ==== */
.trust-bar { background: var(--charcoal-800); color: var(--gray-300); padding: 16px 0; font-size: 0.82rem; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.trust-bar .trust-item { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--white); }
.trust-bar svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ==== Grid / cards ==== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(10, 19, 48, 0.06);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(10, 19, 48, 0.12); }

.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 125, 255, 0.14), rgba(242, 113, 31, 0.14));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--tech-blue);
}

/* ==== Media cards (services, segments) — photo panel + graceful fallback ====
   Drop a correctly-named photo into assets/img/ and it displays automatically
   (object-fit: cover, full bleed); until then the technical gradient +
   centred icon panel below shows instead. No code change needed either way. */
.media-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(106, 164, 255, 0.06) 0 2px, transparent 2px 26px),
    linear-gradient(155deg, var(--charcoal-800), var(--security-blue));
}
.card-media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
}
.card-media-fallback svg { width: 34px; height: 34px; }
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease);
}
.media-card:hover .card-media img { transform: scale(1.05); }
.media-card:hover .card-media { box-shadow: inset 0 0 0 3px var(--orange); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card-body p { color: var(--gray-600); font-size: 0.93rem; }
.media-card:hover { border-color: rgba(242, 113, 31, 0.4); }

/* ==== Solutions For (Residential / SME / Commercial / Industrial) ====
   Thin horizontal banner cards: icon + title/description on the left,
   photo visible through the card, circular arrow pinned to the right. */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 980px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
}

.solution-card {
  position: relative;
  display: block;
  height: 132px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(106, 164, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  isolation: isolate;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
@media (max-width: 980px) {
  .solution-card { height: 148px; }
}
@media (max-width: 560px) {
  .solution-card { height: 128px; }
}

.solution-card:hover,
.solution-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(242, 113, 31, 0.55);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(106, 164, 255, 0.25), 0 0 22px rgba(242, 113, 31, 0.2);
}

.solution-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    repeating-linear-gradient(135deg, rgba(106, 164, 255, 0.08) 0 2px, transparent 2px 28px),
    linear-gradient(155deg, var(--charcoal-800), var(--black));
}
.solution-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18%;
  color: rgba(255, 255, 255, 0.45);
}
.solution-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter var(--dur-med) var(--ease);
  filter: brightness(0.96);
}
.solution-card:hover .solution-media img,
.solution-card:focus-visible .solution-media img {
  transform: scale(1.05);
  filter: brightness(1.04);
}

/* Left-to-right dark scrim so the icon/title/description stay readable on
   the left while the photograph stays visible toward the right. */
.solution-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4, 7, 15, 0.93) 0%, rgba(4, 7, 15, 0.82) 38%, rgba(4, 7, 15, 0.42) 70%, rgba(4, 7, 15, 0.18) 100%);
  pointer-events: none;
}

/* Subtle diagonal light sweep on hover — one pass, not a looping shimmer */
.solution-sweep {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  transition: left 0.7s ease;
}
.solution-card:hover .solution-sweep,
.solution-card:focus-visible .solution-sweep {
  left: 130%;
}

.solution-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  color: var(--white);
}

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(106, 164, 255, 0.18);
  border: 1.5px solid var(--tech-blue-light);
  color: var(--tech-blue-light);
}
.solution-card--orange .solution-icon {
  background: rgba(242, 113, 31, 0.2);
  border-color: var(--orange);
  color: var(--orange);
}

.solution-text { min-width: 0; flex-grow: 1; }
.solution-text h3 { font-size: 0.98rem; margin: 0 0 3px; }
.solution-text p {
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--gray-300);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.solution-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
}
.solution-card:hover .solution-arrow,
.solution-card:focus-visible .solution-arrow {
  transform: translateX(4px);
  background: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 620px) {
  .solution-text p { -webkit-line-clamp: 2; font-size: 0.76rem; }
  .solution-content { padding: 12px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .solution-card:hover,
  .solution-card:focus-visible { transform: none; }
  .solution-media img,
  .solution-arrow { transition: none; }
  .solution-card:hover .solution-media img,
  .solution-card:focus-visible .solution-media img { transform: none; filter: none; }
  .solution-sweep { display: none; }
}

/* ==== Feature section (CCTV + IT combined) ==== */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    repeating-linear-gradient(135deg, rgba(106, 164, 255, 0.07) 0 2px, transparent 2px 28px),
    linear-gradient(155deg, var(--charcoal-800), var(--black));
}
.feature-media .card-media-fallback { color: rgba(255, 255, 255, 0.5); }
.feature-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.feature-copy .check-list { margin-top: 20px; margin-bottom: 26px; }
.feature-copy .check-list span { color: var(--gray-300); font-weight: 400; }
.feature-section .eyebrow { color: var(--gold); }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--gray-600); font-size: 0.93rem; margin-bottom: 0; }

.service-card { display: flex; flex-direction: column; }
.card-link {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 0.86rem; color: var(--orange-dark);
}
.service-card svg { transition: transform var(--dur-fast) var(--ease); }
.service-card:hover svg { transform: translateX(3px); }

/* ==== Checklist ==== */
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-weight: 600; }
.check-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.check-list.plain li { font-weight: 400; color: var(--gray-600); }

/* ==== Steps / process timeline ==== */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
}
.section-dark .step { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.1); }
.step-number {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(120deg, var(--orange), var(--gold));
  color: var(--white); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.step h3 { font-size: 1rem; }
.step p { color: var(--gray-600); font-size: 0.9rem; margin: 0; }
.section-dark .step p { color: var(--gray-300); }

/* ==== CTA banner ==== */
.cta-banner {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 6px; font-size: 1.4rem; }
.cta-banner p { margin: 0; color: rgba(255, 255, 255, 0.92); max-width: 480px; }
.cta-banner .btn-primary { background: var(--white); color: var(--orange-dark); box-shadow: none; flex-shrink: 0; }

/* ==== Breadcrumbs ==== */
.breadcrumb { font-size: 0.82rem; margin: 18px 0; color: var(--gray-600); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--gray-300); }
.breadcrumb a { color: var(--tech-blue); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current] { color: var(--gray-600); font-weight: 600; }

/* ==== Page hero (inner pages) ==== */
.page-hero {
  background: linear-gradient(160deg, var(--black), var(--charcoal-700));
  color: var(--white);
  padding: 44px 0 40px;
}
.page-hero .breadcrumb { color: var(--gray-300); margin-top: 0; margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--gray-300); }
.page-hero .breadcrumb li[aria-current] { color: var(--white); }
.page-hero .breadcrumb li:not(:last-child)::after { color: rgba(255,255,255,0.3); }
.page-hero h1 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); max-width: 780px; }
.page-hero p.lead { color: var(--gray-300); max-width: 640px; margin: 0; }

/* ==== FAQ accordion ==== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px;
  background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 0.98rem; color: var(--ink);
  text-align: left;
}
.faq-question svg { flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); color: var(--orange); }
.faq-question[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-answer { padding: 0 20px 18px; color: var(--gray-600); font-size: 0.93rem; }
.faq-answer[hidden] { display: none; }

/* ==== Segment / concern cards ==== */
.concern-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
}
.concern-card h3 { font-size: 0.98rem; color: var(--charcoal-700); }
.concern-card p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

/* ==== Founders / values ==== */
.founder-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  text-align: center;
}
.founder-avatar {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--tech-blue), var(--security-blue));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1.6rem;
}
.founder-card h3 { margin-bottom: 2px; }
.founder-role { display: block; color: var(--orange-dark); font-weight: 700; font-size: 0.85rem; margin-bottom: 12px; }
.founder-card p { color: var(--gray-600); font-size: 0.92rem; }

.value-card { display: flex; gap: 16px; align-items: flex-start; padding: 6px 0; }
.value-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(47,125,255,0.14), rgba(242,113,31,0.14));
  display: flex; align-items: center; justify-content: center; color: var(--tech-blue);
}
.value-card h3 { font-size: 1rem; margin-bottom: 4px; }
.value-card p { color: var(--gray-600); font-size: 0.92rem; margin: 0; }

.vision-mission { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .vision-mission { grid-template-columns: repeat(2, 1fr); } }
.vm-card { padding: 30px; border-radius: var(--radius-lg); color: var(--white); }
.vm-card.vision { background: var(--charcoal-800); }
.vm-card.mission { background: linear-gradient(135deg, var(--tech-blue), var(--security-blue)); }
.vm-card h3 { font-size: 1.25rem; margin-bottom: 0; }

.early-stage-note {
  background: #fff8e6;
  border: 1px solid #f2d98a;
  color: #6b5514;
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: 0.92rem;
}

/* ==== Areas We Serve ==== */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal-700);
}

/* ==== Quote form ==== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-info-card { background: var(--charcoal-800); color: var(--white); border-radius: var(--radius-lg); padding: 32px; }
.contact-info-card .info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-card .info-row svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-card .info-row strong { display: block; margin-bottom: 2px; }
.contact-info-card .info-row span, .contact-info-card .info-row a { color: var(--gray-300); font-size: 0.92rem; }

.contact-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: 28px; box-shadow: 0 4px 16px rgba(10, 19, 48, 0.06); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 6px; }
.field .required { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid var(--gray-100); font-family: var(--font); font-size: 0.95rem;
  background: var(--off-white); transition: border-color var(--dur-fast) var(--ease); min-height: 46px;
}
.field textarea { min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tech-blue); background: var(--white); }
.field-error { color: var(--danger); font-size: 0.8rem; margin-top: 4px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }

.consent-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: 0.86rem; color: var(--gray-600); }
.consent-row input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.consent-row.has-error { color: var(--danger); }
.consent-row.has-error input { outline: 2px solid var(--danger); }

.form-note { font-size: 0.78rem; color: var(--gray-600); margin-top: 10px; }
.form-alert { display: none; padding: 14px 18px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; margin-bottom: 18px; }
.form-alert.show { display: block; }
.form-alert.success { background: rgba(62, 207, 107, 0.12); border: 1px solid var(--success); color: #1c7a3e; }
.form-alert.error { background: rgba(229, 72, 77, 0.1); border: 1px solid var(--danger); color: #a3272b; }

.btn[data-loading="true"] { opacity: 0.7; pointer-events: none; }
.spinner {
  display: none;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
[data-loading="true"] .spinner { display: inline-block; }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-100); margin-top: 24px; }
.map-embed iframe { width: 100%; height: 300px; border: 0; }

/* honeypot field — hidden from real users, catches simple bots */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ==== Floating WhatsApp (desktop) ==== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 55;
  transition: transform var(--dur-fast) var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 27px; height: 27px; color: var(--white); }

@media (max-width: 640px) {
  .whatsapp-float { display: none; } /* replaced by mobile-action-bar on small screens */
}

/* ==== Mobile sticky action bar ==== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 56;
  background: var(--charcoal-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 6px max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-bottom));
}
@media (max-width: 640px) {
  .mobile-action-bar { display: flex; }
  body { padding-bottom: 62px; } /* keep content clear of the bar */
}
.mobile-action-bar a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--gray-300);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 8px 4px;
  min-height: 48px;
  justify-content: center;
}
.mobile-action-bar a svg { width: 20px; height: 20px; }
.mobile-action-bar a.quote { color: var(--white); }
.mobile-action-bar a.quote svg { color: var(--orange); }

/* ==== Chat Assistant widget ==== */
.chatbot-widget { position: fixed; z-index: 60; bottom: 24px; right: 92px; }
.chatbot-bubble {
  position: relative;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tech-blue); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(47, 125, 255, 0.4);
  transition: transform var(--dur-fast) var(--ease);
  animation: chatbot-bubble-pulse 2.4s ease-in-out 1.5s 3;
}
.chatbot-bubble:hover { transform: scale(1.08); }
.chatbot-bubble.has-badge::after {
  content: "";
  position: absolute;
  top: -2px; right: -2px;
  width: 15px; height: 15px;
  background: var(--orange);
  border: 2px solid var(--white);
  border-radius: 50%;
}
@keyframes chatbot-bubble-pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(47, 125, 255, 0.4); }
  50% { box-shadow: 0 10px 24px rgba(47, 125, 255, 0.4), 0 0 0 8px rgba(47, 125, 255, 0.18); }
}

.chatbot-teaser {
  position: absolute;
  bottom: 10px; right: 68px;
  max-width: 210px;
  display: none; align-items: flex-start; gap: 6px;
  background: var(--white); color: var(--ink);
  padding: 10px 12px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.82rem; font-weight: 700; line-height: 1.35;
  animation: chatbot-teaser-in 0.35s var(--ease);
}
.chatbot-teaser.is-visible { display: flex; }
.chatbot-teaser::after {
  content: "";
  position: absolute;
  top: 50%; right: -6px;
  width: 12px; height: 12px;
  background: var(--white);
  transform: translateY(-50%) rotate(45deg);
}
.chatbot-teaser-text { cursor: pointer; }
.chatbot-teaser-close {
  flex-shrink: 0;
  background: none; border: none; color: var(--gray-600);
  font-size: 1rem; line-height: 1; cursor: pointer; padding: 0;
  margin-left: auto;
}
@keyframes chatbot-teaser-in {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .chatbot-bubble { animation: none; }
  .chatbot-teaser { animation: none; }
}
.chatbot-bubble svg { width: 26px; height: 26px; color: var(--white); }

.chatbot-panel {
  position: absolute; bottom: 68px; right: 0;
  width: 340px; max-width: calc(100vw - 32px);
  height: 480px; max-height: 70vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: none; flex-direction: column;
  overflow: hidden;
}
.chatbot-panel.is-open { display: flex; }
.chatbot-header {
  background: var(--charcoal-900); color: var(--white);
  padding: 14px 16px; font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.chatbot-close {
  background: none; border: none; color: var(--white);
  font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.chatbot-messages {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--off-white);
}
.chatbot-msg {
  max-width: 85%; padding: 9px 12px; border-radius: 14px;
  font-size: 0.85rem; line-height: 1.45; white-space: pre-line;
}
.chatbot-msg.bot { background: var(--white); border: 1px solid var(--gray-100); align-self: flex-start; border-bottom-left-radius: 4px; }
.chatbot-msg.user { background: var(--tech-blue); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.chatbot-options {
  padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 8px;
  border-top: 1px solid var(--gray-100); background: var(--white); flex-shrink: 0;
}
.chatbot-option {
  background: var(--off-white); border: 1px solid var(--gray-100);
  color: var(--ink); padding: 8px 12px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}
.chatbot-option:hover { background: var(--gray-100); }
.chatbot-dropdown { display: flex; gap: 8px; width: 100%; }
.chatbot-dropdown select {
  flex: 1; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--gray-100);
  font-size: 0.82rem; font-family: var(--font);
}
.chatbot-dropdown button {
  background: var(--tech-blue); color: var(--white); border: none;
  padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: 0.8rem; cursor: pointer;
}
.chatbot-input-row {
  display: none; gap: 8px; padding: 10px 14px;
  border-top: 1px solid var(--gray-100); background: var(--white); flex-shrink: 0;
}
.chatbot-input-row.is-visible { display: flex; }
.chatbot-input-row input {
  flex: 1; min-width: 0; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--gray-100);
  font-size: 0.85rem; font-family: var(--font);
}
.chatbot-input-row button {
  background: var(--orange); color: var(--white); border: none;
  padding: 0 16px; border-radius: 8px; font-weight: 700; font-size: 0.82rem; cursor: pointer;
}

@media (max-width: 640px) {
  .chatbot-widget { right: 16px; bottom: 76px; }
  .chatbot-panel {
    position: fixed; inset: auto 12px 132px 12px;
    width: auto; height: 65vh; max-height: 65vh;
  }
  .chatbot-teaser {
    bottom: 68px; right: 0; top: auto;
    max-width: 190px;
  }
  .chatbot-teaser::after {
    top: auto; bottom: -6px; right: 20px;
    transform: rotate(45deg);
  }
}

/* ==== Footer ==== */
.site-footer { background: var(--black); color: var(--gray-300); padding: 52px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; margin-bottom: 36px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid ul li a:hover { color: var(--white); }
.footer-brand p, .footer-slogan { color: var(--gray-300); font-size: 0.88rem; max-width: 280px; }
.footer-slogan { color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: var(--gray-300);
}
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* ==== 404 ==== */
.error-page { text-align: center; padding: 90px 0; }
.error-page .code {
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--orange), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

/* ==== CCTV Pricing & Policies ==== */
.section-divider { border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* Category tabs — plain smooth-scroll anchors styled as pills, no JS needed
   (the page already sets html{scroll-behavior:smooth} globally). */
.pricing-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 28px 0 0;
}
.pricing-tab {
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(106, 164, 255, 0.35);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.pricing-tab:hover {
  background: rgba(242, 113, 31, 0.16);
  border-color: var(--orange);
  transform: translateY(-2px);
}

/* Prominent disclaimer banner — never rendered as fine print */
.price-disclaimer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(242, 183, 5, 0.08);
  border: 1.5px solid rgba(242, 183, 5, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  color: var(--gray-300);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 900px;
  margin: 0 auto;
}
.price-disclaimer svg { flex-shrink: 0; color: var(--gold); width: 24px; height: 24px; margin-top: 2px; }
.price-disclaimer strong { color: var(--white); }

/* Price cards */
.price-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(106, 164, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 113, 31, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35), 0 0 22px rgba(242, 113, 31, 0.15);
}
.price-card .price-sub {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-300);
  margin-bottom: 6px;
}
.price-card .price-label { font-size: 1.05rem; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.price-card .price-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--orange), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 2px;
}
.price-card .price-unit { display: block; font-size: 0.8rem; color: var(--gray-300); margin-bottom: 14px; }
.price-card .price-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--tech-blue-light);
}
.price-card .price-card-link:hover { color: var(--orange); }

.price-note {
  text-align: center;
  color: var(--gray-300);
  font-size: 0.85rem;
  max-width: 640px;
  margin: 24px auto 0;
}

/* Included / excluded panels */
.included-excluded { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 36px; }
@media (min-width: 700px) { .included-excluded { grid-template-columns: 1fr 1fr; } }
.ie-panel {
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.ie-panel h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.ie-panel.included h3 { color: var(--success); }
.ie-panel .check-list li { color: var(--gray-300); font-weight: 400; }
.dash-list li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px; color: var(--gray-300); font-size: 0.94rem;
}
.dash-list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0; margin-top: 8px;
}

/* Policies — reuse the FAQ accordion component/JS, dark-mode override */
.section-dark .faq-item {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}
.section-dark .faq-question { color: var(--white); }
.section-dark .faq-answer { color: var(--gray-300); }
.section-dark .faq-answer ul { list-style: disc; padding-left: 1.3em; margin: 0; }
.section-dark .faq-answer li { margin-bottom: 6px; }

/* ==== Legal pages ==== */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 2em; font-size: 1.2rem; }
.legal-content p, .legal-content li { color: var(--gray-600); }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal-updated { color: var(--gray-600); font-size: 0.85rem; margin-bottom: 2em; }

/* ==== Reveal-on-scroll ==== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
/* Staggered entrance within a grid */
.grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.grid .reveal:nth-child(8) { transition-delay: 0.42s; }

/* No-JS fallback: content must not stay invisible without main.js running */
.no-js .reveal { opacity: 1; transform: none; }

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
