/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/
@media (min-width: 992px) {

#mainNav > ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

#mainNav > ul > li {
    white-space: nowrap;
}
}

#carousel-home .cover{
    background-position: 50% 80%;
}

.opacity-mask {
    opacity: 70%;
}

.jarallax-img {
    object-fit:fill !important;
    /* width: 100% !important; */
    height: 100% !important;
    object-position: 50% 90% !important;
}

/* CSS DEL MOBILE CAROSEL*/
/* MOBILE HERO CAROUSEL */
.carousel-home-mobile,
.carousel-home-mobile .owl-carousel,
.carousel-home-mobile .owl-stage-outer,
.carousel-home-mobile .owl-stage,
.carousel-home-mobile .owl-item,
.carousel-home-mobile .owl-slide {
    height: 100vh;
    min-height: 620px;
}

.carousel-home-mobile .owl-slide {
    background-size: cover !important;
    background-position:50% !important;
    background-repeat: no-repeat !important;
    position: relative;
}

.carousel-home-mobile .opacity-mask {
    height: 100%;
    padding: 0 0 28px 0;
    position: relative;
}

.carousel-home-mobile .opacity-mask::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.68) 10%,
        rgba(0,0,0,0.30) 50%,
        rgba(0,0,0,0.10) 100%
    );
}

.carousel-home-mobile .container {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
}



/* HERO MOBILE MINIMAL */
.carousel-home-mobile .opacity-mask {
    height: 100%;
    padding-top: 120px; /* posizione medio-alta */
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

/* overlay più leggero e raffinato */
.carousel-home-mobile .opacity-mask::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.25) 40%,
        rgba(0,0,0,0.15) 100%
    );
}

/* testo */
.mobile-hero-text {
    position: relative;
    z-index: 2;
    max-width: 320px;
    color: #fff;
}

/* label sopra */
.mobile-hero-text small {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: .85;
}

/* titolo */
.mobile-hero-text h2 {
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #fff;
}

/* linea elegante sotto titolo */
.mobile-hero-text h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    margin-top: 14px;
    background: linear-gradient(to right, #d9c4a0, #9c8762);
}

/* sottotitolo */
.mobile-hero-text p {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 12px;
    margin-bottom: 0;
    opacity: .9;
}

/* bottone */
.mobile-hero-text .btn_1 {
    margin-top: 18px;
    padding: 12px 20px;
    font-size: 14px;
}

.owl-slide-animated,
.slide-animated,
.owl-slide-title,
.owl-slide-title-2,
.owl-slide-title-3 {
    opacity: 1 !important;
    visibility: visible !important;
   
}



.slide-text > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s ease;
}

.owl-item.active .slide-text > * {
    opacity: 1;
    transform: translateY(0);
}

.owl-item.active .slide-text small {
    transition-delay: .1s;
}

.owl-item.active .slide-text h2 {
    transition-delay: .2s;
}

.owl-item.active .slide-text a {
    transition-delay: .3s;
}

/* MOBILE EXTRA SMALL */
@media (max-width: 575.98px){

    .carousel-home-mobile .opacity-mask {
        padding-top: 100px;
    }

    .mobile-hero-text h2 {
        font-size: 30px;
    }

    .mobile-hero-text p {
        font-size: 14px;
    }
}

/* CSS DELLE CARD ESCURSIONI ORIGINALE */
/* .box_contents {
    display: block;
    height: 100%;
}

.box_contents figure {
    width: 100%;
    height: 240px;       
    overflow: hidden;
    margin: 0;
}

.box_contents figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    display: block;
} */
 
/* FINE CSS CARD ORIGINALE */

/*CSS CARD DI PROVA */
/* migliora solo la resa visiva, senza toccare il layout interno del tema */



/* CARD ESCURSIONI - FIX BORDI */
.box_contents {
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

.box_contents figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
}

.box_contents figure img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.box_contents:hover figure img {
    transform: scale(1.04);
}

.box_contents:hover {
    transform: translateY(-4px);
}

.box_contents figure .card_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    backdrop-filter: blur(4px);
}

@media (max-width: 767.98px) {
    .box_contents figure img {
        height: 230px;
    }
}

.card-montefiascone figure img {
    transform: scale(1.1);
    transform-origin: center center;
}

/* CSS DELLA SECTION DI PRESENTAZIONE ESPERIENZE */

.excursions_intro{
    max-width: 760px;
    margin: 0 auto 55px auto;
    position: relative;
}

.excursions_kicker{
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9c8762;
}

.excursions_intro h2{
    margin-bottom: 16px;
    position: relative;
}

.excursions_intro p{
    max-width: 620px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* linea decorativa sotto il titolo */
.excursions_intro h2::after{
    content: "";
    display: block;
    width: 74px;
    height: 2px;
    margin: 18px auto 0 auto;
    background: linear-gradient(to right, #d9c4a0, #9c8762, #d9c4a0);
    border-radius: 2px;
}

/* mobile */
@media (max-width: 767.98px){
    .excursions_intro{
        margin-bottom: 38px;
        padding: 0 8px;
    }

    .excursions_kicker{
        font-size: 11px;
        letter-spacing: 1.6px;
        margin-bottom: 10px;
    }

    .excursions_intro h2{
        font-size: 30px;
        line-height: 1.15;
        margin-bottom: 14px;
    }

    .excursions_intro p{
        font-size: 15px;
        line-height: 1.65;
        max-width: 100%;
    }

    .excursions_intro h2::after{
        width: 58px;
        margin-top: 14px;
    }
}

/* FINE CSS ESPERIENZE */
/* FINE CSS CARD PROVA */
/* CSS PER MODALI */

.modal-experience .modal-dialog {
    max-width: 900px;
}

.modal-experience .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.modal-experience .custom-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 20;
    background: #fff;
    border-radius: 50%;
    opacity: 1;
}

/* immagine */

.experience-image {
    width: 100%;
    height: 360px;
}

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

/* contenuto */

.experience-content {
    padding: 40px 45px 50px 45px;
}

.experience-kicker {
    display: block;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}

.experience-content h2 {
    font-size: 34px;
    margin-bottom: 18px;
}

.experience-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
}

