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

html{
  scroll-behavior:smooth;
  width:100%;
  overflow-x:hidden;
}

body{
  width:100%;
  overflow-x:hidden;
  font-family:Georgia,"Times New Roman",serif;
  background:#faf7f2;
  color:#2f2a28;
  line-height:1.6;
}

header{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
  color:white;
}

/* HOMEPAGE HERO */

.homepage-hero{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(rgba(18,43,30,.35),rgba(80,20,20,.45)),
    url("images/background-homepage-v2.png")
    center center/cover no-repeat;
  background-color:#120f0d;
}

.hero{
  max-width:850px;
}

.hero-homepage{
  width:100%;
  max-width:1100px;
  min-height:82vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:34px 20px;
  position:relative;
  z-index:2;
}

.homepage-logo{
  width:330px;
  max-width:78vw;
  height:auto;
  margin-bottom:26px;
  filter:drop-shadow(0 0 18px rgba(212,175,55,.42));
  animation:fadeInLogo 1.4s ease both;
}

.homepage-eyebrow{
  font-size:14px;
  letter-spacing:6px;
  text-transform:uppercase;
  color:#f0d7a1;
  margin-bottom:16px;
  text-shadow:0 3px 14px rgba(0,0,0,.75);
}

.homepage-names{
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:clamp(58px,8vw,118px);
  line-height:.92;
  font-weight:600;
  color:#fff7e8;
  margin-bottom:24px;
  text-shadow:
    0 4px 18px rgba(0,0,0,.78),
    0 0 26px rgba(212,175,55,.18);
}

.homepage-date{
  font-size:clamp(21px,2.4vw,32px);
  letter-spacing:4px;
  text-transform:uppercase;
  color:#e9c879;
  text-shadow:0 4px 18px rgba(0,0,0,.78);
}

.homepage-button{
  margin-top:32px;
  display:inline-block;
  padding:15px 34px;
  border-radius:999px;
  text-decoration:none;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.38);
  color:white;
  backdrop-filter:blur(10px);
  transition:.25s ease;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}

.homepage-button:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.14);
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:4px;
  margin-bottom:20px;
}

h1{
  font-size:clamp(48px,10vw,96px);
  margin-bottom:20px;
}

.date{
  font-size:24px;
  margin-bottom:30px;
}

.button{
  display:inline-block;
  padding:14px 30px;
  border-radius:999px;
  border:1px solid white;
  text-decoration:none;
  color:white;
}

/* NAVBAR */

nav{
  position:sticky;
  top:0;
  background:rgba(255,250,245,.96);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:10;
  border-bottom:1px solid rgba(196,154,84,.14);
  box-shadow:0 10px 30px rgba(80,50,30,.04);
}

nav ul{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:34px;
  list-style:none;
  padding:18px 16px;
  flex-wrap:wrap;
}

nav a{
  position:relative;
  text-decoration:none;
  color:#2f2a28;
  font-size:20px;
  line-height:1;
  transition:.25s ease;
}

nav a:not(.nav-lista-nozze)::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-9px;
  width:0;
  height:1px;
  background:#c49a54;
  transform:translateX(-50%);
  transition:.25s ease;
}

nav a:not(.nav-lista-nozze):hover{
  color:#8b0000;
}

nav a:not(.nav-lista-nozze):hover::after{
  width:70%;
}

.nav-lista-nozze{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 24px;
  border-radius:999px;
  color:#8b0000;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(196,154,84,.34);
  box-shadow:
    0 12px 26px rgba(80,50,30,.08),
    0 0 18px rgba(196,154,84,.12);
  transition:.28s ease;
}

.nav-lista-nozze:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.86);
  border-color:rgba(196,154,84,.58);
  box-shadow:
    0 18px 34px rgba(80,50,30,.12),
    0 0 24px rgba(196,154,84,.22);
}

.nav-gift-icon{
  font-size:18px;
  line-height:1;
  display:inline-block;
  transform:translateY(-1px);
}

section{
  padding:80px 20px;
  max-width:1100px;
  margin:auto;
}

h2{
  text-align:center;
  font-size:42px;
  margin-bottom:24px;
  color:#8b0000;
}

.intro{
  text-align:center;
  max-width:700px;
  margin:auto;
}

.countdown-box{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:40px;
}

.countdown-item{
  background:white;
  border-radius:24px;
  padding:26px 16px;
  text-align:center;
}

.countdown-item span{
  display:block;
  font-size:42px;
  color:#8b0000;
}

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}

.card{
  background:white;
  padding:28px;
  border-radius:24px;
}

/* PROGRAMMA PREMIUM */

.programma-section{
  max-width:1180px;
  padding:96px 20px 92px;
  text-align:center;
}

.programma-header{
  max-width:760px;
  margin:0 auto 58px;
}

.programma-top-decoration{
  width:72px;
  height:auto;
  margin:0 auto 20px;
  display:block;
}

.programma-section h2{
  font-size:clamp(42px,6vw,70px);
  letter-spacing:0;
  text-transform:none;
  margin-bottom:14px;
  line-height:1.05;
}

.programma-divider{
  width:210px;
  height:auto;
  margin:0 auto 24px;
  display:block;
}

.programma-subtitle{
  max-width:760px;
  margin:0 auto;
  font-size:21px;
  line-height:1.7;
}

.programma-timeline{
  position:relative;
  max-width:980px;
  margin:42px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
}

.programma-timeline::before{
  content:"";
  position:absolute;
  top:126px;
  left:7%;
  right:7%;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(196,154,84,.75), transparent);
}

.programma-item{
  position:relative;
  z-index:2;
  text-align:center;
}

.programma-icon-wrapper{
  width:126px;
  height:126px;
  margin:0 auto 28px;
  border:1px solid rgba(196,154,84,.34);
  border-radius:64px 64px 0 0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#faf7f2;
}

.programma-icon{
  width:66px;
  height:66px;
  object-fit:contain;
}

.programma-dot{
  width:13px;
  height:13px;
  background:#c49a54;
  border-radius:50%;
  margin:-35px auto 28px;
  position:relative;
  z-index:3;
  box-shadow:0 0 0 6px #faf7f2;
}

