/* =========================================================
   Sun World Security — NYC Security Camera Installation
   Premium navy / sky-blue design system
   ========================================================= */

:root {
  --navy-950: #061629;
  --navy-900: #0a2540;
  --navy-800: #0d2e4f;
  --navy-700: #123a63;
  --blue-600: #1f6fd4;
  --blue-500: #2a86e8;
  --sky-400: #38bdf8;
  --sky-300: #7dd3fc;
  --cyan: #19c3ff;
  --amber: #ffb020;
  --amber-dark: #f59300;
  --ink: #0f1f33;
  --slate: #475569;
  --slate-light: #6b7c93;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f8fd;
  --bg-soft2: #eef4fb;
  --white: #ffffff;
  --dark-color: #061629;
  --accent-color: var(--sky-400);
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, .06);
  --shadow: 0 10px 30px rgba(10, 37, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, .16);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all .28s cubic-bezier(.4, 0, .2, 1);
  --container: 1200px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.18;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: -.01em;
}

p { color: var(--slate); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .95rem 1.7rem;
  border-radius: 60px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 19px; height: 19px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 111, 212, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(31, 111, 212, .45); }

.btn-cta {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #1a1305;
  box-shadow: 0 10px 24px rgba(245, 147, 0, .38);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(245, 147, 0, .5); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--navy-900); border-color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-500); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.06rem; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .85);
  font-size: .86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: rgba(255, 255, 255, .85); transition: var(--transition); }
.topbar a:hover { color: var(--sky-300); }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar-left span, .topbar-left a { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-left svg { width: 15px; height: 15px; color: var(--sky-400); }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  color: #cde8ff; font-weight: 600;
}
.topbar-badge svg { width: 14px; height: 14px; color: var(--sky-400); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(10, 37, 64, .05);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(18, 58, 99, .35);
  flex-shrink: 0;
}
.brand-mark svg { width: 26px; height: 26px; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700; font-size: 1.22rem;
  color: var(--navy-900); letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-name b { color: var(--blue-500); }
.brand-tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-light); font-weight: 600; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-weight: 500;
  font-size: .97rem;
  color: var(--navy-800);
  padding: .55rem .85rem;
  border-radius: 10px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); background: var(--bg-soft2); }

/* Services dropdown */
.has-dropdown { position: relative; }
.nav-links .has-dropdown > a { display: inline-flex; align-items: center; gap: .3rem; }
.caret { width: 13px; height: 13px; transition: var(--transition); }
.has-dropdown:hover .caret, .has-dropdown:focus-within .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  min-width: 256px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .5rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 130;
}
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown li { width: 100%; }
.dropdown a {
  display: block; padding: .62rem .85rem; border-radius: 9px;
  font-size: .92rem; font-weight: 500; color: var(--navy-800); white-space: nowrap;
}
.dropdown a:hover { background: var(--bg-soft2); color: var(--blue-600); }

/* anchor offset so sticky header doesn't cover targeted service card */
.cards .card { scroll-margin-top: 130px; }

