/* ==============================================
   1. REGOLE BASE & SMOOTH SCROLL (Fondamentale)
   ============================================== */
html {
    scroll-behavior: smooth !important; /* Forza lo scorrimento dolce */
}

/* Regole di offset per non finire sotto al menu */
#about, #rooms, #gallery, #amenities, #contact, #booking,
#aria_di_mare, #aria_di_sale, #contacts, .section-contacts {
    scroll-margin-top: 120px;
}

a.animated_link,
main {
  position: relative;
}
#preloader,
header {
  width: 100%;
  position: fixed;
  top: 0;
}
.btn_1,
.chat-footer a,
a,
a.animated_link,
a.btn_1,
a:focus,
a:hover {
  text-decoration: none;
}
.layer,
.slide-animated {
  visibility: hidden;
  opacity: 0;
}
.carousel_item_centered .owl-item,
.carousel_item_centered_rooms .owl-item,
a.box_cat_rooms .info {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
}
.title small,
a.box_cat_rooms .info small {
  font-size: 0.75rem;
  text-transform: uppercase;
}
.box_item_info small,
.custom_badge,
.hero .wrapper small,
.slide-text h2,
.slide-text h3,
.slide-text small,
.title small,
a.box_cat_rooms .info small {
  text-transform: uppercase;
}
@keyframes background {
  0% {
    top: 0;
  }
  100% {
    top: -100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth; /* Rinforzo */
  }
}
#preloader {
  left: 0;
  right: 0;
  height: 100%;
  background-color: #292b33;
  z-index: 99999999999 !important;
  overflow: hidden;
}
#preloader.loaded {
  animation: 0.65s cubic-bezier(0.785, 0.135, 0.15, 0.86) forwards background;
  transition-delay: 1s;
}
[data-loader="circle-side"] {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
  animation: 0.95s linear infinite circle;
  border: 2px solid #111;
  border-top-color: rgba(255, 255, 255, 0.2);
  border-right-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}
@keyframes circle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
html * {
  -webkit-font-smoothing: antialiased;
}

/* FIX TOTALE PER BORDO BIANCO LATERALE */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

