
:root {

	--text-base-size: 1.1rem;
    --text-scale-ratio: 1.125;
    --text-xxxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio));
    --text-xxl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio) * var(--text-scale-ratio));
    --text-xl: calc(var(--text-base-size) * var(--text-scale-ratio) * var(--text-scale-ratio));

    --text-md: var(--text-base-size);
    --text-sm: calc(var(--text-base-size) / var(--text-scale-ratio));
    --text-xs: calc(var(--text-base-size) / (var(--text-scale-ratio) * var(--text-scale-ratio)));
}


:root {
   --family2: 'Geometria', sans-serif;
   --family: 'Geometria', sans-serif;
   --family3: 'Intervensi';
   --fontSize: 48px;
  
   --color-tortora: #f2eadf;
   --color-blanco: #646D6F;
   --color-sabbia: #b3ab9f;
   --color-blue-lago: #a84341;
   --text-color: #1D1E22;
   --text-stroke-color: #fff;
   --text-fill-color: #7c9a92;
	
	--lvw: 1vw;
      --lvh: 1vh;
      --padding-sm: 16px;
      --padding: 24px;
      --accent-1: 200, 15%, 20%;
      --fg-1: 0, 0%, 100%;
      --ease-out: cubic-bezier(0.42, 0, 0.58, 1);
      --follow-scrollbar-size: 0px;
      --follow-scroll-relative-progress-y: 0;
	--max-width: 28em;
	--r:0%;
}

div.ccm-panel-content ul.nav,
div.ccm-panel-content menu {
    display: block;
}
/* Prevent horizontal overflow and handle fixed positioning */
#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#smooth-content {
  width: 100%;
  /* Do NOT set height: 100% here; let the content define the height */
  overflow: visible;
}
#smooth-content {
    min-height: auto; /* Ensure it's not restricted */
    height: auto;
}

#ccm-theme-grid-edit-mode-row-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%
}
::-webkit-scrollbar {
  background: white;
}

/* Style the scrollbar handle */


 /* Simplify the scroll bar appearance */


::-webkit-scrollbar-track {
  background: red;width:5px
}

::-webkit-scrollbar-thumb {
  background: #fff;border-radius:100%;height:11px;
}


::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #a32122e6;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box; 
}

::-webkit-scrollbar-thumb:hover{
    border: 0;
}

::-webkit-scrollbar-track {
    background: transparent;
}
.tiene_transition_5000 {
    -webkit-transition: -webkit-transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transition: opacity 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: opacity 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.tiene_transition_3000 {
    -webkit-transition: -webkit-transform 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transition: opacity 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: opacity 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.tiene_transition_3000b {
        -webkit-transition: -webkit-clip-path 2.5s cubic-bezier(0.165,0.840,0.440,1.000), -webkit-transform 2.5s cubic-bezier(0.165,0.840,0.440,1.000);
        transition: -webkit-clip-path 2.5s cubic-bezier(0.165,0.840,0.440,1.000), -webkit-transform 2.5s cubic-bezier(0.165,0.840,0.440,1.000);
        transition: clip-path 2.5s cubic-bezier(0.165,0.840,0.440,1.000), transform 2.5s cubic-bezier(0.165,0.840,0.440,1.000);
        transition: clip-path 2.5s cubic-bezier(0.165,0.840,0.440,1.000), transform 2.5s cubic-bezier(0.165,0.840,0.440,1.000), -webkit-clip-path 2.5s cubic-bezier(0.165,0.840,0.440,1.000), -webkit-transform 2.5s cubic-bezier(0.165,0.840,0.440,1.000);
}

.tiene_transition_2000 {
    -webkit-transition: -webkit-transform 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transition: opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.tiene_transition_1500 {
    -webkit-transition: -webkit-transform 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transition: opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 1500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.tiene_transition_1000 {
    -webkit-transition: -webkit-transform 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    -webkit-transition: opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: transform 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000), -webkit-transform 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.tiene_transition_2000_inout {
    -webkit-transition: -webkit-transform 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    -webkit-transition: opacity 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: opacity 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 2000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
}

.tiene_transition_1500_inout {
    -webkit-transition: -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    -webkit-transition: opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
}

.tiene_transition_1000_inout {
    -webkit-transition: -webkit-transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    -webkit-transition: opacity 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: opacity 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
}


a {
    -webkit-transition: color .3s cubic-bezier(.215, .61, .355, 1);
    transition: color .3s cubic-bezier(.215, .61, .355, 1);
    color: #272727;text-decoration: none;
}
.button {
    height: 60px;
    background: #4E3629;
    border-radius: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.5vw
}

.button:after {
    content: '';
    position: absolUte;
    width: calc(100% - 23px);
    height: calc(100% - 23px);
    border: 1px solid #FFF;
    border-radius: 30px;
    top: 10px;
    left: 10px
}


/* Global Styles */


.language-selector {
width:50%;margin-left:2%!important
}



.language-selector ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px; /* Espacio entre los idiomas */
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 6px; /* Espacio entre bandera y texto */
  text-decoration: none;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: #000;
  transform: translateY(-1px);
}

.lang-link.active {
  color: #666; /* Color para el idioma actual */
  pointer-events: none; /* Desactiva el click en el idioma ya activo */
}

.flag-icon {
  width: 18px; /* Tamaño elegante */
  height: 14px;
  border-radius: 2px; /* Esquinas suavizadas */
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15); /* Sombra suave para que resalte la bandera blanca */
}
@keyframes fadeInAnimation {
  from {
    opacity: 0;

  }
  to {
    opacity: 1;

  }
}


.c-fixed_wrapper {
    height: 100vh;
}

.c-fixed_wrapper {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.c-fixed {
    position: absolute;
    top: -100vh;
    bottom: -100vh;
    right: 0;
    left: 0;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    opacity: 1;
   mix-blend-mode: normal;
}
.c-fixed2{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
 height: 100%;width:100%;
    background-size: cover;background-color:red;

    opacity: 1;z-index:1
 
}.c-fixed2 img{
    position: relative;
    height: 100%;
    width:100%;
    opacity: 1;
    object-fit: cover;
}

.c-fixed_target {
    position: absolute;
    top: -100vh;
    right: 0;
    left: 0;
}

.c-fixed_target {
    bottom: -100vh;
}

.animare {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out; 
}


.animare.is-visible {
  visibility: visible;
  animation: fadeInAnimation 1s forwards; 

}


.animare:nth-child(1) {
  animation-delay: 0.1s;
}
.animare:nth-child(2) {
  animation-delay: 0.3s;
}
.animare:nth-child(3) {
  animation-delay: 0.5s;
}



a {
    -webkit-transition: color .3s cubic-bezier(.215, .61, .355, 1);
    transition: color .3s cubic-bezier(.215, .61, .355, 1);
    color: #272727
}


strong {
    font-weight: 500;
}
[data-sensitive],
[data-hover] {
    cursor: pointer;
}

[data-hover] {
    cursor: none !important;
}

[data-sensitive] *,
[data-hover] * {
    pointer-events: none;
}

.preserve3d {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
html.has-scroll-smooth {
    overflow: hidden;
    -webkit-overflow-scrolling: auto!important
}
.min-vh-100 {
    height: 100vh !important;
}
.min-vh-70 {
    min-height: 70vh !important;
}
.min-vh-50 {
    min-height: 50vh !important;
}
.halfMargin {
    margin-top: 2.5vw;
}
.section1-md {
    min-height: 100vh !important;
}
.section2-md {
    min-height: 70vh !important;
}
.section3-md {
    min-height: 50vh !important;
}
.section4-md {
    min-height: 25vh !important;
}
.margin {
    margin-top: 5vw;
}

.doubleMargin {
    margin-top: 8vw;
    margin-bottom: 2vh;
}
.vertical-middle {
  z-index: 3;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  min-height: 100%;
  justify-content: center;
  flex-flow: column;
}
.vertical-middle-overlay {
  position: absolute;
  top: 0;
  left: 0;
}
.logo{
    position:fixed;
    height: 82px;
    width: auto;
    z-index:999;
    top:0;
    left:0;
    backdrop-filter: blur(20px);
    
    padding: 3px;
    }
.logoImg{width:100%;height:auto}
:root{
  --header-h: 52px;
  --hdr-bg: rgba(255,255,255,0.65);
  --hdr-bdr: rgba(0,0,0,0.06);
  --z-header: 10050;   /* above menu */
  --z-menu: 10020;     /* below header */
  --z-backdrop: 10010; /* below menu */
}
/* ---------- FAQ HEADER ---------- */
.toggle.faq {
  border-radius: 10px;
}

.toggle.faq .toggle-header {
  position: relative;
  cursor: pointer;
  padding: 1rem 3.25rem 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.toggle.faq .toggle-header:hover {
  background: linear-gradient(135deg, #eef2f7, #e5e7eb);
}

.toggle.faq.is-open .toggle-header {
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
}

/* ---------- TITLE ---------- */
.toggle.faq .toggle-title {
  font-weight: 400;
  color: #0f172a;
}

/* ---------- + / ÃƒÆ’Ã‚Â¢Ãƒâ€¹Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ ICON ---------- */
.toggle.faq .toggle-icon {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.toggle.faq .toggle-icon::before,
.toggle.faq .toggle-icon::after {
  content: '';
  position: absolute;
  background: #0f172a;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

/* Linea orizzontale */
.toggle.faq .toggle-icon::before {
  width: 18px;
  height: 2px;
  top: 8px;
  left: 0;
}

/* Linea verticale (scompare quando aperto) */
.toggle.faq .toggle-icon::after {
  width: 2px;
  height: 18px;
  left: 8px;
  top: 0;
}

.toggle.faq.is-open .toggle-icon::after {
  opacity: 0;
  transform: scaleY(0);
}

/* ---------- CONTENT ---------- */
.toggle.faq .toggle-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: #334155;
  line-height: 1.6;
  overflow: hidden;
  font-size: 1.2rem;
}


.no_opacity {
    opacity: 0 !important;
    pointer-events: none;
}

.no_events {
    pointer-events: none;
}

.no_overflow {
    overflow: hidden;
}



.no_opacity.show {
    opacity: 1 !important;
    pointer-events: all;
}

.no_transition {
    -webkit-transition: none !important;
    transition: none !important;
}

.no_width {
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
    pointer-events: none;
}

.no_height {
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    pointer-events: none;
}

.top_hidden {
    -webkit-transform: translateY(101%);
    transform: translateY(101%);
}

.top_single {
    -webkit-transform: translateY(50px);
    transform: translateY(50px);
    opacity: 0;
}

.top_double {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
}

.left_single {
    -webkit-transform: translateX(25px);
    transform: translateX(25px);
    opacity: 0;
}

.right_single {
    -webkit-transform: translateX(-25px);
    transform: translateX(-25px);
    opacity: 0;
}

.left_double {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
    opacity: 0;
}

.top_translated {
    -webkit-transform: translateY(5vw);
    transform: translateY(5vw);
}

.top_double.show,
.top_single.show,
.show .top_double,
.show .top_single,
.left_single.show,
.left_double.show,
.show .left_single,
.show .left_double {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
}

.top_hidden.show,
.top_translated.show,
.show .top_hidden,
.show .top_translated,
.no_width.show,
.show .no_width {
    -webkit-transform: none;
    transform: none;
}

.t_container {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    height: 100%;
}

.t_container:nth-child(2) {
    -webkit-transition-delay: 100ms;
    transition-delay: 100ms;
}

.mask_left {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    display: block;transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.mask_left.full {
    -webkit-transform: translateX(-100.1%);
    transform: translateX(-100.1%);

}

.mask_left .t_container {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    display: block;
}

.mask_left.full .t_container {
    -webkit-transform: translateX(100.1%);
    transform: translateX(100.1%);
}

.t_container > img {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}

.mask_right {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.mask_right .t_container {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}

.mask_right.full {
    -webkit-transform: translateX(100.1%);
    transform: translateX(100.1%);
}

.mask_right.full .t_container {
    -webkit-transform: translateX(-100.1%);
    transform: translateX(-100.1%);
}

.mask_top {
    -webkit-transform: translateY(-100.1%);
    transform: translateY(-100.1%);
}


.mask_top .t_container {
    -webkit-transform: translateY(100.1%);
    transform: translateY(100.1%);
}

.mask_bottom {
    -webkit-transform: translateY(100.1%);
    transform: translateY(100.1%);
}

.mask_bottom .t_container {
    -webkit-transform: translateY(-100.1%);
    transform: translateY(-100.1%);
}

.show > .mask_bottom,
.show > .mask_left,
.show > .mask_left .t_container,
.show > .mask_left .t_container img,
.show > .mask_right,
.show > .mask_right .t_container,
.show > .mask_right .t_container img,
.show > .mask_top,
.show > .mask_top .t_container,
.show > .mask_top .t_container img,
.show > .mask_bottom,
.show > .mask_bottom .t_container,
.show > .mask_bottom .t_container img {
    -webkit-transform: none;
    transform: none;
}

.back_veil::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    -webkit-transform: scale(1, 0);
    transform: scale(1, 0);
    opacity: 0.3;
    background: #515651;
    -webkit-transition: -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    -webkit-transition: opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    transition: transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
    /* backface-visibility:hidden;
     -webkit-backface-visibility: hidden;*/
    z-index: -1;
}

.back_veil.top::after {
    -webkit-transform-origin: top;
    transform-origin: top;
}

.back_veil.left::after {
    -webkit-transform-origin: left;
    transform-origin: left;
    -webkit-transform: scale(0, 1);
    transform: scale(0, 1);
}

.show.back_veil::after {
    -webkit-transform: none;
    transform: none;
}

.btn__texl {
  position: relative;

	transform:translate(-15vw,-30vh);padding:1rem;padding-left:3rem;
  margin-left: 0;
  width:40%;
  height:60px;
  backdrop-filter: blur(20px);
 display: block;
  font-size:1.4rem;
  color: white;
  background:rgba(163,33,34,.9);
  box-shadow: -12px 0 30px rgba(0,0,0,.10);
  z-index: 10;text-decoration:none!important;border-radius:10px;
}

.lazyBox {
  width: 70vw;
  height: 50vh!important;
  object-fit:cover;
  border-radius: 10px;
}
.o-row {
    overflow: hidden;
    white-space: normal;
    width: -moz-max-content;
    width: max-content;
    width: -webkit-max-content;
    width: -ms-max-content;
    line-height: 110%;
    display: inline-block;
    text-align: center!important
}



.o-row > span {
    display: block;
    -webkit-transition: 1s cubic-bezier(.215, .61, .355, 1);
    transition: 1s cubic-bezier(.215, .61, .355, 1);
    -webkit-transition-delay: .4s;
    transition-delay: .4s;
    -webkit-transform: translate(0, 100%);
    transform: translate(0, 100%);overflow-wrap:normal
}

.show .o-row:first-child span {
    -webkit-transition-delay: .1s;
    transition-delay: .1s;
}

.show .o-row:nth-child(2) span {
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}

.detect .o-row:nth-child(3) span {
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}

.detect .o-row:nth-child(4) span {
    -webkit-transition-delay: .4s;
    transition-delay: .4s;
}

.detect.is-inview .o-row > span {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0); -webkit-transition: all 1s linear; transition: all 1s linear;
}



















/* Fixed header  backdrop-filter: saturate(180%) blur(8px);*/
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: var(--z-header);
 
  background: transparent;
  border-bottom:none;
}

.header-inner{
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
}

.brand .logoImg{height: 73px;width: auto;display: block;}

.header-actions{
  display: flex; align-items: center; gap: 12px;
}

/* Booking button stays visible on all sizes */
.booking-btn{margin-right:-14px;position: relative;z-index: 2;border-radius: 1px;padding: 1.5rem!important;padding-top: 3em!important;background-color:#6A8086;color: white;height: 100px;  font-family:var(--bs-heading-font-family);}
 .booking-btn:hover{background-color:#6E9DBE}
/* Hamburger */
.hamburger{  font-family:var(--bs-heading-font-family);
  width: 112px;
  height: 97px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2eadf;
  border: 1px solid var(--hdr-bdr);
  border-radius: 0;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
  margin-right:-12px;
  padding-top: 1.5rem;
  border-bottom-left-radius: 2%;
}
.hamburger:hover{ box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-1px); }
.hamburger span{
  display: block; width: 20px; height: 2px; background: #111; border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, width .2s ease;
}
.hamburger span + span{ margin-top: 4px; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; width: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* Panel menu (slides from right) */
.panel-menu{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100vw, 100vw);
  backdrop-filter: blur(20px);
  background-color: #f2eadf;
  box-shadow: -12px 0 30px rgba(0,0,0,.10);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
  z-index: 10;
  padding-top: calc(var(--header-h) + 12px);   transition: transform 1000ms cubic-bezier(0.575, 0.005, 0.285, 1.005), opacity 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005), -webkit-transform 1500ms cubic-bezier(0.575, 0.005, 0.285, 1.005);
}
.panel-menu.open{ transform: translateX(0); }

.panel-nav{
  display: grid;
  gap: 10px;
  padding: 16px 25px 28px;
  width: 30%;
  margin-left: 10%;
  margin-top: 10%;
  background-color: transparent;
  border-radius: 2%;
}
.panel-link{
  display: block;
  padding: 12px 10px;
  font-size: 18px; font-weight: 600; color: #111; text-decoration: none;
  border-radius: 8px; transition: background .2s ease, transform .15s ease;
}
.panel-link:hover{ background: rgba(17,17,17,.06); transform: translateX(2px); }
.monog{position: absolute;width: 50vw;height: 100vh;top: 0;z-index: 1;right: 0;}
.monog svg{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .5;
    right: 0;
    }


/* Backdrop */
.panel-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.22);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 1;
}
.panel-backdrop.show{ opacity: 1; }
.nav {margin-top: 5vh;margin-bottom: 9vh;}
.nav-link {
  display: block;
  font-size:1.6rem;
  color: rgba(163,33,34,.9);
  background: none;
  border: 0;
  text-transform: uppercase;
  letter-spacing: 2px;text-align: center;
  }


.nav-path-selected {
  display: block;
  font-size:1.4rem;
  color: white;
  background:rgba(163,33,34,.9);
  border: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  }



.list-group {
   margin-top: 3rem;
   display: flex;
   flex-direction: row;
   padding-left: 0;
   margin-bottom: 0;
   border-radius: 0;
   margin-left: 1rem;
}
.list-group-item {
    position: relative;
    display: block;
    padding-left: 1rem;
    padding-top: 0.5rem;
    color: var(--bs-list-group-color);
    text-decoration: none;
    background-color: transparent;
    border: none;
    margin-bottom: 0;
    font-size: 1.2rem;
    margin-right: 0;
}


@media (min-width: 992px) {
    .pin-wrap {
        height: 100vh;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0;
    }
	
	a.mt-n3 {

    margin-left: 2rem;font-size:1.2rem
}
}
.toggle-title {font-size: 1.5rem;}
/*section{
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 0.5rem;
}*/
#hero2{
 margin-top: 0;
 padding: 0;
}
#hero{
 margin-top: 0;
 padding: 0;
}
#about{
   padding-top:6rem;
   height: 77vh;
}
#rooms{
   padding-top: 1rem;
   height: 91vh;
}
#dining{
   padding-top: 7rem;
   height: 95vh;
}

