:root {
  --black: #070707;
  --black-2: #101010;
  --panel: #171717;
  --panel-2: #202020;
  --red: #e50914;
  --red-dark: #a80810;
  --white: #ffffff;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.12);
  --paper: #f4f4f4;
  --content: 1180px;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --ease: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(7, 7, 7, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 76px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.header-cta,
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: var(--ease);
}

.header-cta {
  gap: 10px;
}

.cta-whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.cta-whatsapp-icon path {
  vector-effect: non-scaling-stroke;
}

.header-cta,
.btn-red {
  background: var(--red);
  color: var(--white);
}

.header-cta:hover,
.btn-red:hover {
  background: #ff1f2a;
  transform: translateY(-1px);
}

.btn-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--white);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(7, 7, 7, 0.82) 42%, rgba(7, 7, 7, 0.22) 72%, rgba(7, 7, 7, 0.82) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(7, 7, 7, 0) 24%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  justify-items: center;
  align-items: start;
  padding-top: 150px;
  padding-bottom: 82px;
  text-align: center;
}

.hero-copy {
  max-width: 920px;
}

.tag {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-sub {
  max-width: 680px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.project-status {
  padding: 34px 0 42px;
  background: var(--black);
}

.status-panel {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: none;
  overflow: hidden;
}

.status-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.status-item {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  min-width: 0;
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}

.status-item:last-child {
  border-right: 0;
}

.status-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 4px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-icon path {
  vector-effect: non-scaling-stroke;
}

.status-item span {
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: normal;
}

.status-item strong {
  color: var(--red);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.quick-strip {
  background: var(--black);
}

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

.quick-grid div {
  padding: 30px 28px;
}

.quick-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

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

.section {
  padding: 96px 0;
}

.services-section {
  background: var(--white);
  color: var(--black);
}

.services-section .section-head h2 {
  color: var(--black);
}

.services-section .section-head p:not(.tag) {
  color: #4d4d4d;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head.left {
  margin: 0;
  text-align: left;
}

.section-head h2,
.feature-copy h2,
.final-box h2 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 900;
}

.section-head p:not(.tag),
.feature-copy p,
.final-box p {
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
blockquote,
.segment-grid article,
.project-gallery article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.card {
  min-height: 250px;
  padding: 26px;
}

.service-card {
  position: relative;
  min-height: 220px;
  padding: 68px 84px 24px 24px;
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.card h3,
.timeline h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.service-card h3 {
  max-width: calc(100% - 62px);
}

.card p,
.timeline p,
.segment-grid span {
  color: var(--muted);
}

.service-card p {
  color: rgba(255, 255, 255, 0.72);
}

.service-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon path {
  vector-effect: non-scaling-stroke;
}

.dark-band {
  background:
    radial-gradient(circle at 12% 0%, rgba(229, 9, 20, 0.2), transparent 34%),
    var(--black-2);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 58px;
  align-items: start;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.check-grid div {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 22px 24px 22px 54px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 800;
}

.check-grid div::before {
  content: "";
  position: absolute;
  left: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
}

.segment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.segment-grid article {
  min-height: 180px;
  padding: 26px;
}

.segment-grid strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.feature-section {
  padding: 96px 0;
  background: var(--paper);
  color: var(--black);
}

.feature-section.reverse {
  background: #ededed;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.feature-copy h2 {
  color: var(--black);
}

.feature-copy p {
  color: #4d4d4d;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin-top: 28px;
}

.feature-list li {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-left: 4px solid var(--red);
  background: var(--white);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.feature-visual {
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.28), rgba(0, 0, 0, 0.08)),
    #111;
  overflow: hidden;
}

.device-card,
.monitor-card {
  width: min(82%, 420px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: var(--shadow);
  color: var(--white);
}

.device-card span,
.monitor-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.device-card strong,
.monitor-card strong {
  font-size: 34px;
  line-height: 1.05;
}

.camera-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.camera-grid i {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.6), transparent),
    #242424;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 14px;
}

.flow div {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  font-weight: 900;
}

.flow span {
  height: 2px;
  background: var(--red);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.brand-grid div {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: var(--black);
}

.brand-grid img {
  max-width: 150px;
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-grid div:first-child img {
  filter: none;
  background: var(--white);
  border-radius: 6px;
  padding: 6px 10px;
}

.projects {
  background: var(--black-2);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-gallery article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at 20% 0%, rgba(229, 9, 20, 0.5), transparent 36%),
    #1b1b1b;
}

.project-gallery span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-gallery strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1.15;
}

blockquote {
  min-height: 220px;
  padding: 28px;
}

blockquote p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

blockquote cite {
  display: block;
  margin-top: 22px;
  color: var(--red);
  font-style: normal;
  font-weight: 900;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
}

details p {
  padding: 0 0 22px;
  color: var(--muted);
}

.final-cta {
  padding: 86px 0;
  background: var(--paper);
  color: var(--black);
}

.final-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.final-box h2 {
  color: var(--black);
}

.final-box p {
  max-width: 760px;
  color: #555;
}

.footer {
  border-top: 1px solid var(--line);
  background: #050505;
  padding: 52px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}

.footer-logo {
  width: auto;
  height: 76px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer h3 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 900;
}

.footer p,
.footer a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
}

.footer a:hover {
  color: var(--white);
}

@media (max-width: 1020px) {
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: rgba(7, 7, 7, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

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

  .cards-4,
  .cards-3,
  .segment-grid,
  .project-gallery {
    grid-template-columns: 1fr 1fr;
  }

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

  .quick-grid div {
    border: 0;
  }

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

  .status-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .status-item,
  .status-item:last-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .status-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }

  .status-item:nth-child(3n) {
    border-right: 0;
  }

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

  .service-card {
    padding: 64px 72px 22px 22px;
  }

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

  .flow span {
    width: 2px;
    height: 30px;
    margin: 0 auto;
  }

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

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .brand-logo {
    height: 58px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .service-card {
    padding: 60px 22px 22px;
  }

  .service-card h3 {
    max-width: 100%;
  }

  .cards-4,
  .cards-3,
  .segment-grid,
  .project-gallery,
  .feature-list,
  .check-grid,
  .brand-grid,
  .status-line {
    grid-template-columns: 1fr;
  }

  .status-item,
  .status-item:nth-child(odd),
  .status-item:nth-child(3n) {
    border-right: 0;
  }

  .section,
  .feature-section {
    padding: 70px 0;
  }

  .final-box {
    padding: 28px;
  }
}