/* meta */

.experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-meta span {
    padding: 6px 12px;
    background: #f3efe7;
    border-radius: 20px;
    font-size: 13px;
    color: #6b5b3e;
}

/* tablet */

@media (max-width: 991px) {

    .experience-image {
        height: 300px;
    }

}

/* mobile */

@media (max-width: 576px) {

    .modal-experience .modal-dialog {
        margin: 0.8rem;
    }

    .experience-image {
        height: 220px;
    }

    .experience-content {
        padding: 28px 22px 35px 22px;
    }

    .experience-content h2 {
        font-size: 26px;
    }

    .experience-content p {
        font-size: 15px;
    }

}

.experience-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    margin-top:30px;
}

.experience-actions{
    display:flex;
    gap:10px;
}

/* bottone chiudi */

.btn-close-modal{
    border:1px solid #9c8762;
    background:transparent;
    color:#9c8762;
    padding:8px 16px;
    border-radius:25px;
    font-size:14px;
    cursor:pointer;
    transition:all .2s ease;
}

.btn-close-modal:hover{
    background:#9c8762;
    color:white;
}

#orvietoImage{
    object-position: 50% 30% !important; 
}


#piscinaImage{
    object-position: 50% 60% !important; 
}

.podere-intro {
    text-align: center;
}

.podere-intro .subtitle {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8d7758;
}

.podere-intro h2 {
    margin-bottom: 25px;
}

.podere-intro .lead-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
}

.podere-intro p {
    line-height: 1.9;
    color: #555;
    margin-bottom: 18px;
}

.podere-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 40px;
    text-align: left;
}

.feature-box {
    padding: 28px 24px;
    background: #f8f5ef;
    border-radius: 14px;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
    will-change: transform;
}

.feature-box h3 {
    font-size: 20px;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-box p {
    margin-bottom: 0;
    line-height: 1.8;
}

/* Hover elegante */
.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background: #fbf8f3;
}

.feature-box:hover h3 {
    color: #8d7758;
}

/* Riga decorativa morbida */
.feature-box::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #c7b08a;
    margin-top: 18px;
    transition: width 0.3s ease;
}

.feature-box:hover::after {
    width: 70px;
}

@media (max-width: 991.98px) {
    .podere-features {
        grid-template-columns: 1fr;
    }
}


.cta-box{
    border:2px solid #c7b08a;
    padding:40px 30px;
    border-radius:12px;
    max-width:700px;
    margin:auto;
}


.header_tools{
    gap: 14px;
    margin-right: 18px;
    position: relative;
    z-index: 20;
}

.lang_switcher{
    position: relative;
}

.lang_toggle{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    border-radius: 30px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1;
    transition: all .25s ease;
}

.lang_toggle:hover{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.5);
}

.lang_flag{
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.lang_switcher .dropdown-menu{
    min-width: 170px;
    border: 0;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.lang_switcher .dropdown-item{
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 14px;
}

.lang_switcher .dropdown-item.active,
.lang_switcher .dropdown-item:active{
    background: #f5f1e8;
    color: #8d7758;
}

.fixed_header.sticky .lang_toggle,
header.header_scrolled .lang_toggle{
    color: #444;
    border-color: rgba(0,0,0,.12);
    background: #fff;
}

/* mobile */
@media (max-width: 991.98px){
    .header_tools{
        margin-right: 12px;
    }

    .lang_toggle{
        padding: 6px 10px;
        font-size: 12px;
    }

    .lang_flag{
        width: 16px;
        height: 16px;
    }
}

.lang_menu_item {
    position: relative;
}

.lang_menu_item > a.lang_toggle_menu {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.lang_menu_item .lang_code {
    font-size: 13px;
}

.lang_menu_item .fi {
    display: inline-block;
    line-height: 1;
    font-size: 16px;
    margin-right: 0;
}

/* submenu lingue */
.lang_menu_item .lang_submenu {
    min-width: 160px;
}

.lang_menu_item .lang_submenu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.lang_menu_item .lang_submenu li a span:last-child {
    padding-left: 2px;
}

/* desktop: non deve allargare troppo il menu */
@media (min-width: 992px) {
    #mainNav > ul > li.lang_menu_item {
        margin-left: 8px;
    }

    #mainNav > ul > li.lang_menu_item > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* mobile: piena larghezza come le altre voci */
@media (max-width: 991.98px) {
    .lang_menu_item > a.lang_toggle_menu {
        justify-content: space-between;
        width: 100%;
    }

    .lang_menu_item .lang_submenu {
        min-width: 100%;
    }
}



/* stringe un po' il menu desktop */
@media (min-width: 1200px) {
    #mainNav > ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 22px;
    }

    #mainNav > ul > li {
        margin: 0;
    }

    #mainNav > ul > li > a {
        font-size: 15px;
        padding-left: 0;
        padding-right: 0;
        white-space: nowrap;
    }

    /* bottone prenota un po' più compatto */
    #mainNav > ul > li > a.btn_1 {
        padding: 12px 22px;
    }

    /* voce lingua più compatta */
    #mainNav > ul > li.lang_menu_item > a.lang_toggle_menu {
        display: flex;
        align-items: center;
        gap: 6px;
        padding-left: 0;
        padding-right: 0;
    }

    .lang_menu_item .lang_code {
        font-size: 14px;
    }

    .lang_menu_item .fi {
        font-size: 17px;
        line-height: 1;
    }

    /* fa aprire il menu lingua verso sinistra */
    .lang_menu_item {
        position: relative;
    }

    .lang_menu_item > ul.lang_submenu {
        left: auto;
        right: 0;
        min-width: 170px;
    }
}

