﻿*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

:root{
  --brand-950:#072740;
  --brand-900:#0b3558;
  --brand-800:#0f4c81;
  --brand-700:#1d6fae;
  --brand-500:#2c8ed4;
  --accent:#2f9adf;
  --text-900:#1d2d38;
  --text-700:#495f6f;
  --border-soft:rgba(15,76,129,0.12);
  --ring:rgba(47,154,223,0.28);
  --radius-card:24px;
  --radius-xl:30px;
  --radius-lg:22px;
  --radius-pill:999px;
  --shadow-1:0 12px 26px rgba(8,43,74,0.08);
  --shadow-2:0 20px 44px rgba(8,43,74,0.14);
}

body{
  font-family:'Poppins',sans-serif;
  color:var(--text-900);
  line-height:1.8;
  overflow-x:hidden;
  background:
    radial-gradient(1200px 600px at 5% -10%, rgba(64,145,206,0.10), transparent 60%),
    radial-gradient(900px 450px at 95% 8%, rgba(26,101,158,0.08), transparent 60%),
    linear-gradient(140deg,#f4faff 0%,#ffffff 48%,#f5faff 100%);
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
a{text-decoration:none;}
section{position:relative;padding:clamp(34px,4.2vh,52px) 6%;scroll-margin-top:90px;}
h2{text-align:center;color:var(--brand-700);margin-bottom:18px;font-size:clamp(2rem,2.4vw,2.55rem);line-height:1.2;letter-spacing:0.01em;}
.container,.container-casa,.tesero-wrap,.convenzioni-wrap,.dove-container{max-width:1150px;margin:auto;}

nav{
  position:fixed;
  top:0;left:0;width:100%;
  background:rgba(255,255,255,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.35);
  box-shadow:0 10px 28px rgba(8,48,80,0.10);
  z-index:1000;
  transition:background .3s ease, box-shadow .3s ease, transform .3s ease;
}
nav.is-scrolled{
  background:rgba(255,255,255,0.94);
  box-shadow:0 14px 30px rgba(8,48,80,0.13);
}
nav ul{
  list-style:none;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 20px;
  max-width:1240px;
  margin:0 auto;
  border-radius:var(--radius-pill);
}
nav a{
  color:var(--brand-900);
  font-size:14.5px;
  font-weight:600;
  letter-spacing:0.01em;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid transparent;
  transition:background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
nav a:hover{
  color:var(--brand-700);
  background:rgba(29,111,174,0.11);
  transform:translateY(-1px);
}
nav a.is-active,
nav a[aria-current="page"]{
  background:linear-gradient(180deg, rgba(47,154,223,0.20), rgba(47,154,223,0.12));
  border-color:rgba(47,154,223,0.35);
  color:var(--brand-950);
}
.nav-toggle{display:none;}
.nav-mobile-brand{display:none;}

/* HOME */
#home{
  background:url("images/tesero neve.jpg") center/cover no-repeat;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
  position:relative;
  padding:130px 20px 90px;
}
#home::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(8,28,48,0.76),rgba(13,74,123,0.52),rgba(0,0,0,0.34));
}
#home::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:170px;
  background:linear-gradient(to top, rgba(255,255,255,0.97), rgba(255,255,255,0));
}
.home-content{position:relative;z-index:2;max-width:1000px;}
.home-card{
  background:rgba(255,255,255,0.13);
  border:1px solid rgba(255,255,255,0.32);
  backdrop-filter:blur(10px);
  border-radius:36px;
  padding:42px 34px;
  box-shadow:0 24px 70px rgba(0,0,0,0.26);
  max-width:1020px;
  margin:0 auto;
}
.home-title-box{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:30px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.logo-home-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:floatLogo 4.5s ease-in-out infinite;
}
.logo-home-wrap::before{
  content:"";
  position:absolute;
  width:195px;height:195px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.08) 45%, rgba(255,255,255,0) 70%);
}
.logo-home{
  position:relative;
  z-index:1;
  width:170px;height:170px;
  object-fit:cover;
  border-radius:50%;
  border:5px solid rgba(255,255,255,0.82);
  background:#fff;
  box-shadow:0 18px 35px rgba(0,0,0,0.30);
  animation:logoReveal 1.4s ease;
}
.home-title-text{text-align:center;}
.benvenuti{
  font-size:18px;
  font-weight:500;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.92);
  margin-bottom:8px;
}
.titolo-maria{
  font-size:64px;
  font-weight:700;
  line-height:1.05;
  text-shadow:0 6px 18px rgba(0,0,0,0.28);
  margin-bottom:8px;
}
.titolo-maria .maria-script{
  display:block;
  font-family:'Satisfy',cursive;
  font-size:82px;
  font-weight:400;
  color:#ffffff;
  line-height:1.05;
}
.home-subtitle{
  max-width:760px;
  margin:0 auto 20px auto;
  font-size:clamp(1.08rem,1.6vw,1.35rem);
  line-height:1.9;
  color:#f7fbff;
  text-shadow:0 2px 10px rgba(0,0,0,0.25);
}
.home-mini-script{
  font-family:'Satisfy',cursive;
  font-size:40px;
  line-height:1.35;
  color:#fff;
  margin:12px 0 18px 0;
  text-shadow:0 3px 10px rgba(0,0,0,0.22);
}
.home-info-row{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 28px 0;
}
.home-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 18px;
  border-radius:999px;
  background:rgba(255,255,255,0.20);
  border:1px solid rgba(255,255,255,0.42);
  font-size:15px;
  font-weight:500;
  color:#fff;
}
.home-buttons{
  display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
  margin-top:10px;
}
.btn-home{
  display:inline-block;
  padding:15px 30px;
  border-radius:30px;
  font-weight:600;
  letter-spacing:0.01em;
  box-shadow:0 8px 18px rgba(15,76,129,0.14);
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s ease;
}
.btn-primary{
  color:var(--brand-900);
  background:linear-gradient(180deg,#ffffff 0%,#ecf7ff 100%);
  box-shadow:0 10px 22px rgba(255,255,255,0.22);
}
.btn-primary:hover{
  transform:translateY(-3px);
  background:#f7fbff;
}
.btn-secondary{
  background:rgba(255,255,255,0.18);
  color:white;
  border:1px solid rgba(255,255,255,0.55);
}
.btn-secondary:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,0.24);
}
.home-scroll-note{
  margin-top:24px;
  font-size:14px;
  color:rgba(255,255,255,0.9);
  letter-spacing:.6px;
}

