/* Complexes & towns page — picture-specific values and the sections only this page has
   (the guard desk in CWard, the town). The other sections live in /shared/css/solution-page.css. */

/* Hero: a daylight courtyard picture, centred on the path between the blocks, easing into the light band */
.vh__img{width:min(78%,1300px);object-position:center center;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 48%,rgba(0,0,0,.82) 60%,rgba(0,0,0,.5) 72%,rgba(0,0,0,.2) 84%,transparent 97%);mask-image:linear-gradient(90deg,#000 0%,#000 48%,rgba(0,0,0,.82) 60%,rgba(0,0,0,.5) 72%,rgba(0,0,0,.2) 84%,transparent 97%)}
@media(max-width:860px){.vh__img{width:100%;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 24%);mask-image:linear-gradient(180deg,transparent 0%,#000 24%)}}

/* Complex map: transparent 3D picture; marker positions are percentages of the picture */
.property-map{--pm-ratio:1448/958}
.pm-marker--units{left:45%;top:35%}
.pm-marker--gate{left:68%;top:57%}
.pm-marker--yard{left:20%;top:58%}
.pm-marker--plant{left:88%;top:40%}
.pm-marker--roof{left:65%;top:17%}

/* Guard desk: three real CWard screens (names blurred) on a dark band, attached to the map above */
.cw{margin-top:0;padding:72px 0 80px;background:radial-gradient(circle at 50% 0%,rgba(16,79,159,.22),transparent 34%),linear-gradient(180deg,#07172f 0%,#061120 100%);color:#fff}
@media(max-width:1040px){.cw{padding:48px 0 56px}}
.cw__inner{width:min(calc(100% - (2 * var(--vs-gutter))),var(--vs-shell));margin-inline:auto;direction:rtl}
.cw__head{max-width:780px;margin:0 auto 40px;text-align:center}
.cw__head h2{margin:0;color:#fff;font-size:clamp(25px,2.35vw,35px);line-height:1.35;font-weight:850;letter-spacing:-.02em}
.cw__head p{margin:12px 0 0;color:rgba(225,235,248,.86);font-size:15px;line-height:1.85;font-weight:700}
.cw__steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.cw-step{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);transition:background-color .2s ease,transform .2s ease}
.cw-step:hover{background:rgba(255,255,255,.11);transform:translateY(-2px)}
/* each screen is shown whole on a white "monitor" so its own white UI does not bleed into the band */
.cw-step__shot{height:260px;margin:14px 14px 0;padding:14px;border-radius:12px;background:#fff;display:flex;align-items:flex-start;justify-content:center;overflow:hidden}
.cw-step__shot img{width:100%;height:100%;object-fit:contain;object-position:top center}
.cw-step__body{padding:18px 20px 22px}
.cw-step__n{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--brand);color:#fff;font-size:14px;font-weight:850}
.cw-step__body h3{margin:12px 0 6px;color:#fff;font-size:17px;font-weight:850;line-height:1.5}
.cw-step__body p{margin:0;color:rgba(225,235,248,.8);font-size:14.5px;line-height:1.85;font-weight:600}
@keyframes cx-rise{from{opacity:0;transform:translateY(14px)}}
@media(prefers-reduced-motion:no-preference){.cw.is-revealed .cw-step{animation:cx-rise .55s cubic-bezier(.22,1,.36,1) backwards;animation-delay:calc(.1s + var(--k) * .1s)}}
@media(max-width:900px){.cw__steps{grid-template-columns:1fr;max-width:520px;margin-inline:auto}}

/* Town: the same model at a larger scale, on the complex's own network */
.cx-town{margin-top:0;padding:80px 0;background:#fff}
@media(max-width:1040px){.cx-town{padding:52px 0}}
.cx-town__inner{width:min(calc(100% - (2 * var(--vs-gutter))),var(--vs-shell));margin-inline:auto;display:grid;grid-template-columns:minmax(0,460px) minmax(0,1fr);gap:56px;align-items:center;direction:rtl}
.cx-town__copy h2{margin:0;color:#0b223f;font-size:clamp(25px,2.35vw,35px);line-height:1.35;font-weight:850;letter-spacing:-.02em}
.cx-town__copy>p{margin:14px 0 22px;color:#45536b;font-size:15px;line-height:1.85;font-weight:700}
.cx-town__points{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.cx-town__points li{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;background:#f3f7fb}
.cx-town__points li>span{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--brand)}
.cx-town__points svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cx-town__points div{display:grid;gap:1px}
.cx-town__points b{color:#0b223f;font-size:15px;font-weight:820}
.cx-town__points small{color:#5f7183;font-size:13px;font-weight:650;line-height:1.7}
.cx-town__media{margin:0;border-radius:22px;overflow:hidden;aspect-ratio:1672/941;box-shadow:0 24px 50px rgba(16,38,74,.2)}
.cx-town__media img{width:100%;height:100%;object-fit:cover}
@media(max-width:1180px){.cx-town__inner{grid-template-columns:1fr;gap:32px}.cx-town__copy{max-width:720px}}

/* Band colours: town (white) > kit (light grey, the shared default) */
