:root{
  --color-navy: #0b0d11;          /* dark accent */
  --color-navy-light: #12151b;
  --color-copper: #f5f6f7;        /* light accent for buttons */
  --color-copper-light: #ffffff;
  --color-copper-dark: #d7dade;
  --color-off-white: #f0f3f7;     /* base background */
  --color-light: #ffffff;         /* cards / panels */
  --color-text: #0b0d11;          /* primary text */
  --color-muted: #3c4652;         /* secondary text */
  --color-card: #0f1117;          /* dark cards */
  --color-card-text: #dfe4ec;
  --color-amber: #f6c75c;         /* accent for CCTV page */
  --color-mint: #64e7d0;
  --color-ink: #070b12;
  --color-surface-deep: #0f1726;
  --color-panel-dark: #0f1624;
  --font-heading: "Space Grotesk", "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 25px rgba(10, 27, 42, 0.14);
  --shadow-lg: 0 16px 35px rgba(10, 27, 42, 0.16);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --spacing: min(5vw, 32px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, #f0f3f7, #e8ecf3 60%, #f0f3f7);
  line-height:1.7;
  letter-spacing:.1px;
}
h1, h2, h3, h4, h5, h6{
  font-family: var(--font-heading);
  color: var(--color-copper);
  line-height: 1.25;
}
a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width: min(1200px, calc(100% - 2*var(--spacing)));
  margin: 0 auto;
}

/* HEADER */
header{
  position: sticky;
  top:0;
  z-index:100;
  background: #0c1016;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:.7rem;
}
.brand img{
  height: 54px;
  width:auto;
  transition: transform .2s ease;
}
.brand img:hover{ transform: translateY(-2px); }
nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 1rem;
  flex-wrap:nowrap;
}
nav a{
  padding:.55rem .95rem;
  border-radius:999px;
  border:1px solid transparent; /* чтобы на hover был видимый контур */
  color: #f1f3f7;
  font-weight:700;
  font-size:.96rem;
  transition: color .2s ease, background .2s ease, transform .08s ease;
  white-space:nowrap;
}
nav a:hover{
  color: #ffffff;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.45);
}
nav a:active{ transform: translateY(1px); }
nav a:focus-visible{ outline:2px solid var(--color-copper); outline-offset:3px; }

.nav-item{
  position: relative;
}
.submenu{
  display:none;
  position:absolute;
  top: 100%;
  left:0;
  min-width: 200px;
  background: var(--color-light);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  z-index: 50;
}
.submenu a{
  display:block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: var(--color-text); /* читаемый текст на светлом фоне подменю */
  border:1px solid transparent;
}
.submenu a:hover{
  background: rgba(0,0,0,.04);
  color: var(--color-text);
  border-color: rgba(0,0,0,.15);
}
.nav-item:hover .submenu{
  display:block;
}

.nav-cta{
  display:flex;
  align-items:center;
  gap:.6rem;
}
.mobile-only{ display:none; }

.lang-select{
  padding: .35rem .45rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #f1f3f7;
  font-weight: 700;
  font-size: .85rem;
  min-width: 42px;
  max-width: 55px;
  text-align: center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding:.8rem 1.15rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--color-copper);
  color: #0b0d11;
  font-weight: 800;
  font-size:.95rem;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease, filter .2s ease, border-color .2s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.btn:hover{ background: var(--color-copper-light); }
.btn:active{ transform: translateY(1px); }