/* CHI SIAMO */
#chi-siamo,
#la-casa,
.novita,
#tesero-e-dintorni,
#convenzioni,
.reviews-tesero-box,
#dove-siamo{
  background:
    radial-gradient(900px 420px at 90% 8%, rgba(24,99,156,0.06), transparent 60%),
    linear-gradient(145deg,#f7fbff 0%,#ffffff 50%,#f4f9ff 100%);
}
#chi-siamo h2{font-size:38px;margin-bottom:50px;}
.host-section{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
  margin-bottom:55px;
}
.host-text-box{
  flex:1;
  min-width:320px;
  background:linear-gradient(135deg,#ffffff,#f8fcff);
  border-radius:28px;
  padding:34px 38px;
  box-shadow:0 14px 35px rgba(15,76,129,0.10);
  border:1px solid rgba(15,76,129,0.08);
}
.host-text-box p{
  font-family:'Poppins',sans-serif;
  font-size:24px;
  line-height:1.75;
  color:#2f3a45;
  text-align:center;
  margin:0;
}
.host-photo{width:160px;height:160px;flex-shrink:0;}
.host-photo img{
  width:100%;height:100%;
  object-fit:cover;
  border-radius:50%;
  border:5px solid rgba(255,255,255,0.90);
  box-shadow:0 14px 35px rgba(0,0,0,0.18);
}

.story-wrapper{
  background:linear-gradient(135deg,#f7fbff,#ffffff);
  border-radius:30px;
  padding:40px;
  box-shadow:0 14px 35px rgba(15,76,129,0.10);
}
.story-header{text-align:center;margin-bottom:35px;}
.story-title{font-size:34px;color:#0f4c81;margin-bottom:10px;}
.story-subtitle{
  font-family:'Satisfy',cursive;
  font-size:34px;
  color:#2f587d;
  line-height:1.4;
  margin:0;
}
.story-content{
  display:grid;
  grid-template-columns:400px 1fr;
  gap:28px;
  align-items:stretch;
}
.story-image{
  height:100%;
  min-height:0;
}
.story-image-frame{
  height:100%;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  padding:10px;
  box-shadow:0 10px 24px rgba(0,0,0,0.08);
}
.story-image-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center center;
  border-radius:18px;
}
.story-text{display:grid;gap:16px;align-content:space-between;}
.story-box{
  background:white;
  border-radius:20px;
  padding:22px 24px;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
}
.story-box p{
  margin:0;
  font-size:17px;
  line-height:1.85;
  color:#444;
}
.story-box strong{color:#0f4c81;}
.story-highlight{
  background:linear-gradient(135deg,#e7f4ff,#f4fbff);
  border-left:6px solid #66aee8;
  box-shadow:0 12px 24px rgba(102,174,232,0.14);
}
.story-highlight p{
  font-size:20px;
  line-height:1.8;
  color:#2e678f;
}

/* LA CASA */
#la-casa,.novita,#tesero-e-dintorni{
  padding:clamp(38px,4.6vh,56px) 6%;
}
#la-casa .container-casa,.novita-container,#tesero-e-dintorni .tesero-wrap{
  max-width:1150px;
  margin:auto;
}
.intro-casa{
  background:linear-gradient(135deg,#ffffff,#f8fbff);
  padding:45px;
  border-radius:30px;
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
  text-align:center;
  margin-bottom:60px;
  animation:fadeUp .9s ease;
}
.intro-casa h2{
  font-size:38px;
  color:#0f4c81;
  margin-bottom:10px;
}
.intro-sub{
  font-family:'Satisfy',cursive;
  font-size:34px;
  color:#2e678f;
  margin-bottom:20px;
  line-height:1.4;
}
.intro-text{
  font-family:'Poppins',sans-serifs;
  font-size:24px;
  line-height:1.8;
  color:#333;
}
.intro-text p{margin:0 0 14px 0;}
.titolo-sezione{
  text-align:center;
  font-size:34px;
  color:#0f4c81;
  margin:70px 0 15px 0;
}
.testo-sezione{
  text-align:center;
  max-width:850px;
  margin:0 auto 40px auto;
  color:#555;
  line-height:1.8;
  font-size:17px;
}
.grid-casa,.tesero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
}
.box-casa{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:transform .35s ease, box-shadow .35s ease;
  animation:fadeUp .9s ease;
}
.box-casa:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 35px rgba(0,0,0,0.12);
}
.box-img{
  height:230px;
  overflow:hidden;
  background:linear-gradient(135deg,#eef6ff,#ffffff);
  display:flex;
  align-items:center;
  justify-content:center;
}
.box-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .45s ease;
}
.box-casa:hover .box-img img{transform:scale(1.05);}
.box-content{padding:28px;}
.box-content h3{
  color:#0f4c81;
  margin:0 0 12px 0;
  font-size:23px;
}
.box-content p{
  margin:0 0 14px 0;
  color:#555;
  line-height:1.8;
  font-size:16px;
}
.box-content ul{
  list-style:none;
  padding:0;
  margin:0;
}
.box-content li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:8px;
  font-size:16px;
  line-height:1.8;
  color:#333;
}
.box-note{margin-top:14px;color:#555;}

.box-garage{
  margin-top:55px;
  background:linear-gradient(135deg,#ffffff,#eef6ff);
  border-radius:30px;
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
  overflow:hidden;
  animation:fadeUp 1s ease;
}
.box-garage-inner{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:0;
  align-items:stretch;
}
.box-garage-img{
  min-height:320px;
  background:linear-gradient(135deg,#eaf4ff,#f8fbff);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.box-garage-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.box-garage-img img.garage-image-centered{
  object-position:center center;
}
.box-garage-content{padding:40px;}
.box-garage-content h3{
  font-size:32px;
  color:#0f4c81;
  margin:0 0 15px 0;
}
.box-garage-content p{
  font-size:17px;
  line-height:1.8;
  color:#555;
  margin:0 0 18px 0;
}
.box-garage-content ul{
  list-style:none;
  padding:0;
  margin:0 0 18px 0;
}
.box-garage-content li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:10px;
  font-size:16px;
  line-height:1.8;
  color:#333;
}
.box-garage-info{
  font-size:15px;
  color:#667;
  font-style:italic;
}
.servizi{
  margin-top:60px;
  background:white;
  padding:35px;
  border-radius:25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  animation:fadeUp 1s ease;
}
.servizi h2{
  text-align:center;
  color:#0f4c81;
  margin:0 0 25px 0;
  font-size:32px;
}
.servizi-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.servizio{
  background:#f5f9ff;
  padding:15px 18px;
  border-radius:15px;
  font-size:16px;
  line-height:1.7;
  color:#334;
  box-shadow:0 4px 10px rgba(0,0,0,0.03);
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.box-content li img,
.box-garage-content li img,
.servizio img,
.feature-content li img{
  flex:0 0 30px;
  width:30px;
  height:30px;
  object-fit:contain;
  margin-top:1px;
}

/* GALLERIE */
.gallery-shell{
  margin-top:70px;
  animation:fadeUp 1s ease;
}
.gallery-shell h2{
  text-align:center;
  color:#0f4c81;
  margin-bottom:15px;
  font-size:34px;
}
.gallery-intro{
  text-align:center;
  max-width:780px;
  margin:0 auto 30px auto;
  color:#555;
  line-height:1.8;
  font-size:16px;
}
.gallery-slider-wrap{
  position:relative;
  overflow:hidden;
  border-radius:18px;
}
.gallery-track{
  display:flex;
  gap:15px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding-bottom:10px;
  scrollbar-width:none;
}
.gallery-track::-webkit-scrollbar{display:none;}
.gallery-track img{
  width:260px;
  height:200px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  transition:transform .35s ease, box-shadow .35s ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.10);
  flex:0 0 auto;
}
.gallery-track img:hover{
  transform:scale(1.06);
  box-shadow:0 12px 30px rgba(15,76,129,0.18);
}
.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:52px;
  height:52px;
  border:none;
  border-radius:50%;
  background:rgba(15,76,129,0.90);
  color:#fff;
  font-size:26px;
  cursor:pointer;
  z-index:5;
  box-shadow:0 8px 22px rgba(0,0,0,0.22);
  transition:background .25s ease, transform .2s ease;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
}
.gallery-arrow.left{left:14px;}
.gallery-arrow.right{right:14px;}
.gallery-arrow:hover{
  background:#0288d1;
  transform:translateY(-50%) scale(1.08);
}

/* SLIDE ITEM con overlay */
.slide-item{
  position:relative;
  flex:0 0 auto;
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
}
.slide-item img{
  width:275px;
  height:200px;
  object-fit:cover;
  border-radius:16px;
  display:block;
  transition:transform .4s ease;
  box-shadow:0 6px 18px rgba(0,0,0,0.10);
}
.slide-item:hover img{
  transform:scale(1.06);
}
.slide-overlay{
  position:absolute;
  inset:0;
  border-radius:16px;
  background:linear-gradient(to top, rgba(15,76,129,0.72) 0%, rgba(15,76,129,0.20) 50%, transparent 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity .35s ease;
  color:#fff;
  font-size:26px;
}
.slide-item:hover .slide-overlay{
  opacity:1;
}

/* GALLERY CASA – frecce esterne */
.gallery-casa-outer{
  display:flex;
  align-items:center;
  gap:16px;
}
.gallery-casa-scroll-wrap{
  flex:1;
  overflow:hidden;
  border-radius:18px;
}
#gallery-casa img{
  width:340px;
  height:250px;
  object-fit:cover;
  border-radius:14px;
  cursor:pointer;
  display:block;
  flex:0 0 auto;
  box-shadow:0 6px 18px rgba(0,0,0,0.10);
  transition:transform .3s ease;
}
#gallery-casa img:hover{
  transform:scale(1.03);
}
.gallery-casa-btn{
  flex-shrink:0;
  width:54px;
  height:54px;
  border:none;
  border-radius:50%;
  background:#0f4c81;
  color:#fff;
  font-size:30px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 20px rgba(15,76,129,0.25);
  transition:background .25s ease, transform .2s ease;
  line-height:1;
}
.gallery-casa-btn:hover{
  background:#0288d1;
  transform:scale(1.10);
}

