/* ============================================================
   styles.css — Unified Light Theme Design System
   Nilakshith Enterprise — Internet, CCTV & IT Services
   ============================================================ */



:root {
  /* --- CORE PALETTE --- */
  --color-bg-page:        #FFFFFF;
  --color-bg-surface:     #F7F8FA;
  --color-bg-elevated:    #ECEEF2;
  --color-bg-dark:        #0F1623;   /* Deep navy — used for footer, nav on scroll */
  --color-bg-dark-alt:    #1A2236;   /* Slightly lighter navy for footer sections */

  /* Brand Blue */
  --color-brand:          #1A4FBF;   /* Primary blue — buttons, links, accents */
  --color-brand-hover:    #1540A0;
  --color-brand-light:    #EBF0FB;   /* Light tint for tags, badges */
  --color-brand-border:   #C5D3F5;

  /* Accent */
  --color-accent:         #F5A623;   /* Warm amber — "Popular" / "Best Value" badges only */

  /* Text */
  --color-text-primary:   #111827;
  --color-text-secondary: #4B5563;
  --color-text-tertiary:  #9CA3AF;
  --color-text-inverse:   #FFFFFF;
  --color-text-brand:     #1A4FBF;

  /* Borders */
  --color-border:         #E5E7EB;
  --color-border-strong:  #D1D5DB;
  --color-border-brand:   #C5D3F5;

  /* Status */
  --color-success:        #16A34A;
  --color-success-bg:     #F0FDF4;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-xl:   0 16px 48px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
  --shadow-brand: 0 4px 20px rgba(26, 79, 191, 0.20);

  /* --- SPACING (8pt grid) --- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* --- TYPOGRAPHY SCALE --- */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* --- BORDER RADIUS --- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-pill: 9999px;

  /* --- TRANSITIONS --- */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- LAYOUT --- */
  --container-max: 1200px;
  --container-pad: clamp(16px, 5vw, 48px);
}

/* ============================================================
   RESET & BASE RULES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-secondary);
  background-color: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-text-primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--color-brand-hover);
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* Accessibility: Focus visible */
:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 9999;
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-5);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 20px;
}

/* ============================================================
   GLOBAL LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--space-9);
}
@media (max-width: 768px) {
  .section {
    padding-block: var(--space-8);
  }
}

/* Strictly alternating section backgrounds */
.section--surface {
  background-color: var(--color-bg-surface);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-7);
  max-width: 680px;
  margin-inline: auto;
}
.section-header h2 {
  font-size: var(--text-4xl);
  font-weight: 800;
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}
.section-header p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: var(--text-2xl);
  }
}

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-weight: 600;
  font-size: var(--text-base);
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background-color: var(--color-brand-hover);
  box-shadow: 0 6px 24px rgba(26, 79, 191, 0.28);
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-border-strong);
  color: var(--color-text-primary);
}
.btn--outline:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
  transform: translateY(-2px);
}

.btn--brand-outline {
  background-color: transparent;
  border-color: var(--color-brand);
  color: var(--color-brand);
}
.btn--brand-outline:hover {
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background-color: #25D366;
  color: var(--color-text-inverse);
}
.btn--whatsapp:hover {
  background-color: #1EBE57;
  box-shadow: 0 4px 16px rgba(37,211,102,0.30);
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

.btn--accent {
  background-color: var(--color-accent);
  color: var(--color-text-inverse);
}
.btn--accent:hover {
  background-color: #E2961B;
  transform: translateY(-2px);
  color: var(--color-text-inverse);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-brand);
  padding: 10px 20px;
}
.btn--ghost:hover {
  background-color: var(--color-brand-light);
  color: var(--color-brand-hover);
}

.btn--full {
  width: 100%;
}

/* ============================================================
   PRELOADER (Visually Clean Redesign)
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background-color: var(--color-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 300ms ease;
}
.preloader.loaded {
  opacity: 0;
  pointer-events: none;
}
.preloader__label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.preloader__line-track {
  width: 160px;
  height: 2px;
  background-color: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.preloader__line {
  height: 100%;
  width: 100%;
  background-color: var(--color-brand);
  transform-origin: left;
  animation: preloader-bar 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes preloader-bar {
  0% { transform: scaleX(0); }
  70% { transform: scaleX(0.8); }
  100% { transform: scaleX(1); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
header {
  height: 72px;
}
@media (max-width: 768px) {
  header {
    height: 64px;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-bottom var(--transition-base), box-shadow var(--transition-base), height var(--transition-base);
}
@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }
}

/* Scrolled nav state */
.navbar.scrolled {
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo type treatment */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  line-height: 1.1;
  text-decoration: none;
}
.navbar__logo-img {
  height: 68px;
  width: auto;
  display: block;
}
.logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-text-primary);
}
.logo-suffix {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 400;
  font-size: var(--text-xl);
  color: var(--color-text-tertiary);
}
.logo-tagline {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-brand);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
}

