* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0a0f16;
  color: #e8edf2;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 14px;   /* ← this is what you want */
  padding-bottom: 6px;
  gap: 20px;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
}
.logo {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  color: #b8c2ce;
}
.nav-links a:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #c7d3df);
  color: #091019;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-secondary, .btn-outline {
  background: transparent;
  color: #edf3f8;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-secondary:hover, .btn-outline:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.04);
}

.hero {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(93, 131, 171, 0.16), transparent 30%),
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06), transparent 20%),
    linear-gradient(180deg, #0a0f16 0%, #0d141d 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9fb0c1;
  font-size: 0.78rem;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.02;
  max-width: 12ch;
}
.lead {
  max-width: 58ch;
  color: #bcc8d4;
  font-size: 1.08rem;
  margin: 22px 0 28px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #c7d2de;
}
.hero-points li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-card {
  display: flex;
  justify-content: center;
}
.signal-card {
  width: 100%;
  max-width: 430px;
  min-height: 360px;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 20px 80px rgba(0,0,0,0.35);
}
.signal-top {
  color: #b8c6d3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}
.signal-main {
  margin-top: 18px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  max-width: 10ch;
}
.signal-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.signal-list span {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  color: #dbe4ec;
  border: 1px solid rgba(255,255,255,0.06);
}

.strip {
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #0d141c;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 28px;
  padding: 28px 0;
}
.strip p { margin: 8px 0 0; color: #b9c4cf; }

.section { padding: 88px 0; }
.section-dark {
  background: linear-gradient(180deg, #0b1118 0%, #0f1721 100%);
}
.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}
.section-head h2, .why-grid h2, .cta-box h2, .contact-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}
.section-head p, .why-grid p, .cta-box p, .contact-grid p {
  color: #b9c4cf;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card, .why-item, .process-step, .contact-card, .contact-form, .cta-box {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 22px;
}
.card {
  padding: 24px;
}
.card h3, .why-item h3, .process-step h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.card p, .why-item p, .process-step p { color: #bcc8d4; }

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.why-list {
  display: grid;
  gap: 16px;
}
.why-item {
  padding: 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-step {
  padding: 24px;
}
.process-step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  color: #eff4f8;
  font-weight: 700;
}

.cta { padding-top: 20px; }
.cta-box {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}
.contact-card {
  padding: 24px;
}
.contact-card p { margin: 0 0 18px; }
.contact-card a { color: #f4f8fb; }

.contact-form {
  padding: 24px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  color: #eff4f8;
  padding: 14px 16px;
  font: inherit;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8293a3;
}
.form-note {
  margin: 0;
  color: #9eafbf;
  font-size: 0.92rem;
}

.site-footer {
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #0a0f16;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #a9b7c4;
}

@media (max-width: 980px) {
  .hero-grid,
  .why-grid,
  .contact-grid,
  .cards,
  .process-grid,
  .strip-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box,
  .footer-grid,
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .cards,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 60px; }
  .hero h1 { max-width: none; }
}



/* Footer refinement */
.site-footer {
  padding: 28px 0 34px;
}

.footer-grid {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}

.footer-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a,
.footer-copy {
  font-size: 0.9rem;
}

.footer-links a {
  color: #c2cdd8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  margin: 0;
  color: #a9b7c4;
}

.footer-copy-muted {
  font-size: 0.82rem;
  color: #8ea0b1;
}

.footer-links svg {
  width: 18px;
  height: 18px;
  color: #c2cdd8;
  transition: 0.2s ease;
}

.footer-links a:hover svg {
  color: #ffffff;
}
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-icon svg {
  width: 20px;
  height: 20px;
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10, 15, 22, 0.92);
  color: #f2f6f9;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, background 0.2s ease;
  z-index: 1000;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(18, 27, 39, 0.98);
}

/* Mobile header spacing */
@media (max-width: 640px) {
  .site-header .nav {
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .site-header .btn-outline {
    margin-bottom: 10px;
  }

  .footer-links a,
  .footer-copy {
    font-size: 0.84rem;
  }

  .footer-copy-muted {
    font-size: 0.78rem;
  }
}

.cta-box .btn {
  white-space: nowrap;
  padding: 0 28px;
  min-width: 260px;
}

@media (max-width: 640px) {
  .cta-box .btn {
    width: 100%;
    min-width: unset;
  }
}

/* Refined strip and credibility section */
.strip-item {
  padding: 10px 2px;
}

.strip-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
  color: #edf3f8;
}

.strip-item p {
  margin: 0;
  color: #b9c4cf;
}

/* When to call us */
.when {
  padding-top: 10px;
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.when-item {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.when-item h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.when-item p {
  margin: 0;
  color: #bcc8d4;
}

.signal-main {
  max-width: 12ch;
}

.footer-links a[aria-label="Instagram"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-box p {
  max-width: 44ch;
}

/* Scroll to top button */
.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(15, 23, 32, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .when-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .when-grid {
    grid-template-columns: 1fr;
  }
}



/* =========================
   Project Highlights
   Added for #work section
   ========================= */

#work {
  background:
    radial-gradient(circle at top center, rgba(70, 106, 153, 0.16), transparent 34%),
    linear-gradient(180deg, #09111a 0%, #0b1420 100%);
}

#work .section-head {
  max-width: 900px;
  margin-bottom: 28px;
}

#work .section-head h2 {
  max-width: 11ch;
}

#work .section-head p {
  max-width: 58ch;
}

#work .cards {
  gap: 26px;
  align-items: stretch;
}