/* NOVITA */
.novita{background:linear-gradient(135deg,#f8fbff,#ffffff);}
.novita-head{text-align:center;margin-bottom:50px;}
.novita-titolo{
  font-size:42px;
  color:#0f4c81;
  margin-bottom:10px;
}
.novita-sub{
  font-family:'Satisfy',cursive;
  font-size:36px;
  color:#2e678f;
  margin-bottom:20px;
}
.novita-intro{
  font-size:20px;
  line-height:1.9;
  max-width:850px;
  margin:auto;
  color:#444;
}
.novita-box{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:40px;
  align-items:center;
  margin-top:40px;
  background:white;
  border-radius:28px;
  padding:35px;
  box-shadow:0 15px 35px rgba(0,0,0,0.08);
}
.novita-testo{
  font-size:17px;
  line-height:1.9;
}
.novita-testo ul{
  list-style:none;
  padding:0;
  margin:20px 0;
}
.novita-testo li{
  margin-bottom:10px;
  font-size:17px;
}
.novita-comfort{
  margin-top:25px;
  background:#f5f9ff;
  padding:25px;
  border-radius:18px;
}
.novita-comfort h3{
  margin-bottom:10px;
  color:#0f4c81;
  text-align: center;
  }

.novita-foto{
  height:340px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}
.novita-foto img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.novita-box-featured{
  grid-template-columns:1fr;
  gap:30px;
  padding:32px;
  background:linear-gradient(135deg,#ffffff 0%,#f7fbff 58%,#edf6ff 100%);
  border:1px solid rgba(15,76,129,0.12);
}

.novita-featured-lower{
  display:grid;
  grid-template-columns:minmax(320px,1.08fr) minmax(280px,0.88fr);
  gap:32px;
  align-items:stretch;
}

.novita-foto-featured{
  position:relative;
  height:420px;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 22px 48px rgba(8,43,74,0.18);
}

.novita-foto-featured::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,31,51,0.05) 0%,rgba(8,31,51,0.26) 100%);
}

.novita-testo-featured{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
}

.novita-testo-top{
  max-width:100%;
}

.novita-top-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(260px,0.85fr);
  gap:28px;
  align-items:start;
}

.novita-top-copy{
  display:grid;
  gap:18px;
}

.novita-testo-side{
  align-self:stretch;
}

.novita-copy-intro{
  max-width:680px;
  font-size:24px;
  line-height:1.6;
  color:#0b3558;
  font-weight:600;
  margin: auto;
  text-align: center;
}

.novita-testo-top ul{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin:18px 0 20px;
}

.novita-testo-top li{
  min-height:100%;
}

.novita-testo-featured ul{
  margin:4px 0 0;
}

.novita-testo-featured li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 14px;
  background:rgba(255,255,255,0.76);
  border:1px solid rgba(15,76,129,0.08);
  border-radius:16px;
  box-shadow:0 10px 22px rgba(8,43,74,0.05);
}

.novita-testo-featured li img,
.tesero-alt img,
.tesero-info li img{
  flex:0 0 30px;
  width:30px;
  height:30px;
  object-fit:contain;
  margin-top:1px;
}

.novita-testo-top li{
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.45;
}

.novita-testo-top li img{
  flex:0 0 28px;
  width:28px;
  height:28px;
  margin-top:0;
}

.novita-testo-featured p{
  margin:0;
  text-align: center;
}

.novita-testo-featured > p{
  font-size:17px;
  line-height:1.9;
}

.novita-testo-top > p{
  max-width:760px;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}

.novita-top-grid > ul{
  margin:0;
}

.novita-testo-side .novita-comfort{
  margin-top:0;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);
  border:1px solid rgba(15,76,129,0.10);
  box-shadow:0 16px 34px rgba(8,43,74,0.08);
}

.novita-testo-side .novita-comfort ul{
  list-style:none;
  padding-left:0;
  margin-top:16px;
}

.novita-testo-side .novita-comfort li{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  margin-left: 70px;
  padding:0;
  background:none;
  border:none;
  box-shadow:none;
}

.novita-note{
  color:#0f4c81;
  font-size:15.5px;
  font-style:italic;
}

