:root{
  --sky-1:#f6d17a;
  --sky-2:#f0985b;
  --sky-3:#6fa6c9;
  --sky-4:#2d5f86;
  --navy:#173049;
  --navy-deep:#0f2138;
  --gold:#d99a3d;
  --gold-dark:#b97a24;
  --terracotta:#c85f3f;
  --wine:#7a1f2b;
  --cream:#fdf6ea;
  --sky-card:#dcefff;
  --sky-card-2:#bfe0f7;
  --text:#1c2b3a;
  --text-soft:#4a5d70;
  --radius:18px;
  --shadow:0 12px 30px rgba(23,48,73,0.15);
  --shadow-lg:0 20px 50px rgba(23,48,73,0.25);
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:'Poppins', sans-serif;
  color:var(--text);
  background:var(--cream);
  overflow-x:hidden;
  position:relative;
}

h1,h2,h3{
  font-family:'Playfair Display', serif;
}

a{text-decoration:none;color:inherit;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
img{max-width:100%;display:block;}

.pin-icon{
  display:inline-block;
  vertical-align:-1px;
  flex:0 0 auto;
}

.script{
  font-family:'Great Vibes', cursive;
  font-weight:400;
  font-size:1.35em;
  color:var(--gold);
  line-height:0.8;
}

/* ---------- Background decor ---------- */
.bg-decor{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
  pointer-events:none;
}
.sun{
  position:absolute;
  top:-120px; right:-120px;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(246,209,122,0.55) 0%, rgba(240,152,91,0.25) 45%, transparent 70%);
}
.cloud{
  position:absolute;
  background:rgba(255,255,255,0.5);
  border-radius:50%;
  filter:blur(6px);
}
.cloud-1{width:260px;height:80px;top:8%;left:-5%;}
.cloud-2{width:180px;height:60px;top:20%;right:5%;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:linear-gradient(180deg, rgba(15,33,56,0.88) 0%, rgba(23,48,73,0.8) 100%);
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid rgba(217,154,61,0.18);
  box-shadow:0 4px 24px rgba(5,15,26,0.25);
  transition:padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled{
  box-shadow:0 8px 30px rgba(5,15,26,0.4);
}
.navbar{
  max-width:1240px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0.85rem 1.5rem;
  position:relative;
}
.brand{
  display:flex;
  align-items:center;
  gap:0.8rem;
  z-index:2;
}
.brand-badge{
  width:44px;height:44px;
  border-radius:10px;
  background:#fdf6ea;
  padding:4px;
  object-fit:contain;
  box-shadow:0 4px 14px rgba(0,0,0,0.35), 0 0 0 2px rgba(246,209,122,0.4);
  transition:transform 0.35s ease;
}
.brand:hover .brand-badge{
  transform:rotate(-8deg) scale(1.06);
}
.brand-text{
  color:#fff;
  font-size:0.76rem;
  line-height:1.2;
  font-weight:600;
  letter-spacing:0.06em;
  text-transform:uppercase;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:0.4rem;
}
.nav-links li{display:flex;}
.nav-links a{
  color:rgba(242,233,216,0.85);
  font-weight:500;
  font-size:0.88rem;
  position:relative;
  padding:0.55rem 1rem;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:0.5rem;
  transition:color 0.25s, background 0.25s;
}
.nav-links a:hover{
  color:#fff;
  background:rgba(255,255,255,0.08);
}
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px;height:38px;
  padding:8px;
  z-index:2;
}
.nav-toggle span{
  width:100%;height:2px;
  background:#fff;
  border-radius:2px;
  transform-origin:center;
  transition:transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2){
  opacity:0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:7rem 1.5rem 5rem;
  background:linear-gradient(165deg, var(--sky-4) 0%, var(--navy) 100%);
  position:relative;
  overflow:hidden;
}
.hero-glow{
  position:absolute;
  top:-15%; left:50%;
  transform:translateX(-50%);
  width:900px; height:900px;
  background:radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(246,209,122,0.15) 40%, transparent 70%);
  pointer-events:none;
  animation:pulseGlow 8s ease-in-out infinite;
}
@keyframes pulseGlow{
  0%,100%{opacity:0.7; transform:translateX(-50%) scale(1);}
  50%{opacity:1; transform:translateX(-50%) scale(1.08);}
}
.hero-particles{
  position:absolute;
  inset:0;
  pointer-events:none;
}
.hero-particles span{
  position:absolute;
  width:6px;height:6px;
  background:rgba(255,255,255,0.8);
  border-radius:50%;
  box-shadow:0 0 8px 2px rgba(255,255,255,0.6);
  animation:floaty 7s ease-in-out infinite;
}
.hero-particles span:nth-child(1){top:18%;left:12%;animation-delay:0s;}
.hero-particles span:nth-child(2){top:30%;left:85%;animation-delay:1.2s;width:4px;height:4px;}
.hero-particles span:nth-child(3){top:65%;left:8%;animation-delay:2.4s;width:5px;height:5px;}
.hero-particles span:nth-child(4){top:75%;left:90%;animation-delay:0.6s;}
.hero-particles span:nth-child(5){top:12%;left:55%;animation-delay:3s;width:3px;height:3px;}
.hero-particles span:nth-child(6){top:50%;left:45%;animation-delay:1.8s;width:4px;height:4px;}
@keyframes floaty{
  0%,100%{transform:translateY(0) scale(1); opacity:0.5;}
  50%{transform:translateY(-24px) scale(1.3); opacity:1;}
}