#work .card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: 28px 28px 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(101, 132, 175, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 24px 60px rgba(0,0,0,0.26);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#work .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 14, 22, 0.02) 0%, rgba(8, 14, 22, 0.08) 30%, rgba(8, 14, 22, 0.42) 100%);
  pointer-events: none;
}

#work .card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
}

#work .card > * {
  position: relative;
  z-index: 1;
}

#work .card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.18;
  max-width: 12ch;
}

#work .card p {
  margin: 0;
  color: #bfc9d4;
  font-size: 0.98rem;
  max-width: 30ch;
}

/* Optional image-first structure for later use
   Example:
   <article class="card work-card">
     <div class="work-media"><img src="..." alt="..."></div>
     <div class="work-copy">
       <span class="work-tag">Commercial Site</span>
       <h3>Outdoor CCTV deployment</h3>
       <p>...</p>
     </div>
   </article>
*/

#work .work-card {
  padding: 0;
  justify-content: flex-end;
}

#work .work-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

#work .work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(0.94) contrast(1.02) brightness(0.76);
}

#work .work-card::before {
  background:
    linear-gradient(180deg, rgba(7, 12, 19, 0.05) 0%, rgba(7, 12, 19, 0.18) 35%, rgba(7, 12, 19, 0.88) 100%);
}

#work .work-copy {
  position: relative;
  z-index: 1;
  padding: 26px 26px 28px;
}

#work .work-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 14, 22, 0.45);
  color: #dfe7ee;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

@media (max-width: 980px) {
  #work .cards {
    grid-template-columns: 1fr;
  }

  #work .card {
    min-height: 340px;
  }

  #work .section-head h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  #work .card {
    min-height: 300px;
    padding: 24px;
    border-radius: 24px;
  }

  #work .work-copy {
    padding: 22px 22px 24px;
  }

  #work .card h3 {
    max-width: none;
  }

  #work .card p {
    max-width: none;
  }
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #eef3f8;
  border-radius: 999px;
  transition: 0.25s ease;
}

.desktop-cta {
  display: inline-flex;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .nav {
    position: relative;
    flex-direction: row;
    align-items: center;
  }

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

  .desktop-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(10, 15, 22, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    color: #d8e1ea;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-cta {
    display: inline-flex;
    margin-top: 8px;
    justify-content: center;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .nav-links {
    top: calc(100% + 10px);
  }
}
