:root{
  --blue-dark:#042c53;
  --blue:#185fa5;
  --blue-light:#eaf3fb;
  --coral:#d85a30;
  --text:#22262b;
  --muted:#6b7178;
  --bg:#fbfbf9;
  --radius:18px;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Poppins',Helvetica,Arial,sans-serif;color:var(--text);background:var(--bg);line-height:1.7;font-weight:400;}
h1,h2,h3,h4{font-weight:600;letter-spacing:-0.5px;}
a{text-decoration:none;color:inherit;}
.container{max-width:1140px;margin:0 auto;padding:0 24px;}
.eyebrow{display:inline-block;font-size:13px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase;color:var(--coral);margin-bottom:10px;}
.eyebrow-light{color:#ffd9c9;}

header{position:sticky;top:0;background:transparent;z-index:100;transition:background .3s, box-shadow .3s;}
header.scrolled{background:rgba(251,251,249,0.9);backdrop-filter:blur(8px);box-shadow:0 1px 12px rgba(0,0,0,0.06);}
.navbar{position:relative;display:flex;align-items:center;justify-content:space-between;padding:18px 24px;max-width:1140px;margin:0 auto;}
.logo-wrap{display:flex;align-items:center;gap:8px;}
.logo-img{height:38px;width:auto;border-radius:6px;}
.logo-fallback{display:inline-flex;font-size:22px;font-weight:700;color:var(--blue-dark);letter-spacing:0.5px;}
.logo-fallback span{color:var(--coral);}
nav{display:flex;gap:2px;}
nav a{margin-left:4px;padding:8px 12px;border-radius:30px;font-size:13.5px;font-weight:500;color:var(--text);transition:background .2s;white-space:nowrap;}
nav a:hover, nav a.active{background:var(--blue-light);color:var(--blue-dark);}
.nav-toggle{display:none;background:none;border:0;font-size:24px;color:var(--blue-dark);cursor:pointer;padding:4px 8px;}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;border:1.5px solid var(--blue-dark);color:var(--blue-dark);font-size:12px;font-weight:700;margin-left:8px;}
.lang-switch:hover{background:var(--blue-light);}

.btn{display:inline-block;padding:12px 26px;border-radius:30px;font-weight:600;font-size:14px;transition:transform .15s, background .2s;white-space:nowrap;}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--blue-dark);color:#fff;}
.btn-primary:hover{background:var(--blue);}
.btn-outline{border:1.5px solid var(--blue-dark);color:var(--blue-dark);}
.btn-outline-light{background:rgba(255,255,255,0.12);color:#fff;border:1.5px solid rgba(255,255,255,0.6);}

.hero{position:relative;background:linear-gradient(160deg, rgba(4,44,83,0.55), rgba(4,44,83,0.85)), url('img/lungomare-caboto-gaeta-pave-passeggiata.jpg') center/cover no-repeat;color:#fff;}
.page-hero{position:relative;background:linear-gradient(160deg, rgba(4,44,83,0.55), rgba(4,44,83,0.85)), url('img/9.jpg') center/cover no-repeat;color:#fff;}
.hero{height:78vh;min-height:520px;display:flex;align-items:flex-end;}
.hero-content{padding:70px 24px;max-width:1140px;margin:0 auto;width:100%;}
.hero-tag{letter-spacing:2px;font-size:13px;opacity:0.9;text-transform:uppercase;}
.hero h1{font-size:52px;margin:12px 0;}
.hero p{font-size:17px;opacity:0.95;max-width:520px;font-weight:300;}
.hero-actions{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap;}

.page-hero{padding:100px 0 60px;}
.page-hero h1{font-size:42px;margin:12px 0;}
.page-hero p{opacity:0.9;max-width:520px;}

section{padding:80px 0;}
h2{font-size:32px;margin-bottom:16px;max-width:640px;}
.subtitle{color:var(--muted);font-size:16px;max-width:600px;margin-bottom:44px;}

.gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:170px;gap:12px;}
.gallery img{width:100%;height:100%;object-fit:cover;border-radius:var(--radius);transition:transform .35s;}
.gallery img:hover{transform:scale(1.04);}
.gallery-item{display:block;padding:0;border:0;background:none;cursor:pointer;border-radius:var(--radius);overflow:hidden;}
.gallery-item:nth-child(1){grid-column:span 2;grid-row:span 2;}

.gallery-full{grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));grid-auto-rows:170px;}
.gallery-full .gallery-item:nth-child(1){grid-column:span 1;grid-row:span 1;}

