/* ===== CURSORE DI SISTEMA ===== */

*, *::before, *::after {
  cursor: default !important;
}

p, span, div, h1, h2, h3, h4, h5, h6,
li, td, th, strong, em, small, section, article, header, footer {
  cursor: default !important;
}

a, a *, button, button *,
input[type="submit"], input[type="button"], label,
[role="button"], .nectar-button, .nectar-button * {
  cursor: pointer !important;
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  cursor: text !important;
}

/* ===== SPAZIO HEADER: bloccato all'altezza reale ===== */

#header-space,
#header-space.calculated {
  height: 91px !important;
  min-height: 91px !important;
}

/* ===== HEADER A PILLOLA ===== */

#header-outer,
#header-outer.detached,
#header-outer.scrolled-down,
#header-outer.transparent {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  padding-top: 24px !important;
}

.header-outer__gradient-blur-wrapper,
#header-outer .header-outer__gradient-blur-wrapper,
#header-outer::before,
#header-outer::after,
#header-outer .bg-color-stripe,
#header-outer #header-secondary-outer,
#header-outer .nectar-header-bg {
  display: none !important;
  background: none !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0 !important;
}

#header-outer header#top {
  background: transparent !important;
  background-image: none !important;
}

#header-outer header#top .container {
  background: rgba(20,20,20,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  height: 67px !important;
  display: flex !important;
  align-items: center;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 24px !important;
  padding-right: 12px !important;
  width: calc(100% - 48px) !important;
  max-width: calc(100% - 48px) !important;
  margin: 0 auto !important;
  transition: width .7s cubic-bezier(.22,1,.36,1);
}

body.u9-scrolled #header-outer header#top .container {
  width: 900px !important;
}

#header-outer header#top .container .row {
  width: 100%;
}

/* ===== MENU: pulsanti a pillola ===== */

#header-outer header#top nav > ul.sf-menu {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

#header-outer header#top nav > ul > li {
  margin: 0 !important;
  padding: 0 !important;
}

#header-outer header#top nav > ul > li > a {
  padding: 0 !important;
  margin: 0 !important;
}

#header-outer header#top nav > ul > li > a .menu-title-text {
  display: inline-block;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  padding: 12px 24px;
  border: 3px solid #ffffff;
  border-radius: 100px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background .3s ease, color .3s ease;
}

#header-outer header#top nav > ul > li > a .menu-title-text::after,
#header-outer header#top nav > ul > li > a .menu-title-text::before {
  display: none !important;
}

#header-outer header#top nav > ul > li > a:hover .menu-title-text,
#header-outer header#top nav > ul > li.current-menu-item > a .menu-title-text,
#header-outer header#top nav > ul > li.current-menu-ancestor > a .menu-title-text,
#header-outer header#top nav > ul > li.current-menu-parent > a .menu-title-text {
  background: #ffffff;
  color: #000000 !important;
}

/* ===== SOTTOLINEATURE VERDI ===== */

.container-wrap u,
.wpb_text_column u,
.container-wrap a,
.wpb_text_column a,
.container-wrap h1, .container-wrap h2, .container-wrap h3,
.container-wrap h4, .container-wrap h5, .container-wrap h6 {
  text-decoration-color: #d2ff03 !important;
  -webkit-text-decoration-color: #d2ff03 !important;
  border-bottom-color: #d2ff03 !important;
}

.container-wrap a:hover,
.wpb_text_column a:hover {
  color: #d2ff03 !important;
}

/* ===== SOLE / LUNA ===== */

#u9-sky {
  line-height: 1;
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
}

#u9-sky svg {
  width: 18px;
  height: 18px;
  display: block;
}

#u9-sky svg path,
#u9-sky svg circle,
#u9-sky svg rect {
  fill: #d2ff03 !important;
  stroke: none !important;
}

/* ===== NUMERI DEI SERVIZI ===== */

.u9-num {
  color: #d2ff03 !important;
}

/* ===== CURSORE PERSONALIZZATO ===== */

#u9-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: #d2ff03;
  border: none;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  mix-blend-mode: difference;
  transition: width 1.2s cubic-bezier(.22,1,.36,1),
              height 1.2s cubic-bezier(.22,1,.36,1),
              background 1.2s,
              border 1.2s,
              backdrop-filter 1.2s;
}

#u9-cursor span {
  opacity: 0;
  color: #ffffff;
  text-align: center;
  transition: opacity .5s;
}

#u9-cursor.big {
  width: 50px;
  height: 50px;
}

#u9-cursor.hover {
  width: 120px;
  height: 120px;
  background: rgba(210,255,3,0.08);
  border: 3px solid #d2ff03;
  mix-blend-mode: normal;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

#u9-cursor.hover span { opacity: 1; }

.portfolio-items *,
.nectar-post-grid *,
article a,
article a * {
  cursor: none !important;
}

/* ===== OROLOGIO ===== */

.u9-clock { text-align: right; }

/* ===== BARRA FISSA IN BASSO ===== */

#u9-bar {
  position: fixed;
  bottom: 29px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 24px;
  background: rgba(20,20,20,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-radius: 100px;
  font-family: 'Instrument Sans', sans-serif;
  z-index: 9998;
  opacity: 1;
  pointer-events: auto;
  contain: layout paint;
  will-change: transform;
  transition: opacity .28s ease;
}

#u9-bar .u9-logo {
  color: #d2ff03;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  line-height: 1;
  margin-right: 12px;
}

#u9-bar .u9-cta {
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  padding: 12px 24px;
  border: 3px solid #fff;
  border-radius: 100px;
  box-sizing: border-box;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  contain: layout;
  will-change: max-width, opacity;
  transition: opacity .3s, max-width .5s cubic-bezier(.22,1,.36,1), padding .5s, border-width .5s;
}

#u9-bar .u9-cta:hover { opacity: .75; }

#u9-bar.landed .u9-cta {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  border-width: 0;
  opacity: 0;
  pointer-events: none;
}

#u9-bar .u9-ultra {
  background: transparent;
  color: #d2ff03;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  padding: 12px 24px;
  border: 3px solid #d2ff03;
  border-radius: 100px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background .4s ease, color .4s ease;
}

#u9-bar .u9-ultra:hover {
  background: #d2ff03;
  color: #000;
}

#u9-bar .u9-extra {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  contain: layout;
  will-change: max-width, opacity;
  transition: max-width .6s cubic-bezier(.22,1,.36,1), opacity .4s ease;
}

#u9-bar.landed .u9-extra {
  max-width: 560px;
  opacity: 1;
}

#u9-bar .u9-extra a {
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  padding: 12px 24px;
  border: 3px solid #ffffff;
  border-radius: 100px;
  box-sizing: border-box;
  white-space: nowrap;
  transition: background .3s, color .3s;
}

#u9-bar .u9-extra a:hover {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 1000px) {
  #u9-cursor { display: none; }
  #u9-bar { display: none; }
  #header-outer { padding-top: 0 !important; }
  #header-outer header#top .container,
  body.u9-scrolled #header-outer header#top .container {
    border-radius: 0;
    height: auto !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  #header-space,
  #header-space.calculated {
    height: auto !important;
    min-height: 0 !important;
  }
}
#ajax-content-wrap {
  overflow: hidden;
}