.hero-content{
  max-width:780px;
  position:relative;
  z-index:2;
  animation:fadeUp 0.9s ease both;
}

.hero-eyebrow-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.8rem;
  margin-bottom:1.8rem;
}
.eyebrow-line{
  width:32px;height:1px;
  background:rgba(122,31,43,0.5);
}
.hero-eyebrow{
  color:var(--wine);
  background:rgba(255,255,255,0.6);
  display:inline-block;
  padding:0.4rem 1.1rem;
  border-radius:999px;
  font-size:0.75rem;
  font-weight:600;
  letter-spacing:0.05em;
  text-transform:uppercase;
  box-shadow:0 4px 14px rgba(122,31,43,0.15);
}

.hero-title{
  font-size:clamp(2.5rem, 6.5vw, 4.4rem);
  color:#fff;
  line-height:1.08;
  text-shadow:0 8px 30px rgba(15,33,56,0.4);
  margin-bottom:1.4rem;
  letter-spacing:-0.01em;
}

.hero-dates{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.7rem;
  margin-bottom:1.4rem;
}
.date-chip{
  background:rgba(15,33,56,0.4);
  border:1px solid rgba(255,255,255,0.35);
  color:#fff;
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.03em;
  padding:0.35rem 0.9rem;
  border-radius:999px;
}
.date-sep{
  color:var(--sky-1);
  font-size:0.95rem;
}

.hero-sub{
  color:#fff;
  font-size:1.15rem;
  font-weight:300;
  max-width:none;
  white-space:nowrap;
  margin:0 auto 2.6rem;
  text-shadow:0 2px 10px rgba(15,33,56,0.3);
}

@media (max-width:640px){
  .hero-sub{
    white-space:normal;
    font-size:1rem;
  }
}