/* TESERO */
.tesero-head{text-align:center;margin-bottom:35px;}
.tesero-head h2{
  font-size:38px;
  color:#0f4c81;
  margin-bottom:12px;
}
.tesero-head p{
  max-width:900px;
  margin:auto;
  font-size:17px;
  line-height:1.8;
  color:#555;
}
.tesero-highlight{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:28px;
  margin:38px 0 30px 0;
}
.tesero-panorama{
  min-height:320px;
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(135deg,#dcefff,#eef7ff);
  box-shadow:0 14px 34px rgba(0,0,0,0.08);
  display:flex;
  align-items:center;
  justify-content:center;
}
.tesero-panorama img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.tesero-info{
  background:white;
  border-radius:26px;
  padding:28px;
  box-shadow:0 14px 34px rgba(0,0,0,0.08);
}
.tesero-info h3{
  margin:0 0 12px 0;
  font-size:26px;
  color:#0f4c81;
  text-align:center;
}
.tesero-alt{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#eef6ff;
  color:#0f4c81;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:600;
  margin-bottom:16px;
}
.tesero-info p{
  margin:0 0 14px 0;
  font-size:15.8px;
  line-height:1.8;
  color:#555;
}
.tesero-info ul{
  list-style:none;
  padding:0;
  margin:14px 0 0 0;
}
.tesero-info li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:8px;
  font-size:15.5px;
  color:#333;
  line-height:1.7;
}
.tesero-overview{
  display:grid;
  grid-template-columns:1.35fr .85fr;
  gap:20px;
  margin-bottom:26px;
}
.tesero-kicker{
  margin:0 0 8px 0;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#497196;
  font-weight:700;
}
.tesero-card-spotlight{
  background:linear-gradient(145deg,#ffffff 0%,#f4f9ff 100%);
  border:1px solid rgba(15,76,129,0.12);
  box-shadow:0 16px 34px rgba(15,76,129,0.12);
}
.tesero-kpi-list{
  list-style:none;
  margin:16px 0 0 0;
  padding:0;
  display:grid;
  gap:10px;
}
.tesero-kpi-list li{
  background:#fff;
  border:1px solid #e7eff8;
  border-radius:14px;
  padding:10px 12px;
  color:#2f3f4f;
  line-height:1.6;
  text-align:left;
  display:flex;
  align-items:center;
  gap:10px;
}

.tesero-kpi-list li img{
  flex:0 0 24px;
  width:24px;
  height:24px;
  object-fit:contain;
}
.tesero-card{
  background:white;
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 26px rgba(0,0,0,0.08);
  transition:transform .3s ease, box-shadow .3s ease;
  margin-bottom:24px;
  text-align:center;
}
.tesero-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(0,0,0,0.11);
}
.tesero-season-card{
  padding:0 0 24px;
  overflow:hidden;
  text-align:left;
}
.tesero-season-card > :not(.tesero-season-media){
  padding-left:24px;
  padding-right:24px;
}
.tesero-season-media{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/10;
  margin-bottom:18px;
  background:linear-gradient(135deg,#dcefff,#f5faff);
}
.tesero-season-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .35s ease, transform .45s ease;
}
.tesero-season-card:hover .tesero-season-media img{
  transform:scale(1.03);
}
.tesero-card h3{
  margin:0 0 10px 0;
  font-size:22px;
  color:#0f4c81;
  text-align:center;
}
.card-meta{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
  font-size:14px;
  color:#58728b;
  margin-bottom:14px;
  line-height:1.7;
  font-weight:500;
}
.card-meta img{
  flex:0 0 20px;
  width:20px;
  height:20px;
  object-fit:contain;
}
.card-text{
  margin:0;
  color:#555;
  line-height:1.8;
  font-size:15.5px;
}
.stagione-block{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid #edf2f7;
}
.tesero-season-switch{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:6px;
}
.season-chip{
  padding:9px 16px;
  border-radius:999px;
  border:1px solid rgba(15,76,129,0.14);
  background:#f3f8fc;
  color:#426176;
  font-size:14px;
  font-weight:600;
  box-shadow:none;
}
.season-chip:hover{
  transform:none;
  filter:none;
  background:#e8f3fb;
}
.season-chip.is-active{
  background:linear-gradient(180deg,#1d6fae,#0f4c81);
  color:#fff;
  border-color:transparent;
}
.tesero-season-card .stagione-block{
  display:none;
}
.tesero-season-card .stagione-block.is-active{
  display:block;
}
.stagione-block h4{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0 0 8px 0;
  font-size:17px;
  color:#2e678f;
}
.stagione-block h4 img{
  flex:0 0 22px;
  width:22px;
  height:22px;
  object-fit:contain;
}
.stagione-block ul{
  list-style:none;
  padding:0;
  margin:0 auto;
  width:fit-content;
}
.stagione-block li{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:7px;
  font-size:15px;
  color:#444;
  line-height:1.7;
}
.stagione-block li img{
  flex:0 0 20px;
  width:20px;
  height:20px;
  object-fit:contain;
  margin-top:2px;
}
.posizione-box,.book-box,.estate-box{
  background:linear-gradient(135deg,#ffffff,#f5f9ff);
  border-radius:24px;
  padding:24px;
  box-shadow:0 10px 26px rgba(0,0,0,0.08);
  margin-bottom:24px;
  text-align:center;
}
.posizione-box h3,.book-box h3,.estate-box h3{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:0 0 12px 0;
  font-size:24px;
  color:#0f4c81;
}
.posizione-box h3 img,.book-box h3 img,.estate-box h3 img{
  flex:0 0 26px;
  width:26px;
  height:26px;
  object-fit:contain;
}
.posizione-list{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:12px;
  list-style:none;
  padding:0;
}
.posizione-item{
  background:white;
  border-radius:16px;
  padding:12px 14px;
  text-align:left;
  box-shadow:0 6px 14px rgba(0,0,0,0.05);
  font-size:14px;
  line-height:1.6;
  color:#334;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.posizione-item strong{
  display:block;
  color:#0f4c81;
  font-size:15px;
}
.posizione-item span{
  font-weight:600;
  color:#4d657c;
}
.book-box ul{
  list-style:none;
  padding:0;
  margin:0 auto;
  width:fit-content;
  max-width:min(100%,420px);
  display:grid;
  gap:10px;
}
.book-box li{
  display:grid;
  grid-template-columns:24px 1fr;
  align-items:center;
  column-gap:10px;
  width:100%;
  max-width:none;
  margin:0;
  margin-bottom:0;
  font-size:15px;
  line-height:1.7;
  color:#444;
  text-align:left;
}

.book-box li img{
  flex:0 0 24px;
  width:24px;
  height:24px;
  object-fit:contain;
  margin-top:1px;
}
.estate-box p{
  margin:0;
  font-size:15.5px;
  line-height:1.8;
  color:#444;
}
.tesero-gallery-section{margin-top:34px;}
.tesero-gallery-section h3{
  text-align:center;
  font-size:30px;
  color:#0f4c81;
  margin-bottom:10px;
}
.tesero-gallery-section p{
  text-align:center;
  max-width:760px;
  margin:0 auto 24px auto;
  color:#555;
  line-height:1.8;
  font-size:15.5px;
}

@media(max-width:1024px){
  .tesero-overview{
    grid-template-columns:1fr;
  }
}

/* PERCHÉ */
#perche-sceglierci{
  position:relative;
  padding:52px 6%;
  background:url("images/perche.jpg") center/cover no-repeat;
  overflow:hidden;
}
#perche-sceglierci::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.34);
}
.perche-wrap{
  position:relative;
  z-index:2;
  max-width:1100px;
  margin:auto;
  text-align:center;
}
.perche-title{
  color:#fff;
  font-size:28px;
  margin:0 0 16px 0;
  text-shadow:0 2px 8px rgba(0,0,0,0.35);
}
.perche-badge-list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
}
.perche-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.78);
  backdrop-filter:blur(8px);
  border-radius:30px;
  padding:8px 16px;
  font-size:14px;
  font-weight:500;
  color:#0f4c81;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

.perche-badge img{
  flex:0 0 22px;
  width:22px;
  height:22px;
  object-fit:contain;
}
.perche-desc{
  margin:16px auto 0 auto;
  max-width:760px;
  color:#fff;
  font-size:15px;
  line-height:1.65;
  text-shadow:0 2px 6px rgba(0,0,0,0.38);
}

