/* manrope-300 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/manrope-v20-cyrillic_latin-300.woff2') format('woff2');
}

/* manrope-regular - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/manrope-v20-cyrillic_latin-regular.woff2') format('woff2');
}

/* manrope-500 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/manrope-v20-cyrillic_latin-500.woff2') format('woff2');
}

/* manrope-600 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/manrope-v20-cyrillic_latin-600.woff2') format('woff2');
}

/* manrope-700 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/manrope-v20-cyrillic_latin-700.woff2') format('woff2');
}

/* manrope-800 - cyrillic_latin */
@font-face {
  font-display: swap;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/manrope-v20-cyrillic_latin-800.woff2') format('woff2');
}

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

:root {
  --bg: #f7f6f2;
  --bg2: #ffffff;
  --bg3: #f0efe9;
  --card: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --text: #16161d;
  --muted: #6b6b78;
  --accent: oklch(0.62 0.19 42);
  --accent-light: oklch(0.97 0.05 42);
  --accent-mid: oklch(0.90 0.09 42);
  --radius: 18px;
  --font: 'Manrope', sans-serif;
  --shadow: 0 2px 20px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.05);
  --text: #16161d;
  --nav-height: 70px
}

@media (max-width: 1024px) {
  :root {
    --nav-height: 64px;
  }
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  padding-top: var(--nav-height);
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  min-width: 350px;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 48px;
  height: var(--nav-height);
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  max-width: 100%;
  height: auto;
}

.nav-logo span {
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1;
  margin-top: -9px;
}

.nav-logo-mark {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}

.nav-logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}

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

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px 8px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  transform-origin: center;
}

.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 14px;
}

.nav-panel-contacts {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-phones a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}

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

@media (max-width: 1024px) {
  nav {
    padding: 0 20px;
    height: var(--nav-height);
    flex-wrap: wrap;
    align-items: center;
    overflow: visible;
  }

  .nav-hamburger {
    display: flex;
    order: 2;
  }

  .nav-panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 20px 16px;
    background: rgba(247, 246, 242, 0.99);
    border-top: 1px solid var(--border);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

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

  .nav-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links li {
    display: block;
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 11px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}

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

  .nav-panel-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid var(--border);
  }

  .nav-panel-contacts .nav-phones {
    flex-direction: column;
    gap: 4px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px oklch(0.48 0.17 145 / 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 10px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
}

.hero-left {
  padding: 80px 80px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  text-wrap: pretty;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -1px;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* Hero image panel */
.hero-right {
  position: relative;
  height: 100vh;
  background: var(--bg3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-placeholder {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      transparent,
      transparent 8px,
      rgba(0, 0, 0, 0.025) 8px,
      rgba(0, 0, 0, 0.025) 9px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-img-placeholder-label {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-family: monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-img-placeholder-icon {
  opacity: 0.15;
}

.hero-img-placeholder-icon svg {
  width: 80px;
  height: 80px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1;
}

/* floating UI cards over hero image */
.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}

.hero-card.top-left {
  top: 80px;
  left: 32px;
  min-width: 180px;
}

.hero-card.bottom-right {
  bottom: 80px;
  right: 32px;
  min-width: 200px;
}

.hero-card.mid-left {
  bottom: 200px;
  left: 32px;
}

.hc-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.hc-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.hc-value .green {
  color: var(--accent);
}

.hc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hc-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
}

.hc-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s infinite;
}

.hc-temp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.hc-temp {
  background: var(--bg3);
  border-radius: 8px;
  padding: 8px 10px;
}

.hc-temp .room {
  font-size: 10px;
  color: var(--muted);
}

.hc-temp .temp {
  font-size: 16px;
  font-weight: 700;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0.3
  }
}

/* ── SECTION COMMON ── */
section {
  padding: 100px 48px;
}

.container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  text-wrap: pretty;
}

h2 .accent {
  color: var(--accent);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  gap: 40px;
}

.section-header p {
  font-size: 16px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.7;
}

/* ── SERVICES STRIP ── */
.services-strip {
  background: var(--text);
  padding: 0;
}

.services-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1280px;
  margin: 0 auto;
}

.strip-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background .2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.strip-item:last-child {
  border-right: none;
}

.strip-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.strip-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}

.strip-item:hover::after {
  transform: scaleX(1);
}

.strip-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.strip-icon svg {
  width: 22px;
  height: 22px;
  stroke: rgba(255, 255, 255, 0.7);
  fill: none;
  stroke-width: 1.8;
}