.programma-time{
  display:inline-block;
  color:#8b0000;
  font-size:30px;
  letter-spacing:2px;
  margin-bottom:16px;
  font-weight:bold;
  line-height:1;
}

.programma-item h3{
  font-size:19px;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-bottom:10px;
  line-height:1.35;
}

.programma-small-divider{
  width:66px;
  height:auto;
  margin:0 auto 15px;
  display:block;
  opacity:.88;
}

.programma-item p{
  max-width:215px;
  margin:0 auto;
  font-size:16px;
  line-height:1.7;
}

.programma-footer{
  margin-top:68px;
}

.programma-footer-decoration{
  width:220px;
  height:auto;
  margin:0 auto 18px;
  display:block;
}

.programma-footer p{
  font-size:20px;
  line-height:1.7;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.gallery-grid img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:24px;
}

form{
  display:grid;
  gap:16px;
  max-width:600px;
  margin:auto;
  background:white;
  padding:30px;
  border-radius:28px;
}

input,
select,
textarea{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #d8c7bd;
}

textarea{
  min-height:120px;
}

button{
  padding:14px 24px;
  border:none;
  border-radius:999px;
  background:#8b0000;
  color:white;
  cursor:pointer;
}

/* RSVP PREMIUM */

#rsvp form{
  gap:22px;
  padding:42px;
}

#rsvp input,
#rsvp select,
#rsvp textarea{
  padding:18px 20px;
  border-radius:22px;
  font-size:18px;
  background:#fff;
  border:1px solid rgba(196,154,84,.32);
  font-family:inherit;
}

#rsvp textarea{
  min-height:105px;
  resize:none;
}

.hidden-fields{
  display:none;
}

.show-fields{
  display:grid;
  gap:22px;
}

#numero_pernottamento.show-fields{
  display:block;
}

.sleep-box{
  padding:4px 2px 0;
}

.sleep-title{
  font-size:24px;
  color:#8b0000;
  margin-bottom:10px;
  text-align:left;
}

.sleep-description{
  font-size:16px;
  line-height:1.7;
  color:#6d625c;
  margin-bottom:18px;
}

.rsvp-note{
  text-align:center;
  font-size:14px;
  color:#8c8178;
  line-height:1.6;
  margin-top:-4px;
}

#form-message{
  text-align:center;
  color:#23412e;
  font-size:15px;
}

@media(max-width:700px){

  #rsvp form{
    padding:28px 20px;
    gap:18px;
  }

  #rsvp input,
  #rsvp select,
  #rsvp textarea{
    font-size:16px;
    padding:16px 18px;
    border-radius:18px;
  }

  .sleep-title{
    font-size:22px;
  }

}

footer{
  text-align:center;
  padding:40px 20px;
  background:#23412e;
  color:white;
}

/* NEVE */

.snow{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:9999;
  overflow:hidden;
}

.snow::before,
.snow::after{
  content:"";
  position:absolute;
  top:-100%;
  left:0;
  width:100%;
  height:300%;
  background-image:
    radial-gradient(white 1px,transparent 1px),
    radial-gradient(white 2px,transparent 2px),
    radial-gradient(white 3px,transparent 3px);

  background-size:
    120px 120px,
    200px 200px,
    300px 300px;

  animation:snowFall 18s linear infinite;
}

.snow::after{
  animation-duration:28s;
  opacity:.5;
}

@keyframes snowFall{
  from{
    transform:translateY(-30%);
  }

  to{
    transform:translateY(30%);
  }
}

@media(max-width:700px){
  .countdown-box{
    grid-template-columns:repeat(2,1fr);
  }
}

/* SCHERMATA INVITO */

.invitation-screen {
  position: fixed;
  inset: 0;
  z-index: 20000;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.25), transparent 35%),
    linear-gradient(135deg, #23412e, #8b0000);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 1s ease, visibility 1s ease;
}

.invitation-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-card {
  position: relative;
  width: min(92vw, 520px);
  min-height: 330px;
  background: #faf2e8;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
}

.envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55%;
  background: #e5cfbb;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 3;
  transform-origin: top;
  transition: transform 1s ease;
}

.invitation-screen.opening .envelope-flap {
  transform: rotateX(180deg);
}

.envelope-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 80px 34px 40px;
  color: #2f2a28;
}

.envelope-content h2 {
  font-size: clamp(38px, 8vw, 62px);
  margin: 12px 0;
  color: #8b0000;
}

.invitation-small {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: #23412e;
}

.invitation-date {
  font-size: 20px;
  color: #23412e;
}

.open-invitation-button {
  margin-top: 26px;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  background: #8b0000;
  color: white;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
}

/* LOCATION PAGE */

.location-hero{
  min-height:60vh;
}

.location-card{
  max-width:700px;
  margin:40px auto 0;
  background:white;
  padding:40px;
  border-radius:28px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.location-card h3{
  font-size:32px;
  margin-bottom:14px;
  color:#8b0000;
}

.location-card p{
  margin-bottom:26px;
  font-size:18px;
}

.map-button{
  display:inline-block;
  padding:14px 28px;
  border-radius:999px;
  background:#23412e;
  color:white;
  text-decoration:none;
  transition:.25s ease;
}

.map-button:hover{
  transform:translateY(-2px);
  background:#183021;
}

/* LOCATION PAGE PREMIUM */

.location-page {
  background: #fffaf3;
}

.location-page .location-hero {
  min-height: 42vh;
  background:
    linear-gradient(rgba(20, 20, 15, .55), rgba(70, 25, 15, .55)),
    url("images/viale.png")
    center/cover no-repeat;
  position: relative;
}

.location-page .location-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  background: #fffaf3;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.location-main {
  position: relative;
  padding: 30px 20px 60px;
}

.location-intro {
  text-align: center;
  padding: 0 20px 30px;
}

.location-intro h2 {
  color: #8b0000;
  font-size: clamp(34px, 5vw, 52px);
}

.decor {
  color: #c49a54;
  font-size: 34px;
}

.decor-line {
  color: #c49a54;
  font-size: 30px;
  margin-top: -16px;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
}

