:root {
  --teal: #097969;
  --cyan: #00ffff;
  --green: #228b22;
  --orange: #ee771a;
  --maroon: #751430;
  --ink: #121a24;
  --muted: #5f6f7d;
  --line: #dbe8e5;
  --paper: #f5fbfa;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(18, 26, 36, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(0, 255, 255, 0.06), transparent 32%),
    linear-gradient(300deg, rgba(238, 119, 26, 0.07), transparent 35%),
    var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

.contact-bar {
  min-height: 32px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 6px 18px;
  color: #eafffb;
  background: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.contact-bar a {
  color: var(--white);
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 8px max(24px, calc((100vw - 1240px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--teal), var(--green) 48%, var(--maroon));
  border: 3px solid rgba(0, 255, 255, 0.38);
  font-weight: 900;
  letter-spacing: 0;
}

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

.brand-name strong {
  font-size: 25px;
  line-height: 1;
}

.brand-name small {
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #324151;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.nav-cta,
.button,
.whatsapp {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.nav-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--maroon);
}

.hero {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 28px;
  align-items: center;
  min-height: auto;
  margin: 0 auto;
  padding: 34px max(20px, calc((100vw - 1240px) / 2)) 30px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 26, 36, 0.97), rgba(9, 121, 105, 0.84) 52%, rgba(117, 20, 48, 0.76)),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.22), transparent 28%),
    var(--ink);
}

.hero-copy {
  position: relative;
  padding: 18px 0 18px 22px;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 7px;
  border-radius: 99px;
  background: linear-gradient(var(--teal), var(--cyan), var(--green), var(--orange), var(--maroon));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p, a, span, strong { overflow-wrap: anywhere; }

h1 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin: 0;
  color: #405264;
  font-size: 18px;
}

.hero .eyebrow {
  color: var(--cyan);
}

.hero .lead {
  color: #d7ebe8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.button {
  padding: 0 18px;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(9, 121, 105, 0.26);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-badges span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-gallery img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--white);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.hero-gallery .wide {
  grid-column: 1 / -1;
  min-height: 250px;
  max-height: 310px;
}

.identity,
.section,
.cctv-feature,
.solutions,
.process,
.contact-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 26px;
}

.identity {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.identity div {
  display: grid;
  gap: 7px;
  min-height: 104px;
  align-content: center;
  padding: 17px;
  background: var(--white);
}

.identity strong {
  color: var(--teal);
  font-size: 15px;
  letter-spacing: 0;
}

.identity span {
  color: var(--muted);
}

.section {
  padding-top: 12px;
}

.section-title {
  max-width: 850px;
  margin-bottom: 18px;
}

.section-title h2,
.cctv-feature h2,
.process h2,
.contact-section h2 {
  margin: 0 0 9px;
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.07;
  letter-spacing: 0;
}

.section-title p,
.cctv-feature p,
.process p,
.contact-section p,
.solution-grid p {
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.service-card div {
  padding: 17px;
  border-top: 6px solid var(--teal);
}

.service-card.green div { border-color: var(--green); }
.service-card.orange div { border-color: var(--orange); }
.service-card.maroon div { border-color: var(--maroon); }

.service-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 9px 0 8px;
  font-size: 20px;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.cctv-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(117, 20, 48, 0.96), rgba(9, 121, 105, 0.91)),
    var(--ink);
  box-shadow: var(--shadow);
}

.cctv-feature .eyebrow,
.cctv-feature p {
  color: #d8fffb;
}

.cctv-feature ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.cctv-feature li {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 800;
}

.cctv-feature img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.solution-grid,
.process-grid,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.solution-grid article,
.process-grid article,
.contact-cards article {
  min-height: 138px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.solution-grid strong,
.process-grid strong,
.contact-cards strong {
  display: block;
  font-size: 21px;
  line-height: 1.15;
}

.process {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(620px, 1.55fr);
  gap: 22px;
  align-items: start;
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  font-weight: 900;
}

.process-grid p {
  margin: 8px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.97), rgba(255,255,255,0.9)),
    linear-gradient(135deg, var(--cyan), var(--green), var(--orange));
  box-shadow: var(--shadow);
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-cards article {
  display: grid;
  align-content: start;
  gap: 9px;
  border-top: 7px solid var(--teal);
}

.contact-cards article:nth-child(2) {
  border-top-color: var(--maroon);
}

.contact-cards span {
  color: var(--muted);
  font-weight: 900;
}

.contact-cards a {
  color: var(--teal);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
}

.contact-cards .whatsapp {
  width: fit-content;
  margin-top: 6px;
  padding: 0 14px;
  color: var(--white);
  background: var(--green);
  font-size: 14px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px max(24px, calc((100vw - 1240px) / 2));
  color: #d8e7e4;
  background: var(--ink);
}

.footer-brand small {
  color: #a8c7c0;
}

@media (max-width: 1060px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .cctv-feature,
  .process,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .identity,
  .service-grid,
  .solution-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .contact-bar {
    justify-content: flex-start;
  }

  .hero,
  .identity,
  .section,
  .cctv-feature,
  .solutions,
  .process,
  .contact-section {
    width: min(100% - 24px, 1240px);
  }

  .topbar {
    padding: 12px;
  }

  .brand-name strong {
    font-size: 24px;
  }

  .identity,
  .service-grid,
  .solution-grid,
  .process-grid,
  .contact-cards,
  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .cctv-feature,
  .contact-section {
    padding: 24px;
  }

  .hero-gallery .wide {
    grid-column: auto;
    min-height: 230px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 13px;
  }
}
