.sfx-wall { position: absolute; inset: 0; overflow: hidden; background-size: cover; background-repeat: no-repeat; }
.sfx-under { position: absolute; inset: 0; width: 100%; height: 100%; }
.sfx-row { position: absolute; inset: 0; display: flex; perspective: 1700px; visibility: hidden; }
.sfx-wall.spin .sfx-row { visibility: visible; }
.sfx-slat { position: relative; flex: 1 1 0; height: 100%; transform-style: preserve-3d; will-change: transform; }
.sfx-slat canvas { position: absolute; top: 0; left: -1px; width: calc(100% + 2px); height: 100%; backface-visibility: hidden; }
.sfx-down .sfx-row { flex-direction: column; }
.sfx-down .sfx-slat { width: 100%; height: auto; }
.sfx-down .sfx-slat canvas { top: -1px; left: 0; width: 100%; height: calc(100% + 2px); }

.gfx-hero-wall { filter: brightness(1.15) saturate(1.1); }
/* בנייד: כפתורי הפתיח קטנים יותר, כדי שהבית ייראה */
@media (max-width: 768px) {
  .hero-btns { gap: .6rem; }
  .hero-btns .btn { max-width: 210px; padding: .65rem 1.2rem; font-size: .92rem; }
}
.gfx-photo { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; }

.gfx-flow { display: block !important; position: relative; width: 100vw; margin-inline: calc(50% - 50vw); overflow: hidden; perspective: 1100px; touch-action: pan-y; }
/* חיתוך לרוחב בלבד, כדי שהצל של הכרטיסים לא ייחתך בקו ישר למעלה ולמטה */
@supports (overflow: clip) { .gfx-flow { overflow: visible; overflow-x: clip; } }
.gfx-flow > * { position: absolute !important; top: 12px; left: 11%; width: 78%; margin: 0 !important; transition: transform .85s cubic-bezier(.22,.8,.25,1), opacity .85s, box-shadow .85s; will-change: transform; }
.gfx-flow > .gfx-cur { box-shadow: var(--shadow-lg); }
.gfx-dots { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
.gfx-dots[hidden] { display: none; }
.gfx-dots button { width: 32px; height: 32px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.gfx-dots button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c9d6df; transition: background .3s, width .3s; }
.gfx-dots button[aria-current="true"]::before { width: 22px; border-radius: 6px; background: var(--green); }
.gfx-dots button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.step-num.gfx-spin { animation: gfxCoin 1.1s cubic-bezier(.45,.05,.25,1); }
@keyframes gfxCoin {
  0% { transform: perspective(300px) rotateY(0); }
  50% { background: var(--green); }
  100% { transform: perspective(300px) rotateY(360deg); }
}