/* Desktop nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu__link {
  font-weight: 500;
  font-size: 15px;
  color: var(--color-text-secondary);
  position: relative;
  padding-block: var(--space-2);
}
.nav-menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}
.nav-menu__link:hover {
  color: var(--color-text-primary);
}
.nav-menu__link:hover::after,
.nav-menu__link.is-active::after {
  transform: scaleX(1);
}
.nav-menu__link.is-active {
  color: var(--color-brand);
}

/* WhatsApp Nav Button */
.navbar__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: transparent;
  border: 1px solid #25D366;
  color: #25D366;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 9px 19px; /* slightly adjusted padding for border offset */
  border-radius: var(--radius-pill);
  box-shadow: none;
  transition: all var(--transition-fast);
}
.navbar__cta-btn:hover {
  background-color: #25D366;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
  color: var(--color-text-inverse);
}
.navbar__cta-btn svg,
.nav-drawer__wa-btn svg {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  position: relative;
  z-index: 102;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: var(--radius-pill);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.nav-toggle.open .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer & Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.40);
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 101;
  width: 300px;
  background-color: var(--color-bg-page);
  box-shadow: var(--shadow-xl);
  padding: var(--space-8) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open {
  transform: translateX(0);
}

.nav-drawer__link {
  display: flex;
  align-items: center;
  height: 48px;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
}
.nav-drawer__link.is-active {
  color: var(--color-brand);
}
.nav-drawer__link:hover {
  color: var(--color-brand);
}
.nav-drawer__wa-btn {
  margin-top: var(--space-5);
  background-color: transparent;
  border: 1px solid #25D366;
  color: #25D366;
  box-shadow: none;
}
.nav-drawer__wa-btn:hover {
  background-color: #25D366;
  color: var(--color-text-inverse);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

@media (max-width: 900px) {
  .nav-menu, .navbar__cta-btn.desktop-only {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============================================================
   PAGE LOAD SEQUENCES
   ============================================================ */
.animate-load {
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
}

/* Nav slide down */
.header-slide-down {
  animation-name: nav-slide-down;
  animation-delay: 100ms;
}
@keyframes nav-slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Hero elements load sequence */
.hero-eyebrow-fade-up {
  animation-name: fade-up-anim;
  animation-delay: 300ms;
}
.hero-title-line1-fade-up {
  animation-name: fade-up-anim;
  animation-delay: 450ms;
}
.hero-title-line2-fade-up {
  animation-name: fade-up-anim;
  animation-delay: 600ms;
}
.hero-subtext-fade-in {
  animation-name: fade-in-anim;
  animation-delay: 750ms;
}
.hero-cta-scale-in {
  animation-name: scale-in-anim;
  animation-delay: 900ms;
}
.hero-stats-fade-up {
  animation-name: fade-up-anim;
  animation-delay: 1050ms;
}

@keyframes fade-up-anim {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-anim {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scale-in-anim {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-animate] {
  animation-duration: 500ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
  opacity: 0;
}
[data-animate].is-visible {
  opacity: 1;
}

[data-animate="fade-up"] {
  transform: translateY(24px);
}
[data-animate="fade-up"].is-visible {
  animation-name: fade-up-anim;
}

[data-animate="fade-in"].is-visible {
  animation-name: fade-in-anim;
}

[data-animate="fade-left"] {
  transform: translateX(-24px);
}
[data-animate="fade-left"].is-visible {
  animation-name: fade-left-anim;
}
@keyframes fade-left-anim {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

[data-animate="fade-right"] {
  transform: translateX(24px);
}
[data-animate="fade-right"].is-visible {
  animation-name: fade-right-anim;
}
@keyframes fade-right-anim {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

[data-animate="scale-in"] {
  transform: scale(0.96);
}
[data-animate="scale-in"].is-visible {
  animation-name: scale-in-anim;
}

/* Delays */
[data-animate-delay="100"] { animation-delay: 100ms; }
[data-animate-delay="200"] { animation-delay: 200ms; }
[data-animate-delay="300"] { animation-delay: 300ms; }
[data-animate-delay="400"] { animation-delay: 400ms; }
[data-animate-delay="500"] { animation-delay: 500ms; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-animate], * {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero {
  position: relative;
  background-color: var(--color-bg-page);
  padding-block: var(--space-8);
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  /* Signature Element: Repeating diagonal line pattern */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3,3 L3,-3 M0,12 L12,0 M9,15 L15,9' stroke='%231A4FBF' stroke-width='1' stroke-opacity='0.04'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-block: var(--space-6);
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--space-7);
}
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .hero__content {
    align-items: center;
  }
}

/* Eyebrow badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-brand-light);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: var(--space-4);
}
.hero__badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse-dot 2s infinite;
}

/* H1 with Underline SVG */
.hero__headline {
  font-size: var(--text-6xl);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}
.connecting-word {
  position: relative;
  display: inline-block;
}
.underline-svg {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 8px;
}
.underline-svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw-line 600ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 700ms;
}

@media (max-width: 768px) {
  .hero__headline {
    font-size: var(--text-4xl);
  }
}

.hero__subtext {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--space-5);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
}

/* Stats Row */
.hero__stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-5);
  width: 100%;
  max-width: 680px;
}
.hero__stat-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero__stat-number {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: var(--text-2xl);
  color: var(--color-brand);
}
.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.hero__stat-divider {
  color: var(--color-border-strong);
  font-weight: 300;
}

@media (max-width: 900px) {
  .hero__stats-row {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .hero__stats-row {
    flex-direction: column;
    gap: var(--space-2);
  }
  .hero__stat-divider {
    display: none;
  }
}

/* Floating Illustration */
.hero__visual {
  display: flex;
  justify-content: center;
}
.floating-illustration {
  width: 420px;
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   STATS BANNER (Home & About pages)
   ============================================================ */
.stats-banner {
  background-color: var(--color-bg-surface);
  border-block: 1px solid var(--color-border);
  padding-block: var(--space-5);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}
.stat-item__number {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: var(--text-4xl);
  color: var(--color-brand);
  line-height: 1.1;
  margin-bottom: var(--space-1);
}
.stat-item__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }
}

/* ============================================================
   SECTION 2: SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-brand); /* Top accent bar */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-border);
}