.nav-cta { display: flex; align-items: center; gap: .7rem; }
.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: var(--navy-900); font-size: 1.02rem;
  flex-shrink: 0; white-space: nowrap;
}
.nav-phone svg { width: 20px; height: 20px; color: var(--blue-500); flex-shrink: 0; }
.nav-phone span { white-space: nowrap; }
.nav-phone small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(56, 189, 248, .22), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(800px 500px at 25% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(800px 500px at 25% 30%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  padding: 4.6rem 0 4.8rem;
}

/* Full-bleed background-image hero variant */
.hero-bg {
  background:
    linear-gradient(98deg, rgba(6, 22, 41, .96) 0%, rgba(8, 28, 52, .9) 34%, rgba(10, 37, 64, .6) 58%, rgba(10, 37, 64, .2) 100%),
    url('images/security-camera-installation-nyc-hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-bg::before { opacity: .22; }
.hero-bg .hero-inner {
  grid-template-columns: 1fr;
  padding: 5.6rem 0 5.4rem;
}
.hero-bg .hero-copy { max-width: 680px; }
.hero-bg .hero-sub { color: rgba(255, 255, 255, .9); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(56, 189, 248, .14);
  border: 1px solid rgba(56, 189, 248, .35);
  color: var(--sky-300);
  padding: .4rem .9rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 1.3rem;
}
.hero-eyebrow svg { width: 15px; height: 15px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-bottom: 1.1rem;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--sky-300), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 1.12rem;
  max-width: 38rem;
  margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 1.2rem 1.8rem; }
.hero-points li { display: flex; align-items: center; gap: .55rem; color: #e6f1fb; font-weight: 500; font-size: .98rem; }
.hero-points svg { width: 20px; height: 20px; color: var(--sky-400); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-float {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.hero-float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.hero-float .ic svg { width: 20px; height: 20px; color: #fff; }
.hero-float strong { display: block; font-family: 'Poppins', sans-serif; color: var(--navy-900); font-size: .95rem; }
.hero-float span { font-size: .78rem; color: var(--slate); }
.hero-float.f1 { top: 18px; left: -18px; }
.hero-float.f1 .ic { background: linear-gradient(135deg, #16a34a, #22c55e); }
.hero-float.f2 { bottom: 22px; right: -16px; }
.hero-float.f2 .ic { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy-950); color: #fff; }
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; padding: 1.6rem 22px;
}
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-item svg { width: 30px; height: 30px; color: var(--sky-400); flex-shrink: 0; }
.trust-item b { font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: #fff; display: block; }
.trust-item span { font-size: .82rem; color: rgba(255, 255, 255, .7); }

/* ---------- Sections ---------- */
section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  color: var(--blue-600);
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .7rem;
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .9rem; }
.section-head p { font-size: 1.08rem; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--sky-400));
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-soft2), #dcebfb00 60%), linear-gradient(135deg, rgba(42, 134, 232, .12), rgba(56, 189, 248, .12));
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.card-ic svg { width: 28px; height: 28px; color: var(--blue-600); }
.card h3 { font-size: 1.22rem; margin-bottom: .6rem; }
.card p { font-size: .96rem; margin-bottom: 1rem; }
.card .card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--blue-600); font-weight: 600; font-size: .92rem;
}
.card .card-link svg { width: 16px; height: 16px; transition: var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.4rem; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.1rem; }
.split p { font-size: 1.05rem; margin-bottom: 1.2rem; }
.feature-list { display: grid; gap: .85rem; margin-bottom: 1.7rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.feature-list svg { width: 22px; height: 22px; color: #16a34a; flex-shrink: 0; margin-top: 1px; }
.feature-list span small { display: block; font-weight: 400; color: var(--slate); font-size: .9rem; }

/* ---------- Residential full-width background ---------- */
.residential-bg {
  position: relative;
  background:
    linear-gradient(90deg, rgba(244, 248, 253, 0) 26%, rgba(244, 248, 253, .72) 50%, rgba(244, 248, 253, .94) 66%, rgba(244, 248, 253, .99) 100%),
    url('images/residential-home-family-security-nyc-bg.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}
.residential-copy {
  max-width: 540px;
  margin-left: auto;
}
.residential-copy .btn { margin-top: .4rem; }

@media (max-width: 860px) {
  .residential-bg {
    background:
      linear-gradient(180deg, rgba(244, 248, 253, .82) 0%, rgba(244, 248, 253, .9) 55%, rgba(244, 248, 253, .97) 100%),
      url('images/residential-home-family-security-nyc-bg.jpg');
    background-size: cover;
    background-position: center top;
  }
  .residential-copy { max-width: 100%; margin-left: 0; }
}

/* ---------- Smart App full-width background (text on left) ---------- */
.smart-bg {
  position: relative;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .95) 32%, rgba(255, 255, 255, .74) 50%, rgba(255, 255, 255, 0) 74%),
    url('images/smart-app-remote-control-nyc-bg.jpg');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.smart-copy { max-width: 540px; }

@media (max-width: 860px) {
  .smart-bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .92) 55%, rgba(255, 255, 255, .98) 100%),
      url('images/smart-app-remote-control-nyc-bg.jpg');
    background-size: cover;
    background-position: center top;
  }
  .smart-copy { max-width: 100%; }
}

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.why-card .why-ic {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
}
.why-card .why-ic svg { width: 24px; height: 24px; color: #fff; }
.why-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.why-card p { font-size: .94rem; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; counter-reset: step; }
.step { position: relative; text-align: center; padding: 1.4rem 1rem; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(31, 111, 212, .35);
  position: relative; z-index: 2;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 28px; left: 60%; width: 80%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-300) 0 8px, transparent 8px 16px);
  z-index: 1;
}
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { font-size: .9rem; }

/* ---------- Stats band ---------- */
.stats {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(56, 189, 248, .2), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; padding-top: 3rem; padding-bottom: 3rem; }
.stat b { font-family: 'Poppins', sans-serif; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--sky-300); display: block; line-height: 1; }
.stat span { color: rgba(255, 255, 255, .8); font-size: .95rem; margin-top: .5rem; display: block; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
}
.stars { display: flex; gap: 2px; margin-bottom: .9rem; }
.stars svg { width: 18px; height: 18px; color: var(--amber); }
.review p { color: var(--ink); font-size: 1rem; margin-bottom: 1.2rem; }
.reviewer { display: flex; align-items: center; gap: .8rem; }
.reviewer .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--sky-400));
  color: #fff; display: grid; place-items: center; font-family: 'Poppins', sans-serif; font-weight: 700;
}
.reviewer b { display: block; color: var(--navy-900); font-size: .96rem; }
.reviewer span { font-size: .85rem; color: var(--slate-light); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem 1.9rem; display: flex; flex-direction: column;
  transition: var(--transition); position: relative;
}
.plan:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.plan.featured {
  border: 2px solid var(--blue-500);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #1a1305; font-weight: 700; font-size: .76rem; letter-spacing: .06em;
  padding: .4rem 1rem; border-radius: 50px; text-transform: uppercase;
}
.plan h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.plan .plan-desc { font-size: .92rem; min-height: 42px; }
.plan .price { font-family: 'Poppins', sans-serif; margin: 1rem 0 .3rem; color: var(--navy-900); }
.plan .price .amt { font-size: 2.8rem; font-weight: 700; }
.plan .price .per { font-size: 1rem; color: var(--slate); font-weight: 500; }
.plan .price-note { font-size: .85rem; color: var(--slate-light); margin-bottom: 1.3rem; }
.plan ul { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.plan ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.plan ul svg { width: 19px; height: 19px; color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.plan ul li.off { color: var(--slate-light); }
.plan ul li.off svg { color: #cbd5e1; }
.plan .btn { margin-top: auto; }

/* ---------- Service area ---------- */
.area-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.area-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 1.8rem; }
.area-tags span {
  background: #fff; border: 1px solid var(--line); border-radius: 50px;
  padding: .45rem 1rem; font-size: .9rem; font-weight: 500; color: var(--navy-800);
  display: inline-flex; align-items: center; gap: .4rem;
}
.area-tags svg { width: 14px; height: 14px; color: var(--blue-500); }
.area-map {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  min-height: 340px;
}
.area-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: .9rem; background: #fff; overflow: hidden; transition: var(--transition); }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--sky-300); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.04rem; color: var(--navy-900);
}
.faq-q .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--bg-soft2); display: grid; place-items: center; flex-shrink: 0; transition: var(--transition); }
.faq-q .ico svg { width: 15px; height: 15px; color: var(--blue-600); transition: var(--transition); }
.faq-item.open .faq-q .ico { background: var(--blue-500); }
.faq-item.open .faq-q .ico svg { color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-a p { padding: 0 1.4rem 1.3rem; color: var(--slate); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 15% 120%, rgba(56, 189, 248, .25), transparent 60%),
    linear-gradient(135deg, var(--blue-600), var(--navy-800));
  color: #fff; text-align: center; border-radius: 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.12rem; max-width: 620px; margin: 0 auto 1.9rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact / Form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info .info-row { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-info .info-ic {
  width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
}
.contact-info .info-ic svg { width: 23px; height: 23px; color: #fff; }
.contact-info .info-row h4 { font-size: 1.05rem; margin-bottom: .2rem; }
.contact-info .info-row p, .contact-info .info-row a { color: var(--slate); font-size: .98rem; }
.contact-info .info-row a:hover { color: var(--blue-600); }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.form-card .form-lead { font-size: .96rem; margin-bottom: 1.4rem; }
.contact-form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--navy-800); margin-bottom: .3rem; display: block; }
.field { display: flex; flex-direction: column; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit; font-size: .98rem; color: var(--ink);
  background: var(--bg-soft); transition: var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--blue-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 134, 232, .12);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--slate-light); display: flex; align-items: center; gap: .4rem; }