.countdown{
  background:linear-gradient(160deg, rgba(15,33,56,0.65), rgba(15,33,56,0.45));
  border:1px solid rgba(246,209,122,0.35);
  backdrop-filter:blur(10px);
  border-radius:22px;
  padding:1.7rem 1.9rem;
  margin:0 auto 2.6rem;
  max-width:520px;
  box-shadow:0 20px 45px rgba(5,15,26,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.countdown-clickable{
  cursor:pointer;
}
.countdown-clickable:hover{
  transform:translateY(-3px);
  border-color:rgba(246,209,122,0.6);
  box-shadow:0 24px 50px rgba(5,15,26,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}
.countdown-clickable:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:4px;
}
.countdown-label{
  color:#f6d17a;
  font-size:0.78rem;
  text-transform:uppercase;
  letter-spacing:0.1em;
  font-weight:600;
  margin-bottom:1rem;
}
.countdown-grid{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
}
.countdown-colon{
  color:rgba(246,209,122,0.6);
  font-family:'Playfair Display', serif;
  font-size:1.5rem;
  font-weight:700;
  transform:translateY(-6px);
}
.countdown-unit{
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:58px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  padding:0.5rem 0.3rem;
}
.countdown-unit span{
  font-family:'Playfair Display', serif;
  font-size:1.9rem;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg, #fff, var(--sky-1));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
.countdown-unit small{
  color:rgba(255,255,255,0.65);
  font-size:0.64rem;
  text-transform:uppercase;
  letter-spacing:0.06em;
  margin-top:0.15rem;
}
.countdown-event{
  margin-top:1.1rem;
  color:#fff;
  font-size:0.95rem;
  font-weight:500;
}
.countdown-loc{
  display:inline-block;
  margin-top:0.2rem;
  color:var(--sky-1);
  font-weight:400;
  font-size:0.85rem;
}

.hero-cta{
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}
.btn{
  padding:0.9rem 2rem;
  border-radius:999px;
  font-weight:600;
  font-size:0.95rem;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
  display:inline-flex;
  align-items:center;
  gap:0.5rem;
}
.btn:hover{transform:translateY(-3px);}
.btn-primary{
  background:linear-gradient(135deg, var(--gold), var(--terracotta));
  color:#fff;
  box-shadow:0 12px 28px rgba(184,101,45,0.45);
}
.btn-primary:hover{
  box-shadow:0 16px 34px rgba(184,101,45,0.6);
}
.btn-arrow{
  transition:transform 0.25s ease;
}
.btn-primary:hover .btn-arrow{
  transform:translateX(4px);
}
.btn-ghost{
  background:rgba(255,255,255,0.12);
  color:#fff;
  border:1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost:hover{
  background:rgba(255,255,255,0.2);
}


/* ---------- Sections ---------- */
.section{
  max-width:1200px;
  margin:0 auto;
  padding:5rem 1.5rem;
  scroll-margin-top:96px;
}
.section-head{
  text-align:center;
  max-width:600px;
  margin:0 auto 3rem;
}
.section-head h2{
  font-size:clamp(1.8rem, 4vw, 2.4rem);
  color:var(--navy);
  margin-bottom:0.8rem;
  position:relative;
  display:inline-block;
}
.section-head h2::after{
  content:'';
  display:block;
  width:60px;height:3px;
  background:var(--gold);
  margin:0.6rem auto 0;
  border-radius:2px;
}
.section-head p{
  color:var(--text-soft);
  font-size:1rem;
  font-weight:300;
}

/* ---------- Filters ---------- */
.filters{
  display:flex;
  gap:0.7rem;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:3rem;
}
.filter-btn{
  padding:0.55rem 1.3rem;
  border-radius:999px;
  border:1.5px solid var(--sky-3);
  color:var(--sky-4);
  font-size:0.85rem;
  font-weight:500;
  transition:all 0.2s;
  display:inline-flex;
  align-items:center;
  gap:0.4rem;
}
.filter-btn:hover{
  background:var(--sky-card);
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(45,95,134,0.18);
}
.filter-btn.active{
  background:var(--sky-4);
  color:#fff;
  border-color:var(--sky-4);
  box-shadow:0 8px 20px rgba(45,95,134,0.3);
}

.filters-location{
  margin-bottom:3rem;
  margin-top:-1.6rem;
}
.filter-btn-location{
  border-color:var(--gold);
  color:var(--gold-dark);
}
.filter-btn-location:hover{
  background:rgba(217,154,61,0.12);
  box-shadow:0 8px 18px rgba(217,154,61,0.25);
}
.filter-btn-location.active{
  background:var(--gold-dark);
  color:#fff;
  border-color:var(--gold-dark);
  box-shadow:0 8px 20px rgba(185,122,36,0.4);
}

/* ---------- Timeline / Event cards ---------- */
.timeline{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:1.5rem;
}
.event-card{
  background:linear-gradient(160deg, var(--sky-card) 0%, var(--sky-card-2) 100%);
  border:1px solid rgba(45,95,134,0.15);
  border-radius:var(--radius);
  padding:1.5rem;
  box-shadow:var(--shadow);
  transition:transform 0.25s ease, box-shadow 0.25s ease, outline-color 0.4s ease;
  cursor:pointer;
  opacity:0;
  transform:translateY(20px);
  animation:fadeUp 0.6s ease forwards;
  scroll-margin-top:110px;
  outline:3px solid transparent;
  outline-offset:4px;
  position:relative;
}
.event-poster-btn{
  position:absolute;
  top:0.9rem;
  right:0.9rem;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(45,95,134,0.2);
  background:rgba(255,255,255,0.85);
  font-size:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 4px 10px rgba(15,33,56,0.15);
  transition:transform 0.2s ease, background 0.2s ease;
  z-index:2;
}
.event-poster-btn:hover{
  transform:scale(1.1);
  background:#fff;
}
.event-card:target,
.event-card.pulse-highlight{
  outline-color:var(--gold);
  animation:targetPulse 1.6s ease 2;
}
@keyframes targetPulse{
  0%,100%{outline-color:var(--gold);}
  50%{outline-color:rgba(217,154,61,0);}
}
.event-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
}
.event-card.special{
  background:linear-gradient(160deg, #f7dfc0 0%, #f0b98a 100%);
  border-color:rgba(185,122,36,0.3);
}
.event-card.event-card-grazie{
  background:linear-gradient(160deg, #f5e7c6 0%, #e3cd8d 100%);
  border-color:rgba(184,134,11,0.35);
}
.event-card.special.event-card-grazie{
  background:linear-gradient(160deg, #f2e2b8 0%, #d9b96a 100%);
  border-color:rgba(168,50,50,0.35);
}
.event-date-row{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1rem;
}
.event-date{
  background:var(--wine);
  color:#fff;
  border-radius:12px;
  padding:0.4rem 0.7rem;
  text-align:center;
  min-width:58px;
  line-height:1.1;
  box-shadow:0 6px 14px rgba(122,31,43,0.35);
}
.event-date .day{
  font-family:'Playfair Display', serif;
  font-size:1.4rem;
  font-weight:700;
  display:block;
}
.event-date .month{
  font-size:0.62rem;
  text-transform:uppercase;
  letter-spacing:0.05em;
  opacity:0.9;
}
.event-weekday{
  font-size:0.78rem;
  color:var(--sky-4);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.04em;
}
.event-time{
  font-size:0.85rem;
  color:var(--text-soft);
}
.event-title{
  font-size:1.15rem;
  color:var(--navy);
  margin-bottom:0.4rem;
  font-weight:700;
}
.event-loc{
  font-size:0.85rem;
  color:var(--text-soft);
  margin-bottom:0.9rem;
}
.event-tags{
  display:flex;
  gap:0.4rem;
  flex-wrap:wrap;
}
.tag{
  font-size:0.68rem;
  font-weight:600;
  padding:0.25rem 0.65rem;
  border-radius:999px;
  background:rgba(45,95,134,0.12);
  color:var(--sky-4);
  text-transform:uppercase;
  letter-spacing:0.03em;
  box-shadow:0 1px 0 rgba(255,255,255,0.5) inset;
}
.tag.speciale{background:rgba(122,31,43,0.15);color:var(--wine);}

.event-organizer{
  display:flex;
  align-items:center;
  gap:0.5rem;
  margin-top:0.9rem;
  padding-top:0.8rem;
  border-top:1px dashed rgba(45,95,134,0.2);
  font-size:0.75rem;
  color:var(--text-soft);
}
.org-dot{
  flex:0 0 auto;
  width:9px;height:9px;
  border-radius:50%;
  box-shadow:0 0 0 3px rgba(0,0,0,0.05);
}
.event-curator{
  font-style:italic;
  opacity:0.85;
}
.event-organizer + .event-curator{
  border-top:none;
  padding-top:0;
  margin-top:0.3rem;
}
.event-poster-links{
  display:flex;
  flex-direction:column;
  gap:0.5rem;
  margin-top:0.8rem;
}
.event-poster-links button{
  font-size:0.85rem;
  font-family:inherit;
  color:var(--navy);
  background:var(--sky-card);
  border:1px solid rgba(45,95,134,0.2);
  border-radius:10px;
  padding:0.55rem 0.8rem;
  text-align:left;
  cursor:pointer;
  transition:background 0.2s, transform 0.2s;
}
.event-poster-links button:hover{
  background:var(--sky-card-2);
  transform:translateY(-2px);
}

/* ---------- Clou section ---------- */
.clou{
  padding-top:0;
}
.clou-card{
  background:linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--wine) 130%);
  border-radius:24px;
  color:#fff;
  box-shadow:var(--shadow-lg);
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1.15fr;
  align-items:stretch;
}
.clou-card + .clou-card{
  margin-top:2rem;
}
.clou-card-alt{
  background:linear-gradient(150deg, var(--wine) 0%, var(--terracotta) 55%, var(--gold) 140%);
}
.clou-card-alt .clou-photo{
  background:linear-gradient(150deg, rgba(15,33,56,0.5) 0%, rgba(122,31,43,0.35) 100%);
}
.clou-card-night{
  background:linear-gradient(150deg, var(--navy-deep) 0%, var(--sky-4) 65%, var(--navy) 135%);
}
.clou-card-night .clou-photo{
  background:linear-gradient(150deg, rgba(15,33,56,0.6) 0%, rgba(45,95,134,0.3) 100%);
}
.clou-card-grazie{
  background:linear-gradient(150deg, var(--navy-deep) 0%, #1c3f66 45%, var(--gold-dark) 145%);
}
.clou-card-grazie .clou-photo{
  background:linear-gradient(150deg, rgba(15,33,56,0.6) 0%, rgba(185,122,36,0.3) 100%);
}
.clou-card::before{
  content:'';
  position:absolute;
  width:420px; height:420px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 45%, transparent 72%);
  top:-8rem; right:-8rem;
  pointer-events:none;
}
.clou-photo{
  position:relative;
  min-height:340px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding:2.2rem;
}
.clou-photo::before{
  content:'';
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
  width:120%; height:120%;
  background:radial-gradient(circle, rgba(246,209,122,0.16) 0%, transparent 62%);
  pointer-events:none;
}
.clou-photo img{
  position:relative;
  z-index:1;
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  border-radius:16px;
  box-shadow:
    0 25px 50px rgba(2,8,16,0.55),
    0 0 0 1px rgba(246,209,122,0.4),
    0 0 0 6px rgba(255,255,255,0.07);
  filter:saturate(1.08) contrast(1.05);
  transition:transform 0.5s ease, box-shadow 0.5s ease;
  display:block;
}
.clou-card:hover .clou-photo img{
  transform:scale(1.03);
  box-shadow:
    0 30px 60px rgba(2,8,16,0.6),
    0 0 0 1px rgba(246,209,122,0.55),
    0 0 0 6px rgba(255,255,255,0.1);
}
.clou-info{
  padding:3rem 2.5rem;
  text-align:left;
  position:relative;
  z-index:1;
}
.clou-badges{
  display:flex;
  flex-wrap:wrap;
  gap:0.7rem;
  margin-bottom:1.4rem;
}
.clou-badge{
  display:inline-block;
  background:rgba(246,209,122,0.15);
  color:var(--sky-1);
  border:1px solid rgba(246,209,122,0.4);
  padding:0.6rem 1.5rem;
  border-radius:999px;
  font-size:0.95rem;
  letter-spacing:0.08em;
  font-weight:700;
}
.clou-badge-alt{
  background:rgba(200,95,63,0.18);
  color:#f3b899;
  border-color:rgba(200,95,63,0.45);
}
.clou-badge-gold{
  background:rgba(15,33,56,0.3);
  color:#fff;
  border-color:rgba(255,255,255,0.5);
}
.clou-badge-cream{
  background:rgba(253,246,234,0.9);
  color:var(--wine);
  border-color:rgba(253,246,234,0.9);
}
.clou-badge-night{
  background:rgba(255,255,255,0.12);
  color:var(--sky-1);
  border-color:rgba(246,209,122,0.5);
}
.clou-badge-grazie{
  background:rgba(217,154,61,0.22);
  color:#f6d17a;
  border-color:rgba(217,154,61,0.55);
}
.clou-card h2{
  font-size:clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom:0.6rem;
}
.clou-loc{
  color:rgba(255,255,255,0.75);
  margin-bottom:2rem;
  font-size:0.95rem;
}
.clou-loc:has(+ .clou-tagline){
  margin-bottom:0.9rem;
}
.clou-tagline{
  font-family:'Playfair Display', serif;
  font-style:italic;
  color:rgba(255,255,255,0.85);
  font-size:1.05rem;
  line-height:1.5;
  margin-bottom:2rem;
  max-width:420px;
}
.clou-timeline{
  display:flex;
  flex-direction:column;
  gap:0.9rem;
  max-width:420px;
}
.clou-item{
  display:flex;
  align-items:center;
  gap:1rem;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  border-radius:12px;
  padding:0.8rem 1.2rem;
  text-align:left;
}
.clou-item.highlight{
  background:linear-gradient(90deg, rgba(217,154,61,0.35), rgba(200,95,63,0.25));
  border-color:rgba(217,154,61,0.5);
  font-weight:600;
}
.clou-card-alt .clou-item.highlight{
  background:linear-gradient(90deg, rgba(15,33,56,0.45), rgba(15,33,56,0.25));
  border-color:rgba(15,33,56,0.5);
}
.clou-card-alt .clou-time{
  color:#fce9c4;
}
.clou-time{
  font-family:'Playfair Display', serif;
  font-weight:700;
  color:var(--sky-1);
  min-width:56px;
}

/* ---------- Places ---------- */
.places-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:1.2rem;
}

@media (max-width:640px){
  .places-grid{
    grid-template-columns:1fr;
  }
}
.place-card{
  background:#fff;
  border-radius:var(--radius);
  padding:1.4rem;
  box-shadow:var(--shadow);
  border-top:4px solid var(--gold);
  transition:transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor:pointer;
}
.place-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.place-card:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:2px;
}
.place-card.active{
  background:var(--navy);
  border-top-color:var(--sky-1);
}
.place-card.active h3{color:#fff;}
.place-card.active p{color:rgba(255,255,255,0.75);}
.place-card h3{
  font-size:1.05rem;
  color:var(--navy);
  margin-bottom:0.5rem;
  transition:color 0.2s;
}
.place-card p{
  font-size:0.82rem;
  color:var(--text-soft);
  transition:color 0.2s;
}

/* ---------- Locandine ---------- */
.posters-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(190px, 1fr));
  gap:1.5rem;
}
.poster-card{
  cursor:pointer;
}
.poster-thumb{
  position:relative;
  aspect-ratio:3/4;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#fff;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.poster-card:hover .poster-thumb{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
}
.poster-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top;
  transition:transform 0.4s ease;
}
.poster-card:hover .poster-thumb img{
  transform:scale(1.06);
}
.poster-zoom{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  background:rgba(15,33,56,0);
  opacity:0;
  transition:opacity 0.3s ease, background 0.3s ease;
}
.poster-card:hover .poster-zoom{
  opacity:1;
  background:rgba(15,33,56,0.35);
}
.poster-card:focus-visible .poster-thumb{
  outline:3px solid var(--gold);
  outline-offset:3px;
}
.poster-card-caption{
  margin-top:0.7rem;
  font-size:0.82rem;
  color:var(--text-soft);
  text-align:center;
  line-height:1.4;
}