.strip-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.strip-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* ── SMART HOME FEATURES ── */
.smarthome {
  background: var(--bg);
}

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

.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all .25s;
}

.feat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feat-card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feat-card.tall {
  grid-row: span 2;
}

.feat-icon-box {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feat-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.feat-visual {
  background: var(--bg3);
  border-radius: 12px;
  padding: 20px;
}

.light-viz {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.light-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.light-name {
  font-size: 12px;
  color: var(--muted);
  width: 80px;
  font-weight: 500;
}

.light-bar {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.light-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, oklch(0.7 0.18 85) 100%);
  border-radius: 3px;
}

.light-pct {
  font-size: 11px;
  color: var(--muted);
  width: 32px;
  text-align: right;
  font-weight: 600;
}

.climate-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  height: 100%;
}

.climate-cell {
  background: var(--bg3);
  border-radius: 10px;
  padding: 14px 12px;
}

.climate-cell .room {
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.climate-cell .temp {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.climate-cell .mode {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.protect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.protect-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.protect-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.control-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.ctrl-logo {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

/* ── SCENARIOS ── */
.scenarios {
  background: var(--text);
}

.scenarios .section-label {
  color: oklch(0.72 0.18 145);
}

.scenarios .section-label::before {
  background: oklch(0.72 0.18 145);
}

.scenarios h2 {
  color: #fff;
}

.scenarios .section-header p {
  color: rgba(255, 255, 255, 0.45);
}

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

.scenario-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}

.scenario-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.scenario-card.active {
  background: oklch(0.48 0.17 145 / 0.15);
  border-color: oklch(0.72 0.18 145 / 0.4);
}

.scenario-emoji {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

.scenario-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.scenario-detail {
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 32px;
  display: none;
}

.scenario-detail.visible {
  display: block;
}

.scenario-detail h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.scenario-detail .tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.scenario-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.scenario-action {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.scenario-action::before {
  content: '→';
  color: oklch(0.72 0.18 145);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── CCTV ── */
.cctv {
  background: var(--bg2);
}

.cctv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.cam-grid-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.cam-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cam-grid-title {
  font-size: 15px;
  font-weight: 700;
}

.cam-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.cam-online::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.5s infinite;
}

.cam-feeds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cam-feed {
  background: var(--bg3);
  border-radius: 10px;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color .2s;
}

.cam-feed picture {
  width: 100%;
  height: 100%;
}

.cam-feed-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cam-feed:hover,
.cam-feed.active {
  border-color: var(--accent);
}

.cam-feed-icon {
  opacity: 0.18;
}

.cam-feed-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
}

.cam-feed-label {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 10px;
  color: var(--muted);
  font-family: monospace;
}

.cam-rec {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.cam-rec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  animation: blink 1.5s infinite;
}

.cam-rec-text {
  font-size: 9px;
  color: #ef4444;
  font-weight: 700;
  font-family: monospace;
}

.cctv-feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cctv-feat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: all .2s;
}

.cctv-feat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cctv-feat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-light);
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.cctv-feat-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.cctv-feat h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cctv-feat p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── INTERNET ── */
.internet {
  background: var(--bg);
}

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

.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  position: relative;
  transition: all .2s;
}

.plan-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.plan-speed {
  font-size: 26px;
  font-weight: 800;
  min-width: 90px;
  letter-spacing: -0.5px;
}

.plan-speed span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.plan-desc {
  flex: 1;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
}

.plan-details {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.plan-price {
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-price span {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.why-check {
  width: 22px;
  height: 22px;
  background: var(--accent-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 3;
}

/* ── AUDIT ── */
.audit {
  background: var(--bg3);
}

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

.audit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.audit-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 16px;
}

.audit-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.audit-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.audit-card ul {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.audit-card ul li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.audit-card ul li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.audit-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.audit-step {
  padding: 28px;
  border-right: 1px solid var(--border);
}

.audit-step:last-child {
  border-right: none;
}

.audit-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.audit-step h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.audit-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── HOW ── */
.how {
  background: var(--bg2);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: steps;
}

.how-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  counter-increment: steps;
  position: relative;
}

.how-card::before {
  content: counter(steps, decimal-leading-zero);
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.how-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.how-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── PRICING ── */
.pricing {
  background: var(--bg);
}

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

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all .2s;
}

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.pricing-name {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li.yes {
  color: var(--text);
}

.pricing-features li.no {
  color: var(--muted);
}

.dot-yes,
.dot-no {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
}

.dot-yes {
  background: var(--accent-light);
  color: var(--accent);
}

.dot-no {
  background: var(--bg3);
  color: var(--muted);
}

/* ── SHOWROOMS ── */
.showrooms {
  background: var(--bg3);
}

.showrooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showroom-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow);
}

.showroom-img {
  background: var(--bg3);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.showroom-img svg {
  width: 40px;
  height: 40px;
  stroke: var(--muted);
  fill: none;
  opacity: 0.4;
}

.showroom-img span {
  font-family: monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  opacity: 0.6;
}

.showroom-info {
  padding: 24px;
}

.showroom-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.showroom-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--muted);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--accent);
  padding: 72px 48px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(28px, 3vw, 44px);
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-band p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--accent);
  font-weight: 700;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ── CONTACT ── */
.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info>p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ci-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ci-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.ci-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ci-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: block;
  transition: color .2s;
}