.form-note svg { width: 15px; height: 15px; color: #16a34a; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(56, 189, 248, .2), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff; padding: 3.4rem 0; position: relative;
}
.page-hero .breadcrumb { font-size: .88rem; color: rgba(255, 255, 255, .65); margin-bottom: .8rem; }
.page-hero .breadcrumb a { color: var(--sky-300); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: .8rem; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 640px; }

/* ---------- Generic prose ---------- */
.prose p { font-size: 1.05rem; margin-bottom: 1.1rem; }
.prose h3 { font-size: 1.4rem; margin: 1.8rem 0 .8rem; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .8);
  padding: 4rem 0 1.6rem;
}
.footer-content { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.4rem; margin-bottom: 2.6rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: rgba(255, 255, 255, .65); font-size: .95rem; margin-top: 1rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); transition: var(--transition);
}
.footer-social a:hover { background: var(--blue-500); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-section h3 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; font-family: 'Poppins', sans-serif; }
.footer-section p, .footer-section a { color: rgba(255, 255, 255, .7); line-height: 2; font-size: .94rem; }
.footer-section a:hover { color: var(--sky-300); }
.footer-section .ftrow { display: flex; gap: .55rem; align-items: flex-start; }
.footer-section .ftrow svg { width: 17px; height: 17px; color: var(--sky-400); flex-shrink: 0; margin-top: 6px; }
.footer-bottom {
  text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .55); font-size: .9rem;
}
.footer-bottom p { margin-bottom: .5rem; color: rgba(255, 255, 255, .55); }
.footer-partner { margin-top: 1rem; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.footer-partner a { color: var(--sky-400); }
.footer-partner a:hover { color: #fff; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  display: none;
  background: rgba(6, 22, 41, .97);
  backdrop-filter: blur(8px);
  padding: .55rem .7rem;
  gap: .6rem;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .3);
}
.mobile-bar .btn { flex: 1; padding: .8rem; font-size: .95rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.4rem; padding: 3.4rem 0; }
  .hero-visual { max-width: 560px; }
  .cards, .why-grid, .reviews, .pricing { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 1080px) and (min-width: 861px) {
  .nav { gap: 1rem; }
  .nav-links { gap: .1rem; }
  .nav-links a { padding: .5rem .55rem; font-size: .92rem; }
  .brand-name { font-size: 1.12rem; }
}