.venue-card {
  background: white;
  border-radius: 18px;
  padding: 26px 26px 34px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(80, 50, 30, .12);
  border: 1px solid rgba(196, 154, 84, .18);
}

.venue-card img {
  width: 100%;
  height: 310px;
  object-fit: contain;
  margin-bottom: 12px;
}

.venue-type {
  color: #8b0000;
  font-weight: bold;
  font-size: 20px;
  margin-top: 8px;
}

.venue-card h3 {
  font-size: 28px;
  color: #2f2a28;
  margin: 6px 0;
}

.venue-place {
  color: #9b8c7a;
  font-size: 18px;
  margin-bottom: 20px;
}

.location-page .map-button {
  display: inline-block;
  background: #23412e;
  color: white;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(35, 65, 46, .22);
}

.back-home {
  text-align: center;
  margin-top: 42px;
}

.back-home a {
  color: #c49a54;
  text-decoration: none;
  font-size: 16px;
}

@media (max-width: 800px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .venue-card img {
    height: 240px;
  }
}

/* LOGO */

.hero-logo {
  width: 230px;
  max-width: 72%;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, .45));
  animation: fadeInLogo 1.4s ease both;
}

.location-logo {
  width: 190px;
}

.invitation-logo {
  width: 170px;
  max-width: 72%;
  height: auto;
  margin: 0 auto 16px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, .35));
}

.footer-logo {
  width: 105px;
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, .35));
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card,
.countdown-item,
.venue-card,
form {
  box-shadow: 0 18px 45px rgba(80, 50, 30, .08);
  border: 1px solid rgba(196, 154, 84, .16);
}

.button:hover,
button:hover,
.map-button:hover {
  transform: translateY(-2px);
}

.button,
button,
.map-button {
  transition:.25s ease;
}

/* MOBILE */

@media(max-width:900px) {
  nav ul{
    gap:22px;
  }

  nav a{
    font-size:18px;
  }

  .nav-lista-nozze{
    padding:10px 18px;
  }

  .programma-section{
    padding:82px 18px;
  }

  .programma-timeline{
    max-width:520px;
    grid-template-columns:1fr;
    gap:46px;
  }

  .programma-timeline::before{
    top:0;
    bottom:0;
    left:50%;
    right:auto;
    width:1px;
    height:auto;
    background:linear-gradient(180deg, transparent, rgba(196,154,84,.65), transparent);
  }

  .programma-item{
    background:#faf7f2;
    padding-bottom:4px;
  }

  .programma-dot{
    box-shadow:0 0 0 7px #faf7f2;
  }
}

@media(max-width:700px) {
  html,
  body{
    width:100%;
    overflow-x:hidden;
  }

  header{
    min-height:100svh;
    padding:0;
  }

  .homepage-hero{
    width:100%;
    min-height:100svh;
    padding:0;
    background:
      linear-gradient(rgba(18,43,30,.52),rgba(80,20,20,.60)),
      url("images/background-homepage-v2.png")
      72% center/cover no-repeat;
    background-color:#120f0d;
  }

  .hero-homepage{
    width:100%;
    max-width:none;
    min-height:100svh;
    padding:92px 22px 76px;
    justify-content:center;
  }

  .homepage-logo{
    width:180px;
    max-width:62vw;
    margin-bottom:24px;
  }

  .homepage-eyebrow{
    font-size:11px;
    letter-spacing:5px;
    margin-bottom:16px;
  }

  .homepage-names{
    font-size:clamp(48px,15.5vw,66px);
    line-height:.96;
    max-width:94vw;
    margin-bottom:24px;
    overflow-wrap:normal;
  }

  .homepage-date{
    font-size:17px;
    letter-spacing:4px;
    white-space:nowrap;
  }

  .homepage-button{
    max-width:88vw;
    margin-top:30px;
    padding:14px 28px;
    font-size:15px;
    line-height:1.2;
  }

  nav ul{
    gap:16px;
    padding:14px 10px;
  }

  nav a{
    font-size:17px;
  }

  .nav-lista-nozze{
    padding:9px 15px;
  }

  .nav-gift-icon{
    font-size:16px;
  }

  .hero-logo {
    width: 180px;
    margin-bottom: 18px;
  }

  .invitation-logo {
    width: 135px;
  }

  .location-logo {
    width: 155px;
  }

  .programma-top-decoration{
    width:58px;
  }

  .programma-section h2{
    font-size:clamp(34px,11vw,50px);
  }

  .programma-divider{
    width:160px;
  }

  .programma-subtitle{
    font-size:18px;
  }

  .programma-icon-wrapper{
    width:112px;
    height:112px;
  }

  .programma-icon{
    width:58px;
    height:58px;
  }

  .programma-time{
    font-size:26px;
  }

  .programma-item h3{
    font-size:18px;
    letter-spacing:2.5px;
  }

  .programma-footer-decoration{
    width:190px;
  }

  .programma-footer p{
    font-size:18px;
  }
}

/* REGALI PAGE */

.regali-page{
  background:#faf7f2;
}

.regali-hero{
  max-width:900px;
  margin:0 auto;
  text-align:center;
  padding:90px 20px 40px;
}

.regali-intro{
  max-width:760px;
  margin:24px auto 0;
  font-size:20px;
  line-height:1.9;
  color:#6d625c;
}

.regali-grid{
  max-width:1200px;
  margin:30px auto 90px;
  display:grid;
  grid-template-columns:repeat(2,minmax(320px,1fr));
  gap:36px;
  padding:0 20px;
}

.regalo-card{
  background:white;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(80,50,30,.10);
  border:1px solid rgba(196,154,84,.14);
  transition:.35s ease;
}

.regalo-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 70px rgba(80,50,30,.16);
}

.regalo-card img{
  width:100%;
  height:340px;
  object-fit:cover;
  display:block;
}

.regalo-content{
  padding:30px;
  text-align:center;
}

.regalo-content h2{
  font-size:34px;
  margin-bottom:16px;
  color:#8b0000;
}

.regalo-content p{
  font-size:18px;
  line-height:1.8;
  color:#4d4541;
  margin-bottom:22px;
}

