/* Home hero "tap a step to enlarge" modal (owner-approved mockup 2026-11-23, docs/mockups/home-step-zoom).
   The dialog is built by hero-carousel.js and appended to <body>, outside any Blazor component, so these rules must be global (scoped CSS would not reach it). */
.uc-zoom { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 22, 15, .82); display: grid; place-items: center; padding: 1.5rem; animation: uc-zoom-fade .15s ease-out; }
.uc-zoom-dlg { position: relative; width: min(980px, 100%); max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem); display: flex; flex-direction: column; background: #fff; color: #1c2a22; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); outline: none; }
.uc-zoom-pic { background: #eef2ee; display: grid; place-items: center; min-height: 0; flex: 1 1 auto; overflow: hidden; }
.uc-zoom-pic img { display: block; width: 100%; max-height: 52vh; object-fit: contain; background: #fff; }
.uc-zoom-ico { display: grid; place-items: center; padding: 3rem 1rem; font-size: 6rem; line-height: 1; color: #1b3d2a; }
.uc-zoom-body { padding: 1.1rem 1.6rem .4rem; overflow-y: auto; }
.uc-zoom-kick { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4a6a57; margin: 0 0 .3rem; }
.uc-zoom-h { font-size: 1.55rem; line-height: 1.2; font-weight: 700; margin: 0 0 .5rem; color: #12301f; }
.uc-zoom-p { font-size: 1.1rem; line-height: 1.5; margin: 0 0 .6rem; max-width: 62ch; }
.uc-zoom-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.6rem .6rem; }
.uc-zoom-btn { min-height: 44px; min-width: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid #1b3d2a; background: #fff; color: #1b3d2a; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; }
.uc-zoom-btn.is-primary { background: #1b3d2a; color: #fff; }
.uc-zoom-btn[disabled] { opacity: .4; cursor: default; }
.uc-zoom-btn:focus-visible, .uc-zoom-x:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.uc-zoom-dots { display: flex; gap: .55rem; align-items: center; }
.uc-zoom-dots i { width: .7rem; height: .7rem; border-radius: 50%; background: #b9c9bf; display: block; }
.uc-zoom-dots i.on { background: #1b3d2a; }
.uc-zoom-x { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; min-height: 44px; border-radius: 50%; border: 0; background: rgba(18, 36, 25, .8); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; z-index: 2; }
.uc-zoom-hint { font-size: .78rem; color: #5b6f63; text-align: center; padding: 0 1.6rem 1rem; margin: 0; }

@keyframes uc-zoom-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 820px) {
    .uc-zoom { padding: 0; align-items: end; }
    .uc-zoom-dlg { border-radius: 18px 18px 0 0; max-height: 96vh; max-height: 96dvh; }
    .uc-zoom-pic img { max-height: 34vh; }
    .uc-zoom-body { padding: .9rem 1rem .2rem; }
    .uc-zoom-h { font-size: 1.25rem; }
    .uc-zoom-p { font-size: 1.02rem; }
    .uc-zoom-foot { padding: .5rem 1rem 1rem; }
    .uc-zoom-btn { padding: .5rem .8rem; }
    .uc-zoom-hint { display: none; }
}

/* Fade only; none at all when the visitor asks for reduced motion. */
@media (prefers-reduced-motion: reduce) {
    .uc-zoom { animation: none; }
}
