:root {
  --navy: #07182e;
  --navy-2: #0d2745;
  --blue: #145da0;
  --cyan: #43c7dd;
  --orange: #f08b22;
  --yellow: #f5c542;
  --ink: #122033;
  --muted: #64748b;
  --line: #d8e1ea;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 24, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 400;
  background: var(--white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(216, 225, 234, 0.9);
  backdrop-filter: blur(14px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 176px; height: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 4px; font-size: 0.9rem; font-weight: 700; color: #27415f; }
.nav-menu a { padding: 10px 9px; border-radius: 8px; transition: 0.2s ease; }
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); background: #edf6ff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: 8px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(67, 199, 221, 0.16), transparent 30%),
    linear-gradient(135deg, #06172d, var(--navy-2) 58%, #0f365a);
  overflow: hidden;
}
.hero-grid { min-height: calc(100vh - 78px); display: grid; grid-template-columns: minmax(0, 55fr) minmax(360px, 45fr); gap: clamp(34px, 5vw, 72px); align-items: center; padding: 48px 0 58px; }
.hero h1 { max-width: 790px; margin: 0 0 20px; font-size: clamp(3.375rem, 4.7vw, 4.25rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.page-hero h1 { margin: 0 0 18px; font-size: clamp(2.35rem, 5vw, 4.9rem); line-height: 1.02; letter-spacing: 0; }
.hero p, .page-hero p { max-width: 760px; font-size: 1.08rem; color: rgba(255, 255, 255, 0.78); }
.hero .eyebrow { color: #91d8e8; font-size: 0.86rem; font-weight: 700; text-transform: none; letter-spacing: 0.01em; margin-bottom: 14px; }
.eyebrow { display: inline-flex; color: var(--orange); font-weight: 800; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 12px; }
.hero-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18); }
.btn.primary { color: #07182e; background: linear-gradient(135deg, #ffd05a, #f08b22); }
.btn.secondary { color: var(--white); background: #1769ad; }
.btn.secondary:hover { background: #1f80cc; }
.btn.ghost { color: var(--white); background: rgba(255,255,255,0.04); border: 1px solid rgba(210, 233, 243, 0.42); }
.btn.ghost:hover { border-color: rgba(145, 216, 232, 0.78); background: rgba(145, 216, 232, 0.08); }
.section .btn.ghost, .contact-form .btn.ghost { color: var(--blue); border-color: var(--line); }

.hero-panel {
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(166, 218, 234, 0.22);
  border-radius: 12px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.11), rgba(255,255,255,0.045)),
    linear-gradient(135deg, rgba(20, 93, 160, 0.22), rgba(67, 199, 221, 0.07));
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}
.signal-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 148px 0 0;
}
.signal-card::before {
  content: "CAM";
  position: absolute;
  top: 4px;
  left: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 42px;
  border-radius: 10px;
  color: #dff8ff;
  background: rgba(67, 199, 221, 0.12);
  border: 1px solid rgba(145, 216, 232, 0.42);
  font-size: 0.76rem;
  font-weight: 800;
}
.signal-card::after {
  content: "";
  position: absolute;
  top: 26px;
  left: 62px;
  right: 0;
  height: 96px;
  background:
    linear-gradient(90deg, rgba(145,216,232,0.55), rgba(145,216,232,0.08)) 0 17px / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(240,139,34,0.62), rgba(240,139,34,0.08)) 0 65px / 100% 1px no-repeat,
    radial-gradient(circle at 42% 17px, #91d8e8 0 4px, transparent 5px),
    radial-gradient(circle at 72% 65px, #f5c542 0 4px, transparent 5px),
    radial-gradient(circle at 100% 17px, #91d8e8 0 4px, transparent 5px);
}
.signal-card strong { display: block; max-width: 360px; font-size: 1.45rem; font-weight: 700; line-height: 1.22; margin-bottom: 10px; letter-spacing: -0.01em; }
.signal-card p { max-width: 390px; margin-bottom: 20px; font-size: 0.98rem; color: rgba(255,255,255,0.74); }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-grid span { border-radius: 10px; padding: 11px 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(166,218,234,0.19); color: rgba(255,255,255,0.9); font-size: 0.92rem; font-weight: 700; }

.section { padding: 84px 0; }
.band { background: var(--soft); }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading h2, .cta-strip h2, .two-column h2, .split-layout h2, .contact-info h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.12; }
.section-heading p { color: var(--muted); }
.counter-grid, .cards-grid, .small-card-grid, .project-grid, .level-grid { display: grid; gap: 20px; }
.counter-grid { grid-template-columns: repeat(4, 1fr); }
.counter-card, .service-card, .small-card, .level-card, .project-card, .feature-panel, .contact-form, .contact-info {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.counter-card { padding: 26px; }
.counter { color: var(--blue); font-size: 2.8rem; line-height: 1; font-weight: 900; }
.counter-card p { margin: 10px 0 0; color: var(--muted); font-weight: 700; }
.cards-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .small-card, .level-card { padding: 26px; }
.service-card h2, .service-card h3, .small-card h3, .level-card h2 { margin: 12px 0 10px; color: var(--navy); line-height: 1.2; }
.service-card p, .small-card p, .level-card li, .project-body p, .contact-info p { color: var(--muted); }
.service-card a { color: var(--blue); font-weight: 900; }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--navy); background: #fff4df; border: 1px solid #ffd28c; border-radius: 8px; font-size: 1.35rem; }
.two-column, .split-layout, .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 38px; align-items: start; }
.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: #304762; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 34px; border-radius: 8px; background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.cta-strip h2 { color: var(--white); }
.cta-strip p { color: rgba(255,255,255,0.78); margin: 0; }

.page-hero { color: var(--white); padding: 96px 0 72px; background: linear-gradient(135deg, var(--navy), #12395f); }
.tag-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-grid span { padding: 10px 13px; border-radius: 8px; background: #eef7fb; color: #194263; border: 1px solid #d6ebf4; font-weight: 800; }
.feature-panel { padding: 30px; }
.level-grid { grid-template-columns: repeat(3, 1fr); }
.level-card ul { padding-left: 20px; }
.level-card.featured { border-color: var(--orange); transform: translateY(-10px); }
.small-card-grid { grid-template-columns: repeat(4, 1fr); margin-top: 24px; }
.note { margin-top: 22px; color: var(--muted); font-weight: 700; }
.project-grid { grid-template-columns: repeat(3, 1fr); }
.project-card { overflow: hidden; }
.project-image { width: 100%; height: 190px; object-fit: cover; display: block; background: var(--soft); }
.project-visual { min-height: 190px; background: linear-gradient(135deg, #12395f, #43c7dd); background-position: center; background-size: cover; position: relative; }
.project-visual::after { content: ""; position: absolute; inset: 28px; border: 2px solid rgba(255,255,255,0.42); border-radius: 8px; }
.project-visual.has-image::after { display: none; }
.project-visual.network { background: linear-gradient(135deg, #07182e, #f08b22); }
.project-visual.intercom { background: linear-gradient(135deg, #145da0, #f5c542); }
.project-visual.support { background: linear-gradient(135deg, #19324e, #43c7dd); }
.project-visual.monitoring { background: linear-gradient(135deg, #0d2745, #73d0a5); }
.project-visual.network.has-image,
.project-visual.intercom.has-image,
.project-visual.support.has-image,
.project-visual.monitoring.has-image,
.project-visual.cctv.has-image { background-size: cover; background-position: center; }
.project-body { padding: 22px; }
.project-body span { display: inline-flex; margin-bottom: 10px; padding: 5px 9px; border-radius: 8px; color: var(--navy); background: #fff4df; font-size: 0.78rem; font-weight: 900; }
.project-body h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.15rem; }
.project-body small { color: var(--blue); font-weight: 900; }

.contact-grid { grid-template-columns: 0.75fr 1.25fr; }
.contact-info, .contact-form { padding: 28px; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #304762; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: #21b35b;
  box-shadow: 0 16px 35px rgba(33, 179, 91, 0.35);
  font-weight: 900;
}
.site-footer { color: rgba(255,255,255,0.78); background: #061325; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 1fr 1.1fr; gap: 28px; }
.footer-logo { width: 170px; margin-bottom: 14px; filter: brightness(1.08); }
.site-footer h3 { color: var(--white); margin: 0 0 12px; }
.site-footer a { display: block; margin: 8px 0; color: rgba(255,255,255,0.78); }
.footer-bottom { margin-top: 34px; padding: 18px; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 16px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 13px 12px; }
  .hero-grid, .two-column, .split-layout, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 56px; }
  .hero h1 { max-width: 820px; font-size: clamp(2.8rem, 7vw, 4rem); }
  .hero-panel { max-width: 620px; }
  .counter-grid, .cards-grid, .small-card-grid, .project-grid, .level-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .level-card.featured { transform: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1160px); }
  .brand img { width: 145px; }
  .hero-grid { min-height: auto; padding: 42px 0 50px; gap: 28px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 2.95rem); line-height: 1.1; letter-spacing: -0.015em; }
  .page-hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1rem; }
  .hero .eyebrow { font-size: 0.8rem; }
  .hero-actions, .form-actions, .cta-strip { align-items: stretch; flex-direction: column; }
  .btn { width: 100%; }
  .hero-panel { padding: 22px; }
  .signal-card { min-height: 220px; padding: 126px 0 0; }
  .signal-card::before { top: 0; left: 0; }
  .signal-card::after { top: 22px; left: 62px; right: 0; }
  .signal-card strong { font-size: 1.28rem; }
  .section { padding: 58px 0; }
  .counter-grid, .cards-grid, .small-card-grid, .project-grid, .level-grid, .footer-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 24px; }
  .whatsapp-float { left: 12px; right: 12px; bottom: 12px; border-radius: 8px; }
  .site-footer { padding-bottom: 56px; }
}