/* ---------- Info ---------- */
.info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(240px, 1fr));
  gap:1.5rem;
}
.info-card{
  background:var(--sky-card);
  border-radius:var(--radius);
  padding:1.6rem;
  border-top:4px solid var(--sky-4);
  box-shadow:var(--shadow);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.info-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.info-card h3{
  color:var(--sky-4);
  margin-bottom:0.6rem;
  font-size:1.05rem;
}
.info-card p{
  font-size:0.88rem;
  color:var(--text-soft);
  line-height:1.5;
}

.back-link{
  color:rgba(242,233,216,0.9);
  font-weight:500;
  font-size:0.88rem;
  padding:0.55rem 1rem;
  border-radius:999px;
  transition:background 0.25s, color 0.25s;
}
.back-link:hover{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

/* ---------- Legal pages (Privacy & Cookie Policy) ---------- */
.legal-hero{
  text-align:center;
  padding-top:6rem;
  padding-bottom:2rem;
  max-width:760px;
}
.legal-eyebrow{
  display:inline-block;
}
.legal-hero h1{
  font-size:clamp(2rem, 5vw, 3rem);
  color:var(--navy);
  margin:1.2rem 0 1rem;
}
.legal-intro{
  color:var(--text-soft);
  font-size:1rem;
  line-height:1.6;
  margin-bottom:0.8rem;
}
.legal-updated{
  color:var(--gold-dark);
  font-size:0.85rem;
  font-weight:600;
}

.legal-content{
  max-width:820px;
  padding-top:0;
}
.legal-block{
  background:#fff;
  border-radius:var(--radius);
  padding:2rem 2.2rem;
  margin-bottom:1.5rem;
  box-shadow:var(--shadow);
}
.legal-block h2{
  color:var(--navy);
  font-size:1.4rem;
  margin-bottom:1rem;
  padding-bottom:0.7rem;
  border-bottom:2px solid rgba(217,154,61,0.25);
}
.legal-block h3{
  color:var(--sky-4);
  font-family:'Poppins', sans-serif;
  font-size:1rem;
  font-weight:600;
  margin:1.4rem 0 0.6rem;
}
.legal-block p{
  color:var(--text-soft);
  font-size:0.92rem;
  line-height:1.7;
  margin-bottom:0.9rem;
}
.legal-block p:last-child{margin-bottom:0;}
.legal-block strong{color:var(--text);}
.legal-block a{
  color:var(--sky-4);
  text-decoration:underline;
  text-underline-offset:2px;
}
.legal-block a:hover{color:var(--terracotta);}
.legal-block code{
  background:var(--sky-card);
  color:var(--sky-4);
  padding:0.15rem 0.5rem;
  border-radius:6px;
  font-size:0.85rem;
}

.legal-list{
  margin:0 0 0.9rem 1.2rem;
  color:var(--text-soft);
  font-size:0.92rem;
  line-height:1.8;
}
.legal-list li{margin-bottom:0.3rem;}

.legal-table-wrap{
  overflow-x:auto;
  margin-bottom:1.2rem;
  border-radius:12px;
  border:1px solid rgba(45,95,134,0.15);
}
.legal-table{
  width:100%;
  border-collapse:collapse;
  font-size:0.85rem;
}
.legal-table th{
  background:var(--sky-4);
  color:#fff;
  text-align:left;
  padding:0.8rem 1rem;
  font-weight:600;
  white-space:nowrap;
}
.legal-table td{
  padding:0.8rem 1rem;
  color:var(--text-soft);
  border-top:1px solid rgba(45,95,134,0.12);
}
.legal-table tr:nth-child(even) td{
  background:rgba(220,239,255,0.35);
}

.rights-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:0.8rem;
  margin-bottom:1.2rem;
}
.rights-item{
  background:var(--sky-card);
  border-radius:10px;
  padding:0.9rem 1.1rem;
  font-size:0.85rem;
  color:var(--text-soft);
  line-height:1.5;
}
.rights-item strong{color:var(--sky-4);}

.legal-inline-btn{
  font-size:inherit;
  color:var(--sky-4);
  text-decoration:underline;
  text-underline-offset:2px;
}
.legal-inline-btn:hover{color:var(--terracotta);}

.legal-back{
  text-align:center;
  margin-top:1rem;
}
.legal-back a{
  color:var(--sky-4);
  font-weight:600;
  font-size:0.95rem;
}

@media (max-width:640px){
  .legal-block{padding:1.5rem 1.3rem;}
  .rights-grid{grid-template-columns:1fr;}
}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy-deep);
  color:rgba(255,255,255,0.75);
  text-align:center;
  padding:2.5rem 1.5rem;
  font-size:0.85rem;
  position:relative;
}
.site-footer::before{
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height:3px;
  background:linear-gradient(90deg, var(--gold), var(--terracotta), var(--wine));
}
.footer-sub{
  margin-top:0.4rem;
  font-weight:500;
}
.footer-sub-link{
  color:var(--gold);
  transition:color 0.2s;
}
.footer-sub-link:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}
.footer-legal{
  margin-top:1.2rem;
  padding-top:1.2rem;
  border-top:1px solid rgba(255,255,255,0.12);
  font-size:0.78rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.5rem;
}
.footer-legal a{
  color:rgba(255,255,255,0.75);
  text-decoration:underline;
  text-underline-offset:2px;
  transition:color 0.2s;
}
.footer-legal a:hover{color:var(--gold);}
.footer-legal-link{
  color:rgba(255,255,255,0.75);
  text-decoration:underline;
  text-underline-offset:2px;
  font-size:inherit;
  font-family:inherit;
  transition:color 0.2s;
}
.footer-legal-link:hover{color:var(--gold);}