#book-cta{
   padding-top: 6rem;
   height: 111vh;
}
.page-template-camere-singola #book-cta{
   padding-top: 6rem;height: 20vh;
   min-height: 20vh;
}
.btn{background-color: rgba(163,33,34,.9);}

     /* Hero Content Wrapper - ensures text is centered and layered on top */
        .content-wrapper {
            z-index: 10; /* Ensure content is above background */
            position: relative;margin-top:25vh
        }
#book-cta h3{font-family:var(--bs-heading-font-family);color: #0a0a0a;text-transform:none;font-weight: 300;letter-spacing: 1px;font-size: 9.7rem!important;position: absolute;width: 90vw;left: 5vw;z-index: 999;margin-top: 31vh;text-shadow: 0 -2px 5px rgba(255,255,255,.97);text-align: center;mix-blend-mode: overlay;}



.vantaggi  {
    position: absolute;
    width: 30vw;
    height: 60vh;
    top:18%;
    left: 0;
    z-index: 3;
   
}

.vantaggi img {

    width: 100%;
    height: 100%; object-fit:cover
  
}
#hero-title{font-size: 6rem; color:white
        }
#hero-title2{font-size:2rem}


     .gradient-text {font-size:4rem
            /* Fallback color for browsers that don't support gradients */
            color: #8b5cf6;
            background-image: linear-gradient(to right, #ceb698, #7DA3B8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-fill-color: transparent;
        }
        /* Custom style for the purple button to match the original aesthetic */
        .btn-custom-purple {
            background-color: #8b5cf6; /* purple-600 */
            border-color: #8b5cf6;
            font-weight: 600;
            padding: 0.75rem 2rem;
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }
        .btn-custom-purple:hover {
            background-color: #7c3aed; /* purple-700 */
            border-color: #7c3aed;
        }
.section-images{margin-top: 0.5rem;}.section-imagesPad{padding-top: .1vh;}
.pin-spacer {
    position: absolute;
    width: 100vw;
    top: 0;
    left: 0;


    padding: 10vw;
    padding-bottom: 12vw;
    width: auto;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.swiper {
  width: 100vw;
  height:100vh;
}

#slider {width: 100vw;height: 100vh!important;top: 0;left: 0;margin-top:0!important}
#slider .slider-inner {
    height: 100vh!important;
    width: 100%!important;
}
.swiper_wrapper .swiper-container {
  position: absolute;
  width: 100%;
  height: 100vh;
  margin: 0;
}
.swiper_wrapper .swiper-slide {
  position: relative;
  margin: 0;
  overflow: hidden;height:100vh
}
.swiper_wrapper .swiper-slide [data-caption-animate] {
  -webkit-backface-visibility: hidden;
}

.swiper-slide-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}     
        #slider.hidden .swiper-slide {
        top: 0;
        left: 0;
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
        opacity: 1;
        height: 100vh;
    }

    #slider.nohidden .swiper-slide {

         -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
 .swiper {
      width: 100%;
      height: 100%;
    }

#topVeil {
    background: rgba(0, 0, 0, .0);
    opacity: 1;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    background-image: linear-gradient(0deg, #ffffff, #000d1900);
    height: 13.625rem;
    position: absolute;
    inset: auto 0% 0%;
    z-index: 9;
}


    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .swiper {
      margin-left: auto;
      margin-right: auto;
    }


  .autoplay-progress {
      position: absolute;
      right: 16px;
      bottom: 16px;
      z-index: 10;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      color: var(--swiper-theme-color);
    }

    .autoplay-progress svg {
      --progress: 0;
      position: absolute;
      left: 0;
      top: 0px;
      z-index: 10;
      width: 100%;
      height: 100%;
      stroke-width: 4px;
      stroke: var(--swiper-theme-color);
      fill: none;
      stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
      stroke-dasharray: 125.6;
      transform: rotate(-90deg);
    }




h2{
  font-family:var(--bs-heading-font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em!important;
  font-weight: 500;
  font-size: 3rem!important; 

  }

h3{
  font-family:var(--bs-heading-font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em!important;
  font-weight: 500;
  font-size: 3.3rem!important;
  margin-bottom: 2rem;
  }
h4{
  font-family:var(--bs-body-font-family);
  text-transform: none;
  letter-spacing: 0.03em!important;
  font-weight: 500;
  font-size: 1.5rem!important;
  margin-bottom:4vh;
  }
p{
  font-family:var(--bs-body-font-family);
  letter-spacing: 1px;
  font-weight: 1;
  font-size: 1.2rem;
  }
.fc-content h3{
  font-family:var(--bs-body-font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em!important;
  font-weight: lighter;
  font-size: 2.7rem!important;
  line-height: 1.2;
  margin-bottom: 2rem;
  display: block;
  max-width: 60%;
  }

#sloganHome {
    position: absolute;
    width: 80%;
    bottom: 14%;
    left: 10vw;
    z-index: 671;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
    text-align: center;
    -webkit-transition: all 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
    transition: all 2000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

#sloganHome h1 {
  font-family:var(--bs-heading-font-family);
  font-size: 4.8vw;
  text-transform: none;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 -1px 3px rgb(0 0 0 / 50%);
  color: #F3EFEB;
  margin: 0 0 -20px 0;
  line-height: .9;
  }
#sloganHome h1{font-weight: bold;font-size: 9.5vw;letter-spacing: 1px;text-align: center;text-transform: uppercase;text-shadow: 0 1px 2px rgb(0 0 0 / 50%);line-height: 1.1;margin-bottom: 2rem;}

#sloganHome h1 strong {
    color: #a32122
}
strong {
    color: rgb(163 33 34);
}

#sloganHome h2 {
  color: #ffffff;
  font-size: 2.2rem!important;
  font-weight:inherit;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  line-height: 11px;
  text-transform: none;
  margin-bottom: 20px;
}
#sloganHome h2 strong{
  
    color: #a32122
 
}


