/* AB Security: home page. */

/* hero: a camera frame over the patrol cars above Tbilisi */
.hero { position: relative; display: flex; align-items: flex-start; min-height: min(90vh, 860px); background: var(--ink); color: #fff; overflow: hidden; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 78%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(13, 16, 20, .9) 0%, rgba(13, 16, 20, .78) 42%, rgba(13, 16, 20, .12) 74%, rgba(13, 16, 20, .55) 100%),
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.hero__hud { position: absolute; inset: clamp(12px, 2vw, 24px); z-index: 2; pointer-events: none; font-size: 12px; letter-spacing: .06em; }
.hud { position: absolute; display: flex; align-items: center; padding: 6px 10px; background: rgba(13, 16, 20, .55); color: #fff; }
.hud--tl { top: 12px; left: 12px; }
.hud--tr { top: 12px; right: 12px; }
.hud--br { right: 12px; bottom: 12px; }
.hero__txt { position: relative; z-index: 3; width: 100%; padding-top: clamp(84px, 13vh, 150px); padding-bottom: clamp(220px, 34vh, 360px); }
.hero h1 { max-width: 920px; font-size: clamp(30px, 4.7vw, 64px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
.hero p { max-width: 640px; margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); color: #e4e7eb; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 640px) {
  .hud--tr { display: none; }
  .hero__txt { padding-top: 76px; padding-bottom: 200px; }
  .hero__cta .btn { width: 100%; }
}

/* plan of a protected site */
.plan { padding: clamp(56px, 8vw, 110px) 0; }
.plan__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.plan__stage { border: 1px solid var(--line-d); background: var(--ink-2); }
.plan__svg { width: 100%; height: auto; }
.pl-grid { fill: none; stroke: rgba(255, 255, 255, .045); }
.pl-fence { fill: none; stroke: rgba(255, 255, 255, .34); stroke-width: 2; stroke-dasharray: 7 6; }
.pl-gate { stroke: var(--sky); stroke-width: 4; }
.pl-fov { fill: rgba(234, 29, 36, .1); stroke: rgba(234, 29, 36, .55); stroke-dasharray: 4 4; }
.pl-wall { fill: none; stroke: #f3f1ec; stroke-width: 6; stroke-linecap: square; }
.pl-wall--in { stroke-width: 3; stroke: rgba(243, 241, 236, .7); }
.pl-win { stroke: var(--sky); stroke-width: 6; }
.pl-door { fill: none; stroke: rgba(255, 255, 255, .4); stroke-dasharray: 3 3; }
.pl-room, .pl-cap, .pl-console text { font: 13px var(--mono); fill: rgba(255, 255, 255, .5); text-anchor: middle; }
.pl-console text, .pl-cap { fill: #fff; }
.pl-link { fill: none; stroke: rgba(255, 255, 255, .2); stroke-width: 2; stroke-dasharray: 1.2 1.6; }
.pl-link.is-live { stroke: var(--red); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1s linear forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pl-route { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; stroke-dasharray: 2 7; }
.pl-console rect { fill: var(--ink); stroke: rgba(255, 255, 255, .45); stroke-width: 2; }
.pl-console path { fill: rgba(61, 220, 132, .22); stroke: rgba(61, 220, 132, .6); }
.pl-console.is-live rect { stroke: var(--red); }
.pl-console.is-live path { fill: rgba(234, 29, 36, .3); stroke: var(--red); animation: blink 1s steps(2, start) infinite; }
.pl-car rect { fill: #f3f1ec; }
.pl-car .pl-car__bar { fill: var(--red); }
.pl-console__alarm { opacity: 0; }
.pl-console.is-live .pl-console__alarm { opacity: 1; animation: blink 1s steps(2, start) infinite; }
.pl-lit { opacity: 0; }
.pl-car.is-go .pl-lit--r { animation: beam .56s steps(1) infinite; }
.pl-car.is-go .pl-lit--b { animation: beam .56s steps(1) -.28s infinite; }
.pl-intruder { opacity: 0; pointer-events: none; }
.pl-intruder.is-on { opacity: 1; animation: creep .9s ease-out; }
@keyframes creep { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.pl-smoke { pointer-events: none; }
.pl-smoke image { opacity: 0; transform-box: fill-box; transform-origin: center; }
.pl-smoke.is-on image { animation: puff 2.7s linear infinite; }
.pl-smoke.is-on image:nth-child(2) { animation-delay: .9s; }
.pl-smoke.is-on image:nth-child(3) { animation-delay: 1.8s; }
@keyframes puff { 0% { opacity: 0; transform: scale(.92); } 8% { opacity: .85; } 33% { opacity: .85; transform: scale(1); } 42%, 100% { opacity: 0; transform: scale(1.04); } }
.pl-beam { opacity: 0; filter: blur(2px); }
.pl-beam--r { fill: #ff2a32; }
.pl-beam--b { fill: #2f7bff; }
.pl-car.is-go .pl-beam--r { animation: beam .56s steps(1) infinite; }
.pl-car.is-go .pl-beam--b { animation: beam .56s steps(1) -.28s infinite; }
@keyframes beam { 0% { opacity: .95; } 50%, 100% { opacity: 0; } }
.pt { cursor: pointer; }
.pt__halo { fill: transparent; }
.pt__dot { fill: var(--ink); stroke: #fff; stroke-width: 2; transition: fill .15s, stroke .15s; }
.pt__n { font: 500 12px var(--mono); fill: #fff; text-anchor: middle; pointer-events: none; }
.pt:hover .pt__dot, .pt:focus-visible .pt__dot { stroke: var(--red); }
.pt:focus { outline: none; }
.pt.is-on .pt__dot { fill: var(--red); stroke: var(--red); }
.pt.is-on .pt__halo { fill: rgba(234, 29, 36, .18); }
.pt.is-alarm .pt__dot { fill: var(--red); stroke: #fff; }
.pt.is-alarm .pt__halo { fill: rgba(234, 29, 36, .35); animation: pulse .8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .3; } }

.plan__side { display: grid; gap: 18px; }
.plan__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; border: 1px solid var(--line-d); border-radius: 2px; background: transparent; color: #d9dde2; font-size: 13px; text-align: left; }
.chip b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; font-size: 11px; font-weight: 500; }
.chip:hover { border-color: #fff; color: #fff; }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.plan__card { min-height: 190px; padding: 20px; border: 1px solid var(--line-d); background: var(--ink-2); }
.plan__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.plan__dev { flex: none; width: 112px; height: 112px; object-fit: contain; margin: -8px -6px -8px 0; }
.plan__card h3 { font-size: 20px; line-height: 1.25; }
.plan__card p { margin-top: 8px; color: #c3c9d1; }
.plan__shop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-d); font-size: 13px; color: var(--mut-d); }
.plan__shop b { color: #fff; font-weight: 500; }
.plan__shop a { margin-left: auto; color: #fff; font-family: var(--sans); font-weight: 700; font-size: 14px; }
.plan__alarm h3 { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--mut-d); margin-bottom: 10px; }
.plan__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.plan__log { display: grid; gap: 6px; margin-top: 14px; padding: 14px; min-height: 148px; align-content: start; background: #07090c; border: 1px solid var(--line-d); font-size: 12.5px; line-height: 1.5; color: #c3c9d1; }
.plan__log li { display: grid; grid-template-columns: 66px 1fr; gap: 8px; }
.plan__log li::before { content: attr(data-t); color: var(--mut-d); }
.plan__log li.is-ok { color: var(--ok); }
.plan__log li.is-idle { grid-template-columns: 1fr; }
.plan__log li.is-idle::before { content: none; }
.plan__log li.is-red { color: #ff8a8e; }
@media (max-width: 980px) { .plan__grid { grid-template-columns: 1fr; } .plan__alarm { order: -1; } .plan__log { min-height: 0; } }
@media (max-width: 560px) { .plan__dev { width: 84px; height: 84px; } .pl-room { font-size: 17px; } .pl-cap, .pl-console text { font-size: 16px; } .pt__n { font-size: 15px; } .pt__dot { r: 15px; } }

/* services */
.svc { padding: clamp(56px, 8vw, 110px) 0; }
.svc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; margin-bottom: 32px; }
.svc__list { border-top: 1px solid var(--line); }
.svc__item { display: block; width: 100%; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; }
.svc__t { display: flex; justify-content: space-between; gap: 16px; font-size: clamp(18px, 1.9vw, 24px); font-weight: 700; line-height: 1.25; color: var(--mut); transition: color .15s; }
.svc__t::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--mut); }
.svc__item:hover .svc__t { color: var(--text); }
.svc__item.is-on .svc__t { color: var(--text); }
.svc__item.is-on .svc__t::after { content: "–"; color: var(--red); }
.svc__p { display: none; max-width: 56ch; margin-top: 10px; color: var(--mut); }
.svc__item.is-on .svc__p { display: block; }
.svc__view { position: sticky; top: 92px; background: var(--ink); }
.svc__view img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.svc__view figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; padding: 6px 10px; background: rgba(13, 16, 20, .7); color: #fff; font-size: 12px; }
@media (max-width: 860px) { .svc__grid { grid-template-columns: 1fr; } .svc__view { position: relative; top: 0; order: -1; } }

/* shop preview */
.shp { padding: clamp(56px, 8vw, 110px) 0; background: #fff; }
.shp__rows { border-top: 2px solid var(--ink); margin-bottom: 44px; }
.srow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) 70px 28px; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s, padding .15s; }
.srow__n { font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; line-height: 1.25; }
.srow__s { color: var(--mut); font-size: 15px; }
.srow__c { text-align: right; color: var(--mut); }
.srow__a { font-size: 20px; text-align: right; transition: transform .15s; }
.srow:hover { background: var(--paper); padding-left: 12px; padding-right: 12px; }
.srow:hover .srow__n { color: var(--red); }
.srow:hover .srow__a { transform: translateX(4px); }
.shp__h3 { font: 500 12px var(--mono); letter-spacing: .08em; color: var(--mut); margin-bottom: 14px; }
.shp .grid { margin-bottom: 28px; }
@media (max-width: 640px) { .srow { grid-template-columns: 1fr 56px 22px; } .srow__s { grid-column: 1 / -1; grid-row: 2; font-size: 14px; } }

/* company */
.abt { padding: clamp(56px, 8vw, 110px) 0; }
.abt__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.abt__txt { display: grid; gap: 16px; font-size: clamp(16px, 1.5vw, 19px); color: #e4e7eb; }
.abt__group { display: grid; gap: 4px; font-size: 15px; color: #c3c9d1; }
.abt__group span { font-size: 12px; letter-spacing: .08em; color: var(--mut-d); }
.abt__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.abt__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--line-d); }
.fact { padding: 22px 22px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line-d); }
.fact dt { font-weight: 700; font-size: 17px; line-height: 1.3; }
.fact dd { margin-top: 8px; font-size: 14px; color: #c3c9d1; }
@media (max-width: 860px) {
  .abt__grid { grid-template-columns: 1fr; }
  .abt__facts { grid-template-columns: 1fr 1fr; }
  .fact, .fact + .fact { padding: 18px 16px 18px 0; border-left: 0; border-bottom: 1px solid var(--line-d); }
}
@media (max-width: 480px) { .abt__facts { grid-template-columns: 1fr; } }

/* contact */
.cnt { padding: clamp(56px, 8vw, 110px) 0; }
.cnt__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.cnt__list { display: grid; gap: 26px; }
.cnt__list dt { font-size: 12px; letter-spacing: .08em; color: var(--mut); margin-bottom: 6px; }
.cnt__list dd { font-size: 19px; }
.cnt__list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.cnt__list a:hover { border-color: var(--red); color: var(--red); }
.cnt__tel { font-size: clamp(28px, 4vw, 46px); font-weight: 500; letter-spacing: -.02em; border: 0 !important; }
@media (max-width: 860px) { .cnt__grid { grid-template-columns: 1fr; } .cnt__list { order: -1; } }

/* questions */
.faq { padding: clamp(56px, 8vw, 110px) 0 0; }
.faq__list { max-width: 860px; border-top: 2px solid var(--ink); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__i summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: clamp(17px, 1.7vw, 20px); font-weight: 700; line-height: 1.3; cursor: pointer; list-style: none; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--mut); }
.faq__i[open] summary::after { content: "–"; color: var(--red); }
.faq__i p { max-width: 70ch; padding: 0 0 20px; color: var(--mut); }