.service-card__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: var(--color-brand-light);
  border-radius: var(--radius-lg);
  font-size: 32px;
  color: var(--color-brand);
  transition: background-color var(--transition-base), color var(--transition-base);
}
.service-card__icon-wrap svg {
  width: 36px;
  height: 36px;
}
.service-card:hover .service-card__icon-wrap {
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
}

.service-card__title {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text-primary);
}

.service-card__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  flex-grow: 1;
}

.service-card__link {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.service-card__link i {
  transition: transform var(--transition-fast);
}
.service-card__link:hover i {
  transform: translateX(4px);
}

/* LIVE badge for CCTV */
.service-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.service-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #FEE2E2;
  border: 1px solid #FECACA;
  color: #DC2626;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.service-live-badge__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #DC2626;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

/* ============================================================
   SECTION 3: HOW IT WORKS
   ============================================================ */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  position: relative;
}
@media (max-width: 900px) {
  .steps-row {
    flex-direction: column;
    gap: var(--space-6);
  }
}

.step-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  position: relative;
  z-index: 2;
}

.step__number {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 48px;
  color: var(--color-brand);
  opacity: 0.20;
  line-height: 1;
  user-select: none;
}

.step__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-2);
  text-transform: uppercase;
}

.step__desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Dashed connector lines (desktop only) */
.step-connector {
  flex: 1;
  height: 2px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.step-connector__svg {
  width: 100%;
  height: 2px;
  overflow: visible;
}
.step-connector__line {
  stroke: var(--color-border-strong);
  stroke-width: 2;
  stroke-dasharray: 6, 6;
  stroke-dashoffset: 0;
}
.step-connector__line.animated {
  animation: draw-dash 1200ms linear forwards;
}
@keyframes draw-dash {
  to { stroke-dashoffset: -20; }
}

@media (max-width: 900px) {
  .step-connector {
    display: none;
  }
}

/* ============================================================
   SECTION 4: SERVICE AREA / MAP + ABOUT
   ============================================================ */
.about-map-split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: var(--space-7);
}
@media (max-width: 900px) {
  .about-map-split {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.about-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}
.about-column p {
  line-height: 1.7;
}

/* Trust tag badges row */
.trust-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block: var(--space-2);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-success-bg);
  border: 1px solid #BBF7D0;
  color: var(--color-success);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}
