:root{
--bg:#f7f6f2;
--card:#fffdf9;
--soft:#f0ece5;
--ink:#2b241d;
--muted:#6f685f;
--brand:#16636c;
--brand-light:#dbe8e6;
--busy:#ead8ce;
--today:#4a7f2d;
--shadow:0 10px 30px rgba(0,0,0,.08);
--max-width:1200px;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:Arial,sans-serif;
background:var(--bg);
color:var(--ink);
line-height:1.6;
}

a{
text-decoration:none;
color:inherit;
}

img{
display:block;
max-width:100%;
}

.container{
width:min(calc(100% - 2rem),var(--max-width));
margin:auto;
}

/* HEADER */

.header{
position:sticky;
top:0;
z-index:999;
background:rgba(247,246,242,.96);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(0,0,0,.08);
}

.header .container{
padding:15px 0;
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
}

.logo{
display:flex;
align-items:center;
gap:14px;
}

.logo img{
height:85px;
width:auto;
display:block;
}

.logo-text{
display:flex;
flex-direction:column;
justify-content:center;
}

.logo-text span{
font-size:28px;
font-weight:700;
color:#16636C;
line-height:1;
}

.logo-text small{
font-size:12px;
letter-spacing:4px;
font-weight:600;
color:#D8B24A;
margin-top:4px;
}

nav{
display:flex;
gap:16px;
flex-wrap:wrap;
}

nav a{
font-size:14px;
color:var(--muted);
}

/* LINGUE */

.languages{
display:flex;
gap:6px;
flex-wrap:wrap;
}

.lang-btn{
border:none;
cursor:pointer;
padding:7px 12px;
border-radius:999px;
background:var(--soft);
font-weight:bold;
transition:.2s;
}

.lang-btn:hover{
transform:translateY(-2px);
}

.lang-btn.active{
background:var(--brand);
color:white;
}

/* HERO */

.hero{
padding:80px 0;
}

.hero-grid{
display:grid;
grid-template-columns:1.1fr .9fr;
gap:30px;
align-items:center;
}

h1,
h2{
font-family:Georgia,serif;
line-height:1.1;
}

h1{
font-size:clamp(42px,6vw,76px);
margin:20px 0;
}

h2{
font-size:clamp(32px,4vw,54px);
margin-bottom:20px;
}

p{
margin-bottom:16px;
}

.badges{
display:flex;
flex-wrap:wrap;
gap:10px;
margin:20px 0;
}

.badges span{
background:var(--soft);
padding:10px 14px;
border-radius:999px;
font-size:14px;
}

.button{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 24px;
background:var(--brand);
color:white;
border-radius:999px;
font-weight:bold;
}

.hero img{
border-radius:18px;
box-shadow:var(--shadow);
}

/* SECTIONS */

.section{
padding:80px 0;
}

/* CARDS */

.cards{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:25px;
}

.card{
background:white;
padding:20px;
border-radius:20px;
box-shadow:var(--shadow);
text-align:center;
}

/* MAPPA */

iframe{
width:100%;
height:450px;
border:none;
border-radius:18px;
box-shadow:var(--shadow);
}

/* GALLERY */

.gallery{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:15px;
}

.gallery img{
height:260px;
width:100%;
object-fit:cover;
border-radius:18px;
box-shadow:var(--shadow);
}

/* RECENSIONI */

.reviews{
display:flex;
justify-content:center;
gap:30px;
margin-top:25px;
flex-wrap:wrap;
}

.partner-logo{
height:55px;
width:auto;
transition:.2s;
}

.partner-logo:hover{
transform:scale(1.05);
}

/* CALENDARIO */

.calendar-controls{
display:flex;
justify-content:center;
gap:10px;
margin-bottom:20px;
}

.calendar-controls button{
width:45px;
height:45px;
cursor:pointer;
border:none;
border-radius:50%;
background:var(--soft);
font-size:18px;
}

#calendarGrid{
display:grid;
grid-template-columns:repeat(7,1fr);
gap:6px;
}

.day{
border:1px solid #ddd;
border-radius:10px;
padding:10px;
min-height:75px;
display:flex;
align-items:center;
justify-content:center;
flex-direction:column;
background:white;
}

.day.selectable{
cursor:pointer;
}

.day.selectable:hover{
background:var(--brand-light);
}

.day.busy{
background:var(--busy);
}

.day.today{
outline:2px solid var(--today);
}

.day.checkin,
.day.checkout{
background:var(--brand);
color:white;
}

.day.range{
background:#e6f1ef;
}

/* FORM */

.form{
display:grid;
gap:12px;
max-width:700px;
margin:auto;
}

input,
select,
textarea{
width:100%;
padding:12px;
border:1px solid #ddd;
border-radius:10px;
font:inherit;
}

textarea{
min-height:120px;
resize:vertical;
}

#bookingStatus{
padding:12px;
background:var(--soft);
border-radius:10px;
}

#emailLink,
#whatsappLink{
display:inline-flex;
align-items:center;
justify-content:center;
padding:14px 18px;
border-radius:999px;
font-weight:bold;
margin-top:10px;
}

#emailLink{
background:var(--brand);
color:white;
}

#whatsappLink{
background:var(--soft);
}

/* FOOTER */

footer{
padding:50px 20px;
text-align:center;
background:white;
border-top:1px solid #ddd;
}

/* WHATSAPP FLOAT */

.whatsapp-floating{
position:fixed;
right:20px;
bottom:20px;
background:#25D366;
color:white;
padding:14px 18px;
font-weight:bold;
border-radius:999px;
z-index:9999;
box-shadow:0 10px 24px rgba(0,0,0,.25);
}

/* RESPONSIVE */

@media(max-width:1000px){

.hero-grid{
grid-template-columns:1fr;
}

.cards{
grid-template-columns:1fr 1fr;
}

.gallery{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:768px){

nav{
display:none;
}

.cards{
grid-template-columns:1fr;
}

.gallery{
grid-template-columns:1fr;
}

#calendarGrid{
grid-template-columns:repeat(2,1fr);
}

.header .container{
flex-direction:column;
align-items:flex-start;
}

.languages{
justify-content:flex-start;
}

}

@media(max-width:500px){

#calendarGrid{
grid-template-columns:1fr;
}

h1{
font-size:38px;
}

}

.review-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:30px;
}

.review-card{
background:white;
padding:25px;
border-radius:20px;
box-shadow:var(--shadow);
}

.stars{
font-size:24px;
color:#8b5e2b;
margin-bottom:15px;
letter-spacing:2px;
}

.reviews-intro{
margin-bottom:20px;
max-width:900px;
}

.reviews-links{
display:flex;
justify-content:center;
gap:15px;
margin-top:30px;
flex-wrap:wrap;
}

@media(max-width:900px){

.review-grid{
grid-template-columns:1fr;
}

}

.reviews-platforms{
text-align:center;
margin-top:25px;
margin-bottom:20px;
font-weight:600;
color:var(--muted);
}

@media(max-width:768px){

.logo{
gap:10px;
}

.logo img{
height:60px;
}

.logo-text span{
font-size:22px;
}

.logo-text small{
font-size:10px;
letter-spacing:2px;
}

}