@media (max-width: 860px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(6, 22, 41, .94) 0%, rgba(8, 28, 52, .82) 45%, rgba(10, 37, 64, .8) 100%),
      url('images/security-camera-installation-nyc-hero.jpg');
    background-size: cover;
    background-position: center;
  }
  .nav-links, .nav-phone small { display: none; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; padding: 1rem 22px 1.4rem;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: var(--transition);
  }
  .nav-links.open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: .8rem .6rem; font-size: 1.02rem; border-radius: 8px; }
  .nav { position: relative; }
  /* dropdown becomes a static indented sublist inside the mobile menu */
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent;
    padding: 0 0 .4rem .9rem; margin-top: 0; min-width: 0;
  }
  .dropdown::before { display: none; }
  .dropdown a { padding: .55rem .6rem; font-size: .95rem; font-weight: 500; color: var(--slate); }
  .has-dropdown .caret { display: none; }
  .split, .split.rev .split-media { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .area-wrap, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 3.6rem 0; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 70px; }
  .topbar-left { gap: 1rem; }
}

@media (max-width: 560px) {
  .cards, .why-grid, .reviews, .pricing, .process, .trust-strip .container, .stats .container, .footer-content {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .topbar-left span:not(.topbar-phone) { display: none; }
  .hero-actions .btn { flex: 1; }
  .hero-float.f1 { left: 6px; }
  .hero-float.f2 { right: 6px; }
  .container { padding: 0 18px; }
}