.trust-pill::before {
  content: '✓';
  margin-right: 6px;
  font-weight: 700;
}

/* Service area operate card */
.service-area-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.service-area-card h3 {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
}
.service-area-card__sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.service-area-card__badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--color-brand-light);
  color: var(--color-brand);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* Zones area list */
.zones-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.zone-item {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: var(--color-text-secondary);
}
.zone-item::before {
  content: '✓';
  color: var(--color-success);
  font-weight: bold;
  margin-right: 10px;
}
.zone-item.expanding::before {
  content: '●';
  color: var(--color-text-tertiary);
  font-size: 10px;
  margin-right: 12px;
}
.zone-item.expanding {
  color: var(--color-text-tertiary);
  font-style: italic;
}

/* ============================================================
   SECTION 5: TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-brand-border);
}

.testimonial-card__stars {
  color: #F59E0B;
  font-size: 18px;
  letter-spacing: 1px;
}

.testimonial-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  flex-grow: 1;
}

.testimonial-card__divider {
  border-top: 1px solid var(--color-border);
  margin-block: var(--space-1);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-brand-light);
  color: var(--color-brand);
  font-weight: 700;
  font-size: var(--text-base);
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.testimonial-card__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-primary);
}
.testimonial-card__tag {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

/* Reviews footer link */
.testimonials__footer-link {
  text-align: center;
  margin-top: var(--space-6);
}
.google-reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-brand);
}
.google-reviews-btn svg {
  width: 16px;
  height: 16px;
}
.google-reviews-btn:hover {
  text-decoration: underline;
}

/* ============================================================
   SECTION 6: BROADBAND PLANS
   ============================================================ */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  position: relative;
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Popular Featured Card */
.plan-card--popular {
  border: 2px solid var(--color-brand);
  box-shadow: var(--shadow-brand);
}
.plan-card--popular:hover {
  box-shadow: 0 8px 32px rgba(26, 79, 191, 0.28);
}

/* Best Value Featured Card */
.plan-card--bestvalue {
  border: 2px solid var(--color-accent);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.18);
}
.plan-card--bestvalue:hover {
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.25);
}

/* Badges */
.plan-card__badge {
  position: absolute;
  top: -14px;
  right: var(--space-5);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-xs);
}
.plan-card__badge--popular {
  background-color: var(--color-brand);
}
.plan-card__badge--bestvalue {
  background-color: var(--color-accent);
}

.plan-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card__speed-row {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.plan-card__speed-num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 44px;
  color: var(--color-brand);
}
.plan-card__speed-unit {
  font-size: var(--text-base);
  color: var(--color-text-tertiary);
  margin-left: 6px;
}

.plan-card__price-row {
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.plan-card__price-val {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text-primary);
}
.plan-card__price-suffix {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-left: 4px;
}

.plan-card__desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* Pricing Note */
.pricing-footer-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin-top: var(--space-5);
}

/* ============================================================
   SECTION 7: CONTACT / ENQUIRY
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-7);
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.google-form-frame-wrapper {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-bg-page);
  height: 680px;
}

.contact-info-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-info-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.contact-rows-list {
  display: flex;
  flex-direction: column;
}
.contact-row-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.contact-row-item:last-child {
  border-bottom: none;
}

.contact-row-item__icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-brand-light);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  flex-shrink: 0;
}
.contact-row-item__icon-box svg {
  width: 20px;
  height: 20px;
}
/* Specific whatsapp coloring inside card */
.contact-row-item__icon-box.whatsapp-box {
  background-color: rgba(37, 211, 102, 0.08);
  color: #25D366;
}

.contact-row-item__content {
  display: flex;
  flex-direction: column;
}
.contact-row-item__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.contact-row-item__value {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
}
.contact-row-item__value a {
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}
.contact-row-item__value a:hover {
  color: var(--color-brand);
}

