/* NextHome runtime styles (companion to nh.js) */

/* elements with an entrance animation stay hidden until the animation takes over (Wix does the same) */
.nh-js [data-nh-enter]:not([data-nh-played]) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .nh-js [data-nh-enter]:not([data-nh-played]) { visibility: visible; } }

/* Pro Gallery: the inner strip is driven by scrollLeft instead of Wix's transform */
.gallery-horizontal-scroll { scroll-behavior: auto; }
.gallery-horizontal-scroll-inner { transform: none !important; transition: none !important; }
.nav-arrows-container { cursor: pointer; }

/* contact form */
.nh-form-success.nh-show, .nh-form-success.nh-show * { visibility: visible !important; }
.nh-form-status { font: 14px/1.4 Helvetica, Arial, sans-serif; color: #fff; margin-top: 8px; }
.nh-form-status:empty { display: none; }
[data-testid="buttonElement"][aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* mobile menu toggle is a div with role=button */
#MENU_AS_CONTAINER_TOGGLE { cursor: pointer; }

/* company & legal footer added below the original Wix layout (same look as the information pages) */
.nh-foot { position: relative; z-index: 1; background: #000225; border-top: 1px solid rgba(255,255,255,.22); font: 400 14px/1.5 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.nh-foot .in { max-width: 1240px; margin: 0 auto; padding: 28px 24px calc(36px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.5); }
.nh-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.nh-foot a { color: rgba(255,255,255,.72); text-decoration: none; }
.nh-foot a:hover, .nh-foot a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .nh-foot .in { flex-direction: column-reverse; align-items: flex-start; padding-left: 20px; padding-right: 20px; } }
.nh-foot.links-only .in { justify-content: center; padding-top: 22px; }
@media (max-width: 600px) { .nh-foot.links-only .in { align-items: center; } .nh-foot.links-only nav { justify-content: center; gap: 10px 20px; } }

/* picture viewer, Instagram-style: the picture as large as the screen allows, no frame; slim white controls
   that a tap hides. Phones: edge to edge. Computers and tablets: centred on black with side arrows. */
html.nh-lb-open, html.nh-lb-open body { overflow: hidden !important; }
.nh-lb { position: fixed; inset: 0; z-index: 2147483100; background: #000; color: #fff; font: 400 14px/1.35 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overscroll-behavior: contain; }
.nh-lb[hidden] { display: none; }
.nh-lb-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.nh-lb-track, .nh-lb-slide { position: absolute; inset: 0; }
.nh-lb-slide { display: flex; align-items: center; justify-content: center; will-change: transform; }
.nh-lb-slide img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; transform-origin: center; }
.nh-lb-zoomed .nh-lb-stage { cursor: grab; }
.nh-lb-zoomed .nh-lb-stage:active { cursor: grabbing; }
/* controls */
.nh-lb-top, .nh-lb-bottom, .nh-lb-arrow { transition: opacity .25s ease; }
.nh-lb-calm .nh-lb-top, .nh-lb-calm .nh-lb-bottom, .nh-lb-zoomed .nh-lb-bottom, .nh-lb-zoomed .nh-lb-arrow { opacity: 0; pointer-events: none; }
.nh-lb-top { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: calc(env(safe-area-inset-top) + 6px) 8px 24px 16px; background: linear-gradient(rgba(0,0,0,.45), transparent); pointer-events: none; }
.nh-lb-top > * { pointer-events: auto; }
.nh-lb-count { font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; opacity: .85; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.nh-lb-single .nh-lb-count, .nh-lb-single .nh-lb-dots, .nh-lb-single .nh-lb-arrow { display: none !important; }
.nh-lb-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.nh-lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.nh-lb-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nh-lb-arrow { position: absolute; z-index: 2; top: 50%; margin-top: -22px; display: none; background: rgba(255,255,255,.9); color: #111; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.nh-lb-arrow svg { width: 20px; height: 20px; stroke-width: 2.2; filter: none; }
.nh-lb-arrow:hover { background: #fff; }
.nh-lb-prev { left: 20px; } .nh-lb-next { right: 20px; }
.nh-lb-fine .nh-lb-arrow { display: grid; }
.nh-lb-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 20px calc(env(safe-area-inset-bottom) + 18px); background: linear-gradient(transparent, rgba(0,0,0,.6)); pointer-events: none; }
.nh-lb-dots { display: flex; align-items: center; gap: 5px; height: 6px; }
.nh-lb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); transition: background-color .2s, transform .2s; }
.nh-lb-dots i.on { background: #fff; }
.nh-lb-dots i.small { transform: scale(.6); }
.nh-lb-cap { max-width: 640px; text-align: center; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.nh-lb-cap[hidden] { display: none; }
.nh-lb-cap strong { display: block; font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.nh-lb-cap span { display: block; margin-top: 3px; font-size: 13px; opacity: .78; }
/* short screens (phones in landscape): no window padding, captions trimmed to the title */
@media (max-height: 540px) {
  .nh-lb-top { padding-top: 4px; padding-bottom: 12px; }
  .nh-lb-bottom { gap: 6px; padding: 18px 16px 10px; }
  .nh-lb-cap span { display: none; }
  .nh-lb-cap strong { font-size: 14px; }
}
@media (min-width: 600px) and (min-height: 541px) {
  .nh-lb { background: #000; }
  .nh-lb-slide { padding: 56px 88px 96px; }
  .nh-lb-top { padding: 12px 12px 24px 24px; background: none; }
  .nh-lb-bottom { background: none; padding-bottom: 22px; }
  .nh-lb-cap strong { font-size: 16px; }
}

/* phones: page-swipe indicator and first-visit hint */
.nh-swipe-tip { position: fixed; z-index: 2147483000; top: 50%; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(0,2,37,.82); color: #fff; font: 500 14px/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, background-color .15s, border-color .15s; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nh-swipe-tip.right { right: 12px; } .nh-swipe-tip.left { left: 12px; }
.nh-swipe-tip.ready { background: #fff; color: #000225; border-color: #fff; }
.nh-swipe-hint { position: fixed; z-index: 2147483000; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 18px); transform: translateX(-50%); padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.6); background: rgba(0,2,37,.88); color: #fff; font: 400 13px/1.2 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif; white-space: nowrap; pointer-events: none; animation: nh-hint-in .35s ease-out; transition: opacity .5s; }
.nh-swipe-hint.out { opacity: 0; }
@keyframes nh-hint-in { from { opacity: 0; transform: translate(-50%, 10px); } }