.regalo-content span{
  display:block;
  font-size:15px;
  line-height:1.7;
  color:#9b8c7a;
  margin-bottom:26px;
  font-style:italic;
}

.regalo-content button{
  background:#23412e;
  color:white;
  border:none;
  padding:14px 28px;
  border-radius:999px;
  font-size:15px;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:0 12px 24px rgba(35,65,46,.18);
}

.regalo-content button:hover{
  transform:translateY(-2px);
  background:#183021;
}

@media(max-width:900px){

  .regali-grid{
    grid-template-columns:1fr;
    gap:28px;
  }

  .regalo-card img{
    height:280px;
  }

  .regali-intro{
    font-size:18px;
  }

  .regalo-content h2{
    font-size:30px;
  }
}

/* FLOATING HOME BUTTON */

.floating-home{
  position:fixed;
  right:22px;
  bottom:22px;
  width:74px;
  height:74px;
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:transparent;
  border:none;
  border-radius:50%;
  filter:drop-shadow(0 14px 26px rgba(0,0,0,.28));
  transition:.25s ease;
}

.floating-home img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.floating-home:hover{
  transform:translateY(-3px) scale(1.04);
  filter:
    drop-shadow(0 18px 34px rgba(0,0,0,.32))
    drop-shadow(0 0 18px rgba(212,175,55,.35));
}

.floating-home::after{
  content:"Torna alla home";
  position:absolute;
  right:86px;
  white-space:nowrap;
  background:rgba(35,65,46,.92);
  color:#fff7e8;
  padding:10px 14px;
  border-radius:999px;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transform:translateX(8px);
  transition:.25s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.16);
}

.floating-home:hover::after{
  opacity:1;
  transform:translateX(0);
}

@media(max-width:700px){

  .floating-home{
    width:62px;
    height:62px;
    right:14px;
    bottom:14px;
  }

  .floating-home::after{
    display:none;
  }
}

/* GIFT MODAL */

.gift-modal{
  position:fixed;
  inset:0;
  background:rgba(20,15,12,.58);
  backdrop-filter:blur(8px);
  z-index:20000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.gift-modal.open{
  display:flex;
}

.gift-modal-box{
  width:min(92vw,620px);
  max-height:90vh;
  overflow:auto;
  background:#fffaf3;
  border-radius:30px;
  padding:34px;
  position:relative;
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  border:1px solid rgba(196,154,84,.24);
}

.gift-close{
  position:absolute;
  top:18px;
  right:18px;
  width:40px;
  height:40px;
  padding:0;
  background:transparent;
  color:#8b0000;
  font-size:24px;
}

.gift-modal-box h2{
  font-size:40px;
  margin-bottom:14px;
}

.gift-modal-text{
  text-align:center;
  color:#6d625c;
  font-size:18px;
  line-height:1.7;
  margin-bottom:24px;
}

#giftForm{
  box-shadow:none;
  border:none;
  padding:0;
  background:transparent;
}

.iban-box{
  display:none;
  margin-top:24px;
  padding:22px;
  border-radius:22px;
  background:rgba(196,154,84,.10);
  border:1px dashed rgba(196,154,84,.55);
}

.iban-box.open{
  display:block;
}

.iban-box p{
  margin-bottom:16px;
  color:#2f2a28;
}

.iban-details{
  display:grid;
  gap:8px;
  margin-bottom:18px;
  word-break:break-word;
}

.iban-details span{
  color:#6d625c;
}

.iban-details button{
  justify-self:start;
  background:#23412e;
  font-size:14px;
  padding:10px 18px;
}

.confirm-transfer{
  width:100%;
  margin-top:8px;
}

@media(max-width:700px){
  .gift-modal-box{
    padding:28px 20px;
    border-radius:24px;
  }

  .gift-modal-box h2{
    font-size:32px;
  }
}

/* GIFT SUCCESS POPUP */

.gift-success{
  position:fixed;
  inset:0;
  background:rgba(20,15,12,.45);
  backdrop-filter:blur(8px);
  z-index:25000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.gift-success.open{
  display:flex;
}

.gift-success-box{
  width:min(90vw,520px);
  background:#fffaf3;
  border-radius:30px;
  padding:36px 28px;
  text-align:center;
  box-shadow:0 30px 90px rgba(0,0,0,.32);
  border:1px solid rgba(196,154,84,.24);
}

.gift-success-box h2{
  color:#8b0000;
  font-size:40px;
  margin-bottom:16px;
}

.gift-success-box p{
  color:#6d625c;
  font-size:18px;
  line-height:1.7;
}

/* HAMBURGER MENU */

.menu-toggle{
  position:fixed;
  top:26px;
  right:26px;
  width:56px;
  height:56px;
  padding:0;
  border-radius:50%;
  background:rgba(35,65,46,.78);
  border:1px solid rgba(255,255,255,.38);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  cursor:pointer;
  z-index:30000;
  box-shadow:0 12px 30px rgba(0,0,0,.22);
}

.menu-toggle span{
  width:24px;
  height:2px;
  background:#fff7e8;
  border-radius:999px;
  display:block;
  transition:.3s ease;
  transform-origin:center;
}

.menu-toggle.open span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2){
  opacity:0;
}

.menu-toggle.open span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

.side-overlay{
  position:fixed;
  inset:0;
  background:rgba(15,10,8,.36);
  backdrop-filter:blur(4px);
  opacity:0;
  visibility:hidden;
  transition:.35s ease;
  z-index:19998;
}

.side-overlay.open{
  opacity:1;
  visibility:visible;
}

.side-menu{
  position:fixed;
  top:0;
  right:-340px;
  width:310px;
  max-width:82vw;
  height:100vh;
  background:#fffaf3;
  border-left:1px solid rgba(196,154,84,.22);
  box-shadow:-14px 0 45px rgba(0,0,0,.16);
  padding:34px 30px;
  z-index:20000;
  transition:right .42s cubic-bezier(.77,0,.18,1);
  display:flex;
  flex-direction:column;
}

.side-menu.open{
  right:0;
}

.side-logo{
  width:130px;
  margin:24px auto 42px;
  display:block;
}