/* WhatsApp CTA full-width button at bottom */
.contact-card__wa-cta {
  margin-top: var(--space-2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.55);
  padding-top: var(--space-8);
  /* Signature Element: Stripe pattern at 3% opacity */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3,3 L3,-3 M0,12 L12,0 M9,15 L15,9' stroke='%231A4FBF' stroke-width='1' stroke-opacity='0.03'/%3E%3C/svg%3E");
}

.footer__main {
  padding-bottom: var(--space-7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-6);
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
  }
}
@media (max-width: 480px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* Logo white text in footer */
.footer-logo-text {
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-text-inverse);
  display: inline-block;
}
.footer-logo-sub {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 1px;
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 320px;
  color: var(--color-text-tertiary);
}

.footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-1);
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-dark-alt);
  color: var(--color-text-tertiary);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.footer__social-link:hover {
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
}

/* Footer columns */
.footer__heading {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-inverse);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}
.footer__links a:hover {
  color: rgba(255, 255, 255, 0.90);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-brand-border);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer__contact-item a {
  color: rgba(255, 255, 255, 0.55);
}
.footer__contact-item a:hover {
  color: rgba(255, 255, 255, 0.90);
}

/* Footer service areas */
.footer__areas {
  margin-top: var(--space-4);
}
.footer__areas-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-inverse);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.footer__areas-text {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  line-height: 1.5;
}

/* Bottom Bar */
.footer__divider {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
}
.footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
}
.footer__bottom-links {
  display: flex;
  gap: var(--space-4);
}
.footer__bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.40);
}
.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.70);
}

.footer__copyright a {
  color: rgba(255, 255, 255, 0.40);
  transition: color var(--transition-base);
}
.footer__copyright a:hover {
  color: rgba(255, 255, 255, 0.70);
  text-decoration: underline;
}

@media (max-width: 680px) {
  .footer__bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

/* ============================================================
   GLOBAL FLOATING WHATSAPP FAB BUTTON
   ============================================================ */
.wa-float-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
}
.wa-float {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border: 2px solid #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: #25D366;
  transition: all var(--transition-base);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  display: block;
}
.wa-float:hover {
  transform: scale(1.08);
  background-color: #25D366;
  color: var(--color-text-inverse);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.40);
}

/* FAB Tooltip */
.wa-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-inverse);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 150ms ease, transform 150ms ease;
  box-shadow: var(--shadow-sm);
}
.wa-float-wrapper:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
  border-color: var(--color-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   SUBPAGE & COMPONENT LAYOUTS
   ============================================================ */
.page-hero {
  background-color: var(--color-bg-surface);
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.page-hero__inner {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.page-hero h1 {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-top: var(--space-1);
}
.page-hero p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .page-hero {
    padding-block: var(--space-6);
  }
  .page-hero h1 {
    font-size: var(--text-2xl);
  }
}

/* .detail-grid & .detail-card (subpages) */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}

.detail-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.detail-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--color-brand-light);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  font-size: 24px;
}
.detail-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
}
.detail-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* .process-grid & .process-item (subpages) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-item {
  position: relative;
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: transform var(--transition-base);
}
.process-item:hover {
  transform: translateY(-2px);
}
.process-item__num {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 36px;
  color: var(--color-brand);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
}
.process-item__icon {
  font-size: 32px;
  color: var(--color-brand);
}
.process-item h3 {
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--space-1);
}
.process-item p {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* .serve-grid & .serve-item (subpages) */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
@media (max-width: 1024px) {
  .serve-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .serve-grid {
    grid-template-columns: 1fr;
  }
}

.serve-item {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.serve-item:hover {
  border-color: var(--color-brand-border);
  box-shadow: var(--shadow-sm);
}
.serve-item__icon {
  font-size: 24px;
  color: var(--color-brand);
  flex-shrink: 0;
}
.serve-item__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* .amc-grid & .amc-card (CCTV AMC) */
.amc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
@media (max-width: 680px) {
  .amc-grid {
    grid-template-columns: 1fr;
  }
}

.amc-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.amc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.amc-card--featured {
  border: 2px solid var(--color-brand);
  box-shadow: var(--shadow-brand);
}
.amc-card--featured:hover {
  box-shadow: 0 8px 32px rgba(26, 79, 191, 0.28);
}
.amc-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
}
.amc-card__subtitle {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* FAQ Component Styling */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item:hover {
  border-color: var(--color-brand-border);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  user-select: none;
}
.faq-item__question:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: -2px;
  border-radius: var(--radius-lg);
}
.faq-item__question h3 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
}
.faq-item__chevron {
  font-size: 18px;
  color: var(--color-text-secondary);
  transition: transform var(--transition-base);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base) ease;
  background-color: var(--color-bg-surface);
}
.faq-item__answer p {
  padding: var(--space-4) var(--space-5);
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Accordion open state */
.faq-item.open {
  border-color: var(--color-brand-border);
}
.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
  color: var(--color-brand);
}
.faq-item.open .faq-item__answer {
  max-height: 200px; /* arbitrary height to slide to */
}

