/* Dimora del Mare — splash schermata di benvenuto, modulare per Elementor. */
/* Senza JS, con motion ridotto o dopo la prima apertura del tab resta invisibile. */
.site-splash { display: none; }
html.splash-active .site-splash {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #fff;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .65s ease, visibility .65s ease;
}
html.splash-active .site-splash__logo {
  display: block;
  width: clamp(180px, 26vw, 290px);
  height: auto;
  max-width: 68vw;
  object-fit: contain;
  animation: dimoraSplashLogo .85s cubic-bezier(.22,.61,.36,1) both;
}
html.splash-active.splash-leaving .site-splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes dimoraSplashLogo {
  from { opacity: 0; transform: translateY(10px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  html.splash-active .site-splash { display: none !important; }
  html.splash-active .site-splash__logo { animation: none !important; }
}