.gallery-link{display:block;position:relative;border-radius:var(--radius);overflow:hidden;}
.gallery-link img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s;}
.gallery-link:hover img{transform:scale(1.04);}
.gallery-link::after{
  content:"Scopri di più →";position:absolute;left:0;right:0;bottom:0;
  padding:10px 14px;font-size:12px;font-weight:600;color:#fff;
  background:linear-gradient(to top, rgba(4,44,83,0.8), rgba(4,44,83,0));
}

.article{max-width:820px;margin:0 auto;}
.article-hero-img{width:100%;max-height:420px;object-fit:cover;border-radius:var(--radius);margin-bottom:30px;box-shadow:0 6px 24px rgba(4,44,83,0.08);}
.article p{color:var(--muted);margin-bottom:20px;}
.article h2{font-size:22px;color:var(--blue-dark);margin:40px 0 14px;border-bottom:2px solid var(--blue-light);padding-bottom:10px;}
.article ul{list-style:none;padding:0;margin-bottom:24px;}
.article li{background:var(--blue-light);margin-bottom:10px;padding:16px 18px;border-left:4px solid var(--blue-dark);border-radius:0 12px 12px 0;}
.article li strong{color:var(--blue-dark);}
.article .footer-note{text-align:center;margin-top:44px;padding:24px;font-weight:600;background:var(--blue-light);border-radius:var(--radius);color:var(--blue-dark);}

.back-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--blue-dark);margin-bottom:24px;}
.back-link:hover{text-decoration:underline;}
.back-link-bottom{display:flex;justify-content:center;margin:32px 0 0;}