.ci-value:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.cf-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cf-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.48 0.17 145 / 0.1);
}

.form-group textarea {
  resize: none;
  height: 90px;
}

/* ── FOOTER ── */
footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--bg2);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}

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

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  background: var(--bg3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--muted);
  font-size: 16px;
  display: grid;
  place-items: center;
}

.modal h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

@media (max-width: 1024px) {
  nav {
    padding: 0 24px;
  }

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

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 100px 24px 60px;
  }

  section {
    padding: 64px 24px;
  }

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

  .feat-card.wide {
    grid-column: span 2;
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cctv-grid,
  .internet-grid,
  .contact-grid,
  .showroom-card {
    grid-template-columns: 1fr;
  }

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

  .audit-steps,
  .how-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .services-strip-inner {
    grid-template-columns: 1fr 1fr;
  }

  .strip-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .cta-band {
    padding: 48px 24px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(max-width:576px) {

  .audit-steps,
  .how-grid {
    grid-template-columns: 1fr;
  }

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

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

  .feat-card.wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

.video-card:hover .video-thumb img {
  transform: scale(1.03);
}

.video-card:hover .play-btn {
  background: rgba(0, 0, 0, 0.4) !important;
}

@media(max-width:1024px) {
  .videos-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media(max-width:640px) {
  .videos-grid {
    grid-template-columns: 1fr !important;
  }
}

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

@media(max-width:576px) {
  .software-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* FAQ Accordion */

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-summary::marker,
.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  user-select: none;
  outline-offset: 4px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.faq-summary:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 6px;
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  transition: color .2s;
}

.faq-item[open] .faq-question {
  color: var(--accent);
}

.faq-summary::after {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .28s ease, border-color .2s;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(-135deg);
  border-color: var(--accent);
}

.faq-body {
  overflow: hidden;
}

.faq-body p {
  padding: 0 4px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* headings */

.entry-content>h1,
.entry-content>h2,
.entry-content>h3,
.entry-content>h4,
.entry-content>h5,
.entry-content>h6 {
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}

.entry-content>h1 {
  font-size: clamp(34px, 3.5vw, 56px);
}

.entry-content>h2 {
  font-size: clamp(28px, 3.5vw, 46px);
}

.entry-content>h3 {
  font-size: 22px;
}

.entry-content>h4 {
  font-size: 18px;
}

/* links */

.entry-content a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  transition: all .25s ease;
}

@media (hover: hover) {
  .entry-content a:not(.button):hover {
    text-decoration: none;
  }
}

/* paragraphs */

.entry-content p+* {
  margin-top: 24px;
}

.entry-content p+p {
  margin-top: 15px;
}

/* blockquote */

.entry-content blockquote {
  position: relative;
  margin: 24px 0;
  padding: 0;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}

/* image */

.entry-content img {
  max-width: 100%;
  height: auto;
}

/* lists */

.entry-content ul,
.entry-content ol {
  margin-left: 0;
  padding-left: 15px;
}

.entry-content ul+*,
.entry-content ol+* {
  margin-top: 30px;
}

.entry-content ul li::marker {
  color: var(--accent);
}

.entry-content li:not(:last-child) {
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .entry-content li:not(:last-child) {
    margin-bottom: 12px;
  }
}

.entry-content hr {
  margin-top: 30px;
  margin-bottom: 30px;
  border: 1px solid #333333;
}

/* page-content */

.page-content {
  padding: 60px 24px;
  background: var(--bg3);
}

/* error-block */

.error-block {
  min-height: 420px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.error-block-title {
  font-size: clamp(34px, 10vw, 120px);
}

.error-block-description {
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
}

.error-block-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}