:root {
  --bg: #f5f8fc;
  --bg-secondary: #ebf1f8;
  --surface: #ffffff;
  --surface-alt: #eef5fc;
  --line: #dce7f4;
  --line-strong: #bfd4ea;
  --text: #10233c;
  --muted: #60748f;
  --blue: #2c7de3;
  --blue-deep: #193d76;
  --blue-soft: #dcedff;
  --shadow: 0 20px 60px rgba(31, 72, 120, 0.08);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: min(1180px, calc(100% - 40px));
  --section-space: 56px;
  --section-space-mobile: 42px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 8% 4%, rgba(44, 125, 227, 0.08), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fb 100%);
  color: var(--text);
}

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

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

button {
  font: inherit;
}

.page-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(44, 125, 227, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 125, 227, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: -1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(191, 212, 234, 0.6);
}

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

.brand {
  width: 178px;
}

.nav,
.header-actions,
.hero-actions,
.hero-quick,
.partner-logos,
.why-cta,
.wizard-top,
.wizard-progress {
  display: flex;
  align-items: center;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover,
.phone-link:hover,
.simple-link:hover {
  color: var(--blue);
}

.header-actions {
  gap: 14px;
}

.phone-link {
  font-weight: 700;
  color: var(--blue-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.wizard-option:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue), #4f9cf2);
  color: #fff;
  box-shadow: 0 14px 30px rgba(44, 125, 227, 0.22);
}

.button-secondary {
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid var(--line-strong);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 0 64px;
}

.section,
.section_logo3 {
  padding: var(--section-space) 0;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 20%,
      rgba(255, 255, 255, 0.75) 40%,
      rgba(255, 255, 255, 0.4) 60%,
      rgba(0, 0, 0, 0.25) 80%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    linear-gradient(
      180deg,
      rgba(19, 41, 71, 0.08),
      rgba(0, 0, 0, 0.15)
    );
}

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

.hero-inner,
.why-grid,
.installer-grid,
.footer-inner {
  display: grid;
  gap: 40px;
}

.hero-inner,
.why-grid,
.installer-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 500px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 650px;
  padding: 18px 0;
}

.kicker,
.wizard-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.why-copy h2,
.installer-copy h2,
.coverage-copy h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 5.8vw, 4.6rem);
  line-height: 0.98;
}

.hero p,
.why-copy p,
.installer-copy p,
.section-head p,
.coverage-copy p,
.footer-brand p,
.review-card p,
.concept-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero p {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 0.98rem;
}

.kicker,
.wizard-kicker {
  font-size: 0.74rem;
}

.hero-actions {
  gap: 14px;
  margin: 30px 0 24px;
  flex-wrap: wrap;
}

.hero-quick {
  gap: 10px;
  flex-wrap: wrap;
}

.hero-quick span {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--blue-deep);
  font-weight: 700;
  backdrop-filter: blur(6px);
  text-transform: none;
}

.hero-visual {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card-main {
  position: relative;
  width: min(100%, 460px);
  height: 460px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.hero-card-main img,
.installer-frame img,
.visual-stack img,
.visual-card,
.concept-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-floating {
  position: absolute;
  left: -12px;
  bottom: -24px;
  width: 300px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(25, 61, 118, 0.96), rgba(44, 125, 227, 0.96));
  color: white;
}

.hero-card-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.hero-card-floating strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.hero-card-floating span {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.coverage-box,
.wizard,
.review-card,
.concept-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.section_logo3 {
  overflow: hidden;
  background: #fff;
}

.padding-section-small {
  padding: 0;
}

.logo3_container,
.coverage-box,
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: none;
}

.logo3_container {
  display: grid;
  gap: 22px;
  padding: 28px 52px 32px;
  background: transparent;
  border: 0;
}

.margin-bottom.margin-large {
  margin-bottom: 0;
}

.text-align-center {
  text-align: center;
}

.heading-style-h4 {
  margin: 20px;
  color: #5a7193;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.3;
}

.logo3_list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  flex-wrap: nowrap;
}

.logo3_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 74px;
  padding: 8px 6px;
}

.logo3_logo {
  width: auto;
  max-width: 100%;
  max-height: 3rem;
  object-fit: contain;
  filter: brightness(160%) grayscale();
}

.brand-hikvision {
  max-height: 2.6rem;
}

.brand-dahua {
  max-height: 2.45rem;
}

