:root {
  --navy: #061f3d;
  --navy2: #0b2d5b;
  --navy3: #0e3a70;
  --orange: #f7941d;
  --orange2: #ffb347;
  --blue: #2da8ff;
  --green: #45d483;
  --purple: #a76cff;
  --white: #ffffff;
  --light: #f6f9fd;
  --text: #10213d;
  --muted: #627089;
  --border: rgba(255,255,255,.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
  background: #05182f;
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 94px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 5vw;
  background: rgba(5, 24, 47, .98);
  box-shadow: 0 8px 30px rgba(0,0,0,.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: 154px;
  height: 70px;
  object-fit: cover;
  object-position: left center;
  border-radius: 10px;
  background: #fff;
}

.brand-copy strong {
  display: block;
  font-size: 1.06rem;
  line-height: 1.1;
}

.brand-copy span {
  display: block;
  color: #dce9f7;
  font-size: .92rem;
  font-style: italic;
  margin-top: 4px;
}

nav {
  justify-self: end;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 900;
  font-size: .94rem;
}

nav a:hover { color: var(--orange); }

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  text-align: center;
  max-width: 230px;
  padding: 14px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 660px;
  display: grid;
  grid-template-columns: 1fr .98fr;
  align-items: center;
  gap: 52px;
  padding: 56px 5vw 44px;
  background:
    linear-gradient(105deg, rgba(5,24,47,.98), rgba(5,24,47,.68)),
    url("assets/hero-home-security.png");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 35%, rgba(247,148,29,.16), transparent 23%),
    radial-gradient(circle at 67% 43%, rgba(45,168,255,.25), transparent 27%);
  pointer-events: none;
}

.hero-content,
.core-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 900;
}

.center { text-align: center; }

h1 {
  margin: 0 0 18px;
  max-width: 760px;
  font-size: clamp(3.8rem, 5.4vw, 6.6rem);
  line-height: .88;
  letter-spacing: -.055em;
}

h1 span {
  display: block;
}

h1 span::after {
  content: ".";
  color: var(--orange);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.local-line {
  max-width: 620px;
  margin: 0 0 10px;
  color: #b9d9ff;
  font-size: 1.26rem;
  font-weight: 900;
}

.lead {
  max-width: 740px;
  color: #edf5ff;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
}

.primary::after {
  content: " →";
  margin-left: 10px;
}

.secondary {
  color: #fff;
  border: 2px solid var(--orange);
}

.core-panel {
  max-width: 660px;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(13px);
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.core-panel h2 {
  font-size: 2rem;
}

.focus-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.focus-item:last-child { border-bottom: 0; }

.focus-icon {
  font-size: 1.65rem;
}

.focus-item strong {
  display: block;
  margin-bottom: 3px;
}

.focus-item small {
  display: block;
  color: #d7e7f8;
}

.trust-strip {
  position: relative;
  z-index: 2;
  width: min(92vw, 1540px);
  margin: -28px auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  color: var(--text);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}

.trust-strip div {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-right: 1px solid #d8e2ef;
}

.trust-strip div:last-child { border-right: 0; }

.trust-icon {
  grid-row: span 2;
  font-size: 2rem;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip small {
  color: #42536c;
  line-height: 1.3;
}

.section {
  padding: 72px 5vw;
}

.services-section {
  padding-top: 54px;
  background: linear-gradient(180deg, #061f3d, #082748);
}

.service-grid {
  width: min(1540px, 100%);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 220px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  box-shadow: 0 16px 40px rgba(0,0,0,.16);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.service-card p {
  color: #dbe8f5;
  font-size: .96rem;
}

.service-card a {
  color: var(--orange);
  font-weight: 900;
  text-decoration: none;
}

.dark-detail {
  background: linear-gradient(135deg, #031326, #0b2d5b);
}

.light-detail {
  color: var(--text);
  background: #f6f9fd;
}

.light-detail .eyebrow,
.service-area .eyebrow {
  color: var(--orange);
}

.light-detail p,
.service-area p {
  color: #526178;
}

.split {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.reverse > div:first-child { order: 2; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.feature-list span {
  padding: 16px 18px;
  border-radius: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.light-list span {
  background: #fff;
  border: 1px solid #dce5f1;
}

.service-area {
  color: var(--text);
  background: #fff;
}

.area-copy {
  max-width: 940px;
  margin: 0 auto;
  font-size: 1.1rem;
  font-weight: 800;
}

.contact {
  background:
    radial-gradient(circle at 50% 0, rgba(247,148,29,.22), transparent 30%),
    linear-gradient(135deg, #031326, #061f3d);
}

.contact-card {
  width: min(860px, 100%);
  margin: 0 auto;
}

footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 30px 5vw;
  background: #031326;
  color: #dce9f7;
  border-top: 1px solid rgba(255,255,255,.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand span {
  color: var(--orange);
  font-style: italic;
}

.footer-contact p,
.footer-cta p {
  margin: 6px 0;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-cta strong {
  color: #fff;
}

@media (max-width: 1250px) {
  .site-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  nav,
  .nav-cta {
    justify-self: start;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .core-panel {
    max-width: 760px;
  }

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

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .brand {
    align-items: flex-start;
  }

  .brand img,
  .footer-brand img {
    width: 112px;
    height: 60px;
  }

  nav {
    gap: 13px;
  }

  .nav-cta {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .hero {
    padding-top: 44px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .trust-strip,
  .service-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid #d8e2ef;
  }

  .trust-strip div:last-child { border-bottom: 0; }

  .section {
    padding: 58px 5vw;
  }

  .footer-brand {
    align-items: flex-start;
  }
}

/* SUN logo fix: use a single clean logo image and prevent double-stacked cropping */
.brand img,
.footer-brand img {
  width: 170px;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

@media (max-width: 760px) {
  .brand img,
  .footer-brand img {
    width: 132px;
    height: auto;
    max-height: 68px;
  }
}