.side-menu .side-nav{
  position:static;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:22px;
  padding:0;
  background:transparent;
  box-shadow:none;
  border:none;
  backdrop-filter:none;
}

.side-menu .side-nav a{
  color:#2f2a28;
  text-decoration:none;
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:30px;
  line-height:1.1;
}

.side-menu .side-nav a:hover{
  color:#8b0000;
}

@media(max-width:700px){
  .menu-toggle{
    width:48px;
    height:48px;
    top:16px;
    right:16px;
    gap:5px;
  }

  .menu-toggle span{
    width:22px;
  }

  .side-menu{
    width:72vw;
    max-width:300px;
    padding:30px 22px;
  }

  .side-logo{
    width:92px;
    margin:18px auto 34px;
  }

  .side-menu .side-nav{
    gap:20px;
  }

  .side-menu .side-nav a{
    font-size:24px;
  }
}

/* MOBILE HERO FIX */
@media(max-width:900px){
  html,
  body{
    width:100%;
    overflow-x:hidden;
  }

  .homepage-hero,
  .snow{
    max-width:100vw;
    overflow:hidden;
  }

  .hero-homepage{
    box-sizing:border-box;
  }
}

@media(max-width:900px){

  .menu-toggle{
    width:48px;
    height:48px;
    top:16px;
    right:16px;
    gap:5px;
  }

  .menu-toggle span{
    width:22px;
  }

  .side-menu{
    width:280px;
    max-width:68vw;
    right:-300px;
    padding:30px 22px;
  }

  .side-menu.open{
    right:0;
  }

  .side-logo{
    width:82px;
    margin:18px auto 34px;
  }

  .side-menu .side-nav{
    gap:18px;
  }

  .side-menu .side-nav a{
    font-size:22px;
  }

}

/* LOCATION HERO MOBILE FIX */

.location-page .location-hero .hero{
  position:relative;
  z-index:2;
}

@media(max-width:700px){

  .location-page .location-hero{
    min-height:68svh;
    padding:90px 20px 120px;
    align-items:center;
  }

  .location-page .location-hero h1{
    font-size:clamp(46px,14vw,70px);
    line-height:.95;
    margin-bottom:14px;
  }

  .location-page .location-hero::after{
    height:46px;
  }

}

/* MUSIC PLAYER */

.music-player{
  position:fixed;
  left:20px;
  bottom:20px;
  z-index:30000;
}

#musicToggle{
  background:rgba(35,65,46,.92);
  color:#fff7e8;
  border:none;
  border-radius:999px;
  padding:12px 18px;
  font-size:14px;
  cursor:pointer;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 24px rgba(0,0,0,.22);
  transition:.25s ease;
}

#musicToggle:hover{
  transform:translateY(-2px);
}

@media(max-width:700px){

  .music-player{
    left:14px;
    bottom:14px;
  }

  #musicToggle{
    font-size:13px;
    padding:10px 16px;
  }

}

/* ESPLORA IL SANNIO */

.esplora-page{
  background:#fffaf3;
}

.esplora-hero{
  min-height:62vh;
  background:
    linear-gradient(rgba(20,20,15,.50),rgba(70,25,15,.58)),
    url("images/viale.png") center/cover no-repeat;
}

.esplora-hero-text{
  max-width:760px;
  margin:24px auto 0;
  font-size:21px;
  line-height:1.8;
  color:#fff7e8;
}

.esplora-main{
  padding:30px 20px 70px;
}

.esplora-intro,
.heart-places-section{
  text-align:center;
  max-width:1000px;
  margin:0 auto;
}

.must-see-grid{
  max-width:1180px;
  margin:0 auto 90px;
  display:grid;
  grid-template-columns:repeat(2,minmax(320px,1fr));
  gap:34px;
  padding:0;
}

.must-see-card,
.heart-place-card{
  background:white;
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(196,154,84,.18);
  box-shadow:0 20px 60px rgba(80,50,30,.10);
  transition:.35s ease;
}

.must-see-card:hover,
.heart-place-card:hover{
  transform:translateY(-4px);
  box-shadow:0 28px 70px rgba(80,50,30,.16);
}

.must-see-image,
.heart-place-image{
  background:#e8ddd1;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  position:relative;
  transition:.7s ease;
}

.must-see-image{
  height:320px;
}

.heart-place-image{
  height:230px;
}

.must-see-image::after,
.heart-place-image::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(60,35,20,.08),
    rgba(35,20,15,.20)
  );
}

.must-see-card:hover .must-see-image,
.heart-place-card:hover .heart-place-image{
  transform:scale(1.04);
}

.must-see-image.santagata{
  background-image:url("images/esplora/santagata-de-goti.jpg");
}

.must-see-image.grassano{
  background-image:url("images/esplora/parco-del-grassano.jpg");
}

.must-see-image.benevento{
  background-image:url("images/esplora/benevento.jpg");
}

.must-see-image.cerreto{
  background-image:url("images/esplora/cerreto-sannita.jpg");
}

.must-see-image.telese{
  background-image:url("images/esplora/telese-terme.jpg");
}

.must-see-image.caserta{
  background-image:url("images/esplora/reggia-di-caserta.jpg");
}

.must-see-image.acquedotto{
  background-image:url("images/esplora/acquedotto-carolino.jpg");
}

.heart-place-image.foro{
  background-image:url("images/esplora/foro-dei-baroni.jpg");
}

.heart-place-image.historia{
  background-image:url("images/esplora/historia-birreria.jpg");
}

.heart-place-image.pepe{
  background-image:url("images/esplora/pepe-in-grani.jpg");
}

.heart-place-image.europa{
  background-image:url("images/esplora/bar-europa-la-cucchiara.jpg");
}

.heart-place-image.minerva{
  background-image:url("images/esplora/pasticceria-la-minerva.jpg");
}

.heart-place-image.big{
  background-image:url("images/esplora/bar-big.jpg");
}

.must-see-content{
  padding:34px 30px 36px;
  text-align:center;
  background:white;
  position:relative;
  z-index:2;
}

.must-see-content::before{
  content:"";
  display:block;
  width:70px;
  height:1px;
  background:#c49a54;
  margin:0 auto 20px;
}