.unit_quick_info{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 18px 0;
}

.unit_info_card{
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #f8f5ef;
    border: 1px solid #eee4d2;
    border-radius: 14px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.unit_info_card:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    border-color: #d8c3a1;
}

.unit_info_icon{
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #9c8762;
    border: 1px solid #eadfcd;
    font-size: 18px;
}

.unit_info_text small{
    display: block;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .4px;
    text-transform: uppercase;
    color: #8b8b8b;
    margin-bottom: 3px;
}

.unit_info_text strong{
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #333;
}

.guest_capacity_icons{
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 24px 2px;
    color: #9c8762;
    font-size: 18px;
}

.guest_capacity_icons i{
    opacity: .95;
}

/* tablet/mobile */
@media (max-width: 767.98px){
    .unit_quick_info{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .unit_info_card{
        padding: 13px 14px;
    }

    .unit_info_text strong{
        font-size: 16px;
    }

    .guest_capacity_icons{
        margin-bottom: 20px;
    }
}

.map_contact iframe {

    filter: none;
}

.box_contents_in h2 {
    border-left: 4px solid #c19d60;
    padding-left: 10px;
}
.box_contents_in p, 
.box_contents_in li {
    line-height: 1.7;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.92);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
}

.cookie-banner a {
    color: #c19d60;
}

.cookie-actions button {
    border-radius: 30px;
}


/* PROVA CSS MOBILE */

/* =========================================
   HOME CAROUSEL MOBILE OPTIMIZATION
========================================= */
@media (max-width: 767.98px) {

    #carousel-home,
    #carousel-home .owl-carousel,
    #carousel-home .owl-stage-outer,
    #carousel-home .owl-stage,
    #carousel-home .owl-item,
    #carousel-home .owl-slide {
        height: 78vh;
        min-height: 600px;
    }

    #carousel-home .owl-slide {
        position: relative;
        background-position: center center !important;
        background-size: cover !important;
    }

    #carousel-home .opacity-mask {
        padding: 90px 0 110px 0;
        align-items: flex-end !important;
    }

    #carousel-home .container {
        padding-left: 22px;
        padding-right: 22px;
    }

    #carousel-home .row {
        justify-content: center !important;
    }

    #carousel-home .col-lg-6.static {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    #carousel-home .slide-text,
    #carousel-home .slide-text.text-end,
    #carousel-home .slide-text.text-center {
        text-align: left !important;
        max-width: 100%;
        margin: 0;
        visibility: visible !important;
        
    }

    #carousel-home .slide-text small {
        display: inline-block;
        font-size: 12px;
        line-height: 1.2;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        margin-bottom: 12px;
        opacity: 0.95;
    }

    #carousel-home .slide-text h2 {
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: -0.02em;
        margin-bottom: 16px;
        max-width: 320px;
    }

    #carousel-home .slide-text .btn_1 {
        padding: 12px 20px;
        font-size: 14px;
        min-width: auto;
    }

    #carousel-home .owl-slide-title-3 {
        margin-top: 8px;
    }

    #carousel-home .mouse_wp {
        display: none;
    }

    /* overlay più elegante e leggibile */
    #carousel-home .opacity-mask::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to top,
            rgba(0,0,0,0.62) 12%,
            rgba(0,0,0,0.38) 45%,
            rgba(0,0,0,0.18) 100%
        );
        z-index: 0;
    }

    #carousel-home .opacity-mask > .container {
        position: relative;
        z-index: 1;
    }
}

/* SECONDO CSS PROVA PER HERO APPARTAMENTI */

.hero-mobile-minimal {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: flex-end;
}

/* Immagine */
.hero-mobile-minimal__media,
.hero-mobile-minimal__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-mobile-minimal__media img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    animation: heroMobileZoom 11s ease-out forwards;
    will-change: transform;
}

/* Overlay molto elegante e pulito */
.hero-mobile-minimal__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.30) 42%, rgba(10, 10, 10, 0.10) 100%);
    z-index: 1;
}

/* Contenuto */
.hero-mobile-minimal__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: calc(34px + env(safe-area-inset-bottom));
    padding-top: 110px;
}

.hero-mobile-minimal__inner {
    max-width: 320px;
    opacity: 0;
    transform: translateY(18px);
    animation: heroMobileFadeUp 0.9s ease-out 0.2s forwards;
}

/* Eyebrow */
.hero-mobile-minimal__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

/* Titolo */
.hero-mobile-minimal__title {
    margin: 0 0 10px;
    font-size: clamp(2.4rem, 9vw, 3.4rem);
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    text-wrap: balance;
}