#sloganHome h3{
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  text-transform: none;
  color: white;
  font-size: 2rem !important;
}#sloganHome p{
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  color: #ffffff!important;
  font-size: 1.9rem!important;
}
:root{
  --left-col: 50vw;     /* left text column */
  --card-w: 50vw;       /* card width on desktop */
  --overlap: 0.75;      /* how much the next card overlaps the previous (0.75 = 75%) */
  --page-bg: #6E9DBE;
  --text: #0f0c09;

}



/* ====================================
   1. STRUTTURA STICKY PRINCIPALE
   ==================================== */

/* ====================================================================
   1. STRUTTURA STICKY PRINCIPALE
   ==================================================================== */
#hero {
    /* Il contenitore piÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¹ esterno dovrebbe definire l'area visibile */
    height: 100vh;
    position: relative;
    overflow: hidden; /* Importante per contenere l'espansione */
    background-color: var(--orang); /* Usa il colore di sfondo della tua sezione */
}

#stikers, #sticky-section {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    transform: none !important;
}

.sticky-wrapper {
    position: relative;
    height: 100vh;
    max-height: 100vh;
}

/* Elemento che funge da centro di centratura nel viewport */
.sticky-element {
    /* Centratura garantita con Flexbox */
    position: absolute; /* Usiamo absolute per riempire il genitore */
    top: 4%;
    left: 0;
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: row;
    justify-content: center; /* Centra orizzontalmente */
    align-items: center;    /* Centra verticalmente */
    overflow: hidden;
}

/* ====================================================================
   2. ELEMENTO TRASFORMABILE (STATO INIZIALE: CERCHIO PERFETTO)
   ==================================================================== */

.sticky-content {
    position: relative;
    z-index: 2;
    display: flex;
    overflow: hidden;

    /* STATO INIZIALE: CERCHIO PERFETTO */
    width: 20%; /* Iniziale: 40% della larghezza del viewport */
    height: 20vh; /* Uguale alla larghezza per un quadrato/cerchio */
    border-radius: 50%; /* Cerchio perfetto */
    
    /* Gestione visibilitÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â  iniziale (gestita da GSAP) */
    opacity: 0; 
    visibility: hidden; 
    
    justify-content: center;
    align-items: center;

    /* Cornice decorativa */
    box-shadow: 0 0 0 1.5vw #fcfdf6;
    will-change: width, height, border-radius, opacity, box-shadow; 
}



.sticky-image {
    width: 100%;
    height: 100%;
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

/* ====================================================================
   3. ELEMENTI DI SFONDO E BOTTONI
   ==================================================================== */

.sticky-bg {
    position: absolute;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: auto;
    width: 100%;
    height: 50%;
   
}

/* Assicurati che #sloganHome sia gestito correttamente nel layout */
#sloganHome {
    position: absolute;
    z-index: 5;
    /* Aggiungi stili per posizionare il testo sopra il media */
    /* top: 50%; left: 50%; transform: translate(-50%, -50%); */
}





  :root{
    --radius: 1px;
    --shadow-1: 0 8px 24px rgba(0,0,0,.16), 0 1px 0 rgba(255,255,255,.08) inset;
    --shadow-2: 0 16px 48px rgba(0,0,0,.20);
    --brand: #6E9DBE;
    --ink: #0d0d0d;
    --page-bg: #f6f6f6;
  }



  /* ===== Section ===== */

.section-header{width: 70vw;margin-left: 15vw;margin-bottom: 1rem;text-align: center;}
  .showcase{
    position:relative;
    isolation:isolate;
    padding: 0;
    padding-top: 3rem;
    overflow: clip;
    height: 77vh;
    background-color: transparent;
    margin-top: 5rem;
  }
  .showcase-bg{
    position:absolute;top:30%;left:0;width:100%;height:30%;

    z-index:-1;
    background-color: rgba(163,33,34,.54);
  }
  .showcase-inner{
    width:min(1120px, 92vw);
    margin-inline:auto;
    text-align:center;
  }
  .showcase-title{
    font-size:clamp(28px, 4.5vw, 48px);
    letter-spacing:.2px;
    margin:0 0 .25em;
  }
  .showcase-sub{opacity: 1;margin:0 0 2rem;}



  /* ===== Stack / Cards ===== */
 .showcase .stack{
    --cardW: min(940px, 72vw);
    --cardH: calc(var(--cardW) * 0.56); /* 16:9 */
    width:var(--cardW); height:var(--cardH);
    margin-inline:auto; position:relative;
    perspective: 1600px;
    transform-style:preserve-3d;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
  }
  .showcase .stack.is-dragging{ cursor: grabbing; }

  .showcase .card{
    position:absolute; inset:0;
    border-radius: 4px;
    overflow: clip;
    box-shadow: var(--shadow-1);
    outline: 1px solid rgba(255,255,255,.3);
    transform-origin: center;
    background:#d6d6d6;
    will-change: transform, opacity;
  }
  .showcase .card img{
    width:100%; height:100%; object-fit:cover; display:block;
    transform: translateZ(0);
    pointer-events:none;
  }

  /* Highlight sweep on hover */
  .showcase .card.front::after{
    content:""; position:absolute; inset:-20% -40%;
    background: conic-gradient(from 230deg at 50% 50%, rgba(255,255,255,0), rgba(255,255,255,.18) 18%, rgba(255,255,255,0) 42%);
    mix-blend-mode: screen; pointer-events:none; opacity:0; transition:opacity .25s ease;
  }
  .showcase .stack:hover .card.front::after{ opacity:.55; }

  /* Dots */
 .showcase .dots{
    display:flex; gap:.5rem; justify-content:center; margin-top: clamp(14px, 2.2vw, 24px);
  }
 .showcase .dot{
    width:8px; height:8px; border-radius:999px; background:#bbb; opacity:.5; transition:.25s;
  }
 .showcase .dot.is-active{ opacity:1; transform:scale(1.25); background:#333; }

  /* CTA */
  .showcase-cta{display:flex;gap:.9rem;justify-content: center;margin-top: clamp(18px, 3vw, 32px);}
 .fc-content .showcase-cta{justify-content: flex-start;}
  .btn-ghost, .btn-solid{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.85rem 1.2rem;
    border-radius: 0;
    text-decoration:none;
    font-weight: 400;
    transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  }
  .btn-ghost{ border:1px solid rgba(0,0,0,.12); background:rgba(255,255,255,.7); color:#222; backdrop-filter: blur(6px); }
  .btn-ghost:hover{ transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .btn-solid{ background:var(--brand); color:#111; box-shadow: 0 10px 24px rgba(202,168,130,.35); }
  .btn-solid:hover{ transform: translateY(-1px); box-shadow: 0 16px 36px rgba(202,168,130,.45); }
.btn-ghost.toLeft{float:left!important}
  @media (prefers-reduced-motion: reduce){
    .showcase .stack, .showcase .card, .btn-ghost, .btn-solid{ transition:none !important; animation:none !important; }
  }


/* ===== 3D Carousel (scoped) ===== */
.carousel3d{
  position: relative;
  width: 100%;
  height: clamp(320px, 55vh, 560px);
  perspective: 1200px;           /* perspective from container */
 
  margin-block: 7rem
}

.carousel3d__track{
  position: absolute; inset: 0;
  transform-style: preserve-3d;  /* allow children 3D transforms */
}

.carousel3d__card{
  position: absolute; top: 50%; left: 50%;
  width: min(86vw, 520px);
  aspect-ratio: 3 / 4;height:60vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}
.page-template-home2 .carousel3d__card{
  position: absolute; top: 50%; left: 50%;
  width: min(86vw, 60vw);
  aspect-ratio: 9 / 16;height:60vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}
.page-template-camere .carousel3d__card{
  position: absolute; top: 50%; left: 50%;
  width: min(86vw, 60vw);
 height:60vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}
.page-template-servizi .carousel3d__card{
  position: absolute; top: 50%; left: 50%;
  width: min(86vw, 60vw);
 height:60vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}
.carousel3d__inner{
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: 24px;
}
.carousel3d__inner img{
  position: absolute; width:100%;height:100%;object-fit:cover
}
.carousel3d__title{ margin: 0; font-weight: 800; font-size: clamp(20px, 2.4vw, 34px); }
.carousel3d__text { margin: .4rem 0 0; opacity: .8; }

/* Optional backdrop flourish under center card */
.carousel3d::after{
  content:""; position:absolute; left:50%; bottom: 6%;
  width: 42%; height: 14%;
  transform: translateX(-50%) rotateX(70deg);
  filter: blur(30px);
  background: radial-gradient(closest-side, rgba(0,0,0,.15), transparent 60%);
  pointer-events:none;
}

/* Cursor hints (grab when hovering) */
.carousel3d, .carousel3d__card { cursor: grab; }
.dragging-mode .carousel3d, .dragging-mode .carousel3d__card { cursor: grabbing; }





.section4{
    position: absolute;
    width: 100vw;
    height: 70vh;
    padding: 0.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;top:20vh;z-index:0
}
/* Stile del testo, puoi personalizzarlo */
.section4 h3 {
    font-size: 10rem;
    padding: 0 2rem; /* Aggiunge spazio tra le parole */
    white-space: nowrap; /* Impedisce al testo di andare a capo */
    color: rgba(206, 182, 152,.6);
}

/* Il contenitore principale che "ritaglia" la visuale */
.section4 .sliderMark {
    width: 100%;
    overflow: hidden;
    
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.section4 .sliderMark .box {
    display: flex; /* Mette gli h3 in fila uno accanto all'altro */
    width: fit-content; /* La larghezza si adatta al contenuto */
    animation: scroll 24s linear infinite; /* Applica l'animazione */
}

/* L'animazione vera e propria */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
    
        transform: translateX(-50%);
    }
}









@media (max-width: 766px){
  :root{ --overlap: 0px; }
  .fc-card + .fc-card{ margin-left: 0; }
}

footer{background-color: #a32122;
	   
	   
	   height:50vh}


@media (max-width: 991px) {  .showcase {
    position: relative;
 
    padding: clamp(40px, 6vw, 96px) 0 clamp(56px, 8vw, 120px);
    overflow: clip;
    height: auto;
}
footer{background-color:#6e9dbe;height:auto}


}
 :root{
      --accent: #6E9DBE;              /* beige brand */
      --ink: #121212;                 /* testo */
      --muted: #5d5d5d;               /* testo secondario */
      --surface: #ffffff;             /* card */
      --radius: 22px;
      --shadow-1: 0 8px 26px rgba(0,0,0,.08);
      --shadow-2: 0 24px 60px rgba(0,0,0,.14);
    }



    /* Layout demo (solo per centratura pagina) */
    .page-wrap{ padding: clamp(28px, 5vw, 72px) 0 }


    .vl-taste{
      position: relative;
      padding: clamp(48px, 7vw, 96px) 0;
      isolation: isolate;
      overflow: clip;
    }
    .vl-taste-bg{
      position: absolute; inset: -10vh 0 -15vh 0; z-index: -1;
      background:
        radial-gradient(60% 50% at 80% 15%, rgba(202,168,130,.18), transparent 55%),
        radial-gradient(55% 45% at 10% 90%, rgba(0,0,0,.06), transparent 55%),
        linear-gradient(#fafafa, #f4f4f4);
    }
    .vl-taste-wrap{ width:min(1200px, 92vw); margin-inline:auto; }

    /* Griglia contenuti */
    .vl-taste-grid{
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: clamp(28px, 4vw, 56px);
      align-items: center;
    }
    @media (max-width: 992px){
      .vl-taste-grid{ grid-template-columns: 1fr; }
    }

    /* Colonna sinistra (testi) */
    .vl-eyebrow{
      font-weight: 600; color: var(--accent);
      letter-spacing: .08em; text-transform: uppercase;
      margin: 0 0 .6rem;
    }
    .vl-title{
   font-family:var(--bs-body-font-family);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  font-size:3rem!important; line-height: 1.06;
      margin: 0 0 .7rem;
    }
    .vl-lead{
      color: var(--muted);
      font-size: clamp(16px, 1.2vw, 18px);
      line-height: 1.75;
      margin: 0 0 1.2rem;
    }
    .vl-list{
      list-style: none; padding: 0; margin: 0;
      display: grid; gap: .55rem;
    }
    .vl-list li{
      position: relative; padding-left: 1.7rem; font-weight: 600;
    }
    .vl-list li::before{
      content: "";
      position: absolute; left: 0; top: .15rem;
      width: 1rem; height: 1rem; border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #fff, #fff0 55%), var(--accent);
      box-shadow: 0 2px 6px rgba(202,168,130,.45);
    }

    /* Card immagine a destra */
    .vl-card{
      position: relative; margin: 0;
      border-radius: 4px;
      background: var(--surface);
      box-shadow: var(--shadow-1);
      overflow: clip;
      outline: 1px solid rgba(255,255,255,.5);
      transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
    }
    .vl-card img{
      display: block; width: 100%; height: auto;
      aspect-ratio: 5 / 5; object-fit: cover;
    }
    .vl-card::before{
      content:""; position:absolute; inset:0; border-radius: inherit; pointer-events:none;
      box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), inset 0 0 0 2px rgba(255,255,255,.15);
    }
    .vl-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-2); }
    .vl-card figcaption{
      position: absolute; left: 14px; bottom: 14px;
      background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
      color: #222; padding: .45rem .7rem; border-radius: 999px;
      font-size: .85rem; font-weight: 600;
      box-shadow: 0 8px 18px rgba(0,0,0,.08);
    }

    /* Reveal on scroll (rispetta reduce motion) */
    @media (prefers-reduced-motion: no-preference){
      .vl-taste-left, .vl-card{ opacity:0; transform: translateY(18px); }
      .vl-taste.reveal .vl-taste-left,
      .vl-taste.reveal .vl-card{
        opacity:1; transform: none; transition: all .7s cubic-bezier(.2,.8,.2,1);
      }
      .vl-taste.reveal .vl-card{ transition-delay: .08s; }
    }



.page-template-camere .containerr {
  width: 100%;
  height:auto;
  min-height: 418vh;
}
.page-template-home2 .containerr {
  width: 100%;
  min-height: 537vh;
}
.page-template-camere-singola .containerr {
  width: 100%;
  height:auto;
  min-height: 506vh;
}
.page-template-servizi .containerr {
  width: 100%;
  min-height: 847vh;
}

.page-template-faq .containerr {
  width: 100%;
  min-height: 399vh;
}
.page-template-services .containerr {
  width: 100%;
  min-height: 410vh;
}.page-template-risto .containerr {
  width: 100%;
  min-height: 261vh;
}
.page-template-posizione .containerr {
  width: 100%;
  min-height: 429vh;
}
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: transparent;
}
.header {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header h1 {
  text-align: center;
  text-transform: uppercase;
  font-size: 15vw;
  font-weight: 600;
  color: #fff;
  line-height: 100%;
}

.website-content {
  position: absolute;
  top: 100vh;
  width: 100vw;
  height:auto;
  padding: 4rem .1rem;padding-right:.4rem;
  background: radial-gradient(60% 50% at 70% 20%, rgba(202, 168, 130, .25), transparent 60%), radial-gradient(50% 40% at 20% 80%, rgba(13, 13, 13, .06), transparent 60%), linear-gradient(#fafafa, #f2f2f2);
  filter: saturate(1.05);
}

.section-header h1 {
  max-width: 60%;
  font-size: 4vw;
  font-weight: 400;
  color: #fff;
  line-height: 100%;
  text-transform: uppercase;
}

.section-header h4 {
  max-width: 100%;
  color: black;
  text-align: center;
}
.section-header p {
  font-size: 1.2rem;
  text-align: center;
  font-weight: 400;
  color: #272727;
  margin-top: 3rem;
}

.row {
  display: flex;

  margin: 2em 0;
}


#contact img {
  height: 13vh;
  width: 10vw;
  object-fit: cover;
}
 .row .bord-15 img {
  height: 50vh;
  width: 100%;
  object-fit: cover;
}

.dg-footer__legal{
    width: 100vw;
    height: 30vh;
    display: block;
    margin: 0 auto;
    text-align: center;
}
.navRight img{object-fit:cover;height: 100vh;}
@media (max-width: 768px){
  :root{ --header-h: 64px; }
  .brand .logoImg{width: 44vw;height: auto;}
  .hamburger{
  width: 23vw;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--hdr-bdr);
  border-radius: 0;
  cursor: pointer;
  transition: box-shadow .2s ease, transform .2s ease;
  margin-right: -11px;
  padding-top: 0.8rem;
  left: 0;
}
  .booking-btn{margin-right: -16px;margin-top: 4px;position: relative;z-index: 2;border-radius: 0;width: 31vw;padding: 1.5rem!important;height: 68px;padding-top: 1.5rem!important;text-transform: uppercase;font-size: .7rem;}
.panel-menu{
  
  width:100vw;

}#book-cta{
   padding-top: 6rem;
   height: auto;
   padding-bottom: 9rem;
}.logo{
    position:fixed;
    height: 66px;
    width: auto;
    z-index:999;
    top:0;
    left: 0;
    backdrop-filter: blur(20px);
    background-color: white;
    }
.logoImg{width:100%;height:auto}
  .section-next{display:none}
/*.page-template-home2 .containerr {
  width: 100%;
  min-height: 480svh !important;
  height: auto !important;
}.page-template-servizi .containerr {
  width: 100%;
  height: auto !important;
}
  .page-template-camere .containerr {
  width: 100%;
  min-height: 686lvh !important;
  height: auto !important;
}
  .page-template-condizioni .containerr {
  width: 100%;
  min-height: 447lvh !important;
  height: auto !important;
}
.page-template-dintorni .containerr {
  width: 100%;
  min-height: 349lvh !important;
  height: auto !important;
}*/
.carousel3d{
  position: relative;
  width: 100%;
  height: auto;
  perspective: 1200px;           /* perspective from container */
  margin-block: 10rem;
  margin-bottom:22vh;
  margin-bottom: 29vh;
}
 .page-template-camere .carousel3d{
  position: relative;
  width: 100%;
  height: auto;
  perspective: 1200px;           /* perspective from container */
  margin-block: 5rem;
  margin-bottom:22vh;
  margin-bottom: 29vh;
}
.page-template-camere .carousel3d__card{
  position: a; top: 5%; left: 50%;
  width: 80vw;
 height:32vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}
.page-template-servizi .carousel3d__card{
  position: a; top: 5%; left: 50%;
  width: 80vw;
 height:32vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
} .pin-wrap {
        overflow: hidden!important
    }/*.pin-spacer {
    position: absolute;
    width: 100vw;
    top: 0;
    left: 0;
    padding: 10vw;
    padding-bottom: 12vw;
    width: auto;
    height: 60vh!important;
    display: flex;
    justify-content: flex-start;
    align-items: center;
} */
.sticky {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60vh!important;
  background-color: transparent;
}#slider {width: 100vw;height: 100vh!important;top: 0;left: 0;margin-top:0!important}
#slider .slider-inner {
    height: 70vh!important;
    width: 100%!important;
}.nav {margin-top: 2vh;}
  .nav-link {
  display: block;
  font-size:1.3rem;
  color: black;
  background: none;
  text-transform:uppercase;
  text-align:center;
  border: 0;
  padding-top: 1.5rem;
  }
  