.must-see-label{
  color:#c49a54;
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:12px;
  margin-bottom:10px;
}

.must-see-content h3,
.heart-place-card h3{
  font-family:'Cormorant Garamond', Georgia, serif;
  font-size:36px;
  color:#8b0000;
  line-height:1.1;
  margin-bottom:14px;
}

.must-see-content p{
  color:#5f5650;
  font-size:18px;
  line-height:1.75;
  margin-bottom:18px;
}

.must-see-content span{
  display:block;
  color:#9b8c7a;
  font-style:italic;
  margin-bottom:22px;
}

.heart-places-section{
  padding-top:30px;
}

.heart-places-intro{
  max-width:780px;
  margin:0 auto 38px;
  font-size:20px;
  line-height:1.8;
  color:#6d625c;
}

.heart-places-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(220px,1fr));
  gap:24px;
  max-width:1050px;
  margin:0 auto;
}

.heart-place-card{
  padding-bottom:30px;
  text-align:center;
}

.heart-place-card h3{
  padding:28px 22px 0;
}

.heart-place-card p{
  color:#9b8c7a;
  font-size:18px;
  margin-bottom:20px;
  padding:0 22px;
}

.heart-place-card small{
  display:block;
  color:#6d625c;
  font-style:italic;
  margin:-8px 22px 20px;
}

.heart-place-card .map-button,
.must-see-content .map-button{
  margin-top:6px;
}

@media(max-width:900px){
  .must-see-grid,
  .heart-places-grid{
    grid-template-columns:1fr;
  }

  .esplora-hero{
    min-height:70svh;
    padding:90px 20px 100px;
  }

  .esplora-hero-text{
    font-size:18px;
  }

  .must-see-image{
    height:250px;
  }

  .heart-place-image{
    height:230px;
  }
}

/* LINK PRIVACY NEL FOOTER */

.footer-privacy {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.footer-privacy a {
  color: #f0d7a1;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 215, 161, 0.45);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.footer-privacy a:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* ==================================================
   PRIVACY POLICY
================================================== */

.privacy-page {
  background: #f8f3eb;
  color: #302a27;
}

.privacy-page a {
  color: #7b002c;
}

/* HERO */

.privacy-hero {
  position: relative;
  min-height: 78vh;
  padding: 110px 24px 125px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #302a27;

  background:
    radial-gradient(
      circle at 18% 15%,
      rgba(255, 255, 255, 0.92),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #f8f0e6,
      #e4d4c1
    );
}

.privacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0.35;
  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(123, 0, 44, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(123, 0, 44, 0.025) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 68px;

  background: #f8f3eb;
  border-radius: 52% 52% 0 0 / 100% 100% 0 0;
}

.privacy-hero-inner {
  position: relative;
  z-index: 1;

  width: min(1180px, 100%);
  margin: 0 auto;

  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(320px, 0.9fr);

  gap: 60px;
  align-items: center;
}

.privacy-hero-copy {
  text-align: left;
}

.privacy-hero-logo {
  width: 150px;
  max-width: 45%;
  height: auto;
  margin-bottom: 28px;
}

.privacy-eyebrow,
.privacy-section-number,
.privacy-summary-label {
  color: #a47a3a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.privacy-hero h1 {
  margin: 12px 0 22px;

  color: #4b0015;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(64px, 9vw, 116px);
  font-weight: 400;
  line-height: 0.88;
  text-align: left;
}

.privacy-hero-description {
  max-width: 650px;
  margin: 0;

  color: #5f5550;
  font-size: 21px;
  line-height: 1.75;
}

.privacy-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-hero-illustration svg {
  width: min(100%, 460px);
  height: auto;

  filter:
    drop-shadow(0 28px 28px rgba(78, 49, 32, 0.15));
}

/* CONTENITORE */

.privacy-main {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 95px;
}


/* RESET DELLE REGOLE GLOBALI SOLO PER LA PAGINA PRIVACY */
.privacy-main > section {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* RIEPILOGO */

.privacy-summary {
  position: relative;
  z-index: 2;

  margin: -10px auto 86px;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  background: #ffffff;
  border: 1px solid rgba(196, 154, 84, 0.2);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(78, 49, 32, 0.09);

  overflow: hidden;
}

.privacy-summary article {
  padding: 30px 28px;
}

.privacy-summary article + article {
  border-left: 1px solid rgba(196, 154, 84, 0.22);
}

.privacy-summary strong {
  display: block;
  margin: 8px 0 7px;

  color: #4b0015;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
  line-height: 1.1;
}

.privacy-summary p {
  color: #6e635d;
  font-size: 15px;
  line-height: 1.65;
}

/* INTRODUZIONE */

.privacy-opening {
  max-width: 800px;
  margin: 0 auto 70px;
  padding: 0;
  text-align: center;
}

.privacy-opening h2,
.privacy-story h2,
.privacy-panel h2,
.privacy-services-section h2,
.privacy-security h2,
.privacy-retention h2,
.privacy-rights h2,
.privacy-update h2 {
  margin: 10px 0 22px;

  color: #4b0015;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(39px, 5vw, 61px);
  font-weight: 400;
  line-height: 1.02;
  text-align: inherit;
}

.privacy-opening p,
.privacy-story p,
.privacy-panel p,
.privacy-services-section p,
.privacy-security p,
.privacy-retention p,
.privacy-rights p,
.privacy-update p,
.privacy-story li,
.privacy-security li,
.privacy-rights li {
  font-size: 17px;
  line-height: 1.82;
}

.privacy-opening p + p {
  margin-top: 14px;
}

/* SEZIONI ALTERNATE */

.privacy-story {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.85fr)
    minmax(0, 1.15fr);

  gap: 72px;
  align-items: center;

  padding: 82px 0;
  scroll-margin-top: 70px;

  border-top: 1px solid rgba(196, 154, 84, 0.23);
}

.privacy-story-reverse .privacy-story-visual {
  order: 2;
}

.privacy-story-reverse .privacy-story-copy {
  order: 1;
}

.privacy-story-visual {
  min-height: 420px;
  padding: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(255, 255, 255, 0.95),
      transparent 48%
    ),
    linear-gradient(
      145deg,
      #eadac8,
      #f6eee4
    );

  border: 1px solid rgba(196, 154, 84, 0.25);
  border-radius: 210px 210px 28px 28px;
  box-shadow: 0 24px 55px rgba(78, 49, 32, 0.08);
}

.privacy-story-visual svg {
  width: min(78%, 320px);
  height: auto;
}

.privacy-services-visual svg {
  display: block;
  flex: 0 0 auto;
  width: min(78%, 300px);
  max-width: 300px;
  max-height: 260px;
  height: auto;
}

.privacy-security-visual svg {
  width: min(82%, 310px);
  height: auto;
}

.privacy-rights-visual svg {
  width: min(78%, 310px);
  height: auto;
}

.privacy-story-copy > p:not(.privacy-section-number) + p {
  margin-top: 14px;
}

.privacy-detail {
  padding: 18px 0;

  border-bottom: 1px solid rgba(196, 154, 84, 0.2);
}

.privacy-detail:last-child {
  border-bottom: 0;
}

.privacy-detail h3,
.privacy-panel-grid h3,
.privacy-retention h3 {
  margin-bottom: 8px;

  color: #7b002c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
}

.privacy-note,
.privacy-transfer {
  margin-top: 14px;
  padding: 14px 16px;

  color: #655c56;
  font-size: 15px !important;

  background: rgba(255, 255, 255, 0.52);
  border-left: 3px solid #c49a54;
}

/* DATI NECESSARI E DESTINATARI */

.privacy-panel,
.privacy-retention {
  padding: 84px 0;
  scroll-margin-top: 70px;

  border-top: 1px solid rgba(196, 154, 84, 0.23);
}

.privacy-panel-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.privacy-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.privacy-panel-grid article {
  min-height: 100%;
  padding: 30px 28px;

  background: #ffffff;
  border: 1px solid rgba(196, 154, 84, 0.2);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(78, 49, 32, 0.06);
}

.privacy-line-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #294332;

  background: #f5f0e8;
  border: 1px solid rgba(41, 67, 50, 0.2);
  border-radius: 14px;
}