/* CONVENZIONI */
#convenzioni{
  padding:80px 8%;
  background:linear-gradient(135deg,#f7fbff,#ffffff);
}
.convenzioni-title{text-align:center;margin-bottom:40px;}
.convenzioni-title h2{
  font-size:36px;
  color:#0f4c81;
  margin-bottom:10px;
}
.convenzioni-title p{
  font-family:'Satisfy',cursive;
  font-size:34px;
  color:#111;
  max-width:750px;
  margin:auto;
  line-height:1.5;
}
.convenzione-box{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:30px;
  background:white;
  border-radius:26px;
  padding:30px;
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
  margin-bottom:35px;
  align-items:center;
}
.convenzione-img{
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,0.08);
}
.convenzione-img img{width:100%;height:100%;object-fit:cover;}
.convenzione-text h3{
  font-size:28px;
  color:#0f4c81;
  margin-bottom:12px;
}
.convenzione-label{
  display:inline-block;
  background:#eef6ff;
  padding:7px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:600;
  color:#0f4c81;
  margin-bottom:12px;
}
.convenzione-text p{
  font-size:16px;
  line-height:1.9;
  color:#555;
  margin-bottom:14px;
}
.link-scopri{
  display:inline-block;
  margin-top:8px;
  padding:12px 22px;
  border-radius:999px;
  background:#0f4c81;
  color:#fff;
  font-weight:600;
}
.ristoranti-box{
  background:linear-gradient(135deg,#fff8ef,#ffffff,#eef7ff);
  padding:30px;
  border-radius:24px;
  box-shadow:0 10px 22px rgba(0,0,0,0.08);
  text-align:center;
  border:1px solid rgba(255,194,102,0.25);
}
.ristoranti-box h3{
  color:#0f4c81;
  font-size:28px;
  margin-bottom:10px;
}
.ristoranti-box p{
  font-size:16px;
  color:#555;
  line-height:1.9;
}
.risto-tags{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.risto-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 16px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(15,76,129,0.08);
  box-shadow:0 5px 14px rgba(0,0,0,0.05);
  color:#0f4c81;
  font-size:14px;
  font-weight:600;
}

.risto-tag img{
  flex:0 0 20px;
  width:20px;
  height:20px;
  object-fit:contain;
}
.convenzioni-final{
  text-align:center;
  margin-top:20px;
  font-size:16px;
  color:#234;
}

/* RECENSIONI */
.reviews-tesero-box{
  padding:0 8% 80px;
  background:linear-gradient(135deg,#f7fbff,#ffffff);
}
.slider-container{
  position:relative;
  max-width:1100px;
  margin:28px auto 0;
  padding:24px;
  border-radius:30px;
  background:url('https://www.fiemmeworldcup.com/world%20cup/Stadio%20del%20Fondo%20-%20Tesero/16554/image-thumb__16554__app-wys-gallery/Tesero_ph%20DolomitiMediaHouse%20%284%29@2x.jpg') center/cover no-repeat;
  color:white;
  text-align:center;
  overflow:hidden;
  box-shadow:var(--shadow-1);
  border:1px solid var(--border-soft);
  backdrop-filter:blur(2px);
}
.slider-container::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(6,28,46,0.62),rgba(8,35,58,0.72));
  border-radius:30px;
}
.content{position:relative;z-index:2;}
.slider-title{font-size:34px;margin-bottom:10px;font-weight:700;}
.slider-subtitle{font-size:17px;opacity:0.95;margin-bottom:35px;}
.testimonial{
  display:none;
  max-width:850px;
  margin:0 auto;
  animation:fade 1s ease-in-out;
}
.testimonial.active{display:block;}
.review-top{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.portal{
  background:rgba(255,255,255,0.18);
  border:1px solid rgba(255,255,255,0.35);
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
}
.period{font-size:14px;opacity:0.9;}
.stars{
  font-size:22px;
  margin-bottom:18px;
  color:#ffd34d;
  letter-spacing:2px;
}
.review-text{
  font-size:17.5px;
  line-height:1.85;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.20);
  padding:24px;
  border-radius:18px;
  color:white;
}
.source{
  font-size:14px;
  opacity:0.9;
  margin-top:18px;
  font-style:italic;
}
.dots{
  margin-top:28px;
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
.dot{
  width:11px;height:11px;
  border-radius:50%;
  background:rgba(255,255,255,0.35);
  cursor:pointer;
  transition:all 0.3s ease;
  border:1px solid rgba(255,255,255,0.44);
}
.dot.active{
  background:#ffd34d;
  transform:scale(1.15);
  box-shadow:0 0 0 5px rgba(255,211,77,0.24);
}

/* DOVE SIAMO */
#dove-siamo{
  padding:80px 8%;
  background:#f7fbff;
  text-align:center;
}
.dove-container h2{
  font-size:34px;
  color:#0f4c81;
  margin-bottom:15px;
}
.indirizzo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:18px;
  font-weight:600;
  color:#333;
  margin-bottom:10px;
}
.indirizzo img{
  flex:0 0 20px;
  width:20px;
  height:20px;
  object-fit:contain;
}
.contatti{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
  font-size:16px;
  color:#555;
  margin-bottom:30px;
}
.contatti span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin-top:0;
}
.contatti img{
  flex:0 0 22px;
  width:22px;
  height:22px;
  object-fit:contain;
}
.mappa{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 30px rgba(0,0,0,0.1);
}
#map{width:100%;height:500px;border-radius:22px;}

/* CONTATTI */
#scrivici{padding:80px 8%;}
.card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fcff 100%);
  padding:24px;
  border-radius:var(--radius-card);
  box-shadow:var(--shadow-1);
  border:1px solid var(--border-soft);
  backdrop-filter:blur(2px);
}
input,textarea{
  width:100%;
  padding:12px;
  margin-top:10px;
  margin-bottom:15px;
  border-radius:12px;
  border:1px solid #d2e2ef;
  background:#fff;
  font-family:'Poppins',sans-serif;
  transition:border-color .25s ease, box-shadow .25s ease;
}
input:focus,textarea:focus{
  outline:none;
  border-color:#67a8d8;
  box-shadow:0 0 0 4px rgba(103,168,216,0.20);
}
textarea{
  min-height:140px;
  resize:vertical;
}
button{
  background:linear-gradient(180deg,var(--brand-700),var(--brand-800));
  border:none;
  padding:14px 30px;
  color:white;
  font-weight:600;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 10px 20px rgba(16,82,133,0.20);
}
button:hover{filter:brightness(1.04);}
#scrivici .contact-cards{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  justify-content:center;
  max-width:900px;
  margin:50px auto 0;
}

#scrivici .contact-card{
  flex:1 1 250px;
  background:#ffffff;
  padding:22px 25px;
  border-radius:18px;
  box-shadow:0 10px 26px rgba(0,0,0,0.14);
  text-align:left;
  text-decoration:none;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  position:relative;
  overflow:hidden;
  color:#2c3e50;
  display:flex;
  align-items:center;
  gap:16px;
}

#scrivici .contact-card:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 16px 34px rgba(0,0,0,0.18);
}

#scrivici .contact-card-whatsapp{
  background:linear-gradient(135deg,#ffffff,#f2fff7);
}

