/* Smarter Blinds: photo left, copy + 2x2 boxes right, a white "/" divider (same treatment as the Comfort section) and a phone overlapping it. */
.zsmart{--zm-ink:var(--zip-ink,#14263d);--zm-blue:var(--zip-blue,#0a6cc4);
position:relative;z-index:1;width:100%;min-height:50vw;display:flex;align-items:center;padding:3vw 0;overflow:clip;color:var(--zm-ink);
background:radial-gradient(ellipse 60% 70% at 92% 0%,rgba(190,220,250,.55) 0,rgba(190,220,250,0) 70%),linear-gradient(135deg,#e9f2fc 0,#f4f9fe 100%)}
.zsmart *,.zsmart *::before,.zsmart *::after{box-sizing:border-box}
:where(.zsmart ul,.zsmart li){margin:0;padding:0;list-style:none}

/* left: photo cut on a slant, with a white sliver along the edge */
.zsmart__media{position:absolute;inset:0;z-index:0;pointer-events:none}
.zsmart__edge{position:absolute;inset:0;background:#fff;clip-path:polygon(0 0,47.45% 0,39.45% 100%,0 100%)}
.zsmart__photo{position:absolute;inset:0;overflow:hidden;clip-path:polygon(0 0,47% 0,39% 100%,0 100%);background:#cfe0ef}
.zsmart__photo img{position:absolute;left:0;top:0;width:47%;height:100%;object-fit:cover;object-position:28% center;display:block}
.zsmart__phone{position:absolute;z-index:3;left:24.8%;bottom:-2%;height:61%;width:auto;max-width:25%;object-fit:contain;object-position:left bottom;pointer-events:none;filter:drop-shadow(0 1.2vw 2vw rgba(10,30,60,.28))}

/* right */
.zsmart__content{position:relative;z-index:2;width:50.3%;margin-left:45.7%;text-align:center}
.zsmart .zsmart__title{margin:0 0 1vw;font-size:var(--zip-h3-size);font-weight:700;line-height:1.1;letter-spacing:0;text-transform:uppercase;color:var(--zm-ink)}
.zsmart__line{display:block}
.zsmart__accent{color:var(--zm-blue)}
.zsmart .zsmart__desc{max-width:30em;margin:0 auto 2vw;font-size:clamp(13px,1.111vw,24px);font-weight:400;line-height:1.65;color:var(--zm-ink)}
.zsmart__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:max(10px,1vw);text-align:left}
.zsmart__box{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:max(10px,1vw);row-gap:max(8px,.8vw);padding:max(14px,1.4vw) max(14px,1.5vw);border-radius:max(12px,1.1vw);background:rgba(255,255,255,.92);box-shadow:0 .5vw 1.6vw rgba(20,38,61,.07);transition:transform .3s,box-shadow .3s}
.zsmart__box:hover{transform:translateY(-3px);box-shadow:0 .8vw 2vw rgba(20,38,61,.12)}
.zsmart__ico{display:flex;align-items:center;justify-content:center;width:max(40px,4.4vw);height:max(40px,4.4vw);border-radius:50%;background:#e2eefb;color:var(--zm-ink)}
.zsmart__mask{display:block;width:50%;height:50%;background:currentColor;-webkit-mask:var(--i) center/contain no-repeat;mask:var(--i) center/contain no-repeat}
.zsmart .zsmart__box h4{margin:0;font-size:clamp(14px,1.5vw,28px);font-weight:700;line-height:1.25;letter-spacing:0;text-transform:none;color:var(--zm-ink)}
.zsmart .zsmart__box p{grid-column:1/-1;margin:0;font-size:clamp(12px,1.02vw,19px);font-weight:400;line-height:1.5;color:var(--zm-ink)}

.zsmart.zm-pre [data-zm]{opacity:0}

/* tablet: same layout, tighter type */
@media (max-width:1024px){
.zsmart{padding:28px 0}
.zsmart .zsmart__title{margin-bottom:10px}
.zsmart .zsmart__desc{font-size:16px;margin-bottom:18px}
.zsmart__grid{gap:10px}
.zsmart__box{padding:12px 13px;border-radius:12px;column-gap:10px;row-gap:8px}
.zsmart__ico{width:40px;height:40px}
.zsmart .zsmart__box h4{font-size:14px}
.zsmart .zsmart__box p{font-size:13px}
}
/* mobile: photo on top (slanted bottom), phone overlaps its lower edge, copy below */
@media (max-width:767px){
.zsmart{display:block;min-height:0;padding:0 0 36px}
.zsmart__media{position:relative;inset:auto;height:66vw}
.zsmart__edge{clip-path:polygon(0 0,100% 0,100% 90.5%,0 100%)}
.zsmart__photo{clip-path:polygon(0 0,100% 0,100% 90%,0 99.5%)}
.zsmart__photo img{width:100%;object-position:30% center}
.zsmart__phone{left:auto;right:5%;bottom:auto;top:12vw;height:54vw;max-width:45%}
.zsmart__content{width:auto;margin:0;padding:10vw 15px 0}
.zsmart__grid{grid-template-columns:minmax(0,1fr)}
.zsmart__box{padding:14px}
.zsmart__ico{width:44px;height:44px}
.zsmart .zsmart__box h4{font-size:16px}
.zsmart .zsmart__box p{font-size:13px}
.zsmart .zsmart__desc{font-size:16px}
}

/* tablet + mobile: stacked like the Comfort section - copy on top, photo underneath with the phone over its edge */
@media (max-width:1024px){
.zsmart{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:40px 0 0}
.zsmart__content{order:1;width:auto;margin:0;padding:0 40px}
.zsmart__media{order:2;position:relative;inset:auto;height:56vw;margin-top:36px}
.zsmart__edge{clip-path:polygon(0 8%,100% 0,100% 100%,0 100%)}
.zsmart__photo{clip-path:polygon(0 8.8%,100% .9%,100% 100%,0 100%)}
.zsmart__photo img{width:100%;object-position:center 40%}
.zsmart__phone{left:auto;right:9%;bottom:-2%;top:auto;height:50vw;max-width:34%}
}

/* photo: zooms in and darkens a little on hover (tap on touch screens), contained by its own clip */
.zsmart__photo{pointer-events:auto}
.zsmart__photo img{transition:transform 1s cubic-bezier(.2,.7,.2,1)}
.zsmart__photo::after{content:"";position:absolute;inset:0;background:rgba(8,20,40,.38);opacity:0;transition:opacity .6s ease;pointer-events:none}
.zsmart__photo:hover img{transform:scale(1.07)}
.zsmart__photo:hover::after{opacity:1}
@media (prefers-reduced-motion:reduce){.zsmart__photo img,.zsmart__photo::after{transition:none}}

@media (max-width:767px){
.zsmart{padding-top:28px}
.zsmart__content{padding:0 15px}
.zsmart__media{height:72vw;margin-top:26px}
.zsmart__phone{right:5%;height:58vw;max-width:46%}
}