.btn.primary{
  background: linear-gradient(135deg, #f5f6f7, #e6e8ec);
  border-color: #e6e8ec;
  box-shadow: 0 14px 30px rgba(0,0,0,.15);
  color: #0b0d11;
}
.btn.primary:hover{ filter:saturate(110%); }

.btn.secondary{
  background: transparent;
  color: #f1f3f7;
  border-color: rgba(255,255,255,.35);
  box-shadow: none;
}
.btn.secondary:hover{ border-color: #ffffff; color: #ffffff; }

.hamb{
  display:none;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: var(--color-light);
  color: var(--color-text);
  cursor:pointer;
  align-items:center; justify-content:center;
  box-shadow: var(--shadow-sm);
}
.hamb svg{ width:22px; height:22px; }

.theme-toggle{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: var(--color-light);
  color: var(--color-text);
  cursor:pointer;
  box-shadow: var(--shadow-sm);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 1.05rem;
}

.light-theme{
  --color-navy: #f5f6f7;
  --color-navy-light: #e9ecf1;
  --color-off-white: #f5f6f7;
  --color-light: #ffffff;
  --color-text: #0b0d11;
  --color-muted: #3c4652;
  --color-copper: #0b0d11;
  --color-copper-light: #1c2129;
  --color-copper-dark: #050607;
}

.icon-btn{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: var(--color-light);
  color: var(--color-text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background .2s ease, transform .08s ease;
}
.icon-btn:hover{ background: rgba(255,255,255,.08); }
.icon-btn:active{ transform: translateY(1px); }

@media (max-width: 920px){
  .nav-wrap{ justify-content: center; }
  .brand{ position:absolute; left:50%; transform: translateX(-50%); }
  .nav-cta{ display:none; }
  nav{ display:none; width:100%; }
  .hamb{ display:inline-flex; margin-left:auto; }
  header.open nav{
    display:flex;
    flex-direction:column;
    position:absolute;
    left:0; right:0;
    top:100%;
    background: var(--color-navy);
    border-bottom:1px solid rgba(255,255,255,.08);
    padding: 1rem var(--spacing) 1.2rem;
    box-shadow: var(--shadow-sm);
  }
  header.open nav a{
    display:block;
    text-align:center;
    padding:.8rem 0;
    border-radius: 12px;
  }
  .mobile-only{ display:block; margin-top:0.75rem; }
  .nav-extra{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
    gap:0.55rem;
    flex-wrap:nowrap;
  }
  .nav-extra-row{
    display:flex;
    flex-direction:row;
    gap:0.55rem;
    align-items:center;
    justify-content:center;
  }
  .nav-extra .btn{ flex-shrink:0; }
  .nav-extra .lang-select{
    min-width: 40px;
    max-width: 55px;
    flex-shrink:1;
  }
}

/* HERO */
.hero{
  position: relative;
  min-height: 100vh;
  height: 100vh; /* фиксируем первый экран на полную высоту видимой области */
  display:flex;
  align-items:center;
  overflow:hidden;
  background: linear-gradient(135deg, #0b0f16 0%, #0e131c 60%, rgba(11,13,17,0.45) 100%);
  color: #f1f3f7;
}
.hero .container{
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-bg{
  position:absolute;
  right:0;
  top:0;
  width: 58%;
  height: 100%;
  background:
    linear-gradient(90deg, rgba(11,13,17,.55) 0%, rgba(11,13,17,0) 50%),
    url("/static/hero.jpg") center/cover no-repeat;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 8% 100%);
  filter: saturate(108%) contrast(104%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding: 3.5rem 0 3.5rem;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display:flex;
  flex-direction: column;
  align-items: center;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.4rem .85rem;
  border-radius:999px;
  font-weight:800;
  font-size:.85rem;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.hero h1{
  margin: 0 0 0.35rem;
  font-size: clamp(2.4rem, 3.2vw + 1rem, 3.8rem);
  line-height:1.08;
  font-weight: 800;
  letter-spacing:.2px;
}
.hero p{
  margin: 0.5rem auto 0;
  color: rgba(236,241,247,.9);
  font-size: clamp(1.05rem, .7vw + .9rem, 1.2rem);
  max-width: 760px;
}
.hero-actions{
  margin-top: 1rem;
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  justify-content:center;
}
@media (max-width: 968px){
  .hero{
    min-height: 68vh;
  }
  .hero-bg{
    width: 100%;
    clip-path: none;
    opacity: 0.35;
  }
  .hero-content{
    max-width: 100%;
    padding: 4rem 0 3rem;
    margin: 0 auto;
  }
}

/* SECTIONS */
section{ padding: 4.5rem 0; }
.section-title{
  font-size: clamp(1.9rem, 1.4vw + 1.1rem, 2.4rem);
  font-weight: 800;
  letter-spacing:.15px;
  margin:0;
  color: var(--color-text);
}
.section-sub{
  margin:.9rem 0 0;
  color: var(--color-muted);
  max-width: 900px;
}
.section-alt{
  background: linear-gradient(180deg, #f1f3f7 0%, #e6e9ee 100%);
  border-top: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
}

/* WHY MIA */
.why-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.why-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.why-card{
  position:relative;
  background: var(--color-card);
  color: var(--color-card-text);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.2rem 1.6rem;
  box-shadow: var(--shadow-md);
  overflow:hidden;
  transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease;
}
.why-card::before{
  content:\"\"; position:absolute; inset:0;
  background: radial-gradient(circle at 12% 18%, rgba(245,246,247,0.08), transparent 40%),
              radial-gradient(circle at 88% 12%, rgba(255,255,255,0.07), transparent 36%);
  pointer-events:none;
}
.why-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,.16);
}
.why-icon{
  width:48px; height:48px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 1.2rem;
  margin-bottom: .85rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.why-card h3{
  margin:0 0 .5rem;
  font-size: 1.15rem;
  color: #f6f8fb;
}
.why-card p{
  margin:0 0 .9rem;
  color: rgba(223,228,236,.9);
  font-size: .98rem;
}
.why-pill{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.45rem .75rem;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #f6f8fb;
  font-weight:700;
  font-size:.85rem;
}
@media (max-width: 768px){
  .why-head{ flex-direction:column; }
}

/* DASHBOARD */
.dash-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.dash-card{
  background: var(--color-navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.dash-card h3{
  margin:0 0 .35rem;
  color: var(--color-card-text);
  font-size: 1.05rem;
}
.dash-card p{
  margin:0;
  color: rgba(223,228,236,.9);
  font-size: 0.98rem;
}
.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top: 1.2rem;
}
.pill-link{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  padding:.55rem .9rem;
  border-radius: 999px;
  border:1px solid rgba(0,0,0,.15);
  color: var(--color-text);
  background: #ffffff;
  font-weight: 700;
  font-size:.92rem;
  transition: all .2s ease;
}
.pill-link:hover{
  border-color: rgba(0,0,0,.35);
  background: #f0f3f7;
}

/* SPLIT */
.split{
  display:grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
.split-media{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
  background: var(--color-navy-light);
  min-height: 360px;
}
.split-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.split-copy h2{
  margin:0;
  font-size: clamp(2rem, 2vw + 1rem, 2.6rem);
  line-height:1.05;
  font-weight: 800;
  color: var(--color-navy);
}
.split-copy p{
  margin: .9rem 0 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}
.split-copy .btn{
  margin-top: 1.25rem;
}
@media (max-width: 920px){
  .split{ grid-template-columns: 1fr; }
  .split-media{ min-height: 260px; }
}

/* TILES */
.tiles-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: 1.35rem;
}
.tiles{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
@media (max-width: 860px){
  .tiles{ grid-template-columns: 1fr; }
  .tiles-head{ flex-direction:column; align-items:flex-start; }
}

.tile{
  position: relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-md);
  background: var(--color-card);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover{
  transform: translateY(-4px);
  border-color: rgba(0,0,0,.1);
  box-shadow: var(--shadow-lg);
}
.tile-media{
  height: clamp(320px, 45vh, 520px);
  background: rgba(0,0,0,.02);
}
.tile-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.tile-body{
  position:absolute;
  inset:0;
  padding: 1.1rem 1.2rem 1.3rem;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:.35rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.78) 100%);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
}
.tile-title{
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing:.05px;
  color: #f5f6f7;
}
.tile-text{
  margin: .15rem 0 0;
  color: rgba(223,228,236,.9);
  font-size: .98rem;
}
.tile:hover .tile-body,
.tile:focus-within .tile-body{
  opacity:1;
  pointer-events:auto;
}
.tile-body .btn{ margin-top:.35rem; }

@media (max-width: 768px){
  .tile-body{
    position: absolute;
    inset: 0;
    opacity: 1;
    pointer-events: auto;
    background: linear-gradient(180deg, rgba(15,17,23,0) 40%, rgba(15,17,23,.46) 100%);
    padding: 1rem 1rem 1.05rem;
  }
}

/* SOLUTIONS */
.solutions-stack{
  display:flex;
  flex-direction:column;
  gap: 1.25rem;
  margin-top: 1.4rem;
}
.solution-row{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items:center; /* центрируем вертикально изображение и текстовые блоки */
}
.solution-row:nth-child(even){
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.solution-row:nth-child(even) .solution-media{
  order:2;
}
.solution-media{
  width:100%;
}
.solution-media img{
  width:100%;
  height: clamp(320px, 45vh, 520px);
  object-fit: cover;
  display:block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.solution-copy h3{
  margin:0 0 .35rem;
  font-size: 1.05rem;
  color: var(--color-text);
}
.solution-copy{
  display:flex;
  flex-direction:column;
  gap:.2rem;
  justify-content:center; /* выравниваем текстовый блок по вертикали относительно соседнего изображения */
}
.solution-sub{
  margin:0 0 .25rem;
  color: var(--color-muted);
  font-weight:700;
  word-wrap: break-word;
  hyphens: auto;
}
.solution-text{
  margin:0;
  color: var(--color-muted);
  font-size: .96rem;
}

@media (max-width: 900px){
  .solution-row{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap: 0.9rem;
  }
  .solution-row .solution-media,
  .solution-row:nth-child(even) .solution-media{
    order: 0;
    width: 100%;
  }
  .solution-media img{
    width:100%;
    height: clamp(220px, 42vh, 440px);
  }
  .solution-copy{
    gap:.15rem;
  }
}

/* LIST BLOCKS */
.list-block{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:1rem;
  margin-top:1.2rem;
}
.list-block .item{
  background: var(--color-card);
  border:1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  color: var(--color-card-text);
}
.list-block .item h4{
  margin:0 0 .4rem;
  font-size:1.05rem;
  color: var(--color-card-text);
}
.list-block .item p{
  margin:0;
  color: rgba(223,228,236,.85);
}

/* LOGO MARQUEE */
.logo-section{
  text-align:center;
}
:root{
  --logo-gap: 2rem;
}

.logo-marquee{
  position: relative;
  overflow: hidden;
  padding: 0;
  margin-top: 1rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logo-track{
  display:flex;
  align-items:center;
  gap: var(--logo-gap);
  animation: marquee 36s linear infinite;
  width: max-content;
  will-change: transform;
  white-space: nowrap;
}
.logo-track.paused{
  animation-play-state: paused;
}
.logo-card{
  flex: 0 0 180px;
  height: 100px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: var(--color-text);
}
.logo-card img{
  max-height: 70px;
  max-width: 140px;
  object-fit: contain;
  display:block;
}
@media (max-width: 720px){
  .logo-card{ flex-basis: 150px; height: 90px; font-size: .9rem; }
  :root{ --logo-gap: 1.25rem; }
  .logo-track{ animation-duration: 22s; }
}
@media (max-width: 768px){
  .logo-marquee{
    overflow-x: auto;
    overflow-y: hidden;
    mask-image: none;
    -webkit-mask-image: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .logo-marquee::-webkit-scrollbar{
    display: none;
  }
  .logo-track{
    animation: none;
    padding: .1rem .3rem .35rem;
  }
  .logo-card{
    scroll-snap-align: start;
  }
}
@keyframes marquee{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(calc(-50% - var(--logo-gap)/2)); }
}

/* CENTER FEATURE */
.center{
  text-align:center;
}
.center .media{
  margin: 1.6rem auto 0;
  max-width: 760px;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.center .media img{
  width:100%;
  height:420px;
  object-fit:cover;
  display:block;
}
@media (max-width: 720px){
  .center .media img{ height: 320px; }
}
.center .text{
  margin: 1.1rem auto 0;
  max-width: 820px;
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* ABOUT COMPACT (index) */
.about-compact .about-compact__wrap{
  display:flex;
  gap: 2rem;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.about-compact__text{
  flex: 1 1 320px;
}
.about-compact__text h2{
  margin: .15rem 0 .35rem;
  font-size: clamp(1.8rem, 1.3vw + 1.1rem, 2.3rem);
  color: var(--color-text);
}
.about-compact__text .lead{
  margin: 0 0 1rem;
  color: var(--color-muted);
  max-width: 640px;
}
.cta-row{
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
}
.about-compact__stats{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: .75rem;
  flex: 1 1 280px;
}
.stat-card{
  background: #ffffff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.stat-card.accent{
  background: linear-gradient(135deg, #0b0f16, #132034);
  color: #f1f3f7;
  border:1px solid rgba(255,255,255,.08);
}
.stat-value{
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom:.2rem;
}
.stat-label{
  color: var(--color-muted);
}
.stat-card.accent .stat-label{ color: rgba(241,243,247,.9); }

/* ABOUT COMPACT ALT (index) */
.about-compact.alt{
  background: var(--color-navy-light);
}
.about-compact__wrap.alt{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items:start;
}
.about-compact__wrap.alt .pill{ background: rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.14); color:#f1f3f7; }
.about-bullets{
  list-style:none;
  padding:0;
  margin: 0 0 1rem;
  display:grid;
  gap:.35rem;
  color: #dfe4ec;
}
.about-bullets li::before{
  content:"•";
  color: var(--color-copper);
  margin-right:.45rem;
}
.about-badges{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-bottom:.8rem;
}
.about-timeline{
  background: #0b0f16;
  border:1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  display:grid;
  gap:.75rem;
}
.timeline-item{
  display:flex;
  gap:.7rem;
  align-items:flex-start;
}
.timeline-item .dot{
  width:12px; height:12px;
  border-radius:999px;
  margin-top:.25rem;
  background: linear-gradient(135deg, #c2783b, #f4c18a);
  box-shadow: 0 0 0 6px rgba(194,120,59,.12);
}
.tl-title{
  font-weight:800;
  color:#f1f3f7;
}
.tl-text{
  color: rgba(241,243,247,.72);
  font-size:.95rem;
}

/* ABOUT HERO (mia page) */
.about-hero{
  min-height: 100vh;
  height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
}
.about-hero .hero-content{
  max-width: 980px;
}
.about-hero p{
  max-width: 900px;
}
.about-hero__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  align-items:start;
}
.about-hero h1{
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 1.4vw + 1.2rem, 2.6rem);
}
.about-hero .lead{
  margin:0 0 1rem;
  color: var(--color-muted);
}
@media (max-width: 968px){
  .about-hero .hero-content{
    padding: 4.4rem 0 3.2rem;
  }
}
.checklist{
  list-style:none;
  padding:0;
  margin: 0 0 1rem;
  display:grid;
  gap:.35rem;
}
.checklist li::before{
  content:"✓";
  color: var(--color-accent, #c2783b);
  margin-right:.4rem;
}
.about-hero__panel{
  display:grid;
  gap:.75rem;
  align-content:start;
}
.pill-stack{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
}
.pill{
  background: rgba(10,27,42,.08);
  border:1px solid rgba(10,27,42,.12);
  border-radius: 999px;
  padding: .35rem .65rem;
  font-weight:700;
  color: var(--color-text);
}

.about-deep__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}
.about-deep__block h3{
  margin:0 0 .6rem;
}
.cards-3{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:.75rem;
}
.mini-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
  box-shadow: var(--shadow-sm);
}
.steps{
  list-style: decimal;
  padding-left: 1.1rem;
  margin: 0;
  display:grid;
  gap:.5rem;
}
.steps li strong{ display:block; }

.about-cases{
  margin-top: 1.2rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:.85rem;
}
.leadership-wide .container{
  width: min(1600px, calc(100% - 2*var(--spacing)));
}
.leadership-photos{
  margin-top: 1rem;
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:.85rem;
}
.leader-photo-card{
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-md);
  background:#dbe2ea;
}
.leader-photo-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.leader-photo-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(11,13,17,.05) 18%, rgba(11,13,17,.78) 100%);
}
.leader-photo-card__overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding: .9rem .9rem 1rem;
  z-index:2;
  color:#ffffff;
  transform: translateY(52%);
  opacity:0;
  transition: transform .22s ease, opacity .22s ease;
}
.leader-photo-card:hover .leader-photo-card__overlay,
.leader-photo-card:focus .leader-photo-card__overlay{
  transform: translateY(0);
  opacity:1;
}
.leader-photo-card__overlay h3{
  margin:0 0 .2rem;
  font-size: 1rem;
  line-height:1.22;
  color:#ffffff;
}
.leader-photo-card__overlay p{
  margin:0;
  color: rgba(255,255,255,.88);
  font-size:.9rem;
  line-height:1.35;
}
@media (max-width: 1280px){
  .leadership-photos{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px){
  .leadership-photos{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .leader-photo-card__overlay{
    transform: translateY(0);
    opacity:1;
  }
}
@media (max-width: 520px){
  .leadership-photos{
    grid-template-columns: 1fr;
  }
}
.case-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-sm);
}
.case-tag{
  display:inline-flex;
  padding:.3rem .55rem;
  border-radius:999px;
  background: rgba(10,27,42,.08);
  color: var(--color-text);
  font-weight:700;
  font-size:.85rem;
  margin-bottom:.35rem;
}

/* ABOUT HERO ALT (mia) */
.about-hero__grid.alt{
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.about-hero__panel.alt{
  display:grid;
  gap:.65rem;
  align-content:start;
}
.phase-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: .85rem 1rem;
  box-shadow: var(--shadow-sm);
}
.phase-title{
  font-weight:800;
  margin-bottom:.15rem;
}
.approach-layout{
  max-width: 980px;
  margin: 0 auto;
}
.approach-layout .section-title{
  margin-bottom: 1rem;
}
.approach-timeline{
  position: relative;
  display:grid;
  gap: .9rem;
}
.approach-timeline::before{
  content:"";
  position:absolute;
  left: 22px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(11,13,17,.18) 0%, rgba(11,13,17,.08) 100%);
}
.approach-step{
  position: relative;
  display:grid;
  grid-template-columns: 46px 1fr;
  gap: .9rem;
  align-items:start;
}
.approach-step__index{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0c1016, #151d2a);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  color:#ffffff;
  font-family: var(--font-heading);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .08em;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}
.approach-step__card{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.approach-step__card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,0,0,.1);
}
.approach-step__card h3{
  margin:0 0 .22rem;
  color: var(--color-text);
  font-size: 1.05rem;
}
.approach-step__card p{
  margin:0;
  color: var(--color-muted);
}
@media (max-width: 720px){
  .approach-timeline::before{
    left: 19px;
  }
  .approach-step{
    grid-template-columns: 40px 1fr;
    gap: .75rem;
  }
  .approach-step__index{
    width: 40px;
    height: 40px;
    font-size: .7rem;
  }
}
.stat-row{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap:.35rem;
}
.stat-row div{
  display:flex;
  gap:.35rem;
  align-items:baseline;
}
.stat-row strong{
  font-size:1.4rem;
}
.stat-row span{
  color: var(--color-muted);
}
.about-capabilities{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap:.6rem;
  margin-top: .9rem;
}
.about-capabilities div{
  background: rgba(10,27,42,.06);
  border:1px solid rgba(10,27,42,.08);
  border-radius: var(--radius-md);
  padding:.7rem .8rem;
  font-size:.94rem;
}

/* ABOUT GEO (mia) */
.geo-layout{
  grid-template-columns: 1fr;
}
.who-panel,
.geo-panel{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1rem 1.05rem;
  display:grid;
  gap:.9rem;
  align-content:start;
}
.who-panel{
  grid-template-rows: auto;
}
.who-intro{
  margin-top:.2rem;
}
.who-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}
.who-tags span{
  display:inline-flex;
  align-items:center;
  padding:.32rem .62rem;
  border-radius:999px;
  background: rgba(10,27,42,.08);
  border:1px solid rgba(10,27,42,.12);
  color: var(--color-text);
  font-size:.84rem;
  font-weight:700;
}
.geo-map{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-md);
  background:#ffffff;
}
.geo-map img{
  width:100%;
  height:auto;
  display:block;
}
.geo-map__image{
  width: 52%;
  margin: 0 auto;
}
@media (min-width: 60rem){
  .geo-layout{
    grid-template-columns: 1fr 1fr;
    align-items:stretch;
  }
  .who-panel,
  .geo-panel{
    height:100%;
  }
}

/* VALUES */
.values-grid{
  margin-top: 1.2rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.value-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
}
.value-card h4{
  margin:0 0 .25rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
}
.value-card p{
  margin:0;
  color: var(--color-muted);
  font-size: .95rem;
}

/* VALUES SLIDER */
.values-stack{
  margin-top: 1.2rem;
  display:flex;
  gap:.35rem;
  min-height: 260px;
}
.value-slide{
  position:relative;
  flex: 0 0 80px;
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
  cursor:pointer;
  transition: flex-basis .35s ease, box-shadow .35s ease;
}
.values-stack:not(:hover) .value-slide:first-child{
  flex-basis: min(420px, 100%);
  box-shadow: 0 18px 38px rgba(0,0,0,.15);
}
.value-slide:hover,
.value-slide:focus-within{
  flex-basis: min(420px, 100%);
  box-shadow: 0 18px 38px rgba(0,0,0,.15);
}
.vs-label{
  position:absolute;
  inset:auto 0 0 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  font-weight:800;
  letter-spacing:.05em;
  color: var(--color-muted);
  padding: 1rem .6rem;
  font-size:.9rem;
  opacity:1;
  transition: opacity .25s ease;
}
.vs-content{
  opacity:0;
  transition: opacity .25s ease .08s;
  padding: 1rem 1.1rem;
  display:flex;
  flex-direction:column;
  gap:.35rem;
  height:100%;
  justify-content:center;
}
.value-slide:hover .vs-label,
.value-slide:focus-within .vs-label,
.values-stack:not(:hover) .value-slide:first-child .vs-label{
  opacity:0;
}
.value-slide:hover .vs-content,
.value-slide:focus-within .vs-content,
.values-stack:not(:hover) .value-slide:first-child .vs-content{
  opacity:1;
}
.value-slide h4{
  margin:0;
  font-size: 1.05rem;
  font-weight:800;
  color: var(--color-text);
}
.value-slide p{
  margin:0;
  color: var(--color-muted);
  font-size:.95rem;
}

@media (max-width: 820px){
  .values-stack{
    flex-direction:column;
    min-height: auto;
  }
  .value-slide,
  .value-slide.active,
  .value-slide:hover,
  .value-slide:focus-within{
    flex-basis:auto;
  }
  .vs-label{
    position:static;
    writing-mode: horizontal-tb;
    transform:none;
    padding: .8rem 1rem 0;
  }
  .vs-content{
    opacity:1;
    padding: .6rem 1rem 1rem;
  }
}

/* CONTACT */
.contact-card{
  border-radius: var(--radius-lg);
  border:1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
  background: var(--color-card);
  overflow:hidden;
}
.contact-inner{
  padding: 1.8rem 1.6rem 1.9rem;
  width: 100%;
}
.contact-inner h2{
  margin:0;
  font-size: clamp(1.8rem, 1.3vw + 1.1rem, 2.2rem);
  font-weight: 800;
  color: #f5f6f7;
}
.contact-inner p{ margin:.6rem 0 0; color: #f5f6f7; }

form{
  margin-top: 1.35rem;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: none;
}
@media (max-width: 820px){
  form{ grid-template-columns: 1fr; }
}

label{
  display:block;
  font-size:.92rem;
  font-weight: 700;
  color: #f1f3f7;
  margin-bottom:.35rem;
}
input, select, textarea{
  width:100%;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--color-off-white);
  color: var(--color-text);
  outline:none;
  transition: box-shadow .2s ease, border-color .2s ease, transform .05s ease;
  font-size: 1rem;
}
input::placeholder, textarea::placeholder{ color: rgba(203,213,225,.7); }
input:focus, select:focus, textarea:focus{
  border-color: var(--color-copper);
  box-shadow: 0 0 0 4px rgba(0,0,0,.08);
}
select{
  appearance:none;
  background:
    var(--color-off-white)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="%230B0D11"><path d="M7 10l5 5 5-5z"/></svg>')
    no-repeat right .9rem center;
  padding-right: 2.4rem;
}
select option{ background: #ffffff; color: #0b0d11; }

textarea{
  min-height: 140px;
  resize: vertical;
  grid-column: 1 / -1;
}

.form-row{ grid-column: auto; }
.full{ grid-column: 1 / -1; }
.cf-turnstile{ min-height: 65px; }
.phone-combo{
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0;
}
.phone-combo select,
.phone-combo input{
  min-width: 0;
}
.phone-combo select{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}
.phone-combo input{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
@media (max-width: 560px){
  .phone-combo{
    grid-template-columns: 1fr 2fr;
  }
}

.form-actions{
  grid-column: 1 / -1;
  display:flex;
  align-items:center;
  gap:.8rem;
  flex-wrap:wrap;
  margin-top: .25rem;
}

.success, .error{
  display:none;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: var(--color-off-white);
  font-weight: 700;
}
.success{
  color: #f5f6f7;
  background: var(--color-card);
  border-color: rgba(255,255,255,.14);
}
.error{ color: #c13535; }

.cookie-banner{
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: none;
}
.cookie-banner.is-visible{
  display: block;
}
.cookie-banner__inner{
  max-width: 900px;
  margin: 0 auto;
  background: #0b0d11;
  color: #f5f6f7;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(0,0,0,.3);
  padding: .95rem 1rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text{
  margin: 0;
  font-size: .95rem;
  line-height: 1.4;
}
.cookie-banner__actions{
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}
.cookie-banner__btn{
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 10px;
  background: transparent;
  color: #f5f6f7;
  font-weight: 700;
  padding: .55rem .9rem;
  cursor: pointer;
}
.cookie-banner__btn--accept{
  background: #f5f6f7;
  color: #0b0d11;
  border-color: #f5f6f7;
}
@media (max-width: 720px){
  .cookie-banner__inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CCTV PAGE */
body.cctv-page{
  --cctv-text: var(--color-text);
  --cctv-muted: var(--color-muted);
  --cctv-panel: #ffffff;
  --cctv-stroke: #e4e9f2;
  --cctv-amber: #c7822f;
  background: linear-gradient(180deg, #f0f3f7, #e8ecf3 60%, #f0f3f7);
  color: var(--cctv-text);
}
.hero.cctv-hero{
  /* use default hero styling */
}
.cctv-hero__copy{
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.cctv-hero__copy h1{
  max-width: 18ch;
}
.cctv-hero__copy .lead{
  max-width: 60ch;
  margin-left:auto;
  margin-right:auto;
}
.cctv-hero__copy .hero-actions{
  gap:.65rem;
  justify-content:center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(199,130,47,.12);
  border:1px solid rgba(199,130,47,.35);
  color: #8f5a1f;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .8rem;
}
.hero-pills .pill{
  background: rgba(15,27,46,.05);
  border:1px solid var(--cctv-stroke);
  color: var(--cctv-text);
  font-weight: 700;
}
.btn.tertiary{
  background: transparent;
  border-color: rgba(255,255,255,.8);
  color: #ffffff;
  box-shadow: none;
}
.btn.tertiary:hover{
  border-color: #ffffff;
  color: #ffffff;
}
.cctv-metrics{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .75rem;
  margin-top: 1.4rem;
  max-width: 640px;
}
.metric-card{
  background: #ffffff;
  border:1px solid var(--cctv-stroke);
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
  box-shadow: 0 8px 18px rgba(15,27,46,.05);
}
.metric-card strong{
  display:block;
  font-size: 1.6rem;
  color: var(--cctv-amber);
  letter-spacing: .01em;
}
.metric-card span{
  display:block;
  color: var(--cctv-muted);
  font-weight: 600;
  margin-top: .2rem;
}
.cctv-hero__visual{
  position:relative;
}
/* hero visual removed for clean first screen */

.section-head{
  display:flex;
  flex-direction:column;
  gap:.35rem;
  align-items:flex-start;
}
.section-head h2{
  margin:0;
  color: var(--cctv-text);
  letter-spacing: .01em;
}
.section-head p{
  margin:0;
  color: var(--cctv-muted);
  max-width: 820px;
  font-size: 1rem;
}

.cctv-panels{
  background: #f7f9fc;
  color: var(--cctv-text);
}
.cctv-panel-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}
.panel-card{
  position:relative;
  background: var(--cctv-panel);
  border:1px solid var(--cctv-stroke);
  border-radius: 16px;
  padding: 1.2rem 1.15rem 1.3rem;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(15,27,46,.06);
}
.panel-kicker{
  display:inline-flex;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(199,130,47,.08);
  color: var(--cctv-amber);
  font-weight: 800;
  font-size: .82rem;
  border:1px solid rgba(199,130,47,.28);
}
.panel-card h3{
  margin: .55rem 0 .35rem;
  color: var(--cctv-text);
}
.panel-card p{
  margin:0 0 .7rem;
  color: var(--cctv-muted);
}
.spark-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:.35rem;
  color: var(--cctv-muted);
}
.spark-list li{
  position:relative;
  padding-left: 1.15rem;
  font-weight: 600;
}
.spark-list li::before{
  content:"—";
  position:absolute;
  left:0;
  color: var(--cctv-amber);
}

.cctv-blueprint{
  background: #f7f9fc;
  color: var(--cctv-text);
}
.cctv-blueprint__grid{
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: min(4vw, 48px);
  align-items:center;
}
.blueprint-media{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--cctv-stroke);
  box-shadow: 0 14px 34px rgba(15,27,46,.08);
}
.blueprint-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  min-height: 340px;
  filter: saturate(110%) contrast(102%);
}
.blueprint-overlay{
  position:absolute;
  inset: auto 16px 16px 16px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  border:1px solid var(--cctv-stroke);
  border-radius: 12px;
  padding: .8rem 1rem;
  color: var(--cctv-text);
  font-weight: 700;
  display:grid;
  gap:.25rem;
  box-shadow: 0 12px 28px rgba(15,27,46,.08);
}
.blueprint-copy h2{
  margin: .15rem 0 .5rem;
  color: var(--cctv-text);
}
.cctv-steps{
  counter-reset: step;
  list-style:none;
  padding:0;
  margin: 0 0 1rem;
  display:grid;
  gap:.45rem;
}
.cctv-steps li{
  position:relative;
  padding-left: 2.2rem;
  color: var(--cctv-muted);
  font-weight: 600;
}
.cctv-steps li::before{
  counter-increment: step;
  content: counter(step);
  position:absolute;
  left:0;
  top:.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 12px;
  background: rgba(199,130,47,.16);
  color: var(--cctv-amber);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
}
.cctv-steps strong{
  color: var(--cctv-text);
}
.pill.soft{
  background: rgba(15,27,46,.05);
  border:1px solid var(--cctv-stroke);
  color: var(--cctv-text);
}
.pill-row.small{
  gap:.5rem;
}

.cctv-stack{
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
  color: var(--cctv-text);
}
.stack-logos{
  margin-top: 1.2rem;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .8rem;
}
.stack-logo{
  background: #ffffff;
  border:1px solid var(--cctv-stroke);
  border-radius: 14px;
  padding: .9rem;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 18px rgba(15,27,46,.05);
}
.stack-logo img{
  max-height: 46px;
  max-width: 140px;
  object-fit: contain;
  filter: saturate(105%);
}

.cctv-packages{
  background: #f8fafc;
  color: var(--cctv-text);
}
.package-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}
.package-card{
  background: #ffffff;
  border:1px solid var(--cctv-stroke);
  border-radius: 16px;
  padding: 1.2rem 1.1rem 1.3rem;
  box-shadow: 0 10px 22px rgba(15,27,46,.06);
  display:flex;
  flex-direction:column;
  gap:.65rem;
}
.package-card.accent{
  border-color: rgba(199,130,47,.45);
  box-shadow: 0 12px 28px rgba(199,130,47,.12);
  background: linear-gradient(145deg, rgba(199,130,47,.08), #ffffff);
}
.tag{
  display:inline-flex;
  align-items:center;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: rgba(15,27,46,.05);
  border:1px solid var(--cctv-stroke);
  font-weight: 800;
  color: var(--cctv-text);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
}
.tag.accent{
  background: rgba(199,130,47,.1);
  border-color: rgba(199,130,47,.45);
  color: var(--cctv-text);
}
.package-card h3{
  margin:0;
  color: var(--cctv-text);
}
.package-card p{
  margin:0;
  color: var(--cctv-muted);
}
.package-foot{
  margin-top:auto;
  padding-top: .5rem;
  color: var(--cctv-amber);
  font-weight: 800;
}

.cctv-cta{
  background: #f8fafc;
  color: var(--cctv-text);
}
.cctv-cta__card{
  background: radial-gradient(circle at 12% 30%, rgba(199,130,47,.08), transparent 40%), #ffffff;
  border:1px solid var(--cctv-stroke);
  border-radius: 18px;
  padding: 1.6rem 1.6rem 1.8rem;
  display:flex;
  flex-wrap:wrap;
  gap: 1rem;
  align-items:center;
  justify-content:space-between;
  box-shadow: 0 10px 26px rgba(15,27,46,.08);
}
.cctv-cta__card h3{
  margin: 0 0 .25rem;
  color: var(--cctv-text);
}
.cctv-cta__card p{
  margin:0;
  color: var(--cctv-muted);
  max-width: 620px;
}
.cta-actions{
  display:flex;
  gap:.65rem;
  flex-wrap:wrap;
}

@media (max-width: 980px){
  .cctv-blueprint__grid{
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px){
  .hero.cctv-hero{
    padding: 4.5rem 0 3.5rem;
  }
}

/* FOOTER + MODALS */
footer{
  padding: 2.6rem 0 3rem;
  border-top:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #0a1119 0%, #0c0f15 100%);
  color: rgba(255,255,255,.9);
}
.footer{
  margin-top: 2rem;
}
.footer-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.4rem;
}
.footer-brand p{
  margin: .6rem 0 1rem;
  color: rgba(233,236,241,.85);
}
.footer-logo{
  height: 54px;
  width:auto;
  display:block;
}
.footer-col h4{
  margin:0 0 .5rem;
  font-size: 1.05rem;
  color: #f5f6f7;
  letter-spacing: .01em;
}
.footer-col a{
  display:block;
  color: rgba(233,236,241,.85);
  text-decoration:none;
  margin: .18rem 0;
  font-weight: 600;
}
.footer-col a:hover{ color: #fff; }
.contact-item{
  display:flex;
  align-items:center;
  gap:.5rem;
  color: rgba(233,236,241,.85);
  margin: .25rem 0;
  font-weight:600;
  line-height: 1.35;
}
.contact-icon{
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 1.05rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color: rgba(233,236,241,.95);
}
.contact-icon svg{
  width: 100%;
  height: 100%;
  display:block;
}
.footer-cta{
  margin-top:.3rem;
  display:inline-flex;
}
.footer-bottom{
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.6rem;
  justify-content:flex-end;
}
.legal-links{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
  margin: 0;
}
.legal-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.7rem 1rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.08);
  font-weight: 800;
  color: #fff;
}
.legal-btn:hover{ background: rgba(255,255,255,.12); }
.footer-copy{
  margin:0;
  color: rgba(255,255,255,.75);
}

.modal{ position:fixed; inset:0; display:none; z-index:9999; }
.modal:target{ display:block; }
.modal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.modal__dialog{
  position:relative;
  width: min(860px, calc(100% - 2*var(--spacing)));
  margin: 9vh auto 0;
  max-height: 90vh;
  display:flex;
  flex-direction:column;
  border-radius: 16px;
  border: 1px solid rgba(10,27,42,.12);
  background: #fff;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
  overflow:hidden;
}
.modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(10,27,42,.08);
}
.modal__title{
  margin:0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-navy);
}
.modal__close{
  width:36px; height:36px;
  border-radius:999px;
  display:inline-flex;
  align-items:center; justify-content:center;
  border: 1px solid rgba(10,27,42,.12);
  background: var(--color-off-white);
  font-weight: 900;
  color: var(--color-navy);
}
.modal__close:hover{ background: rgba(194,120,59,.12); border-color: var(--color-copper); }
.modal__body{
  padding: 1rem 1.2rem 1.25rem;
  color: var(--color-text);
  overflow-y: auto;
  max-height: calc(90vh - 70px);
}

.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(194,120,59,.7), transparent);
  margin: 1.4rem 0 0;
  opacity:.9;
}