#scrivici .contact-card-mail{
  background:linear-gradient(135deg,#ffffff,#f3f8ff);
}

#scrivici .contact-icon{
  width:68px;
  height:68px;
  margin:0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,0.16);
  animation:pulseContact 2s infinite;
  flex-shrink:0;
}

#scrivici .contact-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
}

#scrivici .contact-card-whatsapp .contact-icon{
  background:linear-gradient(135deg,#25D366,#1ebe5d);
}

#scrivici .contact-card-mail .contact-icon{
  background:linear-gradient(135deg,#0f4c81,#2f7fbc);
}

#scrivici .contact-text{
  font-size:19px;
  font-weight:600;
  color:#2c3e50;
  line-height:1.5;
}

#scrivici .contact-text.small{
  font-size:15px;
  font-weight:500;
  margin-top:4px;
  color:#4c6173;
  word-break:break-word;
}

@keyframes pulseContact{
  0%{transform:scale(1);}
  50%{transform:scale(1.08);}
  100%{transform:scale(1);}
}
/* FLOAT */
.floating-contact{
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  flex-direction:column;
  gap:14px;
  z-index:1200;
}
.float-btn{
  position:relative;
  width:62px;
  height:62px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:28px;
  text-decoration:none;
  box-shadow:0 12px 28px rgba(0,0,0,0.18);
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.float-btn:hover{
  transform:translateY(-4px) scale(1.05);
  box-shadow:0 16px 34px rgba(0,0,0,0.24);
}
.float-whatsapp{background:linear-gradient(135deg,#25D366,#1ebe5d);}
.float-mail{background:linear-gradient(135deg,#0f4c81,#1d6fae);}
.float-btn i{line-height:1;}

/* MODALE */
.image-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.92);
  justify-content:center;
  align-items:center;
  z-index:9999;
  padding:20px;
}
.image-modal img{
  max-width:90%;
  max-height:82%;
  border-radius:12px;
}
.image-modal .close-modal{
  position:absolute;
  top:18px;
  right:32px;
  font-size:42px;
  color:#fff;
  cursor:pointer;
  line-height:1;
}
.image-modal .modal-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:54px;
  height:54px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.18);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}
.image-modal .modal-arrow.left{left:20px;}
.image-modal .modal-arrow.right{right:20px;}

footer{
  background:linear-gradient(160deg,#0d456f,#0a3556);
  color:white;
  text-align:center;
  padding:45px 20px;
  border-top:1px solid rgba(255,255,255,0.16);
}

@keyframes fade{
  from{opacity:0;transform:translateY(10px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes fadeUp{
  from{opacity:0;transform:translateY(25px);}
  to{opacity:1;transform:translateY(0);}
}
@keyframes logoReveal{
  from{opacity:0;transform:scale(.84) rotate(-6deg);}
  to{opacity:1;transform:scale(1) rotate(0);}
}
@keyframes floatLogo{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
}

@media(max-width:960px){
  .story-content,
  .grid-casa,
  .servizi-grid,
  .box-garage-inner,
  .novita-box,
  .tesero-highlight,
  .tesero-grid,
  .convenzione-box{
    grid-template-columns:1fr;
  }
  .posizione-list{grid-template-columns:repeat(2,1fr);}
  .story-image{max-width:320px;margin:0 auto;}
  .novita-featured-lower{grid-template-columns:1fr;}
  .novita-top-grid{grid-template-columns:1fr;}
  .novita-testo-top ul{grid-template-columns:repeat(2, minmax(0,1fr));}
}

@media(max-width:768px){
  #la-casa,.novita,#tesero-e-dintorni{padding:70px 6%;}
  section{padding:70px 6%;}
  nav ul{gap:12px;padding:12px;}
  .home-card{padding:34px 20px;}
  .home-title-box{flex-direction:column;gap:20px;}
  .logo-home{width:110px;height:110px;}
  .titolo-maria{font-size:34px;}
  .titolo-maria .maria-script{font-size:44px;}
  .home-subtitle{font-size:15px;}
  .home-mini-script{font-size:19px;}
  .story-wrapper{padding:20px 16px;}
  .story-title{font-size:22px;}
  .story-subtitle{font-size:18px;}
  .story-box{padding:18px;}
  .story-box p{font-size:16px;}
  .story-highlight p{font-size:18px;}
  .intro-casa{padding:30px 22px;}
  .intro-casa h2,.titolo-sezione,.gallery-shell h2,.servizi h2,.novita-titolo,.tesero-head h2{font-size:22px;}
  .intro-sub,.novita-sub{font-size:15px;}
  .intro-text{font-size:14px;line-height:1.6;}
  .testo-sezione{font-size:16px;margin-bottom:30px;}
  .box-content{padding:22px;}
  .box-content h3{font-size:21px;}
  .box-content p,.box-content li,.servizio,.box-garage-content p,.box-garage-content li,.tesero-info p,.tesero-card p{font-size:15.5px;}
  .box-garage-content{padding:28px 22px;}
  .box-garage-content h3{font-size:20px;}
  .box-garage-img{min-height:200px;}
  .gallery-track img{width:220px;height:155px;}
  .novita-foto{height:260px;}
  .novita-box-featured{gap:24px;padding:22px;}
  .novita-foto-featured{height:280px;}
  .novita-copy-intro{font-size:15px;}
  .novita-testo-top ul{grid-template-columns:1fr;gap:10px;}
  .novita-featured-lower{gap:22px;}
  .tesero-panorama{min-height:230px;}
  .slider-container{margin:30px 14px 0;padding:40px 18px;}
  .floating-contact{right:14px;bottom:14px;gap:10px;}
  .float-btn{width:56px;height:56px;font-size:24px;}
  #map{height:380px;}
}

/* ENHANCEMENTS */
.host-text-box,
.story-wrapper,
.story-box,
.intro-casa,
.box-casa,
.box-garage,
.servizi,
.novita-box,
.tesero-card,
.tesero-info,
.posizione-box,
.book-box,
.estate-box,
.convenzione-box,
.ristoranti-box{
  border:1px solid var(--border-soft);
  backdrop-filter:blur(2px);
  box-shadow:var(--shadow-1);
}

.box-casa:hover,
.tesero-card:hover,
#scrivici .contact-card:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow-2);
}

.story-wrapper,
.intro-casa,
.box-garage{
  border-radius:var(--radius-xl);
}

.convenzione-box,
.novita-box{
  border-radius:var(--radius-card);
}

.story-box,
.tesero-info,
.ristoranti-box{
  border-radius:var(--radius-lg);
}

.testo-sezione,
.gallery-intro,
.tesero-head p,
.card-text,
.convenzione-text p,
.estate-box p,
.book-box li,
.box-content p,
.box-content li,
.tesero-info p,
.tesero-info li,
.novita-testo,
.ristoranti-box p{
  color:var(--text-700);
}

.box-content h3,
.tesero-card h3,
.convenzione-text h3,
.box-garage-content h3{
  letter-spacing:.01em;
}

.gallery-arrow{
  background:linear-gradient(180deg,var(--brand-800),var(--brand-700));
  border:1px solid rgba(255,255,255,0.28);
}

.gallery-arrow:hover{
  background:linear-gradient(180deg,var(--brand-700),var(--brand-500));
}

.gallery-track img{
  border:1px solid rgba(15,76,129,0.14);
}

.gallery-track img:hover{
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 14px 26px rgba(0,0,0,0.16);
}

.gallery-slider-wrap::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:55px;
  background:linear-gradient(to top, rgba(247,251,255,0.92), rgba(247,251,255,0));
  pointer-events:none;
}

.floating-contact .float-btn{
  border:1px solid rgba(255,255,255,0.4);
}

.qc-logo{
  margin-top:16px;
  max-width:180px;
}

.qc-logo img{
  width:100%;
  height:auto;
  filter:drop-shadow(0 5px 12px rgba(0,0,0,0.12));
}

button:hover,
.link-scopri:hover,
.float-btn:hover,
.gallery-arrow:hover{
  transform:translateY(-2px);
}

.btn-home:focus-visible,
button:focus-visible,
.link-scopri:focus-visible,
.gallery-arrow:focus-visible,
nav a:focus-visible,
.float-btn:focus-visible,
input:focus-visible,
textarea:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px var(--ring);
}

.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .65s ease, transform .65s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

/* SPACING */
#home{
  min-height:86vh;
  padding:104px 18px 56px;
}

.intro-casa,
.gallery-shell{
  margin-bottom:24px;
}

.titolo-sezione{
  margin:28px 0 8px 0;
}

.servizi,
.box-garage,
.tesero-highlight,
.novita-box{
  margin-top:20px;
}

@media(max-width:1100px){
  nav ul{justify-content:center;}
  nav a{padding:7px 11px;font-size:14px;}
  .home-card{padding:36px 24px;}
}

@media(max-width:768px){
  .home-card{border-radius:28px;}
  .host-text-box p{font-size:15px;line-height:1.6;}
  .btn-home{width:100%;max-width:300px;}
  .gallery-arrow{display:none;}
  .convenzione-box,.novita-box,.box-garage,.story-wrapper{border-radius:24px;}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}

/* ZONA GIORNO SLIDER */
.feature-slider{
  position:relative;
  margin:10px auto 12px;
  border-radius:30px;
  background:linear-gradient(145deg,#ffffff 0%,#f5faff 100%);
  border:1px solid rgba(15,76,129,0.14);
  box-shadow:var(--shadow-1);
  padding:26px 94px 24px;
  overflow:hidden;
}

.feature-track{
  position:relative;
  min-height:445px;
}

.feature-slide{
  position:absolute;
  inset:0;
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:26px;
  align-items:stretch;
  opacity:0;
  transform:translateX(20px);
  pointer-events:none;
  transition:opacity .45s ease, transform .45s ease;
}

.feature-slide.is-active{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}

.feature-media{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 26px rgba(0,0,0,0.12);
  min-height:300px;
}

.feature-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.feature-content{
  border-radius:22px;
  border:1px solid rgba(15,76,129,0.12);
  background:#fff;
  padding:24px 24px 20px;
}

.feature-content h3{
  color:var(--brand-800);
  font-size:1.65rem;
  margin:0 0 10px;
}

.feature-content p{
  color:var(--text-700);
  margin:0 0 14px;
  line-height:1.75;
}

.feature-content ul{
  list-style:none;
  padding:0;
  margin:0;
}

.feature-content li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#314a5a;
  line-height:1.72;
  margin-bottom:8px;
}

.feature-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid rgba(15,76,129,0.28);
  border-radius:12px;
  background:rgba(255,255,255,0.95);
  color:var(--brand-800);
  font-size:24px;
  font-weight:600;
  line-height:1;
  cursor:pointer;
  z-index:4;
  box-shadow:0 8px 20px rgba(8,43,74,0.14);
}