.min-vh-70 {
    min-height: auto !important;
}
.min-vh-50 {
    min-height: auto!important;
}

  .section-header h3 {
   display:none
  }.section-header h4 {margin-top: 1rem;font-size: .8rem !important;padding-left: .5rem;}
	
	h2,h3{
  font-family:var(--bs-body-font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em!important;
  font-weight: 500;
  font-size: 2.4rem!important;
  }

h3{ font-family: var(--bs-body-font-family);
        text-transform: uppercase;
        letter-spacing: 0.03em !important;
        font-weight: lighter;
        font-size: 1.6rem !important;
        line-height: 1.2;
        margin-bottom: 2rem;
        display: block;
        max-width: 100%;}
       





	
  .section-header p {
    width: 100%;
    margin-top: 10px;
    font-size: 1.2rem!important;
  }
#contact img {
  height: 23vh;
  width:85vw;
  object-fit: cover;
}

#sloganHome {width: 90%;min-height: 50vh;top: 63%;left: 5vw;}
.page-template-camere-singola #sloganHome {width: 90%;bottom: 11%;left: 5vw;}
#sloganHome h1 {font-size: 2.4em;}

#sloganHome h2 {
  font-size: 1.4rem!important;
  margin-top: 2rem;
  line-height: 1.2;
}

 .showcase .stack{
    --cardW: min(940px, 82vw);
    --cardH: calc(var(--cardW) * 1.16); /* 16:9 */
    width:var(--cardW);
    height:var(--cardH);
    margin-inline:auto;
    position:relative;
    perspective: 2800px;
    transform-style:preserve-3d;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    margin-top: 4rem;
    margin-bottom: 3rem;
  }
  .btn-ghost.toLeft{float:none!important;width:80vw}

.carousel3d__card{
  position: absolute; top: 70%; left: 50%;
  width: min(86vw, 520px);margin-top:5rem;
  height:40vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}
.dg-footer__legal{
    width: 100vw;
    height: 10vh;
    display: block;
    margin: 0 auto;
    text-align: center;
}


.list-group {
   margin-top: 1rem;
   width: 100%;
   display: flex;
   flex-direction: row;
   padding-left: 0;
   margin-bottom: 0;
   border-radius: 0;
   text-align: center;
   margin-left: 0;
   align-items: center;
   margin-bottom: 0;
   margin-right: 0;
   justify-content: center;
}
.page-template-home2 .showcase-title{
text-align: left;padding-left: 2rem;
  }
 .page-template-home2 .showcase-sub{opacity: 1;margin:0 0 2rem;text-align: left;padding-left: 2rem;padding-right: .5rem;}
	

	a.mt-n3 {display:block;
width:80%;
    margin-left: 10%;font-size:1.2rem;margin-right:auto;text-align:center!important
}
}


@media (max-width: 768px) {
  .website-content {
    padding: 3em .7em;
    height: auto;
  }
.containerr {
    width: 100%;
    height: auto !important;min-height: auto;
}
	.page-template-home2 .containerr {
  width: 100%;
  min-height: auto;
  height: auto !important;
}
	.page-template-camere .containerr {
  width: 100%;
 
  height: auto !important;min-height: auto;
}  .page-template-servizi .containerr {
  width: 100%;

  height: auto !important;min-height: auto;
}
  .page-template-condizioni .containerr {
  width: 100%;
 
  height: auto !important;min-height: auto;
}
.page-template-dintorni .containerr {
  width: 100%;
  
  height: auto !important;min-height: auto;
}
.sticky {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60vh!important;
  background-color: transparent;
}
.website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 40vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}
	.page-template-home2 .website-content {
    padding: 2em .7em;
    top:0;
    margin-top: 0vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}
	.page-template-camere .website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 0vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}

	.page-template-camere  #sloganHome h2 {
  color: #ffffff;
  font-size: 2rem!important;
  font-weight:inherit;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  line-height: 11px;
  text-transform: none;
  margin-bottom: 20px;margin-top:3rem
}





	
	.page-template-camere-singola .website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 0vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}
  .row img {
    height: 300px;
  }
.section-images {
    margin-top: -1.5rem;
}.fc-card figure img{
  display: block;
  width: 100%;
  height: 35vh;
  object-fit: cover;
}





.page-template-posizione .website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 1vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}



.page-template-risto  .website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 1vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}



    .page-template-services .website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 1vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    margin-bottom: 3vh;
}

	
}







   .nextBlockInside {
      position: absolute;display:none;
      bottom: 0;
      right: 31vw;
      width: 20%;
      height: 100%;
      z-index: 9999;
      background: linear-gradient(90deg, #f6f6f6 25%, transparent);
      filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f3eee9",endColorstr="#6E9DBE",GradientType=1);
      -webkit-transform: scale(1.2);
      transform: scale(1.2)
    }
.__slider-gradient--bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg,hsla(30,29%,93%,0) 0,#f3eee9);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#001e5799",endColorstr="#f3eee9",GradientType=0)
}


