/*
Theme Name: WP Segesit
Author: Segesit
Author URI: https://segesit.it
Description:  Custom theme by Segesit team
Version: 25-10-2025-4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp-segesit
Requires at least: 5.7
Requires PHP: 8.1 
Tags: Custom theme made by Segesit

*/
/*  
(  __)(__  )(  ) / _\ ( \/ ) /  \(    \(    \  
 ) _)  / _/  )( /    \/ \/ \(  O )) D ( ) D (  
(____)(____)(__)\_/\_/\_)(_/ \__/(____/(____/   
SALVATORE  |  SALVATORE  | SALVATORE  |  SALVATORE |  
|
                                                                                                        
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url("bootstrap.css");
/* Stili di base, da adattare secondo palette definitiva */
body {
  font-family: "Montserrat", sans-serif;
  height: auto;
}
#loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999
}
.pt-serif {
  font-family: "PT Serif", serif;
}
.montserrat-<uniquifier > {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
html {
  height: auto;
  scroll-behavior: smooth;
}
.full-h {
  min-height: 100svh; /* meglio di 100vh su iOS/Android */
  scroll-margin-top: 0; /* niente offset */
}
:root {
  font-size: 16px;
  --main: #967544;
}
#logo {
  filter: invert(1) brightness(10) drop-shadow(0px 0px 3px #fff) drop-shadow(0px 0px 8px #000);
  width: 666px;
  max-width: 100%;
  margin-bottom: 1rem;
}
[id*="video-box"] {
  padding: 0;
  margin: 0;
  overflow: hidden;
  height: 100%;
  z-index: 0;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}
[id*="video-box"]:before {
  content: "";
  position: absolute;
  background: #00000057;
  z-index: +1;
  inset: 0;
}
body:not(.home) .heading.captions.letsgo.sec-programma-25 {
  top: 50% !important
}
.heading.captions.letsgo {
  position: fixed;
  z-index: 973 !important;
  inset: 30% 0 auto 0;
  z-index: 1;
  color: #fff;
  text-align: center;
  transform: translateY(-50%);
  transition: .3s ease-in-out;
}
.titolo p:last-of-type {
  font-size: 1.05rem;
  margin: 1.3rem 0 0.5rem;
  filter: drop-shadow(0px 0px 5px #000);
  text-transform: uppercase;
  letter-spacing: 0.3rem;
}
.titolo p.pt-serif:first-of-type, .titolo p.pt-serif:first-of-type + p {
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.9rem;
  border-bottom: 1px solid;
  width: fit-content;
  margin: 0.4rem auto 0;
  filter: drop-shadow(0px 0px 4px #000);
}
.titolo p.pt-serif:first-of-type + p {
  font-size: 1rem;
  border: 0;
  margin-bottom: 2.1rem;
}
.titolo > span {
  font-size: 1.25rem;
  font-weight: 500;
  border-top: 2px solid;
  padding: 1rem 0 0;
  max-width: 700px;
  C: block;
  margin: auto;
  position: relative;
  top: 0rem;
}
.modal-footer {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0
}
.btn-modal {
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: 2.9rem;
  border: 0;
  line-height: 1.2;
  background: #ffffff59;
}
.btn-close {
  border: 4px solid #000;
}
.modal-backdrop {
  opacity: .75 !important;
}
.socialModalImg {
  height: 800px;
  width: 100%;
  object-fit: contain;
}
.inview:not(section) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.inview.viewed {
  opacity: 1;
  transform: translateY(0);
  /* il delay verrÃƒÂ  iniettato via JS */
}
.data {
  filter: invert(1) brightness(15) drop-shadow(0px 0px 6px #000);
  height: 93px;
  /* margin-left: -0.6rem; */
}
.giorni-nav.reveal-on-svg {
  zoom: 0.9;
}
.conferma {
  position: fixed;
  z-index: 2;
  bottom: 27px;
  right: 5rem;
  /* transform: translateX(-50%) !important; */
  color: #000000;
  border: 0;
  padding: .5rem 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "PT Serif", serif;
  display: block;
  width: auto;
}
.conferma span {
  text-align: center;
  font-family: 'Montserrat';
  text-transform: uppercase;
  font-size: 0.775rem;
  position: absolute;
  right: 0;
  left: 0;
  bottom: -18px;
  opacity: 1;
  transition: .3s;
  line-height: 1;
  color: #fff;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, .7));
}
.conferma:hover span {
  opacity: 1
}
.reveal-on-svg {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .6s ease;
}
.reveal-on-svg.is-visible {
  opacity: 1;
  transform: none;
}
/* Applica al markup: <svg id="logo" class="pre-animate"> */
.pre-animate .st0 {
  stroke-dasharray: 1000; /* valore grande, > di qualsiasi path */
  stroke-dashoffset: 1000; /* nascosto */
  fill-opacity: 0; /* no riempimento visibile */
}
#giorni {
  fill: #fff;
  max-width: 540px;
}
/* Stato iniziale prudente per i gruppi dei giorni */
#giorni > g {
  opacity: 0;
  transform: translateY(10px);
}
#giorni .day-wrap:focus .day-bg {
  opacity: .35 !important;
  transform: scale(1.0);
}
#contact-form br {
  display: none
}
#contact-form label, #contact-form input, #contact-form textarea, #contact-form select {
  width: 100%;
  font-family: "PT Serif", serif;
}
#contact-form p {
  position: relative;
  padding-top: 1rem;
}
#contact-form select {
  height: 48px;
  margin-top: 0;
  padding-left: 1rem;
  padding-right: .5rem;
}
#contact-form label > span:first-of-type {
  position: absolute;
  top: 4px;
  background: #fff;
  padding: 0rem .5rem;
  font-size: .925rem;
  left: 0.8rem;
  z-index: 999;
}
.wpcf7-not-valid-tip {
  font-size: .75rem;
  font-family: 'Montserrat'
}
.wpcf7-response-output {
  font-size: .875rem !important;
  text-align: center
}
#contact-form input {
  padding: 0.75rem .5rem 0.325rem 1rem;
  color: #000000;
  font-size: 1.25rem;
  /* font-family: 'Montserrat'; */
  font-size: 1rem;
  font-weight: 300;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: #000;
  color: #fff !important;
  width: fit-content !important;
  display: block;
  margin: 0 auto;
  padding: .25rem .5rem !important;
  font-size: 1.25rem !important;
}
#contact-form h4 {
  font-size: 1.25rem;
  font-family: "PT Serif", serif;
}
#contact-form .modal-header {
  background: #000000;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  color: #fff;
}
#contact-form .modal-header button {
  background: #ffffff;
  color: #000000;
  font-size: 2rem;
  line-height: 1;
  border: 0;
  outline: 0;
  z-index: 99999;
}
.js-day {
  position: relative;
  display: inline-block;
  cursor: pointer
}
.js-day:not(.komen):before {
  content: "";
  background: #00000000;
  position: absolute;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  top: .5rem;
  left: -.5rem;
  transition: .3s ease-in-out
}
.js-day.is-active:not(.komen):before, .js-day.is-active:not(.komen):hover:before {
  background: #000000;
  border: 3px solid #fff;
}
span.js-day:last-of-type:before {
  display: none
}
.giorni-nav .cosa p {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translatex(-50%);
  opacity: 0;
  transition: .3s;
  text-decoration: none;
  border: 0;
  font-size: 1.15rem;
  margin: 1.3rem 0 0.5rem;
  filter: drop-shadow(0px 0px 5px #000);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  /* background: #000000; */
  color: #ffffff;
  /* font-family: "PT Serif", serif; */
  padding: .25rem .75rem;
  margin-top: 1rem;
  width: 640px;
  margin: 0.7rem auto;
  /* font-weight: 600; */
  max-width: 100%;
  filter: drop-shadow(0px 0px 4px black);
  text-transform: uppercase;
}
.cosa em {
  display: block;
  font-style: normal;
  font-weight: 600;
}
span.komen-ico {
  /* position: absolute; */
  /* left: -12px; */
  /* top: -6px; */
  background: #fff;
  border-radius: 50%;
  height: 52px;
  width: 52px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.6rem;
}
.giorni-nav .cosa p span:first-of-type {
  border: 0;
  margin: 0;
}
.giorni-nav .cosa p span {
  margin-top: .5rem;
  display: block;
  /* padding-top: .25rem; */
  /* border-top: 1px solid; */
}
.giorni-nav .cosa a {
  color: #fff;
  font-size: 0.9rem;
  display: block;
  z-index: +1;
}
.break {
  display: none
}
.giorni-nav .cosa p span:last-of-type {
  padding-top: 0.8rem !important;
}
.giorni-nav .dress {
  font-weight: 400;
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: .08rem;
  margin-top: 0.6rem;
}
.giorni-nav:has([href="#programma-24"].js-day.is-active) [data-g="24"] {
  opacity: 1;
  z-index: +1;
}
.giorni-nav:has([href="#programma-25"].js-day.is-active) [data-g="25"] {
  opacity: 1;
  z-index: +1;
}
.giorni-nav:has([href="#programma-26"].js-day.is-active) [data-g="26"] {
  opacity: 1;
  z-index: +1;
}
.cosa {
  position: relative;
  top: 1.6rem;
}
.wpcf7-spinner {
  left: 50%;
  transform: translateX(-50%) !important;
  top: 10px;
  position: absolute;
  width: 60px;
  height: 60px;
  z-index: +1;
  margin: 0;
  display: block;
  background: #17a349;
  opacity: 1;
}
.wpcf7-spinner::before {
  inset: 50%;
  transform: translate(-50%, -50%) !important;
  transform-origin: 0;
}
.wpcf7-spinner:after {
  content: "inviando";
  display: block
}
.titolo {
  transition: .3s ease-in-out;
  text-align: center;
}
.sec-hotel {
  top: -2rem !important;
  transform: translateY(0) !important
}
.sec-hotel .titolo {
  display: none;
  top: -5rem;
}
#hotel {
  background: #f6f6f4;
  font-family: 'Pt-serif';
  text-align: center
}
#hotel img {
  display: block;
  margin: 1rem auto 2rem;
  width: 96%;
  height: auto;
  position: static;
}
#hotel ul {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-bottom: 2rem
}
#hotel ul li {
  margin-bottom: .5rem
}
#hotel a {
  color: #000
}
#extra {
  transition: .3s ease-in-out;
  height: 0;
  max-width: 600px;
  margin: auto;
  position: relative;
  top: 0;
  z-index: 999 !important;
}
#extra h2 {
  text-align: center;
  font-family: 'Pt-serif';
  font-size: 1.35rem;
  letter-spacing: .09rem;
  font-weight: 400;
  margin-bottom: 1rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 256px;
  top: -12px;
  background: #f6f6f4;
  z-index: 9;
  font-weight: 600;
  letter-spacing: -.0125rem;
}
button.sound {
  position: fixed;
  right: 1rem;
  bottom: 2.3rem;
  width: 50px;
  height: 50px;
  border: 0 !important;
  outline: 0 !important;
  background-color: #2a2a2a;
  border-radius: 50%;
  z-index: 9999;
}
[aria-pressed="false"] {
  background: url(https://www.salvatore50.it/wp-content/uploads/2025/09/on.png) center /contain no-repeat transparent;
}
[aria-pressed="true"] {
  background: url(https://www.salvatore50.it/wp-content/uploads/2025/09/off.png) center /contain no-repeat transparent;
}
button.sound span {
  position: absolute;
  bottom: -1.125rem;
  left: 0;
  right: 0;
  font-weight: 600;
  font-size: .875rem;
  color: #fff;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, .7));
}
p.fonda {
  font-size: 1.15rem;
  margin-bottom: 4px;
  line-height: 1.2;
}
p.fonda b {
  font-size: 1.25rem
}
.fonda:last-of-type {
  font-weight: 600
}
.regalo {
  max-width: 440px;
  border: 1px solid;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  position: relative;
  border-radius: .5rem;
}
.info-25 {
  max-width: 600px;
  margin: auto !important;
  display: block;
  width: 85%;
}
.info-25 span {
  display: block;
  margin-bottom: .725rem
}
.info-25 span:last-of-type {
  display: block;
  margin-bottom: .0;
  border-top: 1px solid
}
.info-25 em {
  display: block;
  font-style: normal;
  font-weight: 700
}
.info-25 strong {
  font-weight: 500
}
section#primary {
  padding: 0;
}
a.komen {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 999;
  text-decoration: none;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .8));
  transform: translateX(-50%);
  transition: .3s;
  line-height: 1.5;
  padding-left: 0;
}
a.komen.is-active {
  opacity: 0
}
a.komen img {
  margin: 0 auto .5rem;
  display: block;
  max-width: 50px;
}
.komen span {
  color: #fff;
  font-size: 0.725rem;
  text-transform: uppercase;
  display: inline-block;
  font-weight: 600;
  vertical-align: middle;
}
.giorni-nav .cosa .cta-main {
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid;
  padding: .5rem 1.85rem;
  display: block;
  width: fit-content;
  z-index: 999 !important;
  width: -moz-fit-content;
  margin: .5rem auto 1rem;
  transition: .3s;
  position: relative;
  z-index: 99;
}
.giorni-nav .cosa .cta-main:hover {
  background: #fff;
  color: #000;
}
.archeologia .info-25 span:last-of-type {
  text-transform: none;
  margin-bottom: 1.25rem;
}
.archeologia .titolo > svg + span.js-day {
  display: block;
  padding-top: 0;
  border-top: 0;
  transform: scale(.85);
}
.archeologia #video-box-2 video {
  /* position: absolute; */
}
.archeologia .titolo {
  color: #fff;
  position: relative;
  z-index: +1;
}
.archeologia [id*="video-box"]:before {
  z-index: 1;
}
.archeologia .heading.captions.letsgo {
  position: static;
  transform: unset;
  padding-bottom: 5rem;
}
.archeologia .cosa[style*="opacity: 1"] p {
  opacity: 1;
  position: static;
  transform: unset;
}
.archeologia [id*="video-box"] {
  position: fixed;
}
.archeologia strong {
  font-weight: bolder;
}
.archeologia p.pt-serif.reveal-on-svg.mt-0.mb-5.last {
  margin-top: 4.85rem !important;
  letter-spacing: 5px;
  font-weight: 600;
  border-bottom: 0;
}
.archeologia p.pt-serif.reveal-on-svg.mt-0.mb-5.last br {
  display: block;
}
.archeologia .giorni-nav .cosa p {
  position: static !important; /* niente switch absoluteâ†’static */
  left: auto;
  top: auto;
  transform: none; /* neutralizziamo offset assoluto */
  opacity: 0;
  transition: opacity .5s ease, transform .6s ease;
  will-change: opacity, transform;
}
/* stato visibile (usiamo la stessa classe che lo script applica) */
.archeologia .giorni-nav .cosa p.is-visible {
  opacity: 1;
  transform: none;
}
/* rimuovi la regola â€œdinamicaâ€ che cambiava position in base allo style inline */
.archeologia .cosa[style*="opacity: 1"] p {
  all: unset; /* oppure commentala nei tuoi css; se non puoi, la neutralizzi cosÃ¬ */
}
.break-m {
  display: none
}
@media(max-width: 1540px) {
  .heading.captions.letsgo {
    zoom: .8
  }
  #hotel img {
    max-width: 80%
  }
}
@media(max-width: 1366px) {}
@media(max-width: 1280px) {}
@media(max-width: 1100px) {}
@media(max-width: 1024px) {}
@media(max-width: 768px) {}
@media(max-width: 640px) {
  :root {
    font-size: 14px;
  }
  button.sound {
    scale: .85;
  }
  span.komen-ico {
    width: 45px;
    height: 45px;
    display: block;
    margin: 0 auto .725rem;
  }
  span.komen-ico img {
    max-width: 42px;
  }
  .break-m {
    display: block
  }
  .regalo {
    max-width: 90%
  }
  a.komen {
    min-width: 250px;
    bottom: 1rem;
    text-align: center
  }
  #logo {
    scale: unset;
    max-width: 94%;
  }
  .break {
    display: block
  }
  .data {
    height: 63px;
  }
  .conferma span {
    opacity: 1
  }
  .titolo .pt-serif {
    font-size: 1.25rem !important;
    letter-spacing: 0.3rem !important;
    margin-top: 1rem !important;
  }
  .min-h {
    min-height: 100vh;
    height: unset !important;
  }
  .titolo .pt-serif + p {
    font-size: 1.2rem !important;
    letter-spacing: 0.15rem !important;
    margin-top: 0.2rem !important;
  }
  .titolo .pt-serif + p.programma {
    font-size: 1rem !important;
  }
  .titolo p:last-of-type {
    /* font-size: 1.75rem; */
    margin: 0.9rem 0 0;
  }
  .titolo .pt-serif + p.programma {
    font-size: 0.975rem !important;
  }
  .js-day:not(.komen):before {
    width: 55px;
    height: 55px;
  }
  .giorni-nav .cosa p {
    font-size: 1.2rem;
    line-height: 1.6;
    padding: 0 1rem;
    margin-top: 1.5rem;
  }
  .giorni-nav .dress {
    font-size: 0.95rem;
    margin-top: .5rem;
  }
  video {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    position: relative;
    z-index: 0
  }
  .heading.captions.letsgo {
    padding: .5rem;
    zoom: normal;
  }
  .conferma {
    font-size: 1.3rem;
    transform: none !important;
    left: 0;
    right: unset;
    bottom: 26px;
    scale: 0.85;
  }
  .heading.captions.letsgo {
    top: 5%;
    transform: none;
  }
}
@media(max-width: 480px) {
  .titolo {
    scale: .8725;
    top: -1rem;
    position: relative
  }
  .komen span {
    font-size: .7125rem
  }
  .giorni-nav .cosa p {
    letter-spacing: 0.0725rem;
    margin-top: .5rem;
  }
}
@media(max-width: 430px) {}
@media(max-width: 375px) {
  .titolo {
    scale: .825;
    top: -3rem;
    position: relative
  }
}
/* =========================
   PATCH / ADDONS IN CODA
   ========================= */
/* 1) Fix gruppi #giorni: visibili quando parte il JS */
#giorni:not(.js-anim) > g {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
#giorni.js-anim > g {
  opacity: 1;
  transform: none;
}
/* 2) Baseline stroke-draw logo (giÃƒÂ  presente sopra, lo ribadiamo) */
.pre-animate .st0 {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  fill-opacity: 0;
}
/* 3) Bottoni 24/25/26 come anello (outline) */
#giorni .day-wrap {
  cursor: pointer;
  outline: none;
}
#giorni .day-wrap:focus-visible {
  outline: 2px dashed #fff;
  outline-offset: 3px;
}
#giorni .day-bg {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  opacity: 0;
  transform: scale(.98);
  transition: opacity .25s ease, transform .25s ease, stroke-width .25s ease;
  pointer-events: none; /* evita hit sul rect */
}
#giorni .day-wrap:hover .day-bg, #giorni .day-wrap:focus .day-bg {
  opacity: .35;
  transform: scale(1);
}
#giorni .day-wrap.is-active .day-bg {
  opacity: .9;
  stroke-width: 3;
  transform: scale(1);
}
/* 4) Allineamento smooth-scroll con header sticky */
section.programma {
  scroll-margin-top: 76px;
}