.photo-credit{margin-top:36px;padding:14px 18px;background:#f8f9fa;border:1px solid #e9ecef;border-radius:10px;font-size:12.5px;color:#6c757d;line-height:1.6;}
.photo-credit a{color:#495057;text-decoration:underline;}

.lightbox{position:fixed;inset:0;background:rgba(4,10,20,0.92);display:none;align-items:center;justify-content:center;z-index:1000;padding:24px;}
.lightbox.open{display:flex;}
.lightbox-img{max-width:min(1100px,92vw);max-height:88vh;border-radius:12px;box-shadow:0 12px 48px rgba(0,0,0,0.5);}
.lightbox-close{position:absolute;top:20px;right:24px;background:rgba(255,255,255,0.12);color:#fff;border:0;width:44px;height:44px;border-radius:50%;font-size:20px;cursor:pointer;}
.lightbox-close:hover{background:rgba(255,255,255,0.22);}
.lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.12);color:#fff;border:0;width:52px;height:52px;border-radius:50%;font-size:28px;cursor:pointer;line-height:1;}
.lightbox-arrow:hover{background:rgba(255,255,255,0.22);}
.lightbox-prev{left:16px;}
.lightbox-next{right:16px;}
@media(max-width:600px){
  .lightbox-arrow{width:42px;height:42px;font-size:22px;}
  .lightbox-prev{left:6px;}
  .lightbox-next{right:6px;}
}

.amenities{background:var(--blue-light);}
.amenities-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.amenity{background:#fff;border-radius:var(--radius);padding:32px 22px;text-align:center;box-shadow:0 6px 24px rgba(4,44,83,0.06);}
.amenity .icon{font-size:30px;margin-bottom:14px;}
.amenity h4{font-size:15px;color:var(--blue-dark);font-weight:500;}
.amenity-no{opacity:0.75;}
.amenity-no h4{color:var(--coral);}

.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:36px;}
.review-card{background:#fff;border-radius:var(--radius);padding:30px 26px;box-shadow:0 6px 24px rgba(4,44,83,0.06);}
.review-icon{font-size:26px;margin-bottom:14px;}
.review-card p{font-size:14px;color:var(--muted);}

.hosts-inner{display:flex;align-items:center;gap:32px;}
.hosts-avatar{flex:0 0 auto;width:88px;height:88px;border-radius:50%;background:var(--blue-light);display:flex;align-items:center;justify-content:center;font-size:38px;}
.hosts h2{font-size:26px;margin:6px 0 12px;}
.hosts p{color:var(--muted);font-size:15px;max-width:640px;}

#cookie-banner{position:fixed;left:0;right:0;bottom:0;z-index:2000;background:var(--blue-dark);color:#fff;box-shadow:0 -6px 24px rgba(0,0,0,0.15);}
.cookie-banner-inner{max-width:1140px;margin:0 auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;}
.cookie-banner-inner p{font-size:13.5px;color:#cfe0f0;margin:0;flex:1;min-width:240px;}
.cookie-banner-inner p a{color:#fff;text-decoration:underline;}
.cookie-banner-actions{display:flex;gap:10px;flex-shrink:0;}
.cookie-banner-actions .btn{padding:10px 20px;font-size:13px;}
.cookie-banner-actions .btn-outline{background:rgba(255,255,255,0.12);border:1.5px solid #fff;color:#fff;}
.cookie-banner-actions .btn-outline:hover{background:rgba(255,255,255,0.22);}

.consent-placeholder{background:var(--blue-light);border-radius:var(--radius);padding:40px 24px;text-align:center;}
.consent-placeholder p{font-size:14px;color:var(--muted);margin-bottom:16px;}

.cin-badge{display:inline-block;background:var(--blue-light);color:var(--blue-dark);font-size:13px;padding:8px 16px;border-radius:30px;margin-bottom:24px;}

.cta-split{background:var(--blue-light);}
.cta-split-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.cta-split-card{display:block;background:#fff;border-radius:var(--radius);padding:36px 32px;box-shadow:0 6px 24px rgba(4,44,83,0.06);transition:transform .2s;text-align:center;}
.cta-split-card:hover{transform:translateY(-3px);}
.cta-split-icon{font-size:34px;margin-bottom:14px;}
.cta-split-card h3{font-size:20px;color:var(--blue-dark);margin-bottom:10px;}
.cta-split-card p{font-size:14px;color:var(--muted);margin-bottom:20px;}

.cal-note{font-size:13px;color:var(--muted);}

.calendar-box{background:#fff;border-radius:var(--radius);padding:32px;max-width:720px;box-shadow:0 6px 24px rgba(4,44,83,0.06);}
.cal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;}
.cal-nav{background:none;border:none;font-size:20px;cursor:pointer;color:var(--blue-dark);padding:4px 10px;}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;text-align:center;}
.cal-grid .day-label{font-size:12px;color:var(--muted);font-weight:600;margin-bottom:4px;}
.cal-day{height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:13px;background:#eaf6ee;color:#2a6b3a;}
.cal-day.booked{background:#fbe9e5;color:var(--coral);}
.legend{display:flex;gap:20px;margin-top:16px;font-size:13px;color:var(--muted);}
.legend span{display:inline-flex;align-items:center;gap:6px;}
.dot{width:10px;height:10px;border-radius:3px;display:inline-block;}
.dot.free{background:#8fd19e;}
.dot.booked{background:var(--coral);}

.price-table{max-width:720px;border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 24px rgba(4,44,83,0.06);margin-bottom:8px;}
.price-row{display:flex;justify-content:space-between;align-items:center;padding:16px 24px;background:#fff;border-bottom:1px solid #f0f0ee;}
.price-row:last-child{border-bottom:none;}
.price-period{font-size:15px;font-weight:500;}
.price-value{font-size:18px;font-weight:600;color:var(--blue-dark);}
.price-value small{font-size:12px;font-weight:400;color:var(--muted);}
.price-row-closed{background:var(--blue-light);}
.price-row-closed .price-period{color:var(--muted);}
.price-row-closed .price-value{color:var(--muted);font-weight:500;}

.booking-steps{padding-left:20px;margin-bottom:24px;color:var(--muted);font-size:14px;}
.booking-steps li{margin-bottom:10px;}
.payment-box{background:var(--blue-light);border-radius:14px;padding:20px;}
.payment-box h4{font-size:14px;color:var(--blue-dark);margin-bottom:12px;}
.payment-box p{font-size:14px;color:var(--muted);margin-bottom:12px;line-height:1.6;}
.payment-box p:last-child{margin-bottom:0;}

.map-wrap{border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 24px rgba(0,0,0,0.08);}
.map-wrap iframe{width:100%;height:380px;border:0;display:block;}

.contact{background:var(--blue-dark);color:#fff;border-radius:32px 32px 0 0;}
.contact h2{color:#fff;}
.contact .subtitle{color:#cfe0f0;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.contact-list{list-style:none;}
.contact-list li{display:flex;align-items:center;gap:14px;margin-bottom:20px;font-size:16px;}
.contact-list .ic{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,0.12);display:flex;align-items:center;justify-content:center;font-size:18px;}
.cta-card{background:#fff;color:var(--text);border-radius:var(--radius);padding:34px;text-align:center;}
.cta-card h3{color:var(--blue-dark);margin-bottom:10px;}
.cta-note{color:var(--muted);font-size:14px;}
.cta-card .btn-primary{width:100%;margin-top:14px;}

.contact-form{display:flex;flex-direction:column;gap:12px;margin-top:16px;}
.contact-form input, .contact-form textarea{
  width:100%;padding:12px 14px;border-radius:12px;border:1px solid #e2e2e0;
  font-family:'Poppins',sans-serif;font-size:14px;resize:none;
}
.contact-form input:focus, .contact-form textarea:focus{outline:2px solid var(--blue);border-color:transparent;}

.quick-contact{display:flex;flex-direction:column;justify-content:center;text-align:center;gap:12px;}
.quick-contact .btn{width:100%;}

.how-to-arrive{background:var(--blue-light);}
.arrive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.arrive-card{background:#fff;border-radius:var(--radius);padding:26px 24px;box-shadow:0 6px 24px rgba(4,44,83,0.06);}
.arrive-card h4{font-size:16px;color:var(--blue-dark);margin-bottom:10px;}
.arrive-card p{font-size:14px;color:var(--muted);}

.nearby-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.nearby-card{background:#fff;border-radius:var(--radius);padding:26px 24px;box-shadow:0 6px 24px rgba(4,44,83,0.06);}
.nearby-card h4{font-size:17px;color:var(--blue-dark);margin-bottom:10px;}
.nearby-card p{font-size:14px;color:var(--muted);}
.nearby-card strong{color:var(--coral);}

.faq-container{max-width:820px;margin:0 auto;}
.faq-item{background:#fff;border-radius:var(--radius);padding:26px 28px;margin-bottom:16px;box-shadow:0 6px 24px rgba(4,44,83,0.06);}
.faq-item h3{font-size:17px;color:var(--blue-dark);margin-bottom:10px;}
.faq-item p{font-size:14.5px;color:var(--muted);}
.cf-buttons{display:flex;gap:8px;flex-wrap:wrap;}
.cf-buttons .btn{flex:1;min-width:100px;padding:10px 12px;font-size:13px;text-align:center;cursor:pointer;}
.cf-buttons input{flex:1;min-width:130px;}

.field-group{display:flex;gap:8px;margin-top:4px;}
.field-label{flex:1;min-width:130px;font-size:12px;font-weight:600;color:var(--muted);}

.poi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;}
.poi-card{display:block;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 24px rgba(4,44,83,0.06);transition:transform .25s;}
.poi-card:hover{transform:translateY(-4px);}
.poi-card img, .poi-placeholder{width:100%;height:190px;object-fit:cover;display:block;}
.poi-placeholder{background:var(--blue-light);display:flex;align-items:center;justify-content:center;font-size:40px;}
.poi-body{padding:22px;}
.poi-body h3{font-size:18px;margin-bottom:8px;color:var(--blue-dark);}
.poi-body p{font-size:14px;color:var(--muted);}

footer{background:var(--blue-dark);color:#9fb6cf;text-align:center;padding:28px;font-size:13px;}
.footer-legal{width:100%;font-size:12px;margin-top:8px;}
.footer-legal a{color:#9fb6cf;text-decoration:underline;}
.footer-legal a:hover{color:#fff;}
.footer-inner{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;}

@media(max-width:768px){
  .hero h1, .page-hero h1{font-size:34px;}
  .gallery{grid-template-columns:repeat(2,1fr);}
  .gallery-item:nth-child(1){grid-column:span 2;grid-row:span 1;}
  .amenities-grid{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:1fr;}
  .arrive-grid{grid-template-columns:1fr;}
  .nearby-grid{grid-template-columns:1fr;}
  .hosts-inner{flex-direction:column;text-align:center;gap:16px;}
  .cta-split-grid{grid-template-columns:1fr;}
  .cookie-banner-inner{flex-direction:column;align-items:stretch;text-align:center;}
  .cookie-banner-actions{justify-content:center;}
  .contact-grid{grid-template-columns:1fr;}
  .poi-grid{grid-template-columns:1fr;}

  .btn-desktop-only{display:none;}
  .nav-toggle{display:block;}
  nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:0;background:#fff;
    padding:10px 24px 18px;box-shadow:0 12px 24px rgba(0,0,0,0.08);
  }
  nav.open{display:flex;}
  nav a{margin-left:0;padding:14px 6px;border-radius:0;border-bottom:1px solid #f0f0ee;}
  nav a:last-child{border-bottom:none;}
}