.infoBlock {
    position: absolute;
    cursor: pointer;
    bottom: 21px;
    right: 26px;
    z-index: 211;
    width: 172px;
    height: 40px;
    line-height: 22px;
    background-color: transparent;
    text-align: right!important;
    border-radius: 0;
    mix-blend-mode: difference
}.infoBlock2 {
    position: absolute;
    cursor: pointer;
    bottom: 9px;
    left: 26px;
    z-index: 211;
    width: 30vw;
    height: 40px;
    line-height: 22px;
    background-color: transparent;
    text-align: left;

}.infoBlock2 a{
   font-family: var(--family2);
    font-weight: 300;
    font-size: .9rem;
    color: #fffff4 !important;
}
.btmail {
    position: absolute;
    cursor: pointer;
    top: 10px;
    right: 0;
    z-index: 11;
    width: auto;
    min-width: 60px;
    display: inline-block;
    height: 14px;
    letter-spacing: .073vw;
    line-height: 18px;
    background-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: opacity .6s cubic-bezier(.165, .84, .44, 1);
    transition: opacity .6s cubic-bezier(.165, .84, .44, 1);
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
    font-family: var(--family2);
    font-weight: 300;
    font-size: .9rem;
    color: #fffff4 !important;
    pointer-events: auto;
    mix-blend-mode: difference
}

.btphone {
    position: absolute;
    cursor: pointer;
    top: 20px;
    right: 41px;
    z-index: 11;
    width: auto;
    min-width: 120px;
    display: inline-block;
    height: 14px;
    text-align: right;
    letter-spacing: .073vw;
    line-height: 14px;
    background-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: opacity .6s cubic-bezier(.165, .84, .44, 1);
    transition: opacity .6s cubic-bezier(.165, .84, .44, 1);
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
    font-family: var(--family2);
    font-weight: 300;
    font-size: .9rem;
    color: #fffff4 !important;
    pointer-events: auto;
    mix-blend-mode: difference
}
.subMenuInf{
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 9999;
    width: 50px;
    height: auto;
}
.subMenuInf svg{

    width: 50px;
    height: auto;margin-bottom:1.1rem
}