/* Sottotitolo essenziale */
.hero-mobile-minimal__subtitle {
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

/* Link minimal */
.hero-mobile-minimal__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-mobile-minimal__link:hover,
.hero-mobile-minimal__link:focus {
    color: #fff;
    opacity: 0.9;
    transform: translateX(2px);
}

.hero-mobile-minimal__link-line {
    display: inline-block;
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
}

.hero-mobile-minimal__link-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(-100%);
    animation: heroLineReveal 1.2s ease-out 0.7s forwards;
}

/* Indicatore scroll elegante */
.hero-mobile-minimal__scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: calc(12px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 2;
    width: 1px;
    height: 34px;
    overflow: hidden;
    opacity: 0.75;
}

.hero-mobile-minimal__scroll-indicator span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.95), rgba(255,255,255,0));
    animation: heroScrollPulse 1.8s ease-in-out infinite;
}

/* Animazioni */
@keyframes heroMobileFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroMobileZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@keyframes heroLineReveal {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes heroScrollPulse {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Ottimizzazione schermi piccoli */
@media (max-width: 390px) {
    .hero-mobile-minimal__content {
        padding-top: 96px;
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }

    .hero-mobile-minimal__title {
        font-size: 2.15rem;
    }

    .hero-mobile-minimal__subtitle {
        font-size: 0.96rem;
        margin-bottom: 22px;
    }

    .hero-mobile-minimal__inner {
        max-width: 290px;
    }
}

/* Per utenti che preferiscono meno animazioni */
@media (prefers-reduced-motion: reduce) {
    .hero-mobile-minimal__media img,
    .hero-mobile-minimal__inner,
    .hero-mobile-minimal__link-line::after,
    .hero-mobile-minimal__scroll-indicator span {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* CSS PROVA PER  SLIDE MARKER */

.hero-markers-slide {
    position: relative;
}

.hero-markers {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.hero-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    opacity: 0;
}

.hero-pin {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    position: relative;
}

.hero-pin::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    opacity: 0.6;
}

.hero-label {
    position: absolute;
    top: -52px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.82);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-family: "Montserrat", Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.3px;
    font-weight: 500;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    white-space: nowrap;
    opacity: 0;
    text-decoration: none;
}

.hero-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: rgb(151, 134, 103);
    transform: translateX(-50%) rotate(45deg);
}

.hero-label:hover{
color: rgb(151, 134, 103);
background-color: rgba(0, 0, 0, 0.811);

    
}

/* posizioni iniziali esempio */
.marker-1 { top: 53%; left: 65%; }
.marker-2 { top: 59%; left: 53%; }
.marker-3 { top: 68%; left: 72%; }

/* testo hero sopra tutto, se serve */
.hero-markers-slide .slide-text {
    position: relative;
    z-index: 7;
}

/* attivazione animata */
.hero-marker.is-visible {
    animation: markerFadeIn .6s ease forwards;
}

.hero-marker.is-visible .hero-pin {
    animation: pinPop .6s ease forwards, pinPulse 2.2s ease-in-out infinite .6s;
}

.hero-marker.is-visible .hero-label {
    animation: labelFadeIn .55s ease forwards;
    animation-delay: .2s;
}

/* hover opzionale */
.hero-marker:hover .hero-label {
    opacity: 1;
}

@keyframes markerFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.85);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes pinPop {
    0% {
        transform: scale(.6);
    }
    70% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes labelFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes pinPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0.35);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255,255,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

/* CSS MARKER MOBILE*/

.mobile-markers-slide {
    position: relative;
}

.mobile-hero-markers {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.mobile-hero-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    opacity: 0;
}

.mobile-hero-pin {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(255,255,255,0.92);
    box-shadow: 0 4px 14px rgba(0,0,0,0.22);
    position: relative;
}

.mobile-hero-pin::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    opacity: 0.65;
}

.mobile-hero-label {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18,18,18,0.82);
    color: #fff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-family: 'Gotham', sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.3px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    backdrop-filter: blur(6px);
    opacity: 0;
}

.mobile-hero-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 10px;
    height: 10px;
    background: rgba(18,18,18,0.82);
    transform: translateX(-50%) rotate(45deg);
}

/* posizioni iniziali: da regolare sulla foto */
.mobile-marker-1 { top: 60%; left: 58%; }
.mobile-marker-2 { top: 63%; left: 25%; }
.mobile-marker-3 { top: 72%; left: 75%; }

/* testo hero sopra tutto */
.mobile-markers-slide .mobile-hero-text {
    position: relative;
    z-index: 7;
}

/* animazioni */
.mobile-hero-marker.is-visible {
    animation: mobileMarkerFadeIn .55s ease forwards;
}

.mobile-hero-marker.is-visible .mobile-hero-pin {
    animation: mobilePinPop .55s ease forwards, mobilePinPulse 2.2s ease-in-out infinite .55s;
}

.mobile-hero-marker.is-visible .mobile-hero-label {
    animation: mobileLabelFadeIn .45s ease forwards;
    animation-delay: .18s;
}

@keyframes mobileMarkerFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.88);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes mobilePinPop {
    0% { transform: scale(.7); }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

@keyframes mobileLabelFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes mobilePinPulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.30); }
    70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* CSS PER RECENSIONI MOBILE INDEX */

.reviews_mobile_section {
    background: #f8f5f1;
    padding-bottom: 30px;
}

.reviews_mobile_hero {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
    margin-bottom: 25px;
}

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