.footer-credit{
  margin-top:2.2rem;
  font-size:0.58rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:rgba(255,255,255,0.22);
}

/* ---------- Cookie banner ---------- */
.cookie-banner{
  position:fixed;
  left:1.2rem; right:1.2rem; bottom:1.2rem;
  max-width:820px;
  margin:0 auto;
  z-index:2000;
  background:linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  border:1px solid rgba(217,154,61,0.3);
  border-radius:18px;
  padding:1.4rem 1.6rem;
  box-shadow:0 20px 50px rgba(2,8,16,0.45);
  display:flex;
  align-items:center;
  gap:1.5rem;
  flex-wrap:wrap;
  color:#fff;
  transform:translateY(140%);
  opacity:0;
  transition:transform 0.45s ease, opacity 0.45s ease;
}
.cookie-banner.visible{
  transform:translateY(0);
  opacity:1;
}
.cookie-banner-text{
  flex:1 1 320px;
}
.cookie-banner-text p{
  font-size:0.85rem;
  line-height:1.55;
  color:rgba(255,255,255,0.85);
  font-weight:300;
}
.cookie-banner-text strong{
  color:#fff;
  font-weight:600;
}
.cookie-banner-text a{
  color:var(--sky-1);
  text-decoration:underline;
  text-underline-offset:2px;
}
.cookie-banner-actions{
  display:flex;
  gap:0.7rem;
  flex-wrap:wrap;
  flex:0 0 auto;
}
.cookie-banner-actions .btn{
  padding:0.7rem 1.4rem;
  font-size:0.85rem;
  white-space:nowrap;
}

@media (max-width:640px){
  .cookie-banner{
    left:0.7rem; right:0.7rem; bottom:0.7rem;
    padding:1.2rem;
  }
  .cookie-banner-actions{
    width:100%;
  }
  .cookie-banner-actions .btn{
    flex:1 1 0;
    justify-content:center;
  }
}

/* ---------- Modal ---------- */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,33,56,0.65);
  backdrop-filter:blur(4px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.25s;
  padding:1.5rem;
}
.modal-overlay.open{
  opacity:1;
  pointer-events:auto;
}
.modal{
  background:#fff;
  border-radius:var(--radius);
  padding:2rem;
  max-width:420px;
  width:100%;
  position:relative;
  transform:scale(0.92);
  transition:transform 0.25s;
  box-shadow:var(--shadow-lg);
}
.modal-overlay.open .modal{transform:scale(1);}
.modal-close{
  position:absolute;
  top:0.9rem; right:0.9rem;
  font-size:1.5rem;
  color:var(--text-soft);
  line-height:1;
}
.modal h3{
  color:var(--navy);
  font-size:1.3rem;
  margin-bottom:0.8rem;
}
.modal p{
  font-size:0.9rem;
  color:var(--text-soft);
  margin-bottom:0.5rem;
}

/* ---------- Poster lightbox ---------- */
.poster-overlay{
  position:fixed;
  inset:0;
  background:rgba(5,15,26,0.85);
  backdrop-filter:blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1100;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.25s;
  padding:1.5rem;
}
.poster-overlay.open{
  opacity:1;
  pointer-events:auto;
}
.poster-lightbox{
  position:relative;
  max-width:min(640px, 92vw);
  max-height:92vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
  transform:scale(0.94);
  transition:transform 0.25s;
}
.poster-overlay.open .poster-lightbox{transform:scale(1);}
.poster-lightbox img{
  max-width:100%;
  max-height:78vh;
  width:auto;
  border-radius:14px;
  box-shadow:0 25px 60px rgba(2,8,16,0.6);
}
.poster-close{
  position:fixed;
  top:1.2rem; right:1.2rem;
  width:46px; height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  color:#fff;
  line-height:1;
  z-index:1101;
  background:rgba(15,33,56,0.75);
  border:1.5px solid rgba(255,255,255,0.5);
  border-radius:50%;
  box-shadow:0 8px 22px rgba(2,8,16,0.5);
  transition:background 0.2s, transform 0.2s;
}
.poster-close:hover{
  background:var(--wine);
  transform:scale(1.08);
}
.poster-download{
  padding:0.7rem 1.6rem;
  font-size:0.9rem;
}
.poster-caption{
  color:rgba(255,255,255,0.85);
  font-size:0.9rem;
  text-align:center;
  max-width:90%;
}
.poster-caption:empty{display:none;}

/* ---------- Animations ---------- */
@keyframes fadeUp{
  from{opacity:0; transform:translateY(24px);}
  to{opacity:1; transform:translateY(0);}
}

.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width:820px){
  .nav-links{
    position:absolute;
    top:100%;
    left:0; right:0;
    background:linear-gradient(180deg, var(--navy), var(--navy-deep));
    flex-direction:column;
    align-items:stretch;
    padding:1.2rem;
    gap:0.4rem;
    transform:translateY(-10px);
    opacity:0;
    pointer-events:none;
    transition:0.25s;
    border-bottom:1px solid rgba(217,154,61,0.25);
    box-shadow:0 20px 40px rgba(5,15,26,0.4);
  }
  .nav-links.open{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }
  .nav-links a{
    justify-content:flex-start;
    padding:0.8rem 1rem;
    font-size:1rem;
  }
  .nav-toggle{display:flex;}
}

@media (max-width:760px){
  .clou-card{
    grid-template-columns:1fr;
  }
  .clou-photo{
    min-height:240px;
    padding:1.4rem;
  }
  .clou-info{
    padding:2rem 1.5rem 2.5rem;
  }
}

@media (max-width:480px){
  .countdown-grid{gap:0.6rem;}
  .countdown-unit{min-width:46px;}
  .countdown-unit span{font-size:1.4rem;}
  .hero-cta{flex-direction:column;align-items:center;}
}
