:root {
  --bg: #0a0806;
  --bg-2: #120e0a;
  --surface: #1a1510;
  --line: rgba(232, 196, 140, 0.14);
  --text: #f3ece2;
  --muted: #b5a392;
  --accent: #e8a23a;
  --accent-2: #c47a1c;
  --warn: #e8b86d;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(10, 8, 6, 0.82), rgba(10, 8, 6, 0.9)),
    url("../assets/bg-cameras-nvr.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

.logo img,
.hero__logo {
  max-width: none;
  height: 56px;
}

.hero__logo {
  height: 160px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pills li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(10, 8, 6, 0.7);
  backdrop-filter: blur(8px);
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  background: #f6f1e8;
  padding: 6px 10px;
  border-radius: 12px;
}

.logo img {
  display: block;
  height: 64px;
  width: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(10, 8, 6, 0.9);
  border-bottom: 1px solid var(--line);
}

.header .logo img {
  height: 56px;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

.lang {
  display: flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 8, 6, 0.55);
}

.lang__btn {
  min-width: 40px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang__btn.is-active {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #1a1004;
}

.header__phone {
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #1a1004;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn--block {
  width: 100%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 18ch;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 88px;
  background: #0a0806;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background: url("../assets/bg-cctv-night.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 8, 6, 0.92) 0%, rgba(10, 8, 6, 0.7) 48%, rgba(10, 8, 6, 0.42) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.12), rgba(10, 8, 6, 0.86));
  pointer-events: none;
}

.hero__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(232, 162, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 162, 58, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__logo {
  display: block;
  height: 160px;
  width: auto;
  margin-bottom: 24px;
  background: #f6f1e8;
  padding: 12px 16px;
  border-radius: 16px;
}

.hero__lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 40px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero__stats li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 8, 6, 0.72);
  backdrop-filter: blur(8px);
}

.hero__stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.trust {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  min-height: 72px;
  color: var(--muted);
}

.trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-2);
}

.section--media {
  background:
    linear-gradient(rgba(10, 8, 6, 0.88), rgba(10, 8, 6, 0.92)),
    url("../assets/bg-cameras-nvr.jpg") center / cover no-repeat;
}

.section--media-2 {
  background:
    linear-gradient(rgba(12, 10, 8, 0.86), rgba(12, 10, 8, 0.92)),
    url("../assets/bg-perimeter.jpg") center / cover no-repeat;
}

.section--media-3 {
  background:
    linear-gradient(rgba(18, 14, 10, 0.88), rgba(18, 14, 10, 0.93)),
    url("../assets/bg-fire-alarm.jpg") center / cover no-repeat;
}

.section--media-4 {
  background:
    linear-gradient(rgba(10, 8, 6, 0.86), rgba(10, 8, 6, 0.92)),
    url("../assets/bg-intercom.jpg") center / cover no-repeat;
}

.showcase {
  background: #0b0907;
  border-block: 1px solid var(--line);
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.showcase figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.showcase img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}

.showcase figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  margin: 0;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

.section__head {
  max-width: 640px;
  margin-bottom: 36px;
}

.section__head p:last-child {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 16px;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--objects {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.object,
.quote,
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card {
  display: flex;
  flex-direction: column;
}

.card__more {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 700;
  font-size: 0.92rem;
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan ul {
  margin: 0 0 24px;
  padding-left: 18px;
  flex: 1;
  color: var(--muted);
}

.plan__name {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.plan__price {
  margin: 6px 0 16px;
  font-size: 1.7rem;
  font-weight: 800;
}

.plan--featured {
  border-color: rgba(232, 162, 58, 0.45);
  background: linear-gradient(180deg, #2a2014, var(--surface));
}

.plan__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  color: #1a1004;
  background: var(--accent);
  padding: 4px 8px;
  border-radius: 999px;
}

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(232, 162, 58, 0.14);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
}

.card p,
.object p {
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.about__text {
  color: var(--muted);
  max-width: 58ch;
}

.about__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.about__list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.about__list strong {
  color: var(--text);
}

.clients {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clients li {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 700;
  text-align: center;
}

.geo-label {
  margin: 28px 0 12px;
  color: var(--muted);
  font-weight: 600;
}

.geo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.geo li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-2);
  font-weight: 600;
}

.banner {
  padding: 48px 0;
  background:
    radial-gradient(600px 200px at 90% 0, rgba(232, 162, 58, 0.2), transparent 60%),
    var(--surface);
  border-block: 1px solid var(--line);
}

.banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  align-items: center;
  justify-content: space-between;
}

.banner h2 {
  max-width: 18ch;
}

.banner p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 220px;
}

.map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  filter: grayscale(0.35) contrast(0.95);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.steps span {
  color: var(--accent);
  font-weight: 800;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
  margin: 10px 0 0;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact__facts {
  padding-left: 18px;
  color: var(--muted);
}

.contact__direct {
  margin-top: 24px;
}

.form {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #110c08;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(232, 162, 58, 0.5);
  border-color: transparent;
}

.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.form__status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(232, 162, 58, 0.12);
  color: var(--accent);
}

.form__status.is-error {
  background: rgba(232, 184, 109, 0.12);
  color: var(--warn);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
}

.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  align-items: center;
  justify-content: space-between;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer__nav a {
  color: var(--muted);
}

.footer__copy {
  width: min(var(--max), calc(100% - 32px));
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.dock {
  display: none;
}

.footer__meta {
  display: grid;
  gap: 4px;
}

.footer__meta p {
  margin: 0;
}

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #063;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 960px) {
  .showcase__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cards--3,
  .contact__grid,
  .about,
  .clients {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
    padding-bottom: 56px;
  }

  .showcase__grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #110c08;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 0;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .header__phone {
    display: none;
  }

  .float-wa {
    display: none;
  }

  .dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    background: #110c08;
    border-top: 1px solid var(--line);
  }

  .dock a {
    display: grid;
    place-items: center;
    min-height: 52px;
    color: var(--text);
    font-weight: 800;
  }

  .dock__wa {
    background: #25d366;
    color: #063;
  }

  .cards--3,
  .cards--objects,
  .steps,
  .contact__grid,
  .about,
  .clients {
    grid-template-columns: 1fr;
  }
}