.brand-marshall {
  max-height: 2.35rem;
}

.brand-notifier-logo {
  max-height: 3.15rem;
}

.brand-western-digital {
  max-height: 2.3rem;
}

.brand-dsc {
    max-height: 200% !important;
    height: 40px;
    filter: none;
  }

.brand-paradox {
  max-height: 1rem;
  filter: none;
}

.brand-ubiquiti {
  max-height: 2.6rem;
}

.brand-tplink {
  max-height: 3.95rem;
}

.brand-item,
.partner-logos,
.partner-logos::-webkit-scrollbar,
.partner-logos::-webkit-scrollbar-track,
.partner-logos::-webkit-scrollbar-thumb,
.brand-item img {
  all: unset;
}

.partner-logos,
.brand-item {
  display: contents;
}

.logo-strip,
.logo-strip-inner {
  display: none;
  box-shadow: none;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.why-copy h2,
.installer-copy h2,
.coverage-copy h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.1rem);
  line-height: 1.06;
}

.why-cta {
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.simple-link {
  font-weight: 700;
  color: var(--blue-deep);
}

.visual-stack,
.visual-collage {
  position: relative;
  min-height: 560px;
}

.visual-tall,
.visual-small,
.visual-card,
.installer-frame {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-tall {
  position: absolute;
  inset: 0 150px 0 0;
}

.visual-small {
  position: absolute;
  width: 190px;
  height: 210px;
  right: 0;
}

.visual-small:nth-child(2) {
  top: 40px;
}

.visual-small:nth-child(3) {
  bottom: 40px;
}

.visual-collage {
  min-height: 640px;
}

.visual-card {
  position: absolute;
  object-fit: cover;
}

.visual-card-back {
  top: 0;
  right: 0;
  width: 72%;
  height: 88%;
}

.visual-card-front {
  left: 0;
  bottom: 0;
  width: 58%;
  height: 72%;
}

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

.concept-card,
.review-card {
  border-radius: 28px;
}

.concept-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: flex-end;
}

.concept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 29, 0.08) 12%, rgba(7, 16, 29, 0.72) 74%, rgba(7, 16, 29, 0.92) 100%);
}

.concept-image {
  position: absolute;
  inset: 0;
}

.concept-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 24px;
}

.concept-content h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.08;
  font-family: "Outfit", sans-serif;
}

.concept-content p {
  margin: 0;
  color: #ffd056;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 700;
}

.concept-card h3,
.review-card strong,
.footer-data h3,
.wizard h3 {
  margin: 0 0 10px;
}

.installer-frame {
  min-height: 500px;
  background: url("./assets/client/hikvision-city.png") 38% center / cover no-repeat;
}

.installer-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  opacity: 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 30px;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 34px;
  color: var(--blue-deep);
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url("./assets/motion/checked.png") center/contain no-repeat;
}

.analyzer-wrap {
  max-width: 1000px;
}

.wizard {
  padding: 30px;
  border-radius: 32px;
}

.system-cover {
  padding-top: 36px;
}

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