.feature-prev{left:24px;}
.feature-next{right:24px;}

.feature-arrow:hover{
  transform:translateY(-50%) translateX(0);
  background:var(--brand-700);
  color:#fff;
  border-color:transparent;
}

.feature-arrow:active{
  transform:translateY(-50%) scale(0.97);
}

@media(max-width:960px){
  section{
    padding-top:84px;
    padding-bottom:84px;
  }

  .feature-slider{
    padding:20px 22px 54px;
  }

  .feature-slide{
    grid-template-columns:1fr;
    gap:16px;
  }

  .feature-track{
    min-height:700px;
  }

  .feature-media{
    min-height:260px;
  }

  .feature-arrow{
    top:auto;
    bottom:14px;
    transform:none;
    width:34px;
    height:34px;
    font-size:21px;
    border-radius:10px;
  }

  .feature-prev{left:18px;}
  .feature-next{right:18px;}

  .tesero-season-card > :not(.tesero-season-media){
    padding-left:20px;
    padding-right:20px;
  }
}

@media(max-width:768px){
  section,
  #la-casa,
  .novita,
  #tesero-e-dintorni,
  #convenzioni,
  #dove-siamo,
  #scrivici{
    padding-top:72px;
    padding-bottom:72px;
  }

  nav{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    padding:10px 12px;
  }

  .nav-mobile-brand{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
  }

  .nav-mobile-logo{
    width:34px;
    height:34px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid rgba(15,76,129,0.18);
    box-shadow:0 4px 10px rgba(8,43,74,0.12);
    background:#fff;
  }

  .nav-mobile-title{
    font-size:15px;
    font-weight:700;
    color:#0f4c81;
    letter-spacing:0.01em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:calc(100vw - 150px);
  }

  .nav-toggle{
    display:flex;
    width:44px;
    height:44px;
    margin-left:auto;
    border:1px solid rgba(15,76,129,0.2);
    border-radius:12px;
    background:#fff;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    box-shadow:0 8px 18px rgba(8,43,74,0.10);
    padding:0;
  }

  .nav-toggle span{
    display:block;
    width:18px;
    height:2px;
    border-radius:999px;
    background:#0f4c81;
    transition:transform .25s ease, opacity .25s ease;
  }

  nav ul{
    position:absolute;
    top:62px;
    left:12px;
    right:12px;
    background:rgba(255,255,255,0.98);
    border:1px solid rgba(15,76,129,0.15);
    border-radius:16px;
    box-shadow:0 16px 34px rgba(8,43,74,0.14);
    padding:10px;
    gap:4px;
    flex-direction:column;
    align-items:stretch;
    display:none;
  }

  nav.is-open ul{
    display:flex;
  }

  nav.is-open .nav-toggle span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }

  nav.is-open .nav-toggle span:nth-child(2){
    opacity:0;
  }

  nav.is-open .nav-toggle span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  nav a{
    display:block;
    font-size:14px;
    padding:10px 12px;
    border-radius:10px;
  }

  nav a:hover,
  nav a.is-active,
  nav a[aria-current="page"]{
    background:#eef6ff;
  }

  #scrivici .contact-card{
    align-items:flex-start;
  }

  #scrivici .contact-icon{
    width:58px;
    height:58px;
    font-size:26px;
  }

  .gallery-slider-wrap::after{
    height:40px;
  }

  .feature-slider{
    padding:16px 14px 20px;
  }

  .feature-slide{
    gap:12px;
  }

  .feature-track{
    min-height:0;
  }

  .feature-slide{
    position:relative;
    inset:auto;
    display:none;
    opacity:1;
    transform:none;
    pointer-events:none;
    transition:none;
  }

  .feature-slide.is-active{
    display:grid;
    pointer-events:auto;
  }

  .feature-arrow{
    display:none;
  }

  .feature-prev{left:12px;}
  .feature-next{right:12px;}

  .gallery-casa-outer{
    gap:8px;
  }

  .gallery-casa-btn{
    display:none;
  }

  .gallery-casa-btn{
    width:38px;
    height:38px;
    font-size:21px;
  }

  .gallery-casa-scroll-wrap .gallery-track{
    gap:10px;
    scroll-snap-type:x mandatory;
    padding-bottom:6px;
  }

  .gallery-casa-scroll-wrap .gallery-track img{
    scroll-snap-align:start;
  }

  #gallery-casa img,
  #gallery-novita img,
  #gallery-tesero img{
    width:258px;
    height:182px;
  }

  .feature-content{
    padding:18px 16px;
  }

  .feature-content h3{
    font-size:1.4rem;
  }

  .feature-content p,
  .feature-content li{
    font-size:15px;
  }

  .gallery-arrow:hover{
    background:rgba(15,76,129,0.90);
    transform:translateY(-50%);
  }

  .gallery-casa-btn:hover{
    background:#0f4c81;
    transform:none;
  }

  .feature-arrow:hover{
    background:rgba(255,255,255,0.95);
    color:var(--brand-800);
    border-color:rgba(15,76,129,0.28);
    transform:none;
  }

  .review-text{
    font-size:16px;
  }
}