.privacy-line-icon svg {
  width: 33px;
  height: 33px;
}

/* SERVIZI TECNOLOGICI */

.privacy-services-section {
  display: grid;
  grid-template-columns:
    minmax(280px, 420px)
    minmax(0, 1fr);

  gap: 68px;
  align-items: center;

  padding: 86px 0;
  scroll-margin-top: 70px;

  border-top: 1px solid rgba(196, 154, 84, 0.23);
}

.privacy-services-visual {
  width: min(100%, 420px);
  min-height: 340px;
  margin: 0 auto;
  padding: 30px;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #294332,
      #1d3426
    );

  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(41, 67, 50, 0.2);
}

.privacy-service-list {
  margin-top: 24px;
}

.privacy-service-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;

  padding: 20px 0;

  border-bottom: 1px solid rgba(196, 154, 84, 0.22);
}

.privacy-service-list > div:last-child {
  border-bottom: 0;
}

.privacy-service-list dt {
  color: #7b002c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
}

.privacy-service-list dd {
  color: #5f5650;
  line-height: 1.72;
}

.privacy-service-list a {
  display: inline-block;
  margin-left: 4px;
}

/* COOKIE E SICUREZZA */

.privacy-security {
  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(300px, 0.85fr);

  gap: 66px;
  align-items: center;

  padding: 60px;
  scroll-margin-top: 70px;

  color: #fffaf0;
  background: #294332;

  border-radius: 34px;
  box-shadow: 0 26px 70px rgba(41, 67, 50, 0.18);
}

.privacy-security h2 {
  color: #f0d7a1;
}

.privacy-security .privacy-section-number {
  color: #d8bf8c;
}

.privacy-security p,
.privacy-security li {
  color: #f7efe4;
}

.privacy-check-list {
  margin-top: 22px;
  padding: 0;

  list-style: none;
}

.privacy-check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
}

.privacy-check-list li::before {
  content: "✓";
  position: absolute;
  top: 8px;
  left: 0;

  color: #e4c98e;
  font-weight: bold;
}

.privacy-security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONSERVAZIONE */

.privacy-retention {
  margin-top: 28px;
}

.privacy-retention-line {
  position: relative;

  height: 2px;
  margin: 12px 11% -2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #c49a54 12%,
      #c49a54 88%,
      transparent
    );
}

.privacy-retention-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.privacy-retention-grid article {
  position: relative;

  padding: 38px 28px 28px;
  text-align: center;
}

.privacy-retention-marker {
  position: absolute;
  top: -7px;
  left: 50%;

  width: 16px;
  height: 16px;

  background: #7b002c;
  border: 4px solid #f8f3eb;
  border-radius: 50%;

  box-shadow: 0 0 0 1px #c49a54;
  transform: translateX(-50%);
}

.privacy-retention-grid article > span {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;

  color: #7b002c;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(196, 154, 84, 0.4);
  border-radius: 999px;
}

/* DIRITTI */

.privacy-rights {
  display: grid;
  grid-template-columns:
    minmax(280px, 0.82fr)
    minmax(0, 1.18fr);

  gap: 70px;
  align-items: center;

  padding: 86px 0;
  scroll-margin-top: 70px;

  border-top: 1px solid rgba(196, 154, 84, 0.23);
}

.privacy-rights-visual {
  min-height: 410px;
  padding: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.9),
      transparent 50%
    ),
    linear-gradient(
      145deg,
      #e9dac8,
      #f8f1e8
    );

  border: 1px solid rgba(196, 154, 84, 0.24);
  border-radius: 30px;
}

.privacy-rights-copy ul {
  margin: 18px 0;
  padding-left: 22px;
}

.privacy-rights-copy li {
  margin-bottom: 5px;
}

/* PULSANTE CONTATTO */