.system-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.system-media {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.system-poster,
.system-video,
.system-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.system-poster,
.system-video {
  object-fit: cover;
}

.system-video {
  opacity: 0;
  transition: opacity 220ms ease;
}

.system-card:hover .system-video,
.system-card:focus-within .system-video {
  opacity: 1;
}

.system-overlay {
  pointer-events: none;
  opacity: 0.88;
}

.overlay-blue {
  background: linear-gradient(180deg, rgba(25, 61, 118, 0.1), rgba(25, 61, 118, 0.72));
}

.overlay-red {
  background: linear-gradient(180deg, rgba(195, 55, 66, 0.1), rgba(195, 55, 66, 0.72));
}

.overlay-cyan {
  background: linear-gradient(180deg, rgba(26, 112, 160, 0.12), rgba(26, 112, 160, 0.72));
}

.system-content {
  padding: 22px;
}

.system-content h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.system-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.wizard-top {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.wizard-progress {
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 160px;
}

.wizard-progress span {
  color: var(--muted);
  font-weight: 600;
}

.wizard-progress-bar {
  width: 160px;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.wizard-progress-bar > span {
  display: block;
  width: 33.33%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  transition: width 220ms ease;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.wizard-option {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.wizard-option.is-text-only {
  align-content: center;
  min-height: 128px;
}

.wizard-option:hover {
  border-color: #9ec3ee;
  box-shadow: 0 16px 34px rgba(44, 125, 227, 0.12);
}

.wizard-option img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 18px;
}

.wizard-option strong {
  font-size: 1rem;
  line-height: 1.4;
}

.wizard-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
}

.is-hidden {
  display: none;
}

.review-card img {
  width: 26px;
  margin-bottom: 18px;
}

.review-card {
  min-height: 246px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card p {
  font-size: 0.92rem;
  line-height: 1.65;
}

.review-card strong {
  display: block;
  color: var(--blue-deep);
  font-size: 0.9rem;
}

.coverage-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 32px;
}

.contact-mini-form {
  display: grid;
  gap: 14px;
  width: min(100%, 420px);
  padding: 22px;
  border: 1px solid rgba(25, 61, 118, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.contact-mini-field {
  display: grid;
  gap: 8px;
}

.contact-mini-field span {
  color: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.contact-mini-field input,
.contact-mini-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.contact-mini-field input::placeholder,
.contact-mini-field textarea::placeholder {
  color: #8a99ae;
}

.contact-mini-field input:focus,
.contact-mini-field textarea:focus {
  outline: none;
  border-color: #9ec3ee;
  box-shadow: 0 0 0 4px rgba(44, 125, 227, 0.08);
}

.contact-mini-submit {
  width: 100%;
}

.footer {
  padding: 28px 0 46px;
}

.footer-inner {
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 180px;
  margin-bottom: 18px;
}

.footer-data {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-data h3 {
  color: var(--blue-deep);
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(44, 125, 227, 0.12);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 62px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #20c56d, #149756);
  color: white;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(17, 113, 64, 0.3);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(0.985);
  filter: blur(10px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal-sequence > * {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(8px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-sequence.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-sequence > * {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .why-grid,
  .installer-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .concept-grid,
  .review-grid,
  .system-grid,
  .wizard-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo3_list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .logo3_wrapper {
    flex: 0 1 calc(25% - 18px);
  }

  .hero-visual,
  .visual-stack,
  .visual-collage {
    min-height: 460px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding: 3.9rem 0 3.25rem;
  }

  .section {
    padding: var(--section-space-mobile) 0;
  }

  .section_logo3 {
    padding: var(--section-space-mobile) 0;
  }

  .header-inner,
  .wizard-top,
  .coverage-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    gap: 26px;
  }

  .hero-background img {
    object-position: 69% center;
  }

  .hero-background::after {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.86) 38%,
        rgba(255, 255, 255, 0.58) 62%,
        rgba(0, 0, 0, 0.22) 100%
      ),
      linear-gradient(
        90deg,
        rgba(19, 41, 71, 0.04),
        rgba(0, 0, 0, 0.12)
      );
  }

  .hero-quick {
    gap: 8px;
  }

  .hero-quick span {
    font-size: 0.76rem;
    padding: 7px 11px;
  }

  .logo3_container {
      padding: 22px 30px 24px;
    }

  .heading-style-h4 {
    font-size: 0.88rem;
  }

  .logo3_list {
    gap: 10px 16px;
    justify-content: center;
  }

  .logo3_wrapper {
    flex: 0 1 calc(50% - 16px);
    min-height: 72px;
    padding: 8px 6px;
  }

  .logo3_logo {
    max-height: 2.2rem;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-card-main {
    width: 100%;
    height: 320px;
  }

  .hero-card-floating {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .hero-visual,
  .visual-stack,
  .installer-frame {
    min-height: auto;
  }

  .visual-tall,
  .visual-small,
  .visual-card {
    position: static;
    width: 100%;
    height: 220px;
  }

  .visual-stack,
  .visual-collage {
    display: grid;
    gap: 16px;
    min-height: auto;
  }

  .concept-grid,
  .review-grid,
  .system-grid,
  .wizard-options {
    grid-template-columns: 1fr;
  }

  .concept-card {
    min-height: 280px;
  }

  .concept-content h3 {
    font-size: 1.35rem;
  }

  .wizard,
  .concept-card,
  .review-card,
  .coverage-box {
    border-radius: 24px;
  }

  .contact-mini-form {
    width: 100%;
    padding: 18px;
  }

  .review-card {
    min-height: 210px;
    padding: 22px 18px;
  }

  .wizard-progress {
    align-items: flex-start;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 62px;
    min-width: 62px;
    padding: 0;
  }
}