/* Feature checking lists */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}
.icon-check {
  color: var(--color-success);
  font-size: 16px;
}

/* CTA Banner (subpages) */
.cta-banner {
  background-color: var(--color-brand-light);
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-7) var(--space-6);
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.cta-banner h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-text-primary);
}
.cta-banner p {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  max-width: 580px;
}
.cta-banner__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .cta-banner h2 {
    font-size: var(--text-xl);
  }
}

/* ============================================================
   TAGEMBED GOOGLE REVIEWS WIDGET — section #reviews
   ============================================================ */

/* Outer wrapper — iframe needs an explicit height to render */
.tagembed-widget-container {
  width: 100%;
  max-width: min(1200px, 100vw);
  /* Tighter height — fits the actual review card height without empty space */
  height: 430px;
  margin: var(--space-8) auto;
  overflow: hidden;
  background: var(--color-bg-page);
  border: 1px solid var(--color-bg-elevated);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

/* Stretch the iframe to fill the container */
.tagembed-widget-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* "View All Reviews on Google" CTA row */
.reviews-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

/* No shimmer needed — iframe renders its own loading state */

/* Mobile — compact height on small screens */
@media (max-width: 768px) {
  .tagembed-widget-container {
    height: 480px;
    margin: var(--space-6) auto;
    border-radius: var(--radius-md);
  }
}


/* ============================================================
   WHATSAPP INQUIRY BUILDER MODAL
   ============================================================ */
.wa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 22, 35, 0.6);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wa-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.wa-modal-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}
.wa-modal-overlay.open .wa-modal-card {
  transform: translateY(0);
}
.wa-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
}
.wa-modal-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-primary);
}
.wa-modal-close {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}
.wa-modal-close:hover {
  background-color: var(--color-bg-elevated);
  color: var(--color-text-primary);
}

.wa-modal-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-height: 75vh;
  overflow-y: auto;
}
.wa-modal-subtitle {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: -4px;
}
.wa-modal-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.wa-modal-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.wa-modal-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.wa-modal-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.wa-modal-option-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.wa-modal-option-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.wa-modal-option:hover .wa-modal-option-card {
  border-color: var(--color-brand-border);
  background-color: var(--color-bg-elevated);
}
.wa-modal-option input[type="radio"]:checked + .wa-modal-option-card {
  border-color: #25D366;
  background-color: rgba(37, 211, 102, 0.08);
  box-shadow: 0 0 0 1px #25D366;
}

/* Textarea input styles */
.wa-modal-text-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wa-modal-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.wa-modal-textarea {
  width: 100%;
  height: 70px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-page);
  color: var(--color-text-primary);
  resize: none;
  font-family: inherit;
  transition: border-color var(--transition-fast);
}
.wa-modal-textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}

