/* V108 - pagina Vivere Gallipoli: allineamento, foto full-card, stile premium */
body{background:#fbf7ef!important;color:#19342d}
.vivere-v108{background:#fbf7ef;overflow:hidden}
.vivere-hero-v108{position:relative;min-height:68vh;display:flex;align-items:center;padding:72px clamp(20px,5vw,86px);isolation:isolate;background:#17342e;overflow:hidden}
.vivere-hero-v108:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,38,33,.72) 0%,rgba(14,38,33,.42) 44%,rgba(14,38,33,.12) 100%),linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.06) 55%,rgba(251,247,239,.35) 100%),url('/assets/img/photos/mura-gallipoli-tramonto.webp'),url('/assets/img/photos/foto-gallipoli-tramonto-centro-storico.jpg');background-size:cover;background-position:center center;z-index:-2;transform:scale(1.01)}
.vivere-hero-v108:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:130px;background:linear-gradient(180deg,rgba(251,247,239,0),#fbf7ef 92%);z-index:-1;pointer-events:none}
.vivere-hero-card{max-width:760px;color:#fff;position:relative;padding:24px 0}
.vivere-kicker{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:clamp(1.35rem,2.4vw,2.25rem);letter-spacing:.035em;color:#f1d08a;text-shadow:0 4px 24px rgba(0,0,0,.35);margin:0 0 8px}
.vivere-hero-card h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(3.8rem,8vw,8.4rem);line-height:.88;letter-spacing:-.06em;margin:0 0 22px;color:#fff;text-shadow:0 8px 28px rgba(0,0,0,.42),0 18px 70px rgba(0,0,0,.28)}
.vivere-hero-card h1 em{font-style:italic;color:#f3c979;font-weight:500;display:inline-block;transform:translateY(-.04em)}
.vivere-hero-card .lead{max-width:660px;font-size:clamp(1.08rem,1.5vw,1.34rem);line-height:1.65;color:rgba(255,255,255,.93);text-shadow:0 3px 16px rgba(0,0,0,.35);margin:0 0 30px}
.vivere-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.vivere-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:15px 26px;text-decoration:none;font-weight:800;letter-spacing:.02em;overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}.vivere-btn.primary{background:#c99b4e;color:#fff;box-shadow:0 18px 42px rgba(201,155,78,.28)}.vivere-btn.secondary{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.32);backdrop-filter:blur(10px)}.vivere-btn:hover{transform:translateY(-3px)}.vivere-btn.primary:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.36) 50%,transparent 100%);transform:translateX(-120%);transition:transform .75s ease}.vivere-btn.primary:hover:before{transform:translateX(120%)}
.vivere-section{padding:86px clamp(20px,5vw,86px)}.vivere-wrap{max-width:1220px;margin:0 auto}.vivere-title-row{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:34px}.vivere-title-row h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.45rem,4.6vw,5.4rem);line-height:.98;letter-spacing:-.055em;margin:0;color:#17342e}.vivere-title-row p{max-width:440px;margin:0;color:#59665f;line-height:1.7;font-size:1.05rem}.vivere-title-row em{font-style:italic;color:#b98942;font-weight:500}
.vivere-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.vivere-photo-card{position:relative;min-height:430px;border-radius:34px;overflow:hidden;text-decoration:none;color:#fff;display:flex;align-items:flex-end;box-shadow:0 24px 68px rgba(23,52,46,.16);background:#17342e;transform:translateZ(0)}.vivere-photo-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;transition:transform .75s ease,filter .75s ease}.vivere-photo-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 18%,rgba(0,0,0,.18) 48%,rgba(0,0,0,.74) 100%);z-index:1}.vivere-photo-card .txt{position:relative;z-index:2;width:100%;padding:28px}.vivere-photo-card span{display:block;text-transform:uppercase;letter-spacing:.16em;font-size:.78rem;font-weight:900;color:#f2ca82;margin-bottom:7px}.vivere-photo-card strong{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(1.8rem,2.4vw,2.55rem);line-height:.98;letter-spacing:-.035em;text-shadow:0 6px 22px rgba(0,0,0,.28);max-width:95%}.vivere-photo-card p{margin:11px 0 0;max-width:92%;font-size:1rem;line-height:1.45;color:rgba(255,255,255,.9)}.vivere-photo-card:hover img{transform:scale(1.075);filter:saturate(1.05) contrast(1.03)}.vivere-photo-card:hover{box-shadow:0 30px 90px rgba(23,52,46,.22)}
.vivere-story{background:#fff;padding:86px clamp(20px,5vw,86px);position:relative}.vivere-story:before{content:"";position:absolute;left:-140px;top:-120px;width:360px;height:360px;background:radial-gradient(circle,rgba(201,155,78,.13),transparent 64%);pointer-events:none}.vivere-story-grid{max-width:1220px;margin:0 auto;display:grid;grid-template-columns:.92fr 1.08fr;gap:46px;align-items:center}.vivere-story-photo{height:570px;border-radius:42px;overflow:hidden;margin:0;box-shadow:0 24px 78px rgba(23,52,46,.16)}.vivere-story-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}.vivere-story-copy h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.25rem,4.2vw,4.8rem);line-height:.98;letter-spacing:-.055em;margin:0 0 24px;color:#17342e}.vivere-steps{display:grid;gap:15px}.vivere-step{background:#fbf7ef;border:1px solid rgba(23,52,46,.08);border-radius:24px;padding:20px 22px;box-shadow:0 14px 36px rgba(23,52,46,.055);transition:transform .25s ease,box-shadow .25s ease}.vivere-step:hover{transform:translateY(-4px);box-shadow:0 22px 52px rgba(23,52,46,.09)}.vivere-step b{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:1.55rem;line-height:1;color:#17342e;margin-bottom:8px}.vivere-step p{margin:0;color:#53615a;line-height:1.55}.vivere-step b em{color:#b98942;font-style:italic;font-weight:500}
.vivere-cta{padding:78px clamp(20px,5vw,86px);background:linear-gradient(135deg,#17342e,#0f2722);color:#fff}.vivere-cta-inner{max-width:1220px;margin:0 auto;display:flex;gap:30px;align-items:center;justify-content:space-between}.vivere-cta h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.1rem,4vw,4.4rem);line-height:1;letter-spacing:-.05em;margin:0}.vivere-cta h2 em{color:#f0c67d;font-style:italic;font-weight:500}.vivere-cta p{max-width:520px;color:rgba(255,255,255,.78);line-height:1.6;margin:14px 0 0}.vivere-cta .vivere-btn.secondary{background:#fff;color:#17342e;border:0}.vivere-cta .vivere-btn.primary{box-shadow:0 16px 40px rgba(201,155,78,.22)}
@media(max-width:980px){.vivere-title-row,.vivere-story-grid,.vivere-cta-inner{display:block}.vivere-title-row p{margin-top:18px}.vivere-photo-grid{grid-template-columns:1fr}.vivere-photo-card{min-height:360px}.vivere-story-photo{height:420px;margin-bottom:28px}.vivere-cta .vivere-actions{margin-top:24px}}
@media(max-width:640px){.vivere-hero-v108{min-height:74vh;padding:58px 18px}.vivere-hero-card h1{font-size:4.45rem}.vivere-kicker{font-size:1.45rem}.vivere-section,.vivere-story,.vivere-cta{padding:58px 18px}.vivere-photo-card{min-height:340px;border-radius:28px}.vivere-photo-card .txt{padding:23px}.vivere-story-photo{height:340px;border-radius:30px}.vivere-actions{align-items:stretch}.vivere-btn{width:100%}}

/* V109 - hero più dinamica, elegante e coerente */
.vivere-hero-dynamic{
  min-height:72vh;
  align-items:center;
  background:#102a25;
  position:relative;
}
.vivere-hero-dynamic:before{
  background:
    linear-gradient(90deg,rgba(9,31,27,.74) 0%,rgba(9,31,27,.45) 42%,rgba(9,31,27,.10) 100%),
    linear-gradient(180deg,rgba(0,0,0,.14) 0%,rgba(0,0,0,.03) 52%,rgba(251,247,239,.08) 100%),
    url('/assets/img/photos/mura-gallipoli-tramonto.webp'),
    url('/assets/img/photos/foto-gallipoli-tramonto-centro-storico.jpg');
  background-size:cover;
  background-position:center 46%;
  transform:scale(1.035);
  animation:vivereHeroZoom 18s ease-in-out infinite alternate;
  filter:saturate(1.08) contrast(1.03);
}
.vivere-hero-dynamic:after{
  height:95px;
  background:linear-gradient(180deg,rgba(251,247,239,0),rgba(251,247,239,.9) 100%);
  opacity:.8;
}
.vivere-hero-glow{
  position:absolute;
  left:clamp(18px,5vw,86px);
  top:50%;
  width:min(620px,70vw);
  height:360px;
  transform:translateY(-50%);
  border-radius:999px;
  background:radial-gradient(circle,rgba(201,155,78,.24),rgba(201,155,78,.09) 42%,transparent 70%);
  filter:blur(18px);
  z-index:-1;
  pointer-events:none;
  animation:vivereGlow 7s ease-in-out infinite alternate;
}
.vivere-hero-card{
  padding:34px clamp(18px,3vw,34px);
  border-radius:34px;
  background:linear-gradient(90deg,rgba(7,25,22,.34),rgba(7,25,22,.14),rgba(7,25,22,0));
  backdrop-filter:blur(2px);
  box-shadow:0 28px 90px rgba(0,0,0,.14);
}
.vivere-hero-card h1{
  text-shadow:0 8px 24px rgba(0,0,0,.44),0 22px 74px rgba(0,0,0,.32),0 0 42px rgba(201,155,78,.18);
}
.vivere-hero-card h1 em{
  position:relative;
  text-shadow:0 8px 26px rgba(0,0,0,.38),0 0 36px rgba(201,155,78,.28);
}
.vivere-hero-card h1 em:after{
  content:"";
  position:absolute;
  left:4%;
  right:3%;
  bottom:.04em;
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgba(242,201,121,.62),transparent);
  filter:blur(5px);
  z-index:-1;
}
.vivere-kicker{
  position:relative;
  display:inline-block;
}
.vivere-kicker:after{
  content:"";
  position:absolute;
  left:0;
  right:-22px;
  bottom:-8px;
  height:1px;
  background:linear-gradient(90deg,rgba(242,201,121,.88),transparent);
}
.vivere-hero-card .lead{
  max-width:610px;
  text-shadow:0 4px 18px rgba(0,0,0,.42);
}
.vivere-hero-moments{
  position:absolute;
  right:clamp(18px,5vw,86px);
  bottom:122px;
  z-index:2;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:370px;
}
.vivere-hero-moments span{
  color:rgba(255,255,255,.88);
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(12px);
  border-radius:999px;
  padding:9px 14px;
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.vivere-scroll-cue{
  position:absolute;
  left:50%;
  bottom:28px;
  transform:translateX(-50%);
  z-index:4;
  width:44px;
  height:44px;
  border-radius:999px;
  display:grid;
  place-items:center;
  color:#17342e;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.72);
  text-decoration:none;
  font-size:1.55rem;
  line-height:1;
  box-shadow:0 18px 46px rgba(0,0,0,.16);
  animation:vivereCue 1.9s ease-in-out infinite;
}
.vivere-btn.primary{isolation:isolate}.vivere-btn.primary span{font-size:1.08rem;transition:transform .25s ease}.vivere-btn.primary:hover span{transform:translateX(4px)}
.vivere-photo-card:before{
  content:"";
  position:absolute;
  inset:12px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:25px;
  z-index:2;
  opacity:0;
  transition:opacity .35s ease, transform .35s ease;
  transform:scale(.985);
  pointer-events:none;
}
.vivere-photo-card:hover:before{opacity:1;transform:scale(1)}
.vivere-photo-card:hover{transform:translateY(-6px)}
.vivere-step{position:relative;overflow:hidden}.vivere-step:after{content:"";position:absolute;inset:auto auto -42px -42px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(201,155,78,.12),transparent 68%);pointer-events:none}
@keyframes vivereHeroZoom{from{transform:scale(1.025)}to{transform:scale(1.075) translate3d(-.7%,0,0)}}
@keyframes vivereGlow{from{opacity:.58;transform:translateY(-50%) scale(.96)}to{opacity:1;transform:translateY(-50%) scale(1.06)}}
@keyframes vivereCue{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(7px)}}
@media(max-width:980px){.vivere-hero-moments{display:none}.vivere-hero-card{background:linear-gradient(90deg,rgba(7,25,22,.42),rgba(7,25,22,.18));}.vivere-hero-dynamic{min-height:76vh}}
@media(max-width:640px){.vivere-hero-card{padding:24px 18px;border-radius:28px}.vivere-scroll-cue{display:none}.vivere-hero-dynamic:before{background-position:center center}}
@media(prefers-reduced-motion:reduce){.vivere-hero-dynamic:before,.vivere-hero-glow,.vivere-scroll-cue{animation:none!important}.vivere-photo-card img,.vivere-btn,.vivere-step{transition:none!important}}