/* Container con immagine o colore vivo per far risaltare l'effetto */
.background-container {
    background: linear-gradient(45deg, #f3ec78, #af4261); /* O una tua immagine */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-text {
    /* Trasparenza e sfocatura */
    background: rgba(255, 255, 255, 0.15); /* Colore bianco molto trasparente */
    backdrop-filter: blur(10px);            /* Effetto vetro sfocato */
    -webkit-backdrop-filter: blur(10px);    /* Supporto Safari */
    
    /* Stile del testo */
    color: white;
    font-size: 4rem;
    padding: 20px 50px;
    border-radius: 15px;
    
    /* Bordo sottile per simulare il riflesso del vetro */
    border: 1px solid rgba(255, 255, 255, 0.2);
    
    /* Ombra esterna e interna per profonditÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â  */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    
    text-transform: uppercase;
    letter-spacing: 5px;
}


















.lerp-box {
    position: absolute;
    width: 100vw;
    height: 80vh;
    left: 0;
    top: 50vh;
    z-index: 0;
    padding: 1vw;
    text-align: center
}

.lerp-wrap {
    position: relative;
    display: block;

    text-align: center;
    line-height: 1.1;
    margin: 0 auto;
    margin-left: auto;
    margin-right: auto
}

.lerp-wrap span {
    color: rgba(223, 192, 110, .3);opacity:.8;
    
    display: inline-block;
    font-size: 24vw; 
      filter: drop-shadow(0px 2px 1px rgba(255,255,255,.2)) drop-shadow(0px -4px 2px #111);
}

.pin-wrap {
    position: absolute;
    width: 100vw;
    top: 0;
    left: 0;


    padding: 10vw;
    padding-bottom: 12vw;
    width: auto;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.pin-wrap2 {
    max-width: 100vw;
    overflow-y: hidden;
    white-space: normal;
    overflow-x: hidden;
}

@media all and (min-width:1040px) {

    .gallery {
        display: flex;
        margin: 0 auto;
        padding: 0vw;
        padding-left: .5vw;
        padding-right: .5vw;
        padding-bottom: 12vw;
    }


    .page-template-servizi .gallery {
        display: flex;
        margin: 0 auto;
        padding: 0vw;
        padding-left: 3.5vw;
        padding-right: 0.5vw;
        padding-bottom: 0vw;
    }


    .page-template-servizi .gallery .fbox-icon svg {

        background-color: transparent;
    }




    .gallery__item:nth-child(even) {
        padding-top: 0;
    }

    .gallery__item-img {
        grid-area: gallery-image;
        width: 100%;
        height: 60vh;
        overflow: hidden;
        position: relative;
        transform-origin: 50% 100%;
        object-fit: cover;
    }

    .gallery__item-imginner {
        background-size: cover;
        background-position: 50% 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-color: transparent;
        border-radius: 10px;
    }

    .gallery__item-caption {
        grid-area: 1 / 1 / 4 / 3;
        display: grid;
        grid-template-areas:
            "gallery-number gallery-title"
            "gallery-link ..."
            "gallery-link gallery-tags";
        grid-template-columns: 8rem auto;
        grid-template-rows: 8rem auto 4rem;
    }


    .gallery__item-number {
        grid-area: gallery-number;
        font-size: 1.7rem;
        font-size: clamp(2.5rem, 3vw, 3.5rem);
        justify-self: end;
        padding-right: 2rem;
        color: rgba(0, 0, 0, .7);
    }

    .gallery__item-title {
        grid-area: gallery-title;
        margin: 0;


        color: var(--color-gallery-title);
        font-family: var(--family2);
        font-size: 2rem;
        font-weight: 400;
        color: #444;
        letter-spacing: .25em;

    }

    .page-template-servizi .gallery__item-title {
        margin-top: 2vw
    }

    .gallery__item-number,
    .gallery__item-title,
    .gallery__text {
        font-family: var(--family2);
        font-weight: 400;
        font-style: italic;
        align-self: center;
    }

    .gallery__item-link {
        grid-area: gallery-link;
        align-self: end;
        font-size: 1.4rem;
        background: var(--orang);
        color: white;
        text-decoration: underline;
        width: 120px;
        height: 120px;
        border-radius: 50%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        
    }

    .page-template-home .gallery__item-link {

        align-self: end;
        font-size: 1.4rem;
        background: transparent;
        color: white;
        text-decoration: underline;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    
        margin-left: 3.3vw;
    }

    .gallery__item-link:focus,
    .gallery__item-link:hover {
        border-radius: 5%;
        color: black;
        text-decoration: none;
        
    }

    .page-template-servizi .gallery__item-link:focus,
    .page-template-servizi .gallery__item-link:hover {
        background: var(--orang);
        color: white;
        text-decoration: none;
    }

    .gallery__item-tags {
        grid-area: gallery-tags;
        justify-self: end;
        font-size: 1.1rem !important;
        display: grid;
        grid-auto-flow: column;
        grid-gap: 1rem;
        cursor: default;
        padding-top: 1vw;
    }

    .page-template-servizi .gallery__item-tags {
        grid-area: gallery-tags;
        justify-self: end;
        font-size: 1.3rem !important;
        display: block;
        grid-auto-flow: column;
        grid-gap: 1rem;
        cursor: none
    }

    .gallery__text {
        font-size: 20vw;
        line-height: 0.8;
        margin: 0 10vw 0 14vw;
        text-transform: lowercase;
        color: var(--color-gallery-title);
        color: transparent;
        -webkit-text-stroke: 1px #978c77;
        text-stroke: 1px #978c77;
        -webkit-text-fill-color: transparent;
        text-fill-color: transparent;
    }

    .gallery__text-inner {
        display: block;


    }
}

.page-template-home .gallery .gallery__item {
   transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.page-template-home .gallery .gallery__item:hover .gallery__item-link {
   background:#a1422a;
        color: white;
        text-decoration: none;transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media all and (min-width:1426px) {

    .gallery__item {
        max-width: 19vw;
        margin: 0 .5vw;
        display: grid;
        grid-template-areas:
            "... ..."
            "... gallery-image"
            "... ...";
        grid-template-columns: 0rem 19.5vmax;
        grid-template-rows: 0rem 29.5vmax 2rem;
    }

    .page-template-servizi .gallery .gallery__item {
        max-width: 50vw;
        margin: 0 1vw;
        display: grid;
        grid-template-areas:
            "... ..."
            "... gallery-image"
            "... ...";
        grid-template-columns: 8rem 36.5vmax;
        grid-template-rows: 8rem 24.5vmax 3rem;
        cursor: none
    }
}




@media all and (max-width:1425px) {
    .pin-wrap2 {
        max-width: 100vw;
        overflow-y: hidden;
        white-space: normal;
        overflow-x: hidden;
    }

    .gallery__item {
        max-width: 22vw;
        margin: 0 1vw;
        display: grid;
        grid-template-areas:
            "... ..."
            "gallery-image gallery-image"
            "... ...";
        grid-template-columns: 8rem 16.5vmax;
        grid-template-rows: 8rem 23.5vmax 3rem;
    }

    .page-template-servizi .gallery .gallery__item {
        max-width: 50vw;
        margin: 0 1vw;
        display: grid;
        grid-template-areas: ". gallery-image""gallery-image gallery-image""gallery-image gallery-image";
        grid-template-columns: 8rem 35.5vmax;
        grid-template-rows: 8rem 28.5vmax 3rem;
        cursor: none;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: fixed
    }
}

@media all and (max-width:1325px) {
    .page-template-servizi .gallery {
        display: flex;
        margin: 0 auto;
        padding: 0vw;
        padding-left: .3vw;
        padding-right: 0.5vw;
        padding-bottom: 4vw;
    }


    .gallery__item-imginner {

        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll
    }


}






@media all and (max-width:1771px) {
    .gallery__item-caption {
        grid-area: 1 / 1 / 4 / 3;
        display: grid;
        grid-template-areas:
            "gallery-number gallery-title"
            "gallery-link ..."
            "gallery-link gallery-tags";
        grid-template-columns: 8rem auto;
        grid-template-rows: 8rem auto 3rem;
    }

    .page-template-servizi .gallery__item-tags {
        grid-area: gallery-tags;
        justify-self: end;
        font-size: 1.2rem !important;
        display: block;
        grid-auto-flow: column;
        grid-gap: 1rem;
        cursor: none;    margin-top: -5px;
    }
}







#section-home9a {
  position: relative;
}


#section3j{height:70vh;width: 80vw;margin-left: 10vw;background-color: transparent;border-radius: 32px;}
.page-template-camere-singola #section3j{height: 80vh;width: 80vw;margin-left: 10vw;background-color: transparent;border-radius: 32px;}
.pin-wrap2 {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  perspective: 1000px; /* Aggiunge profonditÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  3D alla scena */
}

.gallery {
  display: flex;
  gap: 2vw; /* Gap ridotto perchÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â© le immagini ruoteranno */
  align-items: center;
  padding: 0 10vw;
  width: 100%;
}

.gallery__item {
  flex: 0 0 22vw; /* Un po' piÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ larghe */
  height: 55vh;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  will-change: transform; /* Cruciale per le performance */
  
  /* Ombra piÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ morbida per l'effetto "floating" */
  box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}

.gallery__item-imginner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.reveal {
   position: relative;
   display:block;
 
}

.pin-wrap2 {
  position: relative;
  width: 100%;
  height: 100vh; /* Occupa tutta l'altezza dello schermo */
  display: flex;
  align-items: center; /* <--- QUESTO CENTRA VERTICALMENTE IL CONTENUTO */
  justify-content: flex-start; /* Allinea a sinistra l'inizio della galleria */
  overflow: hidden;
  perspective: 1000px;
}

.gallery {
  display: flex;
  gap: 2vw;
  padding-left: 5vw; /* Spazio iniziale a sinistra */
  padding-right: 5vw;
  align-items: center; /* Centra le immagini tra loro */
  width: max-content; /* Importante: il contenitore si adatta alla larghezza delle immagini */
}

.gallery__item {
  flex: 0 0 25vw; /* Larghezza card */
  height: 55vh;   /* Altezza card */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  will-change: transform;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15); 
}

.gallery__item-imginner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

.lens  {
    position: relative;
    width: 34vw;
    height: 70vh;
    top:8%;
    left: 0;
    z-index: 990;
    display:block;
    object-fit:cover;
    border-radius: 32px;
}
.lens img {
   width: 100%;
   height:100%;
   object-fit:cover;
   border-radius: 32px;
}
.description {
    position:absolute;
    display:block;
    width: 72%;
    height: 100%;
    top: 0;
    left: 22vw;
    z-index: 9990;
    padding: 4rem;
    padding-top: 27%;
    border-radius: 32px;
    color: #000000;
    background: linear-gradient(135deg, #acc5d600, #f3efebd1, #acc5d6b8);
    mix-blend-mode: multiply;
}
.description h3 {
 color: #0a0a0a;
 text-transform: none;
 font-weight: 500;
 letter-spacing: 1px;
 font-size: 2.2rem!important;
 position: absolute;
 width: 47vw;
 left: 16vw;
 z-index: 999;
 margin-top: -15vh;
 text-shadow: 0 -2px 5px rgba(255, 255, 255, .97);
 text-align: left;
 }

.page-template-camere-singola .description {
    position: relative;
    display:block;
    width: 72%;
    height: 100%;
    margin-top: -50%;
    left: 22vw;
    z-index: 9990;
    padding: 4rem;
    padding-top: 23%;
    border-radius: 32px;
    color: #000000;
    background: linear-gradient(135deg, #acc5d600, #f3efebd1, #acc5d6b8);
    mix-blend-mode: multiply;
}













.imgRooms{height: 70vh;width: 100vw;margin-bottom: .5rem;border-radius: 12px;}
.imgRooms img{width:100%;min-height: 70vh;object-fit:cover;border: 2px solid white;border-radius: 12px;}
.imgRooms a .btn__texl{
    position: absolute;
    display:block;
    width: 20%;
    height: 1px;opacity:0;
    top: 13%;
    right: 5%;
    z-index: 9990;
    padding: 1rem;
    text-align:center;
    background-color: #6b8eaf9c;
	 background: linear-gradient(135deg, #ACC5D6, #F3EFEB, #ACC5D6);
    background-size: 300% 300%;
    animation: gradientMove 5s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 5px;    
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    }
 .show a .btn__texl{

    height: auto;opacity:1;

    }
.imgRooms a .btn__texl span{font-size: 1.4rem;color:black}

/* Ensure the parent .imgRooms can act as a container */
.col-md-6.imgRooms.left {
    position: relative; /* Important for positioning children */
    overflow: hidden; /* To clip the mask as it enters */
}

/* Initial state of the mask: starts off to the right, covering the content */
.mask_left {
    position: absolute; /* Position over the content */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0; /* Or whatever color your mask should be */
    z-index: 2; /* Ensure it's above the image */
    
    /* Initially translated right */
    transform: translateX(100%); 
    
    /* Make sure transitions are defined for smooth movement */
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1); /* Customize timing/ease */
}

/* The content inside the mask should also be prepared for movement */
/* Initially translated left to counteract the mask's movement, creating a "peeking" effect */
.mask_left .t_container {
    transform: translateX(-100%); /* Counter-move to keep content relatively centered */
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1); /* Match mask transition */
    width: 100%; /* Ensure it fills the mask */
    height: 100%; /* Ensure it fills the mask */
    position: relative; /* For absolute images inside */
}

/* When the .show class is added to the parent .imgRooms,
   the mask slides left, and the content slides right (to none),
   revealing the image. */
.col-md-6.imgRooms.left.show .mask_left {
    transform: translateX(0); /* Mask slides in from right to cover the initial position */
}

/* This will be the FINAL state for the mask: slide it completely off to the left */
.col-md-6.imgRooms.left.show .mask_left.full {
    transform: translateX(-100.1%); /* Mask slides completely off to the left */
}

/* When the parent has .show, the t_container moves to its natural position */
.col-md-6.imgRooms.left.show .mask_left .t_container {
    transform: translateX(0%); /* Content moves to its natural position */
}

/* Optional: If your image also needs to move */
.col-md-6.imgRooms.left.show .mask_left .t_container img {
    /* If the image should also animate, define its initial and final state */
    transform: translateX(0); /* Final state for image */
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.col-md-6.imgRooms.left .mask_left .t_container img {
    transform: translateX(50%); /* Initial state for image, slightly offset */
}






.pin-wrap2 {
  position: relative;
  width: 100%;
  height: 100vh; /* Occupa tutta l'altezza dello schermo */
  display: flex;
  align-items: center; /* <--- QUESTO CENTRA VERTICALMENTE IL CONTENUTO */
  justify-content: flex-start; /* Allinea a sinistra l'inizio della galleria */
  overflow: hidden;
  perspective: 1000px;
}

.gallery {
  display: flex;
  gap: 2vw;
  padding-left: 5vw; /* Spazio iniziale a sinistra */
  padding-right: 5vw;
  align-items: center; /* Centra le immagini tra loro */
  width: max-content; /* Importante: il contenitore si adatta alla larghezza delle immagini */
}

.gallery__item {
  flex: 0 0 20vw; /* Larghezza card */
  height: 55vh;   /* Altezza card */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  will-change: transform;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.gallery__item-imginner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}

 .gradient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f9fafb, #ffffff, #f1f1f1);
    background-size: 300% 300%;
    animation: gradientMove 15s ease-in-out infinite;
  }
 .gradient-bg2 {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #ACC5D6, #F3EFEB, #ACC5D6);
    background-size: 300% 300%;
    animation: gradientMove 5s ease-in-out infinite;
  }
  @keyframes gradientMove {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
p {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  transition: all 1.2s ease-out;
}

p.visible {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0px);
}


.myBut {
    position:relative;
    border-style: solid;
    border-width: 0.5px 0.5px 0.5px 0.5px;
    border-color: rgba(122, 122, 122, 0.52);
    padding: 20px 30px 20px 30px;
    background: #ffffffc7;
    text-align: center;
    width: 20%;
    margin-top: 3vh;
    display: inline-block;
    border-radius: 5px;
    margin-left: 78%;
}.myBut:hover {
    border-style: solid;    border-width: 0.5px 0.5px 0.5px 0.5px;
    border-color: rgba(0, 0, 0, 1); background: linear-gradient(135deg, #ACC5D6, #F3EFEB, #ACC5D6);
    background-size: 300% 300%;
    animation: gradientMove 3s ease-in-out infinite;color:#024473;
    padding: 20px 20px 20px 20px;
   
}
.myBut span {
    font-size: 1.3rem;
    padding-left: 0;
    padding-top:5px
}
.myBut span svg {
    font-size: 40px;
    position: relative;
    top: 0;
    left: 0px;
    border-right: 1px dotted;
    height: 70%;
    padding-right: 15px;
    width: 1em;
    height: auto;margin-top:-5px
}

.myBut:hover span svg{
  fill:white
   
}










.home_page {
    margin-top: 3vh;
    min-height: 122vh!important;
}

.page-template-camera-singola .home__gallery {
    position: relative;
    display: flex;
    width: 100%;
    gap: 4vw;padding:8rem
}

.home__gallery .item {
    border-radius: 30px;object-fit:cover!important
}

.home__gallery video {
    -o-object-fit: cover;
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 30px
}

.home__gallery .gallery_column_1 {
    position: absolute;
    width: 15vw;
    height: 100%;
    top: 2vw;
    left: -5vw;
}

.home__gallery .gallery_column_1 .item {
    position: relative;
    width: 15vw;
    height: 25vw;
    margin-bottom: 2.5vw;
    overflow: hidden;
    transform-origin: top center;object-fit:cover!important
}

.home__gallery .gallery_column_2 {
    position: absolute;
    width: 20vw;
    height: 100%;
    left: 12.5vw;
}

.home__gallery .gallery_column_2 .item {
    position: relative;
    width: 20vw;
    height: 20vw;
    margin-bottom: 2.5vw;
    overflow: hidden;object-fit:cover!important
}

.home__gallery .gallery_column_2 .item:nth-child(2n) {
    position: relative;
    width: 20vw;
    height: 12.5vw;
    margin-bottom: 2.5vw;
    overflow: hidden;object-fit:cover!important
}

.home__gallery .gallery_column_3 {
    position: absolute;
    width: 30vw;
    height: 100vh;
    transform: translateX(-50%);
    left: 50%;
    top: 3vw;object-fit:cover!important
}

.home__gallery .gallery_column_3 .item2 {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 2.5vw;
    transform-origin: top center;object-fit:cover!important
}

.home__gallery .gallery_column_3 .item {
    height: 70vh!important;
    object-fit: cover
}

.home__gallery .gallery_column_3 .item img {
    height: 70vh!important;
    object-fit: cover
}

.home__gallery .gallery_column_3 .item_image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.home__gallery .gallery_column_4 {
    position: absolute;
    width: 20vw;
    height: 100%;
    top: 0;
    right: 12.5vw;
}

.home__gallery .gallery_column_4 .item:nth-child(odd) {
    position: relative;
    width: 20vw;
    height: 12.5vw;
    margin-bottom: 2.5vw;
    overflow: hidden;object-fit:cover!important
}

.home__gallery .gallery_column_4 .item:nth-child(2n) {
    position: relative;
    width: 20vw;
    height: 20vw;
    margin-bottom: 2.5vw;
    overflow: hidden;
}

.home__gallery .gallery_column_5 {
    position: absolute;
    width: 15vw;
    height: 100%;
    top: 2vw;
    right: -5vw;
}

.home__gallery .gallery_column_5 .item {
    position: relative;
    width: 15vw;
    height: 25vw;
    margin-bottom: 2.5vw;
    overflow: hidden;object-fit:cover!important
}





.vertical-middle {
    z-index: 3;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    min-height: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column
}




.wrap-gallery-info .gallery-info-content h3.info-content-title {
    font-family: var(--family2);
    font-size: 5vw;
    font-weight: 500;
    color: var(--orang);
    text-transform: uppercase;
    letter-spacing: .115em;
    padding-bottom: 5px;
    margin: 0 0 1px 0;
}



.wrap-gallery-info .gallery-info-content .info-content-subtitle {
    font-size: 2vw;
    font-weight: 500 !important;
    font-family: var(--family2);
    line-height: 1.3;
    color: #444;
    letter-spacing: 1px;
    padding-top: 1px;
}

.page-template-camere-singola .description .info-content-text {
	position:relative;
	font-family: var(--family);
	font-weight: 500;
	font-size: 1.3rem;
	color: #5E5D56;
	line-height: 35px;
	letter-spacing: 0.5px;
	padding-top: 20px;
	max-width: 70%;
	margin: 0 auto;
	margin-top:-25%;
	margin-left: 25%;
}

.page-template-camere-singola .description .info-content-text li{

	font-weight: 500;
	font-size: 1.6rem;
	color: #5E5D56;
	
	letter-spacing:2px;
	padding-top: 10px;

}

.grid-listy {
    width: 100%;
    margin-left: -1rem;
    margin-right: -1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid-list-item {
    width: calc(16.666% - 2rem - 1px) !important;
    margin: 1.5rem 1rem;
    text-align: center
}

/*

@media (max-width:48em) {
.grid-list-item {
        width: calc(33.333% - 2rem - 1px)
    }
}*/




/*.grid-list .grid-list-item .list-content,
.grid-list .grid-list-item h5,
.grid-list .grid-list-item p {
    width: 100%
}*/

@media (max-width:40em) {
    .grid-list.mobile-scroll {
        margin-left: 0;
        margin-right: 0
    }

    .grid-list.mobile-scroll .grid-list-item {
        width: calc(50vw - 2rem);
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin: 0;
        padding: 0 1rem
    }
}

.grid-list-container {
    position: relative
}

.grid-list-container.grid-list .grid-list-item {
    width: calc(15.666%- 1px);
    margin: .5rem 1rem;
    text-align: center;
}

.grid-list-itemw {
    width: calc(15.666%- 1px);
    margin: .5rem 1rem;
    text-align: center;
}

.grid-list {
    padding-left: 4rem
}


.list-counter {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 3.5rem;
    height: 1.75rem;
    margin-top: 2.75rem;
    border: solid 2px;
    border-color: rgba(8, 58, 88, .1);
    border-color: var(#BF9B7A, rgba(8, 58, 88, .1));
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.list-counter.icons svg {
    color: #083a58;
    color: var(black, #083a58);
    width: 40px;
    height: 40px;
    -webkit-transform: translateY(-1.125rem);
    transform: translateY(-1.125rem);
}


.size-xs {
    font-size: 1.1vw
}


/* Contenitore principale della galleria */
.dg-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 5rem;
}

/* Stile comune per ogni elemento della galleria */
.dg-gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #F3EFEB;
}

/* Classi per gestire lo span delle colonne */
.dg-col-6 { grid-column: span 6; }
.dg-col-4 { grid-column: span 4; }

/* Stile per i div che contengono le immagini */
.dg-img {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Gestione degli aspect-ratio */
.ratio-16-10 { aspect-ratio: 16 / 10; }
.ratio-4-3 { aspect-ratio: 4 / 3; }




/* Contenitore della figura deve essere relativo per l'overlay */
.dg-gallery figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #F3EFEB;
  position: relative; /* Fondamentale */
}

/* Overlay testuale */
.dg-overlay {
  position: absolute;
  bottom: 14px; /* Distanza dal fondo */
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(4px); /* Effetto vetro sfocato opzionale */
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  padding: 18px;
  z-index: 2;
}

.dg-overlay h4 {
  margin: 0 0 .6rem 0;
  color: #333;
  font-size: 1.1rem;
}

.dg-overlay p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.dg-gallery figure {
  opacity: 0;
  filter: blur(10px); /* Parte sfocata */
  visibility: hidden;
  will-change: opacity, filter, transform; /* Ottimizza le prestazioni */
}

/* --- LAYOUT DESKTOP --- */
.hero-overlay-container {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-content-wrapper {
  width: 90vw;
  max-width: 1100px;
}

.mini-card-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: stretch; /* Le card avranno tutte la stessa altezza */
}

.mini-card {
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(0, 0, 0, .06);
  padding: 20px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex: 1; /* Distribuzione equa dello spazio */
  display: flex;
  flex-direction: column;
}

.mini-card strong {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.mini-card span {
  display: block;
  color: #444;
  opacity: .85;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* --- LAYOUT MOBILE (Verticale) --- */
@media (max-width: 768px) {
  .hero-overlay-container {
display:none
  }

  .mini-card-grid {
    flex-direction: column; /* Trasforma la riga in una colonna */
    gap: 4px;
    padding: 0 15px;
  }

  .mini-card {
    width: 100%; /* Occupa tutto lo spazio orizzontale */
    flex: none;  /* Disabilita la distribuzione equa desktop */
  }
	.mini-card {
  background: rgba(255, 255, 255, .75);
  border: 1px solid rgba(0, 0, 0, .06);
  padding: 10px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex: 1; /* Distribuzione equa dello spazio */
  display: flex;
  flex-direction: column;
}

.mini-card strong {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  font-size: 1rem;
}

.mini-card span {
  display: block;
  color: #444;
  opacity: .85;
  font-size: 0.95rem;
  line-height: 1.4;
}
}


.mini-card {
  /* Questo previene il flash iniziale */
  visibility: hidden; 
}










@media (max-width:991px) {


.page-template-faq h2{font-size:1.6rem!important}

	
.section1-md {
    min-height: auto !important;
}
.section2-md {
      min-height: auto !important;
}
.section3-md {
  min-height: auto !important;
}
.section4-md {
     min-height: auto !important;
}
.page-template-camere-singola #section3j{height: auto;width: 100%;margin-left: 0;background-color: transparent;border-radius: 32px;}

.lens  {
    position: relative;
    width: 100%;
    height: 50vh;
    top:8%;
    left: 0;
    z-index: 990;
    display:block;
    object-fit:cover;
    border-radius: 32px;
}
.lens img {
   width: 100%;
   height:100%;
   object-fit:cover;
   border-radius: 32px;
}
.description {
    position:absolute;
    display:block;
    width: 72%;
    height: 100%;
    top: 0;
    left: 22vw;
    z-index: 9990;
    padding: 4rem;
    padding-top: 27%;
    border-radius: 32px;
    color: #000000;
    background: linear-gradient(135deg, #acc5d600, #f3efebd1, #acc5d6b8);
    mix-blend-mode: multiply;
}
.description h3 {
 color: #0a0a0a;
 text-transform: none;
 font-weight: 500;
 letter-spacing: 1px;
 font-size: 2.2rem!important;
 position: absolute;
 width: 47vw;
 left: 16vw;
 z-index: 999;
 margin-top: -15vh;
 text-shadow: 0 -2px 5px rgba(255, 255, 255, .97);
 text-align: left;
 }

.page-template-camere-singola .description {
    position: relative;
    display:inline-block;
    width: 100%;
    height:auto;
    margin-top: 1%;
    left: 0;
    z-index: 9990;
    padding: 1rem;
    padding-top: 23%;
    border-radius: 32px;
    color: #000000;
    background: linear-gradient(135deg, #acc5d600, #f3efebd1, #acc5d6b8);
    mix-blend-mode: multiply;
}


.page-template-camere-singola .description .info-content-text {
	position:relative;
	font-family: var(--family);
	font-weight: 500;
	font-size: 1.3rem;
	color: #5E5D56;
	line-height: 35px;
	letter-spacing: 0.5px;
	padding-top: 20px;
	max-width: 100%;
	margin: 0 auto;
	margin-top:-25%;
	margin-left: 2%;
}







	
#topVeil {
display:none
}

.page-template-camere-singola #book-cta{
   padding-top: 1rem;
   height: auto;
   min-height: auto;
   display: none;
}

	.fc-content h3{
  font-family:var(--bs-body-font-family);
  text-transform: uppercase;
  letter-spacing: 0.03em!important;
  font-weight: lighter;
  font-size: 1.6rem!important;
  line-height: 1.2;
  margin-bottom: 2rem;
  display: block;
  max-width: 100%;
  }



.pin-wrap2 {
  position: relative;
  width: 100%;
  height: 21vh; /* Occupa tutta l'altezza dello schermo */
  display: flex;
  align-items: center; /* <--- QUESTO CENTRA VERTICALMENTE IL CONTENUTO */
  justify-content: flex-start; /* Allinea a sinistra l'inizio della galleria */
  overflow: hidden;
  perspective: 1000px;
}



.gallery {
  display: flex;
  gap: 10vw;
  padding-left: 1vw; /* Spazio iniziale a sinistra */
  padding-right: 1vw;
  align-items: center; /* Centra le immagini tra loro */
  width: 100%; /* Importante: il contenitore si adatta alla larghezza delle immagini */
}

.gallery__item {
  flex: 0 0 45%; /* Larghezza card */
  height: 16vh;   /* Altezza card */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  will-change: transform;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}


.subMenuInf{
    position: absolute;
    top: 12vh;
    left: 4px;
    z-index: 9999;
    width: 30px;
    height: auto;
}
.subMenuInf svg{

    width: 30px;
    height: auto;margin-bottom:1.1rem
}

.section-header{width:100%;margin-left: 0;margin-bottom: 1rem;text-align: center;}
  .showcase{
    position:relative;
    isolation:isolate;
    padding: clamp(40px, 6vw, 15px) 0 clamp(56px, 8vw, 115px);
    overflow: clip;
    height: 40vh;
    background-color: #5c7c92;
    margin-top: 5rem;
  }
	.monog{display:none}


.panel-nav{
  display: grid;
  gap: 10px;
  padding: 16px 25px 28px;
  width: 90%;
  margin-left: 5%;
  margin-top: 10%;
  background-color: rgba(255,255,255,.2);
  border-radius: 4%;
}
.panel-link{
  display: block;
  padding: 12px 10px;
  font-size: 18px; font-weight: 600; color: #111; text-decoration: none;
  border-radius: 8px; transition: background .2s ease, transform .15s ease;
}


.page-template-home2 #book-cta{
   padding-top: 4rem;
   height:auto;
}
	.language-selector {margin-top:10%;
width:100vw;text-align:center;align-content:center;margin-left:0!important
}
	.language-selector ul {
  display: flex;
  justify-content: center; /* Centra los items horizontalmente */
  align-items: center;     /* Alinea verticalmente bandera y texto */
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.language-selector ul {
  list-style: none;
  margin: 0;width:100vw;text-align:center;
  padding: 0;
  display: flex;
  gap: 15px; /* Espacio entre los idiomas */
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 6px; /* Espacio entre bandera y texto */
  text-decoration: none;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: #000;
  transform: translateY(-1px);
}

.lang-link.active {
  color: #666; /* Color para el idioma actual */
  pointer-events: none; /* Desactiva el click en el idioma ya activo */
}

.flag-icon {
  width: 18px; /* Tamaño elegante */
  height: 14px;
  border-radius: 2px; /* Esquinas suavizadas */
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15); /* Sombra suave para que resalte la bandera blanca */
}
.btn{background-color: rgb(163 33 34);}

     /* Hero Content Wrapper - ensures text is centered and layered on top */
        .content-wrapper {
            z-index: 10; /* Ensure content is above background */
            position: relative;margin-top:25vh
        }
#book-cta h3{font-family:var(--bs-heading-font-family);color: #0a0a0a;text-transform:none;font-weight: 300;letter-spacing: 1px;font-size:3.7rem!important;
			 position: absolute;width: 90vw;left: 5vw;z-index: 999;margin-top: 21vh;text-shadow: 0 -2px 5px rgba(255,255,255,.97);text-align: center;mix-blend-mode: overlay;}



.page-template-home2 .carousel3d__card{
  position: absolute; top: 50%; left: 50%;
  width: min(86vw, 90vw);
  aspect-ratio: 9 / 16;height:50vh;
  transform-style: preserve-3d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  background: #fff;
  will-change: transform, opacity;
  touch-action: pan-y;           /* horizontal drag handled in JS */
  user-select: none;
}

.page-template-home2  #section3j{margin-top:15vh;height:auto;width: 90%;margin-left: 5%;background-color: transparent;border-radius: 32px;}



.page-template-home2 .description {
    position:absolute;
    display:block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9990;
    padding: 4rem;
    padding-top: 27%;
    border-radius: 32px;
    color: #000000;
    background: linear-gradient(135deg, #acc5d600, #f3efebd1, #acc5d6b8);
    mix-blend-mode:normal;
}
.page-template-home2 .description h3 {
 color: #0a0a0a;
 text-transform: none;
 font-weight: 500;
 letter-spacing: 1px;
 font-size: 1.7rem!important;
 position: absolute;
 width: 98%;
 left: 1%;
 z-index: 999;
 margin-top: -5vh;
 text-shadow: 0 -2px 5px rgba(255, 255, 255, .97);
 text-align: center;
 }




.page-template-home2 .myBut {
    position:relative;
    border-style: solid;
    border-width: 0.5px 0.5px 0.5px 0.5px;
    border-color: rgba(122, 122, 122, 0.52);
    padding: 20px 20px 20px 20px;
    background-color: #fff!important;
    text-align: center;
    width: 98%;
    margin-top: 23vh;
    display: inline-block;
    border-radius: 5px;
    margin-left: 1%;
}

.page-template-home2 .myBut span {
    font-size: 1.4rem;
    padding-left: 0;
    padding-top:5px
}
	
	.imgRooms{height: 40vh;width: 100vw;margin-bottom: .5rem;border-radius: 12px;}
.imgRooms img{width:100%;min-height: 40vh;object-fit:cover;border: 2px solid white;border-radius: 12px;}
.imgRooms a .btn__texl{
    position: absolute;
    display:block;
    width: 100%;
    height: 60px;
    opacity: 1;
    top: 81%;
    right: 0;
    z-index: 9999;
    padding: 1rem;
    text-align:center;
    background-color: #6b8eaf9c;
    background: linear-gradient(135deg, #ACC5D6, #F3EFEB, #ACC5D6);
    background-size: 300% 300%;
    animation: gradientMove 5s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 5px;
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    }




.swiper {
  width: 100%;
  height:100vh!important;
}

#slider {width: 100%;height:100vh!important;top: 0;left: 0;margin-top:0!important}
#slider .slider-inner {
    height: 100vh!important;
    width: 100%!important;
}
.swiper_wrapper .swiper-container {
  position: absolute;
  width: 100%;
  height: 100vh!important;
  margin: 0;
}




   #slider.hidden .swiper-slide {
        top: 0;
        left: 0;
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
        opacity: 1; width: 100%;
        height:100vh!important;
    }



.swiper_wrapper .swiper-slide {
  position: relative;
  margin: 0; width: 100%;
  overflow: hidden;height:100vh
}
.swiper-slide-bg {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;width: 100%;
  height: 100%;
}     
.page-template-camera-singola .website-content {
    padding: 3em .7em;
    top:0;
    margin-top: 10vh;
    position: relative;
    width: 100%;
    height: auto;
    background-color: #252525;
    margin-bottom: 3vh;
}	
	
.page-template-services .containerr {
  width: 100%;
  min-height: auto;
}
.page-template-dintorni .containerr {
  width: 100%;
  min-height: auto;
}
.page-template-faq .containerr {
  width: 100%;
  min-height: auto;
}
	.showcase {
      
        height: auto
     
    }

#sloganHome h3{
  text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  text-transform: none;
  color: white;
  font-size: 1.5rem !important;
}

	.ratio-16-10 {aspect-ratio: 16 / 12;}
.o-row {
    overflow: hidden;
    white-space: normal;
    width: 100%;
    line-height: 110%;
    display: inline-block;
    text-align: center!important
}

}






/* --- MOBILE: Carousel Layout --- */
@media (max-width: 768px) {   .size-xs {
        font-size: 3.5vw;
    }
  .dg-gallery {
    display: flex !important;    /* Forza il layout orizzontale */
    flex-wrap: nowrap !important; /* Impedisce agli elementi di andare a capo */
    overflow-x: auto !important;  /* Attiva lo scroll */
    scroll-snap-type: x mandatory; 
    gap: 15px;
    padding: 20px 15px;margin-top:1rem;
    -webkit-overflow-scrolling: touch; /* Rende lo scroll fluido su iPhone */
    
    /* Rimuove la griglia desktop */
    grid-template-columns: none !important; 
  }

  .dg-gallery figure {
    flex: 0 0 80%;               /* La card occupa l'80% dello schermo */
    min-width: 280px;            /* Impedisce che si rimpicciolisca troppo */
    scroll-snap-align: center;    /* Blocca la card al centro quando scorri */
    grid-column: auto !important; /* Annulla lo span delle colonne desktop */
    margin: 0;
  }

  /* Nascondiamo la scrollbar brutta per un look pulito */
  .dg-gallery::-webkit-scrollbar {
    display: none;
  }
  .dg-gallery {
    scrollbar-width: none;
  }
.grid-list {
    padding-left: 2rem
}
.grid-listy {
    width: 100%;
    margin-left: -1rem;
    margin-right: -1rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
}

.grid-list-item {
    width: calc(16.666% - 2rem - 1px) !important;
    margin: 1.5rem 1rem;
    text-align: center
}

.list-counter {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 3.5rem;
    height: 1.75rem;
    margin-top: 2.75rem;
    border: solid 2px;
    border-color: rgba(8, 58, 88, .1);
    border-color: var(#BF9B7A, rgba(8, 58, 88, .1));
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    border-top: 0;
    margin-left: auto;
    margin-right: auto;
}

.list-counter.icons svg {
    color: #083a58;
    color: var(black, #083a58);
    width: 40px;
    height: 40px;
    -webkit-transform: translateY(-1.125rem);
    transform: translateY(-1.125rem);
}

}




.carousection {
  width: 80%;
  min-height: 80%;
  display: flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  margin-left: 10%;
}

.carousel {
  width: 98vw;
  height: 62vh;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  -webkit-overflow-scrolling: touch;
}

.carousel-slide {
  position:relative;
  flex: 0 0 50%;
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  color: white;
  scroll-snap-align: center;
}

.carousel-img-wrapper {
  position:absolute;
  width:100%;
  height:100%;
  left:0;
  top:0;
  overflow:hidden;border-radius:1%
}

.carousel-slide img {
  width:130%;
  height:100%;
  object-fit:cover;
}

.carousel-nav {
  display:none; /* displayed in the JS */
  position:absolute;
  width:100%;
}

.carousel-nav button {
  border:none;
  font-size:3rem;
  position:absolute;
  top:50%;
  aspect-ratio:1.5;
  width: 5vw;
  max-width: 50px;
  height:auto;
  background-color: transparent;
  padding: .5rem;
  background-size: cover;
  overflow:visible;
  background-image: url( "data:image/svg+xml,%3Csvg stroke='%23ccc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 15'%3E%3Cpath d='M2,11 11,2 20,11'/%3E%3C/svg%3E" );
}

.prev {
  transform:translateY(-50%) rotate(-90deg);
}

.next {
  transform:translateY(-50%) rotate(90deg);
  right:0;
}

.carousel-progress {
  display: none; /* displayed in the JS */
  position: absolute;
  width: 33%;
  max-width: 300px;
  max-height: 8px;
  bottom: 6.5vh;
  pointer-events: none;
  opacity: 0.36;
}



@media (max-width: 500px) {
  .carousel-slide {
    flex: 0 0 77%;
  }
  .carousel {
  width: 100vw;
  height: 33vh;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  -webkit-overflow-scrolling: touch;
}
  .carousel-nav button {
    display:none;
  }

 }




/* Stacked Cards */
main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  place-items: center;
  min-height: 80vh;
}
p {

    
  font-size: 1.125rem;
  line-height: 1.65;
  color: #555;
  margin-top: 0.75rem;
}
/* Content */

.content {
  padding-left: 120px;


}

.content h33 {
  

  margin-bottom: 36px;
  padding-left: 10px;
}

.content p {

  padding-right: 100px;  
  font-size: 1.125rem;
  line-height: 1.65;
  color: #555;
  margin-top: 0.75rem;
}
.stack {
  position: relative;
}

.card {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 350px;
  height: 500px;
  border-radius: 2rem;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25),
    0 15px 20px 0 rgba(0, 0, 0, 0.125);
  transition: transform 0.6s;
  user-select: none;
}

.card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  pointer-events: none;
}

.card:nth-last-child(n + 5) {
  --x: calc(-50% + 90px);
  transform: translate(var(--x), -50%) scale(0.85);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.01);
}

.card:nth-last-child(4) {
  --x: calc(-50% + 60px);
  transform: translate(var(--x), -50%) scale(0.9);
}

.card:nth-last-child(3) {
  --x: calc(-50% + 30px);
  transform: translate(var(--x), -50%) scale(0.95);
}

.card:nth-last-child(2) {
  --x: calc(-50%);
  transform: translate(var(--x), -50%) scale(1);
}

.card:nth-last-child(1) {
  --x: calc(-50% - 30px);
  transform: translate(var(--x), -50%) scale(1.05);
}

.card:nth-last-child(1) img {
  box-shadow: 0 1px 2px 2px #a32122;
}

.swap {
  animation: swap 1s ease-out forwards;
}

@keyframes swap {
  30% {
    transform: translate(calc(var(--x) - 250px), -50%) scale(0.85) rotate(-5deg)
      rotateY(65deg);
  }
  100% {
    transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
    z-index: -1;
  }
}

/* Media queries for keyframes */

@media (max-width: 1200px) {
  @keyframes swap {
    30% {
      transform: translate(calc(var(--x) - 200px), -50%) scale(0.85)
        rotate(-5deg) rotateY(65deg);
    }

    100% {
      transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
      z-index: -1;
    }
  }
}

@media (max-width: 1050px) {
  @keyframes swap {
    30% {
      transform: translate(calc(var(--x) - 150px), -50%) scale(0.85)
        rotate(-5deg) rotateY(65deg);
    }

    100% {
      transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
      z-index: -1;
    }
  }
}

/* Media queries for other classes */

@media (max-width: 1200px) {
  .content {
    padding-left: 80px;
  }

  .content p {
    padding-right: 40px;
  }

  .card {
    width: 250px;
    height: 380px;
  }
}

@media (max-width: 1050px) {
  .content {
    padding-left: 60px;
  }

  .content p {
    line-height: 1.5;
  }

  .card {
    width: 220px;
    height: 350px;
  }
}

@media (max-width: 990px) {
  .content p {
    padding-right: 0;
  }

  .card {
    width: 200px;
    height: 300px;
  }
}

@media (max-width: 950px) {
  main {
    grid-template-columns: 1fr;
    grid-template-rows: 4fr 3fr;
    grid-template-areas:
      "stacked"
      "content";
  }

  .content {
    grid-area: content;
    text-align: center;
    padding: 0 10px;
  }


  .stack {
    grid-area: stacked;
  }
}

@media (max-width: 650px) {
  main {
    grid-template-rows: 1fr 1fr;
  }

 
  .card {
    width: 180px;
    height: 260px;
  }
	
}



.moveCards {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  touch-action: none; /* Critical for dragging on mobile */
}

.card-wrapper {
  position: absolute;
  width: 320px;
  height: 520px;
  will-change: transform;
  cursor: grab;
}

.card-wrapper:active {
  cursor: grabbing;
}


.buttonCris {
    height: 70px;
    border-radius: 10px;
    position: relative;
    background-color:#a32122;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 1vw;
    max-width: 40%;
    margin-left: 30%;
    margin-top: 3rem;
    font-size: 1rem;
    text-decoration: none;
    color:white
}
.buttonCris.longy {

    max-width: 50%;
    margin-left: 25%;

}


.buttonCris:after {
    content: '';
    position: absolUte;
    width: calc(100% - 23px);
    height: calc(100% - 23px);
    border: 1px solid #FFF;
    border-radius: 10px;
    top: 12px;
    left: 10px
}

/* Cards Container */
.moveCards {
    height: 600px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards-stack {
    position: relative;
    width: 320px;
    height: 500px;
}

.card-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: grab;
    will-change: transform;
}

.card-contents {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.card-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}









.card {
  position: absolute;
  will-change: transform; /* Ottimizza le prestazioni del drag */
  touch-action: pan-y;   /* Permette lo scroll verticale della pagina se tocchi la card */
  cursor: grab;
}

.card:active {
  cursor: grabbing;
}



/* --- CONTAINER --- */
.stack {

  perspective: 1200px; 
  perspective-origin: center;
}


 .section1-md {
  background: radial-gradient(circle at 70% 50%, #1a1a2e 0%, #0a0a0b 100%);
  color: #fff;
  overflow-x: hidden;
}



.card {

  max-width: 500px;
  perspective: 1200px;
}

.card img {
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.card img:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.22);
  z-index: 10;
}




/* Stage */
.stage {
  position: relative;
  width: 100vw;
  height: 80vh;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  perspective: var(--perspective);
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  margin-top: 5rem;
}

/* Loader overlay */
.loader {
  position: absolute;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 0.2s var(--ease), visibility 0.2s linear;
}
.loader--hide {
  opacity: 0;
  visibility: hidden;
}
.loader__content {
  display: grid;
  gap: 12px;
  justify-items: center;
  min-width: 220px;
}
.loader__ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #ddd;
  border-top-color: #333;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Background canvas (moving gradient) */
#bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(24px) saturate(1.05);
  pointer-events: none;
}

/* Only block native scrolling/gestures in carousel mode */
.stage.carousel-mode {
  touch-action: none;
  cursor: grab;
}
.stage.carousel-mode.dragging {
  cursor: grabbing;
}

/* Cards container */
.stage .cards {
  position: absolute;
  inset: 0;
  z-index: 10;
  transform-style: preserve-3d;
}

/* Card */
.stage .card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(38vw, 360px);
  aspect-ratio: 9/16;
  isolation: isolate;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, filter;
  transform-origin: 90% center;
  contain: layout paint; /* reduce layout/paint scope for perf */
}

.stage .card__img {
  border-radius: 15px;
  opacity: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .stage .card {
    transition: none !important;
    animation: none !important;
  }
}


@media (max-width: 991px) {
.stage {
  position: relative;
  width: 100vw;
  height: 50vh;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  perspective: var(--perspective);
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
  margin-top: 3rem;
}
	.stage .card {
  position: absolute;
  top: 50%;
  left: 20vw;
  width: min(60vw, 360px); height: 40vh;
  aspect-ratio: 3/4;
  isolation: isolate;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, filter;
  transform-origin: 90% center;
  contain: layout paint; /* reduce layout/paint scope for perf */
}.buttonCris {
    height: 70px;
    border-radius: 10px;
    position: relative;
    background-color:#a32122;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 1vw;
    max-width: 80%;
    margin-left: 10%;
    margin-top: 3rem;
    font-size: 1rem;
    text-decoration: none;
    color:white
}
	.c-fixed2{
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
 height:30%;width:100%;
    background-size: cover;background-color:red;

    opacity: 1;z-index:1
 
}.c-fixed_wrapper {
    height: 40vh;
}
	.stage {
  /* Allows the user to scroll the page vertically by swiping over the carousel */
  touch-action: pan-y; 
  
  /* Prevents accidental text selection while dragging */
  user-select: none;
  -webkit-user-drag: none;
}





.btn__texl {
  position: relative;

	transform:translate(-15vw,-25vh);padding:1rem;padding-left:3rem;
  margin-left: 0;
  width:100%;
  height:60px;
  backdrop-filter: blur(20px);
 display: block;
  font-size:1.2rem;
  color: white;
  background:rgba(163,33,34,.9);
  box-shadow: -12px 0 30px rgba(0,0,0,.10);
  z-index: 10;text-decoration:none!important;border-radius:10px;
}





.page-template-camere-singola .containerr {
  width: 100%;
  height:auto;
  min-height: auto;
}



	
}



.buttonCris:hover {
background-color:white;
color:#a32122;border:2px solid #a32122;
}

/* Nasconde il link spostandolo fuori dallo schermo */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

/* Lo mostra solo quando viene selezionato con il tasto TAB */
.skip-link:focus {
  top: 0;
}