body {
  background: #faf8f5;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-family: Montserrat, Helvetica, sans-serif;
  color: #333;
  position: relative; /* Aiuta a contenere gli elementi che sbordano */
}
main {
  z-index: 2;
  background-color: #faf8f5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.hero .wrapper p strong,
.title small,
h3,
h4,
h5,
h6,
strong {
  font-weight: 600;
}
.form-group,
p {
  margin-bottom: 25px;
}
p.lead strong {
  font-weight: 500;
}
hr {
  margin: 30px 0;
  border-color: #d9e1e6;
  opacity: 1;
}
hr.more_margin {
  margin: 60px 0;
}
a {
  color: #978667;
  transition: 0.3s ease-in-out;
  outline: 0;
}
a:focus,
a:hover {
  color: #24262d;
  outline: 0;
}
.title small {
  color: #978667;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 5px;
}
.title h2,
.title h3 {
  font-weight: 700;
  font-size: 2.375rem;
  margin-bottom: 15px;

  /* --- FIX PER PAROLE LUNGHE (TEDESCO) --- */
  overflow-wrap: break-word; /* Spezza la parola se necessario */
  hyphens: auto;             /* Aggiunge il trattino automaticamente in base alla lingua */
}
.title h3 {
  font-size: 1.9375rem;
}
.title.center {
  text-align: center;
}
.title.white small {
  color: #ebd7b2;
  opacity: 0.8;
}

.box_facilities.white h3,
.hero,
.slide-text.white,
.slide-text.white h2,
.slide-text.white h3,
.title.white h2,
.title.white h3,
header.fixed_header nav ul li a,
header.fixed_header.sticky nav ul li a.btn_1 {
  color: #fff;
}
.slide-animated {
  transform: translateY(20px);
  transition: 50ms;
}
.is-transitioned .slide-animated {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: 0.5s;
}
.is-transitioned .slide-animated.one {
  transition-delay: 0.5s;
}
.is-transitioned .slide-animated.two {
  transition-delay: 0.7s;
}
.is-transitioned .slide-animated.three {
  transition-delay: 0.9s;
}
.is-transitioned .slide-animated.four {
  transition-delay: 2.5s;
}
.btn_1,
a.btn_1 {
  border: none;
  background: #978667;
  outline: 0;
  display: inline-flex;
  padding: 14px 25px;
  transition: 0.3s ease-in-out;
  border-radius: 25px;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#carousel-home .cover,
.background-image {
  background-size: cover;
  background-repeat: no-repeat;
  left: 0;
}
.bg_color_1,
.btn_1:hover,
a.btn_1:hover {
  background-color: #4b514d;
}
.btn_1.inverse,
a.btn_1.inverse {
  background-color: #fff;
  color: #333;
}
.btn_1.full-width,
a.btn_1.full-width {
  width: 100%;
  text-align: center;
}
.btn_1.outline,
a.btn_1.outline {
  background-color: transparent;
  border: 2px solid #24262d;
  color: #24262d;
}
.btn_1.outline.white,
a.btn_1.outline.white {
  border-color: #fff;
  color: #fff;
}
.btn_1.outline:hover,
a.btn_1.outline:hover {
  background-color: #4b514d;
  border: 2px solid transparent;
  color: #fff;
}
a.animated_link::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #24262d;
  transform: scaleX(0);
  transform-origin: top left;
  transition: transform 0.3s;
}
a.animated_link.active::before,
a.animated_link:hover::before {
  transform: scaleX(1);
}
.lang_wp {
  position: absolute;
  right: 30px;
  bottom: 100px;
  text-align: right;
  z-index: 99999;
}
.box_facilities,
.chat-footer,
.copy {
  text-align: center;
}
header {
  padding: 20px 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0);
  transition: 0.3s;
  z-index: 999;
}
.menu_v1 .closebt,
.menu_v1 .hamburger_2,
.menu_v1 .layer,
header .logo_sticky,
header.fixed_header.sticky .logo_normal {
  display: none;
}
.hamburger_2,
.social ul li,
header nav ul li,
header.fixed_header.sticky .logo_sticky {
  display: inline-block;
}
header .logo_normal,
span[data-jarallax-element] {
  display: block;
}
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}
header nav ul li {
  font-weight: 600;
  margin-left: 25px;
}
header nav ul li:first-child {
  margin-left: 0;
}
.bg_white,
header.fixed_header nav ul li a.animated_link::before {
  background-color: #fff;
}
header.fixed_header.sticky {
  transition: 0.3s ease-in-out;
  border-bottom: 1px solid #d9e1e6;
  background-color: #fff;
}
.box_item_info .box_item_footer a.animated_link,
header.fixed_header.sticky nav ul li a {
  color: #333;
}
.headroom--not-top .hamburger__inner,
.headroom--not-top .hamburger__inner::after,
.headroom--not-top .hamburger__inner::before,
header.fixed_header.sticky .hamburger__inner,
header.fixed_header.sticky .hamburger__inner::after,
header.fixed_header.sticky .hamburger__inner::before,
header.fixed_header.sticky nav ul li a.animated_link::before {
  background-color: #333;
}
.hamburger_2 {
  position: relative;
  top: 8px;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s linear, filter 0.15s linear;
  font: inherit;
  color: inherit;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible;
}
.hamburger_2 .hamburger__box {
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
}
.hamburger_2 .hamburger__inner {
  display: block;
  top: 50%;
  margin-top: -2px;
}
.hamburger_2 .hamburger__inner,
.hamburger_2 .hamburger__inner::after,
.hamburger_2 .hamburger__inner::before {
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 0;
  position: absolute;
  transition: transform 0.15s;
}
.hamburger_2 .hamburger__inner::before {
  top: -8px;
}
.hamburger_2 .hamburger__inner::after {
  bottom: -8px;
}
@keyframes burger {
  0%,
  100% {
    transform-origin: 0 100%;
    transform: scale(1, 1);
  }
  50% {
    transform-origin: 0 100%;
    transform: scale(0, 1);
  }
}
.closebt {
  transition: 0.3s ease-in-out;
  cursor: pointer;
  color: #ccc;
  position: absolute;
  right: 25px;
  top: 0;
}
.closebt i {
  font-size: 42px;
}
.closebt:hover {
  transform: rotate(90deg);
  opacity: 1;
}
.menu_v1 .hamburger_2 {
  top: 5px;
}
@media only screen and (max-width: 991px) {
  .main-menu {
    overflow-y: scroll;
    transform: translateX(102%);
    position: fixed;
    z-index: 99999;
    background-color: #fff;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }
  .main-menu.show {
    transform: translateX(0);
  }
  .main-menu #mainNav {
    padding: 30px;
  }
  .main-menu #mainNav ul {
    text-align: left;
  }
  .main-menu #mainNav ul li {
    display: block;
    margin: 0;
  }
  .main-menu #mainNav ul li a {
    display: block;
    color: #333;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    margin: 0 0 10px;
  }
  .main-menu #mainNav ul li a:before {
    display: none;
  }
  .main-menu #mainNav ul li a.active,
  .main-menu #mainNav ul li a:hover {
    color: #978667;
  }
  .main-menu #mainNav ul li a.btn_1 {
    background-color: transparent;
  }
}
.whatsapp-chat,
.whatsapp-icon {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.opacity-mask {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
.background-image {
  background-position: center center;
  transition: 0.5s;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.jarallax {
  position: relative;
  z-index: 0;
}
.jarallax > .jarallax-img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.kenburns .owl-item.active .item img,
img.jarallax-img.kenburns {
  transform-origin: 50% 50%;
  animation: 15s linear forwards kenburns;
  transition: transform 1s ease-in-out;
}
@keyframes kenburns {
  0% {
    transform: scale3d(1.4, 1.4, 1.4) translate3d(-5%, -2%, 0);
  }
  100% {
    transform: scale3d(1.25, 1.25, 1.25) translate3d(0, 0, 0);
  }
}
img.jarallax-img.kenburns-2 {
  transform-origin: 50% 50%;
  animation: 10s linear forwards kenburns;
  transition: transform 1s ease-in-out;
}
.hero.full-height {
  height: 100vh;
}
.hero.medium-height {
  height: 70vh;
}
.hero.small-height {
  height: 60vh;
}
.hero .wrapper {
  text-align: left;
  height: 100%;
}
.hero .wrapper small {
  letter-spacing: 3px;
  display: block;
  margin-bottom: 10px;
  color: #ebd7b2;
  font-weight: 600;
}
.hero .wrapper h1,
.hero .wrapper h3 {
  color: #fff;
  font-size: 3.1875rem;
  margin: 0 0 10px;
  font-weight: 700;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  header {
    padding: 15px 0;
  }
  .hero.full-height {
    height: 87vh;
  }
  .hero .wrapper h1,
  .hero .wrapper h3 {
    font-size: 2.25rem;
  }
}
.hero .wrapper p {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 0;
}
.parallax_section_1 {
  height: 70vh;
  overflow: hidden;
}
.copy {
  color: #fff;
  padding: 25px 0;
  background-color: #1f2127;
  font-size: 0.8125rem;
}
.social ul {
  display: block;
  list-style: none;
  margin: 0 0 25px;
  padding: 0;
}
.social ul li {
  margin: 0 5px;
}
.social ul li a {
  display: block;
  color: #333;
  opacity: 0.7;
}
.social ul li a:hover {
  color: #978667;
  opacity: 1;
}
.box_facilities h3,
.slide-text p,
.social ul li a i {
  font-size: 1.3125rem;
}
.styled-select {
  max-width: 180px;
  overflow: hidden;
  height: 40px;
  line-height: 40px;
  border: none;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  padding-right: 35px;
  position: relative;
}
.styled-select.lang-selector:after {
  font-family: bootstrap-icons;
  content: "\F3EE";
  color: #fff;
  position: absolute;
  right: 15px;
  top: 0;
}
.styled-select select {
  background: 0 0;
  width: 110%;
  padding-left: 15px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: 30px;
  color: #ccc;
  font-size: 0.8125rem;
  font-weight: 500;
  appearance: none;
  cursor: pointer;
  outline: 0;
}
.styled-select select:focus {
  color: #fff;
  outline: 0;
  box-shadow: none;
}
.styled-select select::-ms-expand {
  display: none;
}
.styled-select.lang-selector select option {
  color: #555;
}
.layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
  min-height: 100%;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.35);
  transition: 0.1s;
}
.layer-is-visible {
  opacity: 1;
  visibility: visible;
}
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.whatsapp-icon {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.whatsapp-icon img {
  width: 35px;
  height: 35px;
}
.whatsapp-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  display: none;
  flex-direction: column;
}
.chat-footer a,
.chat-header {
  background: #25d366;
  color: #fff;
}
.chat-header {
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header .close-btn {
  background: 0 0;
  border: none;
  cursor: pointer;
}
.chat-header .close-btn svg {
  width: 20px;
  height: 20px;
}
.chat-body {
  padding: 10px;
  color: #333;
}
.chat-footer {
  padding: 10px;
}
.chat-footer a {
  padding: 10px 20px;
  border-radius: 5px;
}
.box_overlay,
a.box_cat_rooms {
  position: relative;
  border-radius: 10px;
}
.chat-footer a:hover {
  background: #1eb24d;
}
.intro em {
  font-family: Caveat, cursive;
  font-size: 2rem;
  font-style: normal;
  color: #555;
}
#carousel-home,
#carousel-home .owl-carousel {
  position: relative;
}
#carousel-home .static {
  position: static;
}
#carousel-home .cover {
  background-position: center;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  max-height: none !important;
  z-index: 2;
  opacity: 1 !important;
}
#carousel-home .owl-carousel .owl-slide {
  height: 100vh;
  position: relative;
}
#carousel-home .owl-carousel .owl-slide-animated {
  -webkit-transform: translateY(20px);
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -o-transform: translateY(20px);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  -moz-transition: 50ms;
  -o-transition: 50ms;
  -webkit-transition: 50ms;
  -ms-transition: 50ms;
  transition: 50ms;
}
#carousel-home .owl-carousel .owl-slide-animated.is-transitioned {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  opacity: 1;
  visibility: visible;
  -moz-transition: 0.5s;
  -o-transition: 0.5s;
  -webkit-transition: 0.5s;
  -ms-transition: 0.5s;
  transition: 0.5s;
}
#carousel-home .owl-carousel .owl-slide-title.is-transitioned {
  transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
}
#carousel-home .owl-carousel .owl-slide-title-2.is-transitioned {
  transition-delay: 0.4s;
  -webkit-transition-delay: 0.4s;
  -moz-transition-delay: 0.4s;
  -o-transition-delay: 0.4s;
}
#carousel-home .owl-carousel .owl-slide-title-3.is-transitioned {
  transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
}
#carousel-home .owl-carousel .owl-slide-title-4.is-transitioned {
  transition-delay: 0.8s;
  -webkit-transition-delay: 0.8s;
  -moz-transition-delay: 0.8s;
  -o-transition-delay: 0.8s;
}
#carousel-home .owl-carousel .owl-dots .owl-dot,
#carousel-home .owl-carousel .owl-nav [class*="owl-"]:focus {
  outline: 0;
}
.owl-carousel .owl-dots {
  margin-top: 0 !important;
  right: 15px;
  width: 40px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
  z-index: 3;
}
.owl-carousel.nav-dots-orizontal .owl-dots {
  margin-top: 20px !important;
  width: 100%;
  position: static;
}
.slide-text h2,
.slide-text h3 {
  font-size: 3.1875rem;
  font-weight: 700;
}
.slide-text small {
  color: #ebd7b2;
  letter-spacing: 4px;
  font-weight: 600;
  display: block;
  margin: 0 0 10px;
}
.slide-text.black {
  color: #111;
}
.slide-text.black h2 {
  color: #000;
}
#icon_drag_mobile {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: url(../img/drag_icon.svg) no-repeat;
  width: 50px;
  height: 30px;
  opacity: 0.6;
  z-index: 99;
  display: none;
}
a.box_cat_rooms {
  display: block;
  margin-bottom: 25px;
  height: 500px;
  overflow: hidden;
  background-color: #ccc;
  -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
}
a.box_cat_rooms .info {
  position: absolute;
  width: 100%;
  z-index: 9;
  display: block;
  padding: 25% 30px 60px;
  color: #fff;
  left: 0;
  bottom: -75px;
  backface-visibility: hidden;
  -webkit-transform: translate(0, 0);
  -moz-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  -moz-transition: 0.4s;
  -o-transition: 0.4s;
  -webkit-transition: 0.4s;
  -ms-transition: 0.4s;
  transition: 0.4s;
  background: 0 0;
  background: -webkit-linear-gradient(top, transparent, #000);
  background: linear-gradient(to bottom, transparent, #000);
}
a.box_cat_rooms .info small {
  font-weight: 600;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0;
  color: #fff;
}
a.box_cat_rooms .info h3 {
  color: #fff;
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: 15px;
}
a.box_cat_rooms .info span {
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  opacity: 0;
  position: relative;
}
a.box_cat_rooms .info span:before {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 10px;
  height: 2px;
  content: "";
  transition: width 0.5s;
  background-color: #fff;
}
a.box_cat_rooms .info span:hover {
  background-color: #24262d;
  border-color: transparent;
}
a.box_cat_rooms figure {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
a.box_cat_rooms:hover .info {
  -webkit-transform: translate(0, -65px);
  -moz-transform: translate(0, -65px);
  -ms-transform: translate(0, -65px);
  -o-transform: translate(0, -65px);
  transform: translate(0, -65px);
}
a.box_cat_rooms:hover .info span {
  opacity: 1;
}
a.box_cat_rooms:hover .info span:before {
  width: 100%;
}
a.box_cat_rooms:hover .background-image {
  -ms-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.box_facilities {
  padding: 0 25px 25px;
  border-width: 2px;
  border-style: solid;
  border-right: 0;
  border-image: linear-gradient(to bottom, #ededed, transparent) 1 60%;
}
.box_facilities i {
  font-size: 3.875rem;
  color: #978667;
}
.box_facilities.no-border {
  border-width: 0;
}
.box_facilities.white {
  border-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.2),
      transparent
    )
    1 60%;
}
.box_facilities.white i {
  color: #ebd7b2;
}
.owl-carousel .animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
.animated.flip {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
  -webkit-animation-name: flip;
  animation-name: flip;
}
@-webkit-keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}
@keyframes flipInX {
  0% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    -webkit-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
  }
  60% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    -webkit-transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  100% {
    -webkit-transform: perspective(400px);
    transform: perspective(400px);
  }
}
.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}
.box_overlay {
  background-color: #24262d;
  padding: 45px 45px 45px 225px;
  min-height: 170px;
  color: #fff;
  margin-bottom: 20px;
}
.pic,
.pic h4 {
  position: absolute;
}
.pic {
  left: 45px;
  top: 45px;
  text-align: left;
}
.box_item_info,
.custom_badge,
.list_ok ul li,
.marquee,
.pinned-image,
.qty-buttons {
  position: relative;
}
.pic h4 {
  left: 95px;
  top: 18px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.pic h4 small {
  display: block;
  color: #fff;
  margin-top: 3px;
  letter-spacing: normal !important;
}
.pic figure {
  width: 80px;
  height: 80px;
  overflow: hidden;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  border-radius: 50%;
}
.pic figure img {
  width: 80px;
  height: auto;
}
.comment {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 30px;
  font-size: 15px;
  font-style: italic;
  text-align: left;
}
.accordion .card {
  border: 0;
  margin-bottom: 10px;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}
.accordion .card .card-header {
  background-color: #fff;
  padding: 20px;
  border: 0;
}
.accordion .card-body {
  padding: 0 20px;
}
.accordion .card-header h5 {
  font-size: 1.0625rem;
  color: #333;
}
.accordion .card-header h5 a {
  border: 0;
  display: block;
  color: #333;
}
.accordion .card-header h5 a i.indicator {
  font-size: 1.125rem;
  font-weight: 400;
  float: right;
  color: #333;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  -webkit-transition: 0.3s ease-in-out;
  -ms-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.accordion .card-header h5 a.collapsed i {
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
  transform: rotate(0);
}
.box_item_info {
  background-color: #fff;
  z-index: 9;
  padding: 40px 40px 20px;
  -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);
}
.box_item_info small {
  font-weight: 600;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #978667;
}
.box_item_info h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.box_item_info .facilities ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
}
.box_item_info .facilities ul li {
  float: left;
  display: flex;
  align-items: center;
  line-height: 1;
  margin: 0 25px 10px 0;
}
.box_item_info .facilities ul li:last-child {
  margin: 0;
}
.box_item_info .facilities ul li i {
  height: 36px;
  font-size: 1.875rem;
  color: #978667;
  margin-right: 15px;
}
.box_item_info .box_item_footer {
  border-top: 2px solid #ededed;
  margin-top: 15px;
  padding: 25px 0 15px;
}
.row_list_version_1,
.row_list_version_3 {
  margin-bottom: 60px;
}
.row_list_version_1 .box_item_info {
  max-width: 750px;
  margin: -250px 60px 60px;
}
.row_list_version_2 {
  margin-bottom: 120px;
}
.row_list_version_2 .owl-carousel .owl-dots {
  right: auto;
  left: 15px;
}
.row_list_version_2 .box_item_info {
  margin: 0 0 0 -100px;
}
.row_list_version_2.inverted .owl-carousel .owl-dots {
  left: inherit;
  right: 15px;
}
.row_list_version_2.inverted .box_item_info {
  margin: 0 -100px 0 0;
}
@media (max-width: 1199px) {
  .box_facilities {
    border-width: 0;
  }
  .row_list_version_2 .box_item_info {
    margin: -150px 30px 0;
  }
  .row_list_version_2.inverted .box_item_info {
    margin: -50px 30px 0;
  }
}
.row_list_version_3 .box_item_info {
  max-width: 750px;
  margin: -100px 60px 60px;
}
.booking_wrapper,
.contacts_wrapper {
  border-radius: 0 0 10px 10px;
  background-color: rgba(151, 134, 103, 0.05);
  padding: 20px 20px 0;
}
.booking_wrapper hr,
.contacts_wrapper hr {
  border-color: #d9e1e6;
  opacity: 1;
  margin: 0 0 25px;
}
.booking_wrapper .form-control::-moz-placeholder {
  color: #333;
}
.booking_wrapper .form-control::placeholder {
  color: #333;
}
.nav-tabs#customTab {
  border-bottom: none;
}
.nav-tabs#customTab .nav-link {
  border-color: transparent;
  color: #999;
  font-weight: 600;
}
.nav-tabs#customTab .nav-link:hover {
  color: #978667;
}
.nav-tabs#customTab .nav-link.active {
  background-color: rgba(151, 134, 103, 0.05);
  border-color: transparent;
  color: #333;
}
.owl-carousel.border-radius .owl-item {
  border-radius: 10px;
  overflow: hidden;
}
.map_contact iframe {
  width: 100%;
  filter: grayscale(50%);
  height: 450px;
  margin-bottom: -10px;
}
.qty-buttons {
  width: 100%;
  display: inline-block;
}
.qty-buttons label {
  position: absolute;
  left: 15px;
  top: 13px;
  font-weight: 500;
  color: #6c757d;
  font-size: 0.9375rem;
}
.qty-buttons input.qty {
  width: 100%;
  text-align: left;
  padding-left: 80px;
}
.qty-buttons input.qtyminus,
.qty-buttons input.qtyplus {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 0;
  outline: 0;
  cursor: pointer;
  -webkit-appearance: none;
  text-indent: -9999px;
  box-shadow: none;
  border-radius: 50%;
  top: 8px;
}
.qty-buttons input.qtyplus {
  background: url(../img/plus.svg) center center no-repeat #f5f5f5;
  right: 15px;
}
.qty-buttons input.qtyminus {
  background: url(../img/minus.svg) center center no-repeat #f5f5f5;
  right: 55px;
}
.qty-buttons.version_2 .form-control {
  height: 50px;
}
.qty-buttons.version_2 input.qty {
  padding-left: 15px;
}
.qty-buttons.version_2 input.qtyplus {
  background: url(../img/plus.svg) center center no-repeat #fff;
  right: 5px;
}
.qty-buttons.version_2 input.qtyminus {
  background: url(../img/minus.svg) center center no-repeat #fff;
  right: 40px;
}
.custom_badge {
  line-height: 1;
  font-weight: 700;
  color: #fff;
  margin-left: 5px;
  display: inline-block;
  border-radius: 3px;
  background-color: red;
  font-size: 0.6875rem;
  padding: 3px 5px;
  top: -1px;
}
.carousel_item_centered .owl-item,
.carousel_item_centered_rooms .owl-item {
  opacity: 0.5;
  transform: scale(0.85) !important;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(0.85, 0.85) !important;
  transition: 0.3s ease-in-out;
  overflow: hidden;
}
.carousel_item_centered .owl-item.active.center,
.carousel_item_centered_rooms .owl-item.active.center {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1) !important;
  transform: scale(1) !important;
}
.marquee {
    width: 100%; /* Usa la percentuale, non vw */
    max-width: 100%;
    height: 100px;
    overflow: hidden;
    font-size: 120px;
    font-weight: 700;
    margin-top: -60px;
}
.marquee .track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: 140s linear infinite marquee;
}
.marquee .content {
  opacity: 0.05;
  line-height: 1.2;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-30%);
  }
}
.modal-content {
  border: none !important;
  border-radius: 0 !important;
  padding: 25px;
}
.list_ok ul {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}
.list_ok ul li {
  padding-left: 45px;
}
.list_ok ul li strong {
  color: #333;
}
.list_ok ul li:before {
  color: #978667;
  position: absolute;
  left: 0;
  top: -7px;
  font-family: bootstrap-icons;
  content: "\F19F";
  font-size: 2rem;
}
.pinned-image {
  display: flex;
  height: 90vh;
  justify-content: center;
  overflow: hidden;
}
.pinned-image.rounded_container {
  border-radius: 15px;
}
.pinned-image--medium {
  height: 75vh;
}
.pinned-image--small {
  height: 45vh;
}
.pinned-image__container {
  transform: scale(0.8);
  border-radius: 15px;
  overflow: hidden;
}
.pinned-image__container-overlay {
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}
.pinned-image__container,
.pinned-image__container img,
.pinned-image__container video {
  height: 100%;
  left: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  width: 100%;
  background-color: #ccc;
}
.pinned_over_content {
  padding: 0 60px;
  width: 100%;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
}
.pinned_over_content h2 {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.parallax_wrapper {
  position: relative;
  margin-bottom: 25px;
}
.parallax_wrapper .img_over {
  left: -25%;
  bottom: 10%;
  position: absolute;
  z-index: 99;
}
.parallax_wrapper .img_over img {
  border: 5px solid #fff;
  width: 50%;
  height: auto;
}
.parallax_wrapper.inverted .img_over {
  text-align: right;
  left: inherit;
  right: -25%;
}
.parallax_wrapper.inverted .img_over {
  text-align: right;
  left: inherit;
  right: -25%;
}
img.rounded-img {
  border-radius: 10px;
}
.bg_gray {
  background-color: #f4f4f4;
}
.daterangepicker {
  border: 0 !important;
  font-family: Montserrat, Helvetica, sans-serif !important;
  -webkit-box-shadow: 0 12px 35px 2px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0 12px 35px 2px rgba(0, 0, 0, 0.12);
  box-shadow: 0 12px 35px 2px rgba(0, 0, 0, 0.12);
}
.daterangepicker .calendar-table th {
  font-size: 13px !important;
}
.daterangepicker .calendar-table td {
  width: 40px !important;
  height: 35px !important;
  font-size: 13px !important;
  font-weight: 500;
}
@media screen and (min-width: 560px) {
  .daterangepicker.single {
    width: auto !important;
  }
}
.applyBtn.btn.btn-sm.btn-primary {
  background-color: #4b514d;
  border: 0;
}
.drp-selected {
  display: none !important;
}
@media screen and (max-width: 600px) {
  .daterangepicker .drp-calendar {
    max-width: 100% !important;
  }
  .daterangepicker .drp-calendar.left,
  .daterangepicker .drp-calendar.right {
    clear: none !important;
    float: none !important;
    margin-right: 0;
  }
}
.nice-select {
  font-weight: 400 !important;
}
.error_message {
  color: red;
}
.form-group label {
  font-weight: 500;
  margin-bottom: 3px;
}
.form-control {
  border-color: #ededed;
  font-size: 0.875rem;
  color: #333;
  height: 50px;
}
.form-control:focus {
  border-color: #ddd;
  outline: 0;
  box-shadow: 0 0 0 0.2rem transparent;
}
textarea.form-control {
  height: 130px !important;
}
#success_page {
  padding: 30px 0;
  text-align: center;
  font-size: 1.5rem;
}
#success_page h5 {
  margin-top: 15px;
}
#success_page h5 span {
  display: block;
  margin-top: 7px;
  font-size: 16px;
}
#confirm {
  text-align: center;
  padding: 60px 15px;
}
@-webkit-keyframes checkmark {
  0% {
    stroke-dashoffset: 50px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-ms-keyframes checkmark {
  0% {
    stroke-dashoffset: 50px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes checkmark {
  0% {
    stroke-dashoffset: 50px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 240px;
  }
  100% {
    stroke-dashoffset: 480px;
  }
}
@-ms-keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 240px;
  }
  100% {
    stroke-dashoffset: 480px;
  }
}
@keyframes checkmark-circle {
  0% {
    stroke-dashoffset: 240px;
  }
  100% {
    stroke-dashoffset: 480px;
  }
}
.inlinesvg .svg svg {
  display: inline;
}
.icon--order-success svg path {
  -webkit-animation: 0.25s ease-in-out 0.7s backwards checkmark;
  animation: 0.25s ease-in-out 0.7s backwards checkmark;
}
.icon--order-success svg circle {
  -webkit-animation: 0.6s ease-in-out backwards checkmark-circle;
  animation: 0.6s ease-in-out backwards checkmark-circle;
}
.margin_120_95 {
  padding-top: 120px;
  padding-bottom: 95px;
}
.margin_120,
.margin_120_0 {
  padding-top: 120px;
}
.margin_120 {
  padding-bottom: 120px;
}
.margin_60_35 {
  padding-top: 60px;
  padding-bottom: 35px;
}
.margin_80 {
  padding-top: 80px;
  padding-bottom: 80px;
}
.margin_80_55 {
  padding-top: 80px;
  padding-bottom: 55px;
}
.margin_80_0 {
  padding-top: 80px;
}
.margin_60_0 {
  padding-top: 60px;
}
@media (max-width: 991px) {
  header nav ul li:first-child {
    display: none;
  }
  .hamburger_2 {
    top: 5px;
  }
  .menu_v1 .closebt,
  .menu_v1 .hamburger_2,
  .menu_v1 .layer {
    display: block;
  }
  .menu_v1 .logo_panel {
    display: flex;
  }
  .hero.full-height,
  .hero.medium-height,
  .hero.small-height {
    min-height: 600px;
  }
  .parallax_section_1 {
    min-height: 650px;
  }
  a.box_cat_rooms {
    height: 400px;
  }
  .parallax_wrapper {
    padding-left: 25%;
  }
  .parallax_wrapper .img_over {
    left: 0;
  }
  .parallax_wrapper.inverted {
    padding-left: inherit;
    padding-right: 25%;
  }
  .parallax_wrapper.inverted .img_over {
    left: inherit;
    right: 0;
  }
  .margin_80 {
    padding-bottom: 60px;
    padding-top: 60px;
  }
  .margin_80_55 {
    padding-top: 60px;
    padding-bottom: 35px;
  }
  .margin_60_0,
  .margin_80_0 {
    padding-top: 60px;
  }
}
@media (max-width: 575px) {
  .hero .wrapper h1,
  .hero .wrapper h3 {
    font-size: 2rem;
  }
  .margin_60_35 {
    padding-top: 30px;
    padding-bottom: 5px;
  }
  .margin_60_0,
  .margin_80_0 {
    padding-top: 45px;
  }
}
.add_bottom_60 {
  padding-bottom: 60px;
}
.add_bottom_120 {
  padding-bottom: 120px;
}
.add_bottom_90 {
  padding-bottom: 90px;
}
.add_top_90 {
  padding-top: 90px;
}
@media (max-width: 767px) {
  .hero .wrapper p {
    padding: 0;
    font-size: 1.125rem;
  }
  #carousel-home .owl-carousel .owl-slide {
    height: 90vh;
  }
  .slide-text h2,
  .slide-text h3 {
    font-size: 2.625rem;
  }
  #icon_drag_mobile {
    display: block;
  }
  .box_facilities h3 {
    font-size: 1.125rem;
  }
  .box_facilities.white {
    padding: 0;
    margin-bottom: 25px;
  }
  .box_facilities.white i {
    font-size: 3.875rem;
  }
  .box_overlay {
    padding: 30px;
  }
  .pic {
    position: static;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
  }
  .pic h4 {
    position: static;
  }
  .pic figure {
    margin: 0 auto 10px;
  }
  .comment {
    text-align: center;
    border: 0;
    padding: 0;
  }
  .box_item_info .facilities ul li {
    float: none;
    width: 100%;
  }
  .row_list_version_1 .box_item_info {
    margin: -150px 10px 0;
    padding: 20px 25px 10px;
  }
  .row_list_version_2 {
    margin-bottom: 70px;
  }
  .row_list_version_2 .box_item_info,
  .row_list_version_2.inverted .box_item_info {
    margin: -50px 10px 0;
    padding: 20px 25px 10px;
  }
  .row_list_version_3 .box_item_info {
    margin: -40px 10px 0;
    padding: 20px 25px 10px;
  }
  .pinned_over_content {
    padding: 0 15px;
  }
  .margin_120_95 {
    padding-top: 90px;
    padding-bottom: 65px;
  }
  .add_bottom_120 {
    padding-bottom: 90px;
  }
  .add_bottom_90 {
    padding-bottom: 60px;
  }
  .add_top_90 {
    padding-top: 60px;
  }
}
.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.col-xl-4 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-contacts { scroll-margin-top: 90px; background:
  radial-gradient(1200px 500px at 100% -50%, rgba(13,110,253,.08), transparent 60%),
  linear-gradient(180deg, #fff, #f8fafc); }
.card-soft { border:0; border-radius:1.25rem; box-shadow:0 12px 32px rgba(0,0,0,.08); background:#fff; }
.btn-whatsapp { background:#25D366; color:#fff; border:0; }
.btn-whatsapp:hover { filter:brightness(.95); color:#fff; }
.icon-btn { --size:44px; width:var(--size); height:var(--size); border-radius:50%; display:grid; place-items:center;
  background:#fff; color:#111827; border:1px solid rgba(0,0,0,.06); box-shadow:0 8px 18px rgba(0,0,0,.05); }
.icon-btn:hover{ color:#0d6efd; }
#aria_di_mare, #aria_di_sale, #contacts { scroll-margin-top: 90px; }


/* ===== ROOMS: overlap morbido della scheda su foto ===== */

/* 0) Safety: niente parallax/shift su mobile */
@media (max-width: 768px){
  [data-jarallax-element]{ transform:none !important; }
}

/* 1) Tablet: overlap leggero */
@media (max-width: 1199.98px){
  .row_list_version_2 .box_item_info,
  .row_list_version_2.inverted .box_item_info{
    margin: -20px 18px 0 !important;   /* <— entra poco sulla foto */
    padding: 22px 22px 14px !important;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
    z-index: 3;                          /* resta sopra l’immagine */
  }
}

/* 2) Mobile: overlap ancora più soft */
@media (max-width: 767.98px){
  .row_list_version_2 .box_item_info,
  .row_list_version_2.inverted .box_item_info{
    margin: -12px 12px 0 !important;   /* <— solo un “baffo” sulla foto */
    padding: 20px 20px 12px !important;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(0,0,0,.10);
    z-index: 3;
  }

  /* assicura che il media sopra non venga “mangiato” */
  .row_list_version_2 figure,
  .row_list_version_2 .background-image{
    position: relative;
    z-index: 1;
  }
}

/* 3) Fix layout globale: niente centering forzato sulle xl-4 */
.col-xl-4{
  display:block !important;
  justify-content:initial !important;
  align-items:initial !important;
}

/* 1) Stringi l’HR che precede il booking (senza toccare altri hr) */
hr.more_margin { margin: 16px 0 !important; } /* da 60px -> 16px */

/* 2) Riduci il padding top del container del booking */
section#booking > .container.margin_120_95 { padding-top: 16px !important; }

/* 3) La row ha mb-4: riduciamola */
#booking .row.align-items-center.mb-4 { margin-bottom: 8px !important; }

/* 4) Azzeriamo i margini top aggiunti dalle utility su heading e lead */
#booking h2 { margin-top: 0 !important; }
#booking .lead { margin-top: 4px !important; }

/* 5) Piccolo ritocco anche al piccolo testo sopra il titolo */
#booking small.d-block { margin-bottom: 4px !important; }

/* (Fallback “brutale” se vuoi ancora meno spazio: tira su tutto il blocco) */
section#booking { margin-top: -8px; }  /* opzionale, togli se non serve */


/* ==========================================================================
   AGGIUNTE "PREMIUM" DAL FILE HTML (Merge automatico)
   ========================================================================== */

/* --- NAVBAR CUSTOM (Trasparente -> Bianca) --- */
.navbar-custom {
    background-color: transparent;
    transition: all 0.4s ease-in-out;
    padding: 15px 0;
}
.navbar-custom.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 10px 0;
}
.navbar-custom .nav-link {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 0 15px !important;
    transition: color 0.3s;
}
.navbar-custom.scrolled .nav-link {
    color: #333333 !important;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #d4af37 !important;
}
.navbar-custom .btn-menu-prenota {
    background: linear-gradient(135deg, #d4af37 0%, #b4932b 100%);
    color: #fff !important;
    border-radius: 30px;
    padding: 8px 20px !important;
    margin-left: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Gestione Loghi */
.logo-white { display: block; }
.logo-dark { display: none; }
.navbar-custom.scrolled .logo-white { display: none; }
.navbar-custom.scrolled .logo-dark { display: block; }

/* Hamburger Menu Icon Colors */
.navbar-toggler { border: none; outline: none; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.navbar-custom.scrolled .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

@media (max-width: 991px) {
    .navbar-collapse { background: #fff; padding: 20px; border-radius: 10px; margin-top: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .navbar-custom .nav-link { color: #333 !important; margin-bottom: 10px; }
    .logo-white { display: none !important; }
    .logo-dark { display: block !important; }
    /* Fix logo menu mobile quando NON si scrolla */
    .navbar-custom:not(.scrolled) .logo-dark { display: none !important; }
    .navbar-custom:not(.scrolled) .logo-white { display: block !important; }
}

/* FIX BLOCCO SCROLL MOBILE */
body.menu_open { overflow: hidden !important; }

/* --- HEADER & SLIDER TEXT (COLORI ORO) --- */
.slide-text h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 3.5rem;
    margin-bottom: 10px;
    /* ORO LUMINOSO */
    color: #ffe8b3 !important;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.6) !important;
}

.slide-text h2 {
    font-family: 'Caveat', cursive !important;
    font-weight: 400;
    font-size: 3.2rem;
    /* BIANCO PURO */
    color: #ffffff !important;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8) !important;
    margin-top: 0;
}

@media (max-width: 768px) {
    .slide-text h1 { font-size: 2rem !important; letter-spacing: 1px; }
    .slide-text h2 { font-size: 2rem !important; }
}

/* --- BADGES & CARD HOVER --- */
.card-hover { transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 1px solid rgba(0,0,0,0.05); overflow: hidden; }
.card-hover:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(180, 147, 43, 0.15) !important; border-color: rgba(180, 147, 43, 0.2); }
.badge-modern { background-color: #fffbf0; color: #b4932b; padding: 8px 15px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; border: 1px solid rgba(180, 147, 43, 0.2); }

/* --- FOOTER MODERN --- */
.footer-modern { background-color: #1a1a1a; color: #b0b0b0; padding: 60px 0 30px 0; font-size: 0.9rem; }
.footer-modern h5 { color: #fff; font-weight: 600; margin-bottom: 20px; }
.footer-modern a { color: #b0b0b0; text-decoration: none; transition: color 0.2s; }
.footer-modern a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.8rem; }
.icon-box { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }

/* --- SEZIONE RECENSIONI GOOGLE PREMIUM --- */
.reviews-section-premium {
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}
.reviews-section-premium::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.widget-wrapper-glass {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    z-index: 1;
    min-height: 200px;
    transition: transform 0.3s ease;
}
.widget-wrapper-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.1);
}
@media (max-width: 768px) {
    .widget-wrapper-glass {
        padding: 15px;
        border-radius: 20px;
    }
}

/* --- STILE NUOVO MODULO CONTATTI & CAPTCHA (DESIGN PREMIUM) --- */
.contact-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
}
.contact-card .form-floating > .form-control {
    border: 2px solid #f0f2f5 !important;
    background-color: #fff !important;
    border-radius: 15px !important;
    height: 60px;
    box-shadow: none !important;
    font-weight: 500; color: #333;
}
.contact-card .form-floating > label {
    padding-left: 20px; color: #999;
}
.contact-card .form-floating > .form-control:focus {
    border-color: #d4af37 !important;
    background-color: #fffbf0 !important;
    transform: translateY(-2px);
}
.contact-card .form-floating > .form-control:focus ~ label {
    color: #d4af37; font-weight: 600;
}
.contact-card .form-floating > textarea.form-control {
    height: 150px !important; padding-top: 25px;
}
.security-box {
    background: #f9fafb; border-radius: 15px; padding: 15px 20px;
    border: 1px dashed #ccc; display: flex; align-items: center; justify-content: space-between;
    transition: all 0.3s;
}
.security-box:hover, .security-box:focus-within {
    background: #fff; border-color: #d4af37; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}
.security-label { display: flex; align-items: center; font-size: 0.9rem; color: #555; font-weight: 600; }
.security-input {
    width: 60px; height: 45px; border: 2px solid #e0e0e0; border-radius: 10px;
    text-align: center; font-size: 1.2rem; font-weight: bold; color: #d4af37; outline: none;
    transition: all 0.3s;
}
.security-input:focus { border-color: #d4af37; background: #fff; }
.btn-send-custom {
    background: linear-gradient(135deg, #d4af37 0%, #b4932b 100%) !important;
    color: white !important; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 50px; padding: 18px 40px; width: 100%; border: none;
    box-shadow: 0 10px 20px rgba(180, 147, 43, 0.3); transition: all 0.4s ease;
}
.btn-send-custom:hover {
    transform: translateY(-3px); box-shadow: 0 15px 30px rgba(180, 147, 43, 0.5);
}
.btn-send-custom i { margin-left: 10px; transition: transform 0.3s; }
.btn-send-custom:hover i { transform: translateX(5px); }

/* --- BARRA COOKIE MODERNA (SABBIA/ORO) --- */
.cookie-bar {
    position: fixed; bottom: 20px; left: 20px; right: 20px;
    max-width: 900px; margin: 0 auto;
    background: #ffffff; color: #333;
    padding: 15px 25px; border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-left: 4px solid #d4af37;
    z-index: 9999; display: none;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cookie-text { font-size: 0.9rem; line-height: 1.3; color: #666; }
.cookie-text strong { color: #d4af37; font-weight: 700; display: block; margin-bottom: 2px; }
.btn-cookie-accept {
    background: #d4af37; color: #fff; border: none;
    padding: 10px 25px; border-radius: 50px;
    font-weight: 600; font-size: 0.85rem; cursor: pointer;
    transition: all 0.3s ease; text-transform: uppercase;
}
.btn-cookie-accept:hover { background: #333; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
@media (max-width: 768px) {
    .cookie-content { flex-direction: column; text-align: center; }
    .btn-cookie-accept { width: 100%; }
}

/* --- DECORAZIONE NATALIZIA "BOUTIQUE" (PALLINA ORO) --- */
.christmas-bauble-container {
    position: fixed; top: 0; right: 10%;
    width: 80px; height: 300px; z-index: 1031;
    pointer-events: none;
    transform-origin: top center;
    animation: swingEase 6s infinite ease-in-out alternate;
}
.bauble-thread {
    width: 2px; height: 120px; background: #d4af37; margin: 0 auto;
}
.bauble-ornament {
    width: 60px; height: 60px; margin: -5px auto 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff8db, #d4af37, #8a701e);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    position: relative;
}
.bauble-ornament::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 12px; height: 8px; background: #b4932b; border-radius: 2px;
}
.bauble-ornament::after {
    content: ''; position: absolute; top: 10px; left: 12px;
    width: 15px; height: 15px; border-radius: 50%;
    background: rgba(255,255,255,0.4); filter: blur(2px);
}
@keyframes swingEase {
    0% { transform: rotate(3deg); }
    100% { transform: rotate(-3deg); }
}
@media (max-width: 768px) {
    .christmas-bauble-container { right: 20px; transform: scale(0.7); transform-origin: top right; }
}

/* --- STICKY BAR MOBILE (FIX CHROME IOS "FLOATING") --- */
.mobile-sticky-container {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;

    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    /* Padding compatto */
    padding-top: 6px;
    /* Usa l'area sicura, ma con un minimo di 10px */
    padding-bottom: calc(10px + env(safe-area-inset-bottom));

    z-index: 2147483647;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);

    transform: translateY(102%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: none;
    margin: 0 !important;

    /* FONDAMENTALE PER IL FIX: Lasciamo uscire il colore sotto */
    overflow: visible !important;
}

/* 1. La linea dorata sopra (Rimane uguale) */
.mobile-sticky-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #f3e5ab 50%, #d4af37 100%);
    z-index: 3;
}

/* 2. LA "GONNA" BIANCA (FIX PER CHROME) */
/* Questo crea un blocco bianco sotto la barra che copre il buco se la barra si alza */
.mobile-sticky-container::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%; /* Si attacca al bordo INFERIORE della barra */
    height: 300px; /* È altissimo, così copre qualsiasi buco */
    background-color: #ffffff; /* Stesso colore della barra */
    z-index: 1;
}

@media (max-width: 991px) {
    .mobile-sticky-container { display: block; }
    .mobile-sticky-container.show { transform: translateY(0); }
    .whatsapp-widget { bottom: 90px !important; transition: bottom 0.4s ease; }
}

/* Stili testo e bottone (Compatti) */
.sticky-price-info .label {
    font-size: 0.65rem; letter-spacing: 1.5px; color: #999; font-weight: 600; display: block; margin-bottom: -2px;
}
.sticky-price-info .price {
    font-family: 'Montserrat', sans-serif; color: #333; font-size: 1.25rem; letter-spacing: -0.5px;
}
.sticky-price-info .unit {
    color: #b4932b; font-size: 0.85rem; font-weight: 500;
}

@keyframes softPulse {
    0% { box-shadow: 0 4px 10px rgba(180, 147, 43, 0.3); transform: scale(1); }
    50% { box-shadow: 0 8px 20px rgba(180, 147, 43, 0.5); transform: scale(1.02); }
    100% { box-shadow: 0 4px 10px rgba(180, 147, 43, 0.3); transform: scale(1); }
}

.btn-sticky-mobile {
    background: linear-gradient(135deg, #d4af37 0%, #b4932b 100%);
    color: #fff !important;
    border-radius: 50px;
    padding: 6px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: none;
    animation: softPulse 3s infinite ease-in-out;
}

/* ==============================================
   FIX ANIMAZIONE WHATSAPP
   ============================================== */

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-icon {
  /* Questo riattiva l'animazione */
  animation: pulse-green 2s infinite;

  /* Assicuriamo che sia ben visibile */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

/* Effetto hover per ingrandirlo leggermente quando ci passi sopra */
.whatsapp-icon:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* ==============================================
   FIX PARALLAX SECTION (Immagine con frase)
   ============================================== */

.parallax_section {
    position: relative;
    width: 100%;
    /* Altezza minima garantita: se non c'è, la sezione sparisce! */
    min-height: 300px;

    /* Gestione Immagine Sfondo */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed; /* Effetto scorrimento desktop */

    /* Allineamento del testo al centro */
    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* Overlay scuro per rendere leggibile il testo bianco */
.parallax_section .overlay {
    position: absolute;
    inset: 0; /* Copre tutto (top, right, bottom, left) */
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

/* Contenitore del testo */
.parallax_section .pinned_over_content {
    position: relative;
    z-index: 2; /* Sopra l'overlay */
    text-align: center;
    width: 100%;
    padding: 0 20px;
    transform: none !important; /* Reset di vecchi stili che spostavano il box */
    top: auto; left: auto;
}

/* Stile del Testo */
.parallax_section .title.white small {
    color: #d4af37; /* Oro */
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.parallax_section .title.white h2 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* --- FIX FONDAMENTALE PER MOBILE (iOS/Android) --- */
/* Su mobile 'background-attachment: fixed' spesso rompe l'immagine.
   Qui lo disattiviamo per una visualizzazione perfetta. */
@media (max-width: 991px) {
    .parallax_section {
        background-attachment: scroll !important; /* L'immagine scorre con la pagina */
        background-position: center center !important;
        min-height: 450px; /* Altezza ridotta per mobile */
    }

    .parallax_section .title.white h2 {
        font-size: 2rem; /* Testo più piccolo */
    }
}

/* --- SEZIONE FAQ PREMIUM --- */

.accordion-custom .accordion-item {
    border: none;
    background: #ffffff;
    border-radius: 15px !important;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    overflow: hidden;
}

.accordion-custom .accordion-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #333;
    background-color: #fff;
    border: none;
    padding: 20px 25px;
    box-shadow: none !important; /* Rimuove alone blu al click */
}

/* Quando l'accordion è aperto */
.accordion-custom .accordion-button:not(.collapsed) {
    color: #d4af37; /* Testo Oro */
    background-color: #fffbf0; /* Sfondo Crema chiarissimo */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05) !important;
}

/* L'icona della freccetta */
.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

/* Freccetta Oro quando aperto */
.accordion-custom .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d4af37'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-body {
    font-size: 0.95rem;
    color: #666;
    padding: 20px 25px 30px;
    line-height: 1.6;
    background-color: #fff;
}

/* --- SEZIONE CONCIERGE DIGITALE (Experience Cards) --- */

.experience-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

/* Effetto Hover sulla Card */
.experience-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15); /* Ombra Oro soffusa */
    border-color: rgba(212, 175, 55, 0.3);
}

/* Contenitore Immagine */
.card-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Zoom immagine all'hover */
.experience-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Contenuto Testuale */
.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Icona tonda sopra il titolo */
.experience-card .icon-wrapper {
    width: 50px;
    height: 50px;
    background: #fffbf0; /* Crema */
    color: #d4af37; /* Oro */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.experience-card:hover .icon-wrapper {
    background: #d4af37;
    color: #fff;
}

.experience-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.experience-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Link testuale in basso */
.btn-text-gold {
    margin-top: auto; /* Spinge il bottone in fondo */
    color: #d4af37;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.btn-text-gold i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn-text-gold:hover {
    color: #b4932b;
}

.btn-text-gold:hover i {
    transform: translateX(5px);
}

/* SFONDO CON TEXTURE "NOISE" (Tocco Boutique) */
.luxury-grid-wrapper {
    padding-top: 20px;
}

.luxury-card {
    position: relative;
    height: 100%;
    padding: 45px 35px;
    background-color: #ffffff;
    /* Texture granulosa quasi invisibile per dare eleganza */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 12px; /* Arrotondamento leggermente più moderno */
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); /* Curva di animazione "seta" */
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Effetto Hover: Sollevamento + Ombra Profonda */
.luxury-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(212, 160, 86, 0.15); /* Ombra color Oro */
    border-color: rgba(212, 160, 86, 0.2);
}

/* Numero Editoriale Sfondo */
.luxury-card::before {
    content: attr(data-number);
    position: absolute;
    top: -25px;
    right: -10px;
    font-size: 9rem;
    font-family: 'Caveat', cursive;
    font-weight: 700;
    color: #d4a056; /* Oro */
    opacity: 0.03; /* Molto sottile */
    transition: all 0.6s ease;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.luxury-card:hover::before {
    opacity: 0.1;
    transform: translateX(-10px) translateY(10px);
}

/* Icona Animata */
.luxury-icon-wrapper {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 160, 86, 0.05); /* Bollino oro chiarissimo */
    transition: all 0.4s ease;
}

.luxury-icon {
    font-size: 2rem;
    color: #333;
    transition: color 0.4s ease;
}

.luxury-card:hover .luxury-icon-wrapper {
    background: #d4a056; /* Diventa oro pieno */
    transform: scale(1.1) rotate(-5deg);
}
.luxury-card:hover .luxury-icon {
    color: #fff; /* Icona diventa bianca */
}

/* Titolo con SEO Tag H3 */
.luxury-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

/* Descrizione */
.luxury-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    font-weight: 400;
    z-index: 1;
    margin-bottom: 0;
}

/* Separatore Luxury */
.separator-gold {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(212, 160, 86, 0.6), rgba(0, 0, 0, 0));
    margin: 70px 0;
    opacity: 0.5;
}

/* FIX POSIZIONAMENTO BARRA MOBILE */
    #mobile-sticky-bar {
        position: fixed !important; /* Forza la posizione fissa */
        bottom: 0 !important;       /* Attacca al bordo inferiore */
        left: 0 !important;
        width: 100% !important;
        z-index: 9990;              /* Assicura che sia sopra tutto tranne i modali */
        margin: 0 !important;       /* Rimuove eventuali margini ereditati */

        /* Gestione Safe Area per iPhone X e successivi */
        padding-bottom: env(safe-area-inset-bottom, 20px) !important;
        background-color: #ffffff;  /* Sfondo bianco per coprire il contenuto sotto */
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1); /* Ombra leggera verso l'alto */
    }

    /* Nascondi su desktop se non è già gestito dalle media query */
    @media (min-width: 992px) {
        #mobile-sticky-bar {
            display: none !important;
        }
    }

  .text-muted { color: #4a4a4a !important; }
  .opacity-mask[data-opacity-mask="rgba(0, 0, 0, 0.5)"] { background-color: rgba(0, 0, 0, 0.65) !important; }

  /* --- DECORAZIONE NATALIZIA BOUTIQUE (GOLD EDITION & FIXED) --- */
      .boutique-ornament {
          position: fixed; /* CAMBIATO: Ora è fissa e segue lo scroll! */
          top: -2px;       /* Appesa al bordo superiore dello schermo */
          right: 10%;      /* Posizione laterale */
          z-index: 10000;  /* Sopra a tutto, anche al menu */
          width: 85px;
          height: auto;
          transform-origin: top center;
          animation: ornamentSwing 5s ease-in-out infinite;
          pointer-events: none; /* Fondamentale: ci puoi cliccare attraverso! */
          filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); /* Ombra realistica che cade sul sito */
      }

      .ornament-thread {
          width: 2px;
          height: 120px; /* Filo un po' più lungo per eleganza */
          background: linear-gradient(to bottom, rgba(255, 215, 0, 0), #e6b800, #b8860b); /* Filo d'oro */
          margin: 0 auto;
      }

      .ornament-ball {
          width: 65px;
          height: 65px;
          /* NUOVO COLORE: Gradiente Oro Metallico Realistico */
          background: radial-gradient(circle at 30% 30%, #fff8db, #d4af37, #996515);
          border-radius: 50%;
          margin: -5px auto 0;
          position: relative;
      }

      /* Riflesso Lucido sulla pallina (Effetto Vetro/Metallo) */
      .ornament-ball::after {
          content: '';
          position: absolute;
          top: 12%;
          left: 12%;
          width: 25%;
          height: 25%;
          border-radius: 50%;
          background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.95), rgba(255,255,255,0.2));
          filter: blur(2px);
      }

      /* Cappuccio Oro Scuro */
      .ornament-cap {
          width: 18px;
          height: 12px;
          background: linear-gradient(to right, #996515, #ffd700, #996515);
          margin: 0 auto;
          border-radius: 4px 4px 2px 2px;
          position: relative;
          top: 2px;
          box-shadow: 0 3px 5px rgba(0,0,0,0.2);
      }

      @keyframes ornamentSwing {
          0% { transform: rotate(4deg); }
          50% { transform: rotate(-4deg); }
          100% { transform: rotate(4deg); }
      }

      /* Mobile: La rimpiccioliamo leggermente e accorciamo il filo */
      @media (max-width: 768px) {
          .boutique-ornament {
              right: 20px; /* Più vicina al bordo su mobile */
              transform: scale(0.75);
              transform-origin: top center;
          }
          .ornament-thread { height: 80px; }
      }
      /* --- FINE DECORAZIONE --- */

  /* STILE SELETTORE LINGUA MODERNO (BOUTIQUE) */
  .lang-trigger {
      background: transparent;
      border: 1px solid rgba(255,255,255,0.3);
      color: #fff;
      padding: 5px 12px;
      border-radius: 50px;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-right: 15px;
      transition: all 0.3s ease;
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
  }
  .lang-trigger:hover {
      background: rgba(255,255,255,0.1);
      color: #fff;
  }
  .navbar-custom.scrolled .lang-trigger {
      border-color: #333;
      color: #333;
  }
  .navbar-custom.scrolled .lang-trigger:hover {
      background: #333;
      color: #fff;
  }
  .modal-content.lang-modal {
      border-radius: 20px;
      border: none;
      box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  }
  .modal-header.lang-header {
      border-bottom: none;
      padding-bottom: 0;
  }
  .lang-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      padding: 20px;
  }
  .lang-option {
      display: flex;
      align-items: center;
      padding: 15px;
      border-radius: 12px;
      background-color: #f8f9fa;
      text-decoration: none;
      color: #333;
      transition: all 0.2s ease;
      border: 1px solid transparent;
  }
  .lang-option:hover {
      background-color: #fff;
      border-color: #d4a056;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      transform: translateY(-2px);
  }
  .lang-option img {
      width: 28px;
      height: auto;
      border-radius: 4px;
      margin-right: 12px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .lang-option span {
      font-weight: 600;
      font-size: 0.95rem;
  }
  .lang-option.active {
      background-color: #333;
      color: #fff;
  }
  @media (max-width: 991px) {
      .lang-trigger {
          margin-right: 10px;
          padding: 4px 10px;
      }
  }
  #carousel-home, #carousel-home .owl-carousel, #carousel-home .owl-slide {
      display: block; height: 100vh; min-height: 100vh; overflow: hidden;
  }
  #carousel-home .owl-carousel .owl-slide:first-child img {
      opacity: 1 !important; visibility: visible !important; display: block !important;
  }
  #carousel-home .owl-carousel .owl-slide:first-child .owl-slide-animated {
      opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; transition: none !important;
  }
  .h1-style {
      font-size: 2.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 0.5rem; color: #fff;
  }

  /* SFONDO CON TEXTURE "NOISE" (Tocco Boutique) */
  .luxury-grid-wrapper {
      padding-top: 20px;
  }

  .luxury-card {
      position: relative;
      height: 100%;
      padding: 45px 35px;
      background-color: #ffffff;
      /* Texture granulosa quasi invisibile per dare eleganza */
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
      border: 1px solid rgba(0,0,0,0.04);
      border-radius: 12px; /* Arrotondamento leggermente più moderno */
      overflow: hidden;
      transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); /* Curva di animazione "seta" */
      box-shadow: 0 10px 30px rgba(0,0,0,0.02);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
  }

  /* Effetto Hover: Sollevamento + Ombra Profonda */
  .luxury-card:hover {
      transform: translateY(-15px);
      box-shadow: 0 30px 60px rgba(212, 160, 86, 0.15); /* Ombra color Oro */
      border-color: rgba(212, 160, 86, 0.2);
  }

  /* Numero Editoriale Sfondo */
  .luxury-card::before {
      content: attr(data-number);
      position: absolute;
      top: -25px;
      right: -10px;
      font-size: 9rem;
      font-family: 'Caveat', cursive;
      font-weight: 700;
      color: #d4a056; /* Oro */
      opacity: 0.03; /* Molto sottile */
      transition: all 0.6s ease;
      line-height: 1;
      z-index: 0;
      pointer-events: none;
  }

  .luxury-card:hover::before {
      opacity: 0.1;
      transform: translateX(-10px) translateY(10px);
  }

  /* Icona Animata */
  .luxury-icon-wrapper {
      margin-bottom: 30px;
      position: relative;
      z-index: 1;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(212, 160, 86, 0.05); /* Bollino oro chiarissimo */
      transition: all 0.4s ease;
  }

  .luxury-icon {
      font-size: 2rem;
      color: #333;
      transition: color 0.4s ease;
  }

  .luxury-card:hover .luxury-icon-wrapper {
      background: #d4a056; /* Diventa oro pieno */
      transform: scale(1.1) rotate(-5deg);
  }
  .luxury-card:hover .luxury-icon {
      color: #fff; /* Icona diventa bianca */
  }

  /* Titolo con SEO Tag H3 */
  .luxury-title {
      font-size: 1.25rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #222;
      margin-bottom: 15px;
      position: relative;
      z-index: 1;
  }

  /* Descrizione */
  .luxury-text {
      font-size: 0.95rem;
      color: #555;
      line-height: 1.7;
      font-weight: 400;
      z-index: 1;
      margin-bottom: 0;
  }

  /* Separatore Luxury */
  .separator-gold {
      border: 0;
      height: 1px;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(212, 160, 86, 0.6), rgba(0, 0, 0, 0));
      margin: 70px 0;
      opacity: 0.5;
  }

  .amenity-card {
      position: relative;
      height: 100%;
      padding: 35px 25px;
      background-color: #ffffff;
      /* Stessa texture della sezione sopra per coerenza */
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
      border: 1px solid rgba(0,0,0,0.05);
      border-radius: 8px;
      text-align: center; /* Centrato per eleganza classica */
      transition: all 0.4s ease;
      overflow: hidden;
  }

  /* Bordo dorato inferiore che appare all'hover */
  .amenity-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0%;
      height: 3px;
      background-color: #d4a056; /* Gold */
      transition: width 0.4s ease;
  }

  .amenity-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.08);
      border-color: transparent;
  }

  .amenity-card:hover::after {
      width: 100%;
  }

  /* Icona */
  .amenity-icon {
      font-size: 3rem;
      color: #333;
      display: inline-block;
      margin-bottom: 20px;
      transition: all 0.4s ease;
  }

  .amenity-card:hover .amenity-icon {
      color: #d4a056; /* Diventa oro */
      transform: scale(1.1);
  }

  /* Titolo */
  .amenity-title {
      font-size: 1.1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 10px;
      color: #222;
  }

  /* Testo */
  .amenity-text {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.6;
      margin-bottom: 0;
  }

  /* GRIGLIA MOSAICO */
  .gallery-mosaic {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      /* Desktop: 2 righe alte */
      grid-template-rows: repeat(2, 280px);
      gap: 15px;
      margin-bottom: 0 !important;
  }

  .gallery-item {
      position: relative;
      display: block;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      cursor: pointer;
  }

  /* DISPOSIZIONE DESKTOP */
  .gallery-item.main {
      grid-column: span 2;
      grid-row: span 2;
  }
  .gallery-item.wide {
      grid-column: span 2;
  }

  .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Overlay */
  .gallery-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.3);
      opacity: 0;
      transition: all 0.4s ease;
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .gallery-icon {
      width: 50px;
      height: 50px;
      background: #fff;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #d4a056;
      font-size: 1.5rem;
      transform: translateY(20px);
      transition: all 0.4s ease;
  }

  .gallery-item:hover img { transform: scale(1.1); }
  .gallery-item:hover .gallery-overlay { opacity: 1; }
  .gallery-item:hover .gallery-icon { transform: translateY(0); }

  /* RESPONSIVE TABLET (fino a 991px) */
  @media (max-width: 991px) {
      .gallery-mosaic {
          grid-template-columns: repeat(2, 1fr);
          grid-template-rows: repeat(3, 220px); /* 3 righe su tablet */
      }
      .gallery-item.main { grid-column: span 2; grid-row: span 1; }
      .gallery-item.wide { grid-column: span 1; }
  }

  /* FIX MOBILE (Smartphone fino a 576px) */
  @media (max-width: 576px) {
      .gallery-mosaic {
          gap: 10px;
          /* FIX: Solo 3 righe, altezza variabile per estetica */
          grid-template-rows: 220px 160px 220px;
      }

      /* La prima foto occupa tutta la larghezza (Riga 1) */
      .gallery-item.main {
          grid-column: span 2;
      }

      /* Le due foto piccole occupano metà ciascuna (Riga 2 standard) */

      /* FIX: Anche l'ultima foto occupa TUTTA la larghezza (Riga 3) */
      .gallery-item.wide {
          grid-column: span 2;
      }
  }

  .separator-gold {
      border: 0;
      height: 1px;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(212, 160, 86, 0.6), rgba(0, 0, 0, 0));
      margin: 40px 0 60px 0; /* Prima era 70px 0. Ora è molto meno sopra (40px) */
      opacity: 0.5;
  }

  /* Scurisce l'immagine Hero per leggere meglio il testo */
.img-scura {
    -webkit-filter: brightness(0.6); /* Per Safari/Chrome vecchi */
    filter: brightness(0.6);         /* Standard moderno */
}

/* (Opzionale) Se vuoi che su mobile sia ancora più scura perché il testo è più piccolo */
@media (max-width: 768px) {
    .img-scura {
        filter: brightness(0.5);
    }
}
