/* Hero of the home page with the «Nocturno» layout (the app bar is main's, from site.css).
   The hero itself (photo, indigo overlay, height and drift) is still the one in assets/site.css; this file only
   rearranges what sits on it: the wordmark centred and ringed by thin halos of the double C that turn slowly,
   the three services in a row, the buttons centred, and address, hours and phone on a glass bar.
   Nothing here reacts to the pointer: the hero stays still under the mouse.
   Everything here is prefixed nx- so the rest of the page keeps assets/site.css. */
.hero.nx-spot {
  --nx-text: #f3f1fb;
  --nx-text-2: rgba(243, 241, 251, .64);
  --nx-text-3: rgba(243, 241, 251, .42);
  --nx-line: rgba(243, 241, 251, .1);
  --nx-line-strong: rgba(243, 241, 251, .22);
  --nx-glow: #5b4fd6;
  --nx-star: #f7ea19;
  --nx-out: cubic-bezier(.16, 1, .3, 1);
  --nx-soft: cubic-bezier(.65, 0, .35, 1);
  --nx-gutter: clamp(20px, 4vw, 56px);
  --nx-r: 20px;
  color: var(--nx-text);
}
.nx-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--nx-gutter); }



/* Hero */
.nx-halo { position: absolute; left: 50%; top: 46%; z-index: 0; width: min(118vw, 1020px); height: auto; translate: -50% -50%; pointer-events: none; overflow: visible; }
.nx-halo circle { fill: none; stroke-linecap: round; transform-origin: 400px 400px; }
.nx-halo .h1 { stroke: rgba(243, 241, 251, .12); stroke-width: 1; stroke-dasharray: 72 28; animation: nx-turn 120s linear infinite; }
.nx-halo .h2 { stroke: rgba(247, 234, 25, .32); stroke-width: 1; stroke-dasharray: 58 42; animation: nx-turn 90s linear infinite reverse; }
.nx-halo .h3 { stroke: rgba(243, 241, 251, .14); stroke-width: 1; stroke-dasharray: 80 20; animation: nx-turn 150s linear infinite; }
.nx-inner, .nx-foot { position: relative; z-index: 1; }
.nx-inner { align-self: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; text-align: center; padding-top: 112px; padding-bottom: 32px; }
.nx-wordmark { width: min(86vw, 620px); }
.nx-wordmark .wm { filter: drop-shadow(0 20px 60px rgba(91, 79, 214, .35)); }
.nx-wordmark .wm-star { animation: nx-twinkle 6s var(--nx-soft) 3s infinite; }
.intro .nx-wordmark .wm-star { animation: star-in 1.6s var(--out) .7s both, nx-twinkle 6s var(--nx-soft) 3s infinite; }
.nx-services { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.nx-services li { display: flex; align-items: center; gap: 9px; padding: 0 22px; font: 500 14px/1 var(--display); color: var(--nx-text-2); }
.nx-services li + li { border-left: 1px solid var(--nx-line-strong); }
.nx-services b { font-weight: 500; }
.nx-services .icon { width: 18px; height: 18px; color: var(--nx-star); }
.nx-ctas { justify-content: center; gap: 10px; }
.nx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font: 500 15px/1 var(--display); text-decoration: none; white-space: nowrap; cursor: pointer; }
.nx-btn .icon { width: 18px; height: 18px; }
.nx-btn-star { background: var(--nx-star); color: #14113a; }
.nx-btn-line { border-color: var(--nx-line-strong); color: var(--nx-text); background: rgba(255, 255, 255, .03); }
.nx-foot { padding-bottom: 28px; }
.nx-facts { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr; border: 1px solid var(--nx-line); border-radius: var(--nx-r); background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: hidden; }
.nx-facts > a { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 84px; padding: 16px 26px; color: var(--nx-text); text-decoration: none; }
.nx-facts > a + a { border-left: 1px solid var(--nx-line); }
.nx-facts small { font: 700 10px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--nx-text-3); }
.nx-facts span { font: 400 15px/1.35 var(--display); }
.nx-facts .status .status-text { font-family: var(--display); color: var(--nx-text); }
.nx-facts .status.is-open .dot { background: var(--nx-star); animation: nx-ping 2.4s var(--nx-soft) infinite; }
.nx-facts .nx-address { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
.nx-address .icon { width: 22px; height: 22px; color: var(--nx-star); }
.nx-address b { display: block; font: 400 21px/1.15 var(--serif); }
.nx-address small { display: block; margin-top: 4px; letter-spacing: .14em; }

/* Entrance (the wordmark itself animates through the shared .intro rules of site.css) */
.intro .nx-halo circle { animation-name: nx-turn, nx-halo-in; animation-duration: 120s, 2.6s; animation-timing-function: linear, var(--nx-out); animation-iteration-count: infinite, 1; }
.intro .nx-halo .h2 { animation-duration: 90s, 2.6s; animation-direction: reverse, normal; }
.intro .nx-services { animation: nx-surface 1.4s var(--nx-out) .8s both; }
.intro .nx-ctas > * { animation: nx-surface 1.4s var(--nx-out) .95s both; }
.intro .nx-foot { animation: nx-surface 1.4s var(--nx-out) 1.1s both; }
.intro .nx-facts > * { animation: none; }
@keyframes nx-turn { to { transform: rotate(360deg); } }
@keyframes nx-halo-in { from { stroke-dashoffset: 100; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes nx-surface { from { opacity: 0; filter: blur(10px); transform: translateY(14px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes nx-twinkle { 0%, 88%, 100% { transform: none; } 94% { transform: rotate(18deg) scale(1.08); } }
@keyframes nx-ping { 0% { box-shadow: 0 0 0 0 rgba(247, 234, 25, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(247, 234, 25, 0); } }

@media (max-width: 960px) {
  .nx-facts { grid-template-columns: 1fr 1fr; }
  .nx-facts .nx-address { grid-column: 1 / -1; border-bottom: 1px solid var(--nx-line); }
  .nx-facts > a:nth-child(2) { border-left: 0; }
}
@media (max-width: 760px) {
  .nx-inner { gap: 28px; padding-top: 96px; }
  .nx-wordmark { width: 94%; }
  .nx-halo { width: 150vw; top: 40%; }
  .nx-services li { padding: 0 12px; font-size: 13px; }
  .nx-services li:first-child { padding-left: 0; } .nx-services li:last-child { padding-right: 0; }
  .nx-services .icon { display: none; }
  .nx-ctas { width: 100%; flex-wrap: nowrap; }
  .nx-ctas .nx-btn { flex: 1; padding: 0 14px; }
  .nx-facts > a { padding: 14px 18px; min-height: 72px; }
  .nx-address b { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-halo circle, .nx-wordmark .wm-star, .nx-facts .dot { animation: none !important; }
}

/* main's overlay is darkest on the left and lets the photo show on the right; centred text gets a soft shadow
   so it stays legible over the brighter part of the photo without darkening the background itself */
.hero.nx-spot .nx-services li, .hero.nx-spot .nx-facts > a { text-shadow: 0 1px 12px rgba(21, 17, 61, .7); }
.hero.nx-spot .nx-services li { color: rgba(255, 255, 255, .86); }
.hero.nx-spot .nx-facts { background: rgba(21, 17, 61, .28); }