.wa-modal-footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  display: flex;
  justify-content: flex-end;
  gap: var(--space-3);
}
.wa-modal-footer .btn {
  padding: 10px 20px;
  font-size: 14px;
}
.btn--whatsapp-modal {
  background-color: #25D366;
  color: var(--color-text-inverse);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--whatsapp-modal:hover {
  background-color: #1EAA55;
  color: var(--color-text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp-modal:active {
  transform: scale(0.98);
}

/* ══════════════════════════════════════════
     NATIVE CONTACT FORM SYSTEM
     ══════════════════════════════════════════ */
.enquiry-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  width: 100%;
}

@media (max-width: 480px) {
  .enquiry-card {
    padding: var(--space-4);
  }
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-section-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .form-row-two {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  position: relative;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  text-align: left;
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-label .optional {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-text-tertiary);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: inherit;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  background-color: var(--color-bg-elevated);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--color-bg-page);
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(26, 79, 191, 0.12);
}

.form-error-msg {
  font-size: var(--text-xs);
  color: #ef4444;
  margin-top: 2px;
  display: none;
  text-align: left;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.has-error .form-error-msg {
  display: block;
}

/* Conditional Group Styles */
.form-conditional-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-height: 500px;
  opacity: 1;
  overflow: visible;
  transition: max-height var(--transition-base), opacity var(--transition-base), margin-top var(--transition-base);
  margin-top: var(--space-2);
}

.form-conditional-group.hidden {
  display: none !important;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
}

/* Checkbox and Radio styling */
.checkbox-group,
.radio-group {
  margin-top: var(--space-1);
  text-align: left;
}

.checkbox-label,
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  user-select: none;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 500;
  position: relative;
}

.checkbox-label input,
.radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.checkbox-label:hover input ~ .checkbox-box,
.checkbox-label input:focus-visible ~ .checkbox-box {
  border-color: var(--color-brand);
}

.checkbox-label input:checked ~ .checkbox-box {
  background-color: var(--color-brand);
  border-color: var(--color-brand);
}

.checkbox-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid var(--color-text-inverse);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.checkbox-label input:checked ~ .checkbox-box::after {
  opacity: 1;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.radio-circle {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.radio-label:hover input ~ .radio-circle,
.radio-label input:focus-visible ~ .radio-circle {
  border-color: var(--color-brand);
}

.radio-label input:checked ~ .radio-circle {
  border-color: var(--color-brand);
}

.radio-circle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-brand);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.radio-label input:checked ~ .radio-circle::after {
  opacity: 1;
  transform: scale(1);
}

/* Submit Spinner */
.form-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-text-inverse);
  animation: form-spin 0.8s linear infinite;
  display: inline-block;
  box-sizing: border-box;
}

@keyframes form-spin {
  to { transform: rotate(360deg); }
}

.btn-spinner.hidden {
  display: none !important;
}

/* Result Cards */
.form-result-card {
  background-color: var(--color-bg-page);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  animation: card-appear var(--transition-base);
}

@keyframes card-appear {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.form-result-card.hidden {
  display: none !important;
}

.success-icon-wrapper,
.error-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.success-icon-wrapper {
  background-color: var(--color-success-bg);
}

.error-icon-wrapper {
  background-color: #fef2f2;
}

/* Success Checkmark Animation */
.success-checkmark {
  width: 32px;
  height: 32px;
  position: relative;
}

.checkmark-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-success);
  position: absolute;
  top: 0;
  left: 0;
}

.checkmark-stem {
  width: 3px;
  height: 15px;
  background-color: var(--color-success);
  position: absolute;
  left: 17px;
  top: 6px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.checkmark-kick {
  width: 8px;
  height: 3px;
  background-color: var(--color-success);
  position: absolute;
  left: 10px;
  top: 18px;
  transform: rotate(45deg);
  border-radius: 2px;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  background-color: rgba(15, 22, 35, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4);
  transition: opacity var(--transition-base) ease, transform var(--transition-base) ease, visibility var(--transition-base) ease;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(24px);
  visibility: hidden;
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  text-align: left;
}

.cookie-banner__link {
  color: #60a5fa;
  text-decoration: underline;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.cookie-banner__link:hover {
  color: #93c5fd;
}

.cookie-banner__actions {
  display: flex;
  justify-content: flex-end;
}

.btn--cookie-accept {
  padding: 8px 20px;
  font-size: var(--text-sm);
  border-radius: var(--radius-pill);
  background-color: var(--color-brand);
  color: var(--color-text-inverse);
  border: 2px solid transparent;
  box-shadow: var(--shadow-brand);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn--cookie-accept:hover {
  background-color: var(--color-brand-hover);
  transform: translateY(-1px);
}

/* Desktop layout */
@media (min-width: 769px) {
  .cookie-banner {
    left: auto;
    right: 32px;
    bottom: 32px;
    max-width: 480px;
    padding: var(--space-4) var(--space-5);
  }
  
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-4);
  }
  
  .cookie-banner__text {
    flex: 1;
  }
  
  .cookie-banner__actions {
    flex-shrink: 0;
  }
}