/* SPACING OVERRIDES */
.feature-slider{
  margin:6px auto 8px;
  padding:22px 72px 22px;
}

.feature-track{
  min-height:clamp(420px,52vw,560px);
}

@media(max-width:768px){
  section{
    padding:28px 4.5%;
  }

  #la-casa,
  .novita,
  #tesero-e-dintorni,
  #convenzioni,
  .reviews-tesero-box,
  #dove-siamo,
  #scrivici{
    padding:30px 4.5%;
  }

  #home{
    min-height:78vh;
    padding:90px 14px 40px;
  }

  .titolo-sezione{
    margin:20px 0 6px 0;
  }

  .intro-casa,
  .gallery-shell,
  .servizi,
  .box-garage,
  .tesero-highlight,
  .novita-box,
  .slider-container{
    margin-top:16px;
    margin-bottom:16px;
  }

  .feature-slider{
    padding:16px 12px 20px;
  }

  .feature-track{
    min-height:auto;
  }

  .intro-casa,
  .story-wrapper,
  .novita-box,
  .tesero-info,
  .convenzione-box,
  .card,
  .slider-container{
    padding:18px;
  }

  .convenzioni-title h2{font-size:24px;}
  .convenzioni-title p{font-size:18px;}
}

/* MAP MARKER */
.stella-marker{
  background:transparent;
  border:none;
}

.stella-marker .marker-pin{
  width:44px;
  height:44px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  background:rgba(255,255,255,0.98);
  border:2px solid #0f4c81;
  box-shadow:0 8px 20px rgba(0,0,0,0.28);
  line-height:1;
}

/* SWIPE DOTS & HINT */
.feature-dots{display:none;}
.swipe-hint-label{display:none;}

@keyframes swipeFadeHint{
  0%  {opacity:0;}
  15% {opacity:0.7;}
  75% {opacity:0.7;}
  100%{opacity:0;}
}

@media(max-width:768px){
  .feature-dots{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    padding:14px 0 6px;
  }
  .feature-dot{
    width:8px;
    height:8px;
    border-radius:999px;
    border:none;
    background:rgba(15,76,129,0.22);
    cursor:pointer;
    padding:0;
    transition:background .3s ease, width .3s ease;
  }
  .feature-dot.is-active{
    background:var(--brand-700);
    width:22px;
  }
  .swipe-hint-label{
    display:flex;
    justify-content:center;
    font-size:12px;
    letter-spacing:0.05em;
    color:var(--text-700);
    opacity:0;
    animation:swipeFadeHint 3.5s ease 0.8s forwards;
    padding-bottom:2px;
  }

  /* Icone più piccole su mobile */
  .box-content li img,
  .box-garage-content li img,
  .servizio img,
  .feature-content li img,
  .novita-testo-featured li img,
  .tesero-info li img,
  .tesero-alt img{
    flex:0 0 18px;
    width:18px;
    height:18px;
  }
  .novita-testo-top li img{
    flex:0 0 16px;
    width:16px;
    height:16px;
  }
  .stagione-block h4 img{
    flex:0 0 16px;
    width:16px;
    height:16px;
  }
  .stagione-block li img{
    flex:0 0 15px;
    width:15px;
    height:15px;
  }
  .posizione-box h3 img,
  .book-box h3 img,
  .estate-box h3 img{
    flex:0 0 18px;
    width:18px;
    height:18px;
  }
  .book-box li img{
    flex:0 0 16px;
    width:16px;
    height:16px;
  }
  .perche-badge img{
    flex:0 0 16px;
    width:16px;
    height:16px;
  }
  .indirizzo img,
  .contatti img{
    width:18px;
    height:18px;
  }
  .tesero-kpi-list li img{
    flex:0 0 18px;
    width:18px;
    height:18px;
  }
}

/* COOKIE BANNER */
.cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:9000;
  background:linear-gradient(135deg,rgba(7,39,64,0.97),rgba(11,53,88,0.97));
  color:#fff;
  backdrop-filter:blur(10px);
  border-top:1px solid rgba(255,255,255,0.14);
  box-shadow:0 -8px 32px rgba(0,0,0,0.28);
  padding:18px 24px;
  display:flex;
  justify-content:center;
  transition:transform .4s ease, opacity .4s ease;
}
.cookie-banner.cookie-hidden{
  transform:translateY(100%);
  opacity:0;
}
.cookie-content{
  max-width:960px;
  width:100%;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cookie-title{
  font-size:16px;
  font-weight:700;
  margin:0;
  letter-spacing:.01em;
}
.cookie-body{
  font-size:14px;
  line-height:1.75;
  margin:0;
  color:rgba(255,255,255,0.88);
}
.cookie-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.cookie-btn-accept{
  background:linear-gradient(180deg,#2f9adf,#1d6fae);
  border:none;
  color:#fff;
  font-weight:600;
  font-size:14px;
  padding:10px 24px;
  border-radius:999px;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(47,154,223,0.35);
  transition:filter .2s ease, transform .2s ease;
}
.cookie-btn-accept:hover{
  filter:brightness(1.1);
  transform:translateY(-1px);
}

/* PRIVACY CHECKBOX */
.privacy-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:4px 0 16px;
  padding:14px 16px;
  background:#f4f9ff;
  border:1px solid rgba(15,76,129,0.16);
  border-radius:12px;
  line-height:1.6;
}
.privacy-check input[type="checkbox"]{
  width:18px;
  height:18px;
  flex-shrink:0;
  margin-top:2px;
  accent-color:#0f4c81;
  cursor:pointer;
  margin-bottom:0;
}
.privacy-check label{
  font-size:13.5px;
  color:#334;
  cursor:pointer;
  line-height:1.65;
}
.privacy-check label strong{
  color:#0f4c81;
}

@media(max-width:768px){
  .cookie-banner{
    padding:14px 16px;
  }
  .cookie-title{
    font-size:15px;
  }
  .cookie-body{
    font-size:13px;
  }
}