.reviews_mobile_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
}

.reviews_mobile_heading {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 24px;
    color: #fff;
    text-align: center;
}

.reviews_mobile_heading small {
    display: block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.9;
}

.reviews_mobile_heading h2 {
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
    margin: 0;
    font-weight: 600;
}

.reviews_mobile_cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 18px; /* ← margine laterale come le altre sezioni */
}

.review_card_mobile {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 26px 20px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    
    
    margin: 0 auto;
    max-width: 500px; 
}

.review_card_mobile .quote_icon {
    position: absolute;
    top: 10px;
    left: 18px;
    font-size: 42px;
    line-height: 1;
    color: #c7a17a;
    font-family: Georgia, serif;
    opacity: 0.7;
}

.review_card_mobile p {
    margin: 0 0 14px 0;
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

.review_card_mobile h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}
.reviews_mobile_cards {
    margin-top: -40px; 
}

@media (max-width: 575.98px) {
    .reviews_mobile_hero {
        height: 240px;
    }

    .reviews_mobile_heading h2 {
        font-size: 24px;
    }

    .review_card_mobile {
        padding: 26px 18px 18px;
    }

    .review_card_mobile p {
        font-size: 14px;
    }
}


@media (max-width: 768px) {

    .pinned-image.pinned-image--medium {
        min-height: 58vh;
    }

    .pinned-image__container {
        min-height: 58vh;
    }

    .pinned-bg-image {
        object-fit: cover;
        object-position: center center;
    }

    .pinned_over_content {
        padding: 0 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .pinned_over_content .title {
        max-width: 320px;
        margin: 0 auto;
    }

    .pinned_over_content .title small {
        display: block;
        font-size: 11px;
        line-height: 1.4;
        letter-spacing: 1.8px;
        margin-bottom: 10px;
    }

    .pinned_over_content .title h2 {
        font-size: 28px;
        line-height: 1.2;
        letter-spacing: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {

    .pinned-image.pinned-image--medium {
        min-height: 52vh;
    }

    .pinned-image__container {
        min-height: 52vh;
    }

    .pinned_over_content {
        padding: 0 18px;
    }

    .pinned_over_content .title {
        max-width: 280px;
    }

    .pinned_over_content .title small {
        font-size: 10px;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .pinned_over_content .title h2 {
        font-size: 23px;
        line-height: 1.18;
    }
}

@media (max-width: 768px) {
.col-lg-5.order-lg-1 {
        text-align: center;
    }

    .col-lg-5.order-lg-1 .title {
        margin: 0 auto;
        max-width: 320px;
    }

    .col-lg-5.order-lg-1 .btn_1 {
        display: inline-block;
    }


    /* Centra tutto il blocco */
    .add_bottom_90 {
        text-align: center;
    }

    /* Immagine centrata e non full width estrema */
    .add_bottom_90 .col-lg-6 {
        margin-bottom: 20px;
    }

    .add_bottom_90 .pinned-image {
        margin: 0 auto;
        /* max-width: 340px; */
    }

    /* Testo centrato e leggibile */
    .add_bottom_90 .col-lg-5 .title {
        margin: 0 auto;
        max-width: 320px;
    }

    .add_bottom_90 .title small {
        display: block;
        margin-bottom: 8px;
    }

    .add_bottom_90 .title p {
        text-align: center;
    }
}

/* MOBILE INTRO */
.podere-intro-mobile {
  padding: 0 8px;
  text-align: center;
}

.podere-intro-mobile .subtitle {
  display: inline-block;
  margin-bottom: 12px;
}

.podere-intro-mobile h2 {
  font-size: 30px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.podere-intro-mobile .lead-text {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.podere-intro-mobile p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* FEATURES MOBILE */
.podere-features-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

.podere-features-mobile .feature-box {
  padding: 20px 18px;
  border-radius: 16px;
}

.podere-features-mobile .feature-box h3 {
  font-size: 17px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.podere-features-mobile .feature-box p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* SMALL DEVICES */
@media (max-width: 575.98px) {
  .podere-intro-mobile {
    padding: 0 4px;
  }

  .podere-intro-mobile h2 {
    font-size: 26px;
  }

  .podere-intro-mobile .lead-text {
    font-size: 15px;
  }

  .podere-intro-mobile p {
    font-size: 14px;
  }

  .podere-features-mobile .feature-box {
    padding: 18px 16px;
  }
}

/* =========================
   HERO MOBILE ITINERARI
   ========================= */

.hero-mobile-itinerari {
  position: relative;
  display: block;
  width: 100%;
  min-height: 64vh;
  overflow: hidden;
  background: #000;
}

.hero-mobile-itinerari .hero-mobile-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-mobile-itinerari .hero-mobile-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-mobile-itinerari .wrapper {
  position: relative;
  z-index: 2;
  min-height: 64vh;
  width: 100%;
  padding: 0;
}

.hero-mobile-itinerari .container {
  width: 100%;
}

.hero-mobile-itinerari .hero-mobile-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 18px;
  text-align: center;
  color: #fff;
}

.hero-mobile-itinerari small {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-mobile-itinerari h1 {
  margin: 0 0 12px 0;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 600;
  color: #fff;
}

.hero-mobile-itinerari p {
  margin: 0 auto;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* overlay compatibile con la struttura del tema */
.hero-mobile-itinerari .opacity-mask {
  position: relative;
  opacity: 100%;
}

.hero-mobile-itinerari .opacity-mask:before {
  content: "";
  position: relative;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
  height: 100vh;
}

/* piccoli telefoni */
@media (max-width: 575.98px) {
  .hero-mobile-itinerari,
  .hero-mobile-itinerari .wrapper {
    min-height: 58vh;
  }

  .hero-mobile-itinerari .hero-mobile-inner {
    padding: 20px 16px;
  }

  .hero-mobile-itinerari small {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 1.6px;
  }

  .hero-mobile-itinerari h1 {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .hero-mobile-itinerari p {
    max-width: 280px;
    font-size: 14px;
    line-height: 1.65;
  }
}

/* telefoni molto bassi */
@media (max-height: 740px) and (max-width: 991.98px) {
  .hero-mobile-itinerari,
  .hero-mobile-itinerari .wrapper {
    min-height: 56vh;
  }
}

.lagoImg {
    object-fit: cover !important;
    object-position: 50% 80% !important;
}

.escursioniContainer{
    height: 80vh !important;
}

/* CSS WHATSAPP */

:root {
  --wa-green: #25d366;
  --wa-green-hover: #20bd5c;
  --wa-dark: rgba(15, 23, 42, 0.88);
  --wa-dark-hover: rgba(15, 23, 42, 0.96);
  --wa-text: #ffffff;
  --wa-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  --wa-shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.22);
  --wa-z: 9999;
}


.whatsapp-cta {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  pointer-events: none;
}

.whatsapp-cta.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-cta {
  position: fixed;
  position: fixed;
  left: 24px;
  bottom: 24px;
  right: auto;
  z-index: 9999;
  z-index: var(--wa-z);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--wa-text);
  background: var(--wa-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: var(--wa-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.whatsapp-cta:hover {
  transform: translateY(-3px);
  background: var(--wa-dark-hover);
  box-shadow: var(--wa-shadow-strong);
}

.whatsapp-cta:focus-visible {
  outline: 2px solid var(--wa-green);
  outline-offset: 4px;
}

.whatsapp-cta__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--wa-green);
  color: white;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.whatsapp-cta:hover .whatsapp-cta__icon {
  transform: scale(1.06);
  background: var(--wa-green-hover);
}

.whatsapp-cta__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.whatsapp-cta__content {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.whatsapp-cta__label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.whatsapp-cta__text {
  font-size: 0.98rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .whatsapp-cta {
    right: 18px;
    bottom: 18px;
  }
}


@media (max-width: 767px) {
  .hero,
  .page-hero,
  .banner-hero,
  .hero-section {
    position: relative;
  }

  .whatsapp-cta {
    opacity: 1 !important;
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 0;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .whatsapp-cta:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
  }

  .whatsapp-cta__content {
    display: none;
  }

  .whatsapp-cta__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    /* box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3); */
    box-shadow: none;
  }

  .whatsapp-cta__icon svg {
    width: 26px;
    height: 26px;
  }
}
 

/* HERO con popup WhatsApp dedicato */
.hero,
.hero-mobile-minimal {
  position: relative;
}

.whatsapp-cta--hero {
  position: absolute;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 30;
}

/* Mobile hero Domenico: stessa logica della home, ma ancorata a sinistra */
@media (max-width: 991.98px) {
  .whatsapp-cta--hero {
    
    left: 18px;
    right: auto;
    bottom: 18px;
  }
}

@media (max-width: 767.98px) {
  .whatsapp-cta--hero {
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    left: 14px;
    right: auto;
    bottom: 28px !important;
    padding: 0;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    
  }

  .whatsapp-cta--hero:hover {
    background: transparent;
    box-shadow: none;
    transform: translateY(-2px);
  }

  .whatsapp-cta--hero .whatsapp-cta__content {
    display: none;
  }

  .whatsapp-cta--hero .whatsapp-cta__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.3);
  }

  .whatsapp-cta--hero .whatsapp-cta__icon svg {
    width: 26px;
    height: 26px;
  }
}

/* opzionale: evita sovrapposizione con lo scroll indicator mobile */
.hero-mobile-minimal .whatsapp-cta--hero {
  bottom: calc(18px + env(safe-area-inset-bottom));
}





/* HERO SCOPE */
.hero-mobile-minimal,
.hero,
.page-hero,
.hero-section {
  position: relative;
}

/* POPUP HERO */
.whatsapp-cta--hero {
  position: absolute;
  left: 24px;
  right: auto;
  bottom: 40px;
  z-index: 60;
  pointer-events: auto;
}

/* MOBILE */
@media (max-width: 767px) {
  .whatsapp-cta--hero {
    left: 14px;
    right: auto;
    bottom: 28px;
    opacity: 1 !important;
    pointer-events: auto !important;

    padding: 0;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .whatsapp-cta--hero .whatsapp-cta__content {
    display: none;
  }

  .whatsapp-cta--hero .whatsapp-cta__icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }
}

/* STORY BLOCK APPARTAMENTI */
.unit_story {
    position: relative;
    margin-top: 26px;
    padding: 24px 0 0 0;
}

.unit_story__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9c8762;
}

.unit_story__content {
    position: relative;
    padding-left: 26px;
}

.unit_story__content::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 2px;
    height: calc(100% - 8px);
    border-radius: 2px;
    background: linear-gradient(to bottom, #d9c4a0, #b79b72 55%, rgba(183,155,114,0.15));
}

.unit_story__content p {
    margin: 0 0 18px 0;
    font-size: 17px;
    line-height: 1.95;
    color: #4f4a43;
    max-width: 95%;
}

.unit_story__content p:first-of-type {
    color: #3f3a34;
}

.unit_story__content p:last-of-type {
    margin-bottom: 16px;
}

.unit_story__note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 10px 16px;
    border: 1px solid #eadfcd;
    border-radius: 999px;
    background: linear-gradient(180deg, #fbf8f3 0%, #f7f2ea 100%);
    color: #7f6948;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 22px rgba(0,0,0,0.04);
}

.unit_story__note::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b79b72;
    box-shadow: 0 0 0 4px rgba(183,155,114,0.14);
}

/* Raffinamento mobile */
@media (max-width: 767.98px) {
    .unit_story {
        margin-top: 22px;
        padding-top: 18px;
    }

    .unit_story__eyebrow {
        font-size: 10px;
        letter-spacing: 0.16em;
        margin-bottom: 12px;
    }

    .unit_story__content {
        padding-left: 18px;
    }

    .unit_story__content p {
        font-size: 15px;
        line-height: 1.85;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .unit_story__note {
        font-size: 12px;
        padding: 9px 14px;
    }
}

.unit_story__connection {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid #eadfcd;
    border-radius: 18px;
    background: linear-gradient(180deg, #fcfaf7 0%, #f7f2ea 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.unit_story__connection-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9c8762;
}

.unit_story__connection p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #4a443d;
}

@media (max-width: 767.98px) {
    .unit_story__connection {
        margin-top: 18px;
        padding: 16px 16px;
        border-radius: 16px;
    }

    .unit_story__connection-label {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .unit_story__connection p {
        font-size: 14px;
        line-height: 1.75;
    }
}

.hero-mobile-minimal__title,
.hero-mobile-minimal__subtitle,
.hero-mobile-minimal__eyebrow {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.hero-mobile-minimal__content {
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-mobile-minimal__overlay {
    transform: translateZ(0);
}



.whatsapp-cta {
  display: none !important;
}

.whatsapp-cta.whatsapp-enabled {
  display: inline-flex !important;
}


/* prova fix pallini*/

.hero-mobile-minimal__content,
.hero-mobile-minimal__inner,
.hero-mobile-minimal__eyebrow,
.hero-mobile-minimal__title,
.hero-mobile-minimal__subtitle,
.hero-mobile-minimal__link {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.hero-mobile-minimal__eyebrow,
.hero-mobile-minimal__title,
.hero-mobile-minimal__subtitle,
.hero-mobile-minimal__link {
  transform: none !important;
  filter: none !important;
  text-shadow: 0 1px 8px rgba(0,0,0,0.18);
}


/* WHATSAPP POPUP: sempre fisso in basso a sinistra */
.whatsapp-cta,
.whatsapp-cta--hero {
  position: fixed !important;
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  z-index: 9999 !important;
}

@media (min-width: 768px) {
  .whatsapp-cta,
  .whatsapp-cta--hero {
    left: 24px !important;
    bottom: 24px !important;
    display: none !important;
  }
}


@media (max-width: 767px) {
  .whatsapp-cta {
    opacity: 1 !important;
    position: fixed !important;
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    padding: 0;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    
  }
  .whatsapp-cta--hero {
    opacity: 1 !important;
    position: fixed !important;
    left: 16px !important;
    right: auto !important;
    bottom: 32px !important;
    padding: 0;
    gap: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


/* LINK CON BADGE */
.menu-with-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* BADGE OSPITI */
.menu-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(0,0,0,0.06);
    color: #444;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* ICONA */
.menu-badge i {
    font-size: 12px;
}

/* HOVER EFFETTO */
.menu-with-badge:hover .menu-badge {
    background: #c6a97a; /* colore brand */
    color: #fff;
}

.booking_wrapper {
    padding: 10px 10px 10px 10px !important;
}

/* =========================
   SUCCESS MODAL DEFINITIVA
========================= */
.success-modal .modal-dialog {
    max-width: 520px;
    margin: 1rem auto;
}

.success-modal .modal-content {
    background: linear-gradient(180deg, #fffdf9 0%, #f6f1e8 100%);
    border: 0;
    border-radius: 22px;
    overflow: hidden;
    text-align: center;
}

.success-modal .modal-header {
    padding: 14px 14px 0 14px;
    border: 0;
}

.success-modal .modal-body {
    padding: 0 2rem 2rem 2rem;
    text-align: center !important;
}

.success-modal .btn-close {
    box-shadow: none;
    opacity: 0.85;
}

.success-modal .btn-close:hover {
    opacity: 1;
}

.success-check-wrap {
    width: 110px;
    height: 110px;
    margin: 0 auto 1.25rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-check-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #dff3df;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(40, 167, 69, 0.18);
}

.success-check-circle svg {
    width: 68px;
    height: 68px;
    display: block;
}

.success-check-circle-bg {
    fill: #dff3df;
    stroke: #dff3df;
    stroke-width: 1.5;
}

.success-check-path {
    fill: none;
    stroke: #28a745;
    stroke-width: 4.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.success-modal h3,
.success-modal #formSuccessModalTitle {
    color: #2d2d2d;
    font-size: 1.85rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: center !important;
    margin: 0 0 0.9rem 0 !important;
}

.success-modal p,
.success-modal #formSuccessModalText {
    color: #5e5a54;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 420px;
    margin: 0 auto 1.5rem auto !important;
    text-align: center !important;
}

.success-modal .btn_1 {
    min-width: 160px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .success-modal .modal-dialog {
        margin: 1rem;
    }

    .success-modal .modal-body {
        padding: 0 1.25rem 1.5rem 1.25rem !important;
    }

    .success-check-wrap,
    .success-check-circle {
        width: 88px;
        height: 88px;
    }

    .success-check-circle svg {
        width: 56px;
        height: 56px;
    }

    .success-modal h3,
    .success-modal #formSuccessModalTitle {
        font-size: 1.45rem;
    }

    .success-modal p,
    .success-modal #formSuccessModalText {
        font-size: 0.96rem;
        line-height: 1.6;
    }

    .success-modal .btn_1 {
        width: 100%;
    }
}

footer a:focus{
    color:wheat !important
}

/* stato iniziale */
#carousel-home .slide-text .owl-slide-animated {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(8px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s ease;
  will-change: opacity, transform, filter;
}

/* slide attiva */
#carousel-home .owl-item.active .slide-text .owl-slide-animated {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* animazione sfalsata */
#carousel-home .owl-item.active .owl-slide-title {
  transition-delay: 0.25s;
}

#carousel-home .owl-item.active .owl-slide-title-2 {
  transition-delay: 0.5s;
}

#carousel-home .owl-item.active .owl-slide-title-3 {
  transition-delay: 0.75s;
}





/* inizio test css su animazioni carousel mobile  */
/* ================================
   HOMEPAGE MOBILE HERO - PREMIUM REVEAL
================================ */

.carousel-home-mobile .owl-slide {
    overflow: hidden;
}

.carousel-home-mobile .opacity-mask::before {
    transition: background .9s ease, opacity .9s ease;
}

.carousel-home-mobile .owl-item.active .opacity-mask::before {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.62) 0%,
        rgba(0,0,0,0.28) 42%,
        rgba(0,0,0,0.12) 100%
    );
}

/* blocco testo */
.carousel-home-mobile .mobile-hero-text {
    position: relative;
    z-index: 7;
    max-width: 330px;
    opacity: 0;
    transform: translateY(26px) scale(.985);
    filter: blur(5px);
    transition:
        opacity .8s cubic-bezier(.22,.61,.36,1),
        transform .95s cubic-bezier(.22,.61,.36,1),
        filter .8s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform, filter;
}

/* attivazione slide */
.carousel-home-mobile .owl-item.active .mobile-hero-text {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* elementi interni */
.carousel-home-mobile .mobile-hero-text > * {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .7s cubic-bezier(.22,.61,.36,1),
        transform .85s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
}

.carousel-home-mobile .owl-item.active .mobile-hero-text > * {
    opacity: 1;
    transform: translateY(0);
}

/* titolo */
.carousel-home-mobile .mobile-hero-text h2 {
    position: relative;
    margin-bottom: 14px;
    text-shadow: 0 10px 28px rgba(0,0,0,.18);
    transition-delay: .16s;
}

/* linea sotto titolo */
.carousel-home-mobile .mobile-hero-text h2::after {
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    transition:
        transform .7s cubic-bezier(.22,.61,.36,1) .5s,
        opacity .45s ease .5s;
}

.carousel-home-mobile .owl-item.active .mobile-hero-text h2::after {
    transform: scaleX(1);
    opacity: 1;
}

/* bottone */
.carousel-home-mobile .mobile-hero-text .btn_1 {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .55s ease .38s,
        transform .7s cubic-bezier(.22,.61,.36,1) .38s,
        box-shadow .3s ease,
        background-color .3s ease,
        color .3s ease;
}

.carousel-home-mobile .owl-item.active .mobile-hero-text .btn_1 {
    opacity: 1;
    transform: translateY(0);
}

/* fine css su animazioni carousel mobile  */

/* inizio css su animazioni slide dekstop */
/* HERO INTERNE DESKTOP - BASE COMUNE */
.animate_hero .slide-animated {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    will-change: opacity, transform, filter;
    animation: internalHeroReveal 0.95s cubic-bezier(.22,.61,.36,1) forwards;
}

/* timing in cascata */
.animate_hero .slide-animated.one {
    animation-delay: .22s;
}

.animate_hero .slide-animated.two {
    animation-delay: .36s;
}

.animate_hero .slide-animated.three {
    animation-delay: .50s;
}

.animate_hero .slide-animated.four {
    animation-delay: .66s;
}

@keyframes internalHeroReveal {
    from {
        opacity: 0;
        transform: translateY(26px);
        filter: blur(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
/* fine css su animazioni slide dekstop  */

/* HERO INTERNE MOBILE - CONTENITORE */
.hero-mobile-minimal__inner {
    max-width: 320px;
}

/* elementi interni */
.hero-mobile-minimal__eyebrow,
.hero-mobile-minimal__title,
.hero-mobile-minimal__subtitle,
.hero-mobile-minimal__link {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
    will-change: opacity, transform, filter;
    animation: internalHeroReveal 0.9s cubic-bezier(.22,.61,.36,1) forwards;
}

.hero-mobile-minimal__eyebrow {
    animation-delay: .10s;
}

.hero-mobile-minimal__title {
    animation-delay: .24s;
}

.hero-mobile-minimal__subtitle {
    animation-delay: .38s;
}

.hero-mobile-minimal__link {
    animation-delay: .52s;
}

@media (max-width: 991.98px) {
  #mainNav ul li a.btn_1.open_close_menu {
    display: block !important;
    width: 100% !important;
   
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    line-height: inherit !important;
  }
}