.privacy-contact-button {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 28px;

  color: #ffffff !important;
  text-decoration: none;

  background: #7b002c;
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(123, 0, 44, 0.18);

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.privacy-contact-button:hover {
  background: #4b0015;

  box-shadow: 0 16px 30px rgba(75, 0, 21, 0.22);
  transform: translateY(-2px);
}

/* AGGIORNAMENTI */

.privacy-update {
  max-width: 800px;
  margin: 10px auto 0;
  padding: 52px 44px;

  text-align: center;

  background: #ffffff;
  border: 1px solid rgba(196, 154, 84, 0.2);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(78, 49, 32, 0.06);
}

.privacy-update p {
  color: #655c56;
}

.privacy-update small {
  display: block;
  margin-top: 22px;

  color: #9b8c7a;
  font-size: 14px;
}

/* RITORNO HOME */

.privacy-back {
  margin-top: 46px;
  text-align: center;
}

.privacy-back a {
  display: inline-block;

  color: #7b002c;
  font-size: 17px;
  text-decoration: none;

  border-bottom: 1px solid rgba(123, 0, 44, 0.35);

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.privacy-back a:hover {
  color: #4b0015;
  border-color: #4b0015;
}

/* RESPONSIVE TABLET */

@media (max-width: 900px) {

  .privacy-hero-inner,
  .privacy-story,
  .privacy-services-section,
  .privacy-security,
  .privacy-rights {
    grid-template-columns: 1fr;
  }

  .privacy-hero-inner {
    max-width: 760px;
    gap: 42px;
  }

  .privacy-hero-copy {
    text-align: center;
  }

  .privacy-hero h1 {
    text-align: center;
  }

  .privacy-hero-logo {
    margin-right: auto;
    margin-left: auto;
  }

  .privacy-hero-description {
    margin-right: auto;
    margin-left: auto;
  }

  .privacy-hero-illustration svg {
    width: min(78%, 420px);
  }

  .privacy-story {
    gap: 38px;
  }

  .privacy-story-reverse .privacy-story-visual,
  .privacy-story-reverse .privacy-story-copy {
    order: initial;
  }

  .privacy-story-visual {
    min-height: 340px;
  }

  .privacy-story-visual svg {
    width: min(72%, 360px);
  }

  .privacy-panel-grid,
  .privacy-retention-grid {
    grid-template-columns: 1fr;
  }

  .privacy-retention-line {
    display: none;
  }

  .privacy-retention-grid article {
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(196, 154, 84, 0.2);
    border-radius: 24px;
  }

  .privacy-retention-marker {
    display: none;
  }

  .privacy-services-visual,
  .privacy-rights-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .privacy-security {
    padding: 48px 40px;
  }

  .privacy-security-visual {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* RESPONSIVE MOBILE */

@media (max-width: 700px) {

  .privacy-hero {
    min-height: auto;
    padding: 100px 20px 105px;
  }

  .privacy-hero::after {
    height: 44px;
  }

  .privacy-hero-inner {
    gap: 28px;
  }

  .privacy-hero-logo {
    width: 115px;
    margin-bottom: 22px;
  }

  .privacy-eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .privacy-hero h1 {
    margin-top: 10px;

    font-size: clamp(50px, 16vw, 70px);
    line-height: 0.94;
  }

  .privacy-hero-description {
    max-width: 540px;

    font-size: 17px;
    line-height: 1.65;
  }

  .privacy-hero-illustration svg {
    width: min(90%, 330px);
  }

  .privacy-main {
    width: min(100% - 30px, 1140px);
    padding-bottom: 70px;
  }

  .privacy-summary {
    grid-template-columns: 1fr;

    margin-bottom: 60px;
    border-radius: 22px;
  }

  .privacy-summary article {
    padding: 24px 22px;
  }

  .privacy-summary article + article {
    border-top: 1px solid rgba(196, 154, 84, 0.22);
    border-left: 0;
  }

  .privacy-summary strong {
    font-size: 23px;
  }

  .privacy-opening {
    margin-bottom: 45px;
  }

  .privacy-opening h2,
  .privacy-story h2,
  .privacy-panel h2,
  .privacy-services-section h2,
  .privacy-security h2,
  .privacy-retention h2,
  .privacy-rights h2,
  .privacy-update h2 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .privacy-opening p,
  .privacy-story p,
  .privacy-panel p,
  .privacy-services-section p,
  .privacy-security p,
  .privacy-retention p,
  .privacy-rights p,
  .privacy-update p,
  .privacy-story li,
  .privacy-security li,
  .privacy-rights li {
    font-size: 16px;
    line-height: 1.75;
  }

  .privacy-story,
  .privacy-services-section,
  .privacy-rights {
    padding: 58px 0;
  }

  .privacy-story-visual {
    min-height: 280px;
    padding: 18px;

    border-radius: 150px 150px 24px 24px;
  }

  .privacy-story-visual svg {
    width: min(82%, 300px);
  }

  .privacy-detail h3,
  .privacy-panel-grid h3,
  .privacy-retention h3 {
    font-size: 25px;
  }

  .privacy-panel,
  .privacy-retention {
    padding: 58px 0;
  }

  .privacy-panel-grid article {
    padding: 25px 22px;
  }

  .privacy-services-section {
    gap: 38px;
  }

  .privacy-services-visual {
    width: min(100%, 340px);
    min-height: 270px;
    padding: 18px;
    border-radius: 24px;
  }

  .privacy-services-visual svg {
    width: min(78%, 240px);
    max-width: 240px;
    max-height: 220px;
  }

  .privacy-service-list > div {
    grid-template-columns: 1fr;
    gap: 8px;

    padding: 18px 0;
  }

  .privacy-service-list dt {
    font-size: 22px;
  }

  .privacy-security {
    gap: 34px;
    padding: 38px 24px;

    border-radius: 26px;
  }

  .privacy-security-visual svg {
    width: min(92%, 300px);
  }

  .privacy-retention-grid {
    gap: 18px;
  }

  .privacy-retention-grid article {
    padding: 24px 21px;
  }

  .privacy-rights {
    gap: 38px;
  }

  .privacy-rights-visual {
    min-height: 290px;
    padding: 18px;
  }

  .privacy-rights-visual svg {
    width: min(82%, 300px);
  }

  .privacy-contact-button {
    width: 100%;
    padding: 14px 18px;

    text-align: center;
  }

  .privacy-update {
    padding: 38px 23px;
    border-radius: 24px;
  }
}