/*********************************
 * 1. STILI GENERALI & RESET
 *********************************/

/* Nasconde il titolo della pagina di default di WordPress */
.page .entry-title {
    display: none;
}

/* Stile base per i Paragrafi */
p {
    margin: 0; /* Gestito dal contenitore/tab */
    line-height: 1.5;
}

/* === Smooth scroll + offset per ancore === */
:root { --scroll-offset: 0px; }              /* sarà aggiornato via JS */
html:focus-within { scroll-behavior: smooth; }  /* nativo dove supportato */

/* Fa sì che ogni target con un id non finisca sotto l'header sticky */
[id] { scroll-margin-top: calc(var(--scroll-offset, 0px) + 16px); }

/* Evidenziazione dolce del target raggiunto (opzionale) */
.target-highlight {
  animation: targetFlash 1.6s ease-out 1;
}
@keyframes targetFlash {
  0% { background: rgba(255,230,160,0.0); }
  20% { background: rgba(255,230,160,0.9); }
  100% { background: rgba(255,230,160,0.0); }
}

[id] {
  scroll-margin-top: 110px; /* adatta questo valore se hai un header sticky */
}





/*********************************
 * 2. STILI POST & IMMAGINI
 *********************************/

/* Limita l'altezza massima della featured image nei post singoli */
.single-post .post-thumbnail img {
    max-height: 300px;      /* Altezza massima */
    width: auto;            /* Conserva proporzioni */
    object-fit: cover;      /* Taglia eventuali eccedenze */
}

/* Rimuove il margin-bottom sotto la featured image e nell'header */
.single-post .post-thumbnail,
.single-post .entry-header {
    margin-bottom: 0px;     /* Toglie lo spazio inferiore */
    padding-bottom: 0px;  /* Toglie eventuale padding  */
}


/*********************************
 * 3. COMPONENTI UI (BOTTONI, STEPS, ETC.)
 *********************************/

/* Site Title di Kadence: Colore e Ombra */
.site-title a,
.site-title {
    color: #ffffff !important;
    /* Ombra: orizzontale 1px, verticale 1px, sfocatura 3px, colore nero semitrasparente */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* === Bottoni Standard (.btn) === */
.btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    background: #2a7ae2;
    color: #fff;
    transition: background 0.2s;
}
.btn:hover {
    background: #1a5bb8;
}

/***********************************************
 *  MENU INTERNO STICKY – VoyageSicile
 *  Target: Sezione con classe .menu-interno-sticky
 *  Descrizione: Stile minimal per il menu di navigazione interno
 ***********************************************/
/* -------------------------------------------
   0) COMPORTAMENTO STICKY (solo Desktop)
   ------------------------------------------- */
@media (min-width: 1024px) {
  .menu-interno-sticky {
    position: sticky;                  /* Attiva sticky */
    top: 95px;                        /* Distanza dall'header principale */
    z-index: 999;                      /* Mantienilo sopra i contenuti */
  }
}

/***********************************************
 *  MENU INTERNO STICKY – VoyageSicile
 *  Target: Sezione con classe .menu-interno-sticky
 *  Descrizione: Stile minimal per il menu di navigazione interno
 ***********************************************/

/* -------------------------------------------
   1) CONTENITORE DEL MENU STICKY — GLASS EFFECT
   ------------------------------------------- */
.menu-interno-sticky {
  background: rgba(255, 255, 255, 0.35);        /* Barra bianca semi-trasparente */
  backdrop-filter: blur(10px) saturate(150%);   /* Effetto vetro */
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.3rem 0;                            /* Spessore barra */
  z-index: 999;
  transition: background 0.3s ease, 
              backdrop-filter 0.3s ease;
}

/* Leggera "illuminazione" del blocco menu quando ci passi sopra */
.menu-interno-sticky:hover {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}


/* -------------------------------------------
   2) LAYOUT DEL BLOCCO NAVIGATION (GENERIC)
   ------------------------------------------- */
.menu-interno-sticky nav ul {
  display: flex;
  justify-content: center;             /* Centrare le voci */
  gap: 2.5rem;                         /* Spaziatura tra le voci */
  margin: 0;
  padding: 0;
}

.menu-interno-sticky nav li {
  list-style: none;
}


/* -------------------------------------------
   3) STILE GENERALE DELLE VOCI DEL MENU
   ------------------------------------------- */
.menu-interno-sticky nav a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: #111;
  position: relative;
  padding-bottom: 4px;
  font-weight: 400;
  display: inline-block;               /* IMPORTANTE per la linea animata */
}


/* -------------------------------------------
   4) EFFETTO LINEA ANIMATA SOTTO LA VOCE
   ------------------------------------------- */
.menu-interno-sticky nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #00aaff, #7a5cff);
  transition: width 0.25s ease;
}


/* -------------------------------------------
   5) HOVER E STATO ATTIVO DELLA VOCE
   ------------------------------------------- */
.menu-interno-sticky nav a:hover::after,
.menu-interno-sticky nav a.current::after,
.menu-interno-sticky nav a.is-active::after {
  width: 100%;                         /* linea completa */
}

.menu-interno-sticky nav a.current,
.menu-interno-sticky nav a.is-active {
  font-weight: 600;                    /* voce attiva più evidente */
}


/***********************************************
 *  FINE STILI MENU INTERNO STICKY
 ***********************************************/






/* === Bottoni in Vetro di VS (.bottone01-vs) === */
.bottone01-vs a {
    display: inline-block;
    text-decoration: none !important;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    display: block;
}

.bottone01-vs a:hover {
    background-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.bottone01-vs a:active {
    transform: translateY(0);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}



/*********************************
 * 5. SEZIONE SVG e TITOLI (Generale)
 *********************************/

/* === Intestazione Alloggio Personalizzata (SCHEDA) === */
.scheda-alloggio-header {
    font-family: 'Pavanam', sans-serif; 
    color: #775629;
    overflow: hidden; /* Contiene il float dell'SVG sul desktop */
}

/* Titolo Principale */
.scheda-alloggio-header .titolo-sezione-principale {
    font-size: 2em; 
    font-weight: 500;
    display: flex; 
    align-items: center;
    margin-bottom: -6px;
    letter-spacing: -0.02em; 
}

/* Sottotitolo */
.scheda-alloggio-header .sottotitolo-sezione {
    font-size: 1.3em;
    font-weight: 500;
    display: flex;
    align-items: center;
    line-height: 17px;
    padding-bottom: 9px;
}

/* Link di Selezione */
.scheda-alloggio-header .selezione-link {
    font-size: 0.7em; 
    font-weight: normal;
    margin-left: 11px;
    margin-bottom: -3px;
}

.scheda-alloggio-header .selezione-link a {
    text-decoration: none;
}

/* Stili SVG e Sezione Icone */
.sezione-svg svg {
    width: 100%;
    height: auto;
    max-width: 90px;
    margin-right: 10px; 
}

/* ---------------------------------------------------- */
/* TABLET e DESKTOP (min-width: 768px) */
/* ---------------------------------------------------- */
@media (min-width: 768px) {
    .sezione-svg {
        float: left; 
    }
    
    .sezione-svg svg {
        min-width: 120px;
    }
}

/* ---------------------------------------------------- */
/* MOBILE (max-width: 767px) */
/* ---------------------------------------------------- */
@media (max-width: 767px) {
    .hide-mobile {
        display: none !important;
    }
    
    /* Nasconde il link di selezione */
    .scheda-alloggio-header .selezione-link {
        display: none !important; 
    }
    
    /* Sistema il contenitore SVG */
    .sezione-svg {
        float: none;
        display: block;
        margin-bottom: -5px !important;
        margin-left: -30px;
    }
    
    /* Sistema il titolo principale */
    .scheda-alloggio-header .titolo-sezione-principale {
        color: #775629;
        display: block; 
        font-size: 1.5em; 
        margin-top: 0;
        margin-bottom: -8px;
        margin-left: 5px;
        letter-spacing: -0.01em; 
    }
    
    /* Sistema il sottotitolo */
    .scheda-alloggio-header .sottotitolo-sezione {
        color: #775629;
        display: block; 
        font-size: 1em; 
        margin-top: 0px;
        margin-left: 5px;
        line-height: 1.2; 
    }
}
/* === Dettagli Espandibili (Accordion) === */
details {
    margin-top: 1rem;
}
details summary {
    font-weight: bold;
    cursor: pointer;
}
details ul {
    margin: 0.5rem 0 0 1rem;
    list-style: disc outside;
}

/* === En-tête di ogni Step (Processi/Guide) === */
.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Cerchio col numero */
.step-number {
    flex: none;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    background: #2a7ae2;
    color: #fff;
    border-radius: 50%;
}

/* Icona accanto al titolo */
.step-header .icon {
    font-size: 1.25rem;
}


/*********************************
 * 4. STILI SVG (MAPPA SICILIA)
 *********************************/
/* CONTENITORE MAPPA X CIRCUITI*/
.map-container-2 {
 margin: 4rem auto;
  max-width: 900px;
  width: 95%;
  position: relative;

}


/* CONTENITORE MAPPA */
.map-container {
  margin: 4rem auto;
  max-width: 900px;
  width: 95%;
  position: relative;
  overflow: hidden; /* il taglio vale solo per lo sfondo, NON per l'svg */
  
  /* base sabbia chiara */
  background: linear-gradient(135deg, #fff9ec 0%, #fbe9c9 40%, #f3ddba 100%);
  border-radius: 20px;
  border: 1px solid rgba(0, 73, 102, 0.12);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: 2.4rem 2.2rem;
}

/* Film animato sopra lo sfondo, effetto riflessi del mare */
.map-container::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(130deg, #ccefff, #a7dcff, #86cde9, #fdfcfb);
  background-size: 180% 180%;
  mix-blend-mode: soft-light;
  opacity: 0.9;
  animation: seaGlow 26s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Contenuto sopra l'effetto animato */
.map-container > * {
  position: relative;
  z-index: 1;
}

/* ANIMAZIONE RIFLESSO MARE */
@keyframes seaGlow {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 60% 100%; }
  100% { background-position: 100% 0%; }
}

/* SVG NON TAGLIA PIÙ I GLOW */
.map-container svg {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible !important;
}

/* LABEL DELLE CITTÀ (più piccole + meno letter spacing) */
svg .city-label {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  font-size: 2.2px;        /* ridotto */
  fill: #6b5530;
  text-anchor: middle;
  pointer-events: none;
  letter-spacing: 0.25px;  /* più stretto */
  dominant-baseline: central;
  text-transform: uppercase;
}

/* LINK INTERATTIVI */
svg .map-anchor-link {
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* PIN – BASE */
svg .pin-core {
  fill: #ff9a4a;
  stroke: #b14c1a;
  stroke-width: 0.35;
  transition: all 0.25s ease;
}

svg .pin-wave {
  stroke: #f7b075;
  stroke-width: 0.6;
  opacity: 0.45;
  transition: stroke 0.35s ease, opacity 0.35s ease;
}

/* PIN – SOFT GLOW PREMIUM */
svg .marker use {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

svg a.map-anchor-link:hover use,
svg a.map-anchor-link:focus use {
  transform: scale(1.1); /* più elegante */
  filter:
    drop-shadow(0 0 2px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 4px rgba(0, 160, 175, 0.45));
}

svg .map-anchor-link:hover .pin-core,
svg .map-anchor-link:focus .pin-core {
  fill: #ff7b1c;
  stroke: #0f6676;
}

svg .map-anchor-link:hover .pin-wave,
svg .map-anchor-link:focus .pin-wave {
  stroke: #00b8b4;
  opacity: 0.75;
}

/* TESTI HOVER (se presenti nello SVG) */
.hover-text {
  opacity: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

svg .hover-text { 
  fill: #1f1c17 !important;
}

.map-anchor-link:hover .hover-text {
  opacity: 0.95;
  transform: translateY(-1.2px);
}

/* HOVER BG SE USATO */
.hover-bg {
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-anchor-link:hover .hover-bg {
  opacity: 0.08;
}

/* ACCESSIBILITÀ */
a.map-anchor-link:focus,
a.map-anchor-link:focus-visible {
  outline: none;
}

a.map-anchor-link:focus use,
a.map-anchor-link:focus-visible use {
  filter:
    drop-shadow(0 0 1px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 4px rgba(0, 132, 155, 0.5));
}



/*********************************
  STILI DI UTILITA VARIA
 *********************************/

.ztop {
  position: relative;   /* necessario per attivare z-index */
  z-index: 9999;        /* molto in alto nello stack */
}

/* Effetto parallax dinamico */
.parallax-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

@media (min-width: 768px) {
  .parallax-section {
    background-attachment: fixed;
  }
}


/*********************************
 IMPORTATI
 *********************************/
/* ===== Circuits — VOYAGESICILE Luxury (enhanced) ===== */

/* ---- Design tokens ---- */
:root {
  --c-text: #1d1d1f;
  --c-muted: #6c757d;
  --c-bg-start: #f8f9fa;
  --c-bg-end: #e9ecef;

  --g-primary: linear-gradient(135deg, #007AFF 0%, #5AC8FA 50%, #AF52DE 100%);
  --g-primarlux: linear-gradient(135deg, #6F4A2F 0%, #BCA48A 50%, #D8C9B5 100%);
  --g-dark: linear-gradient(135deg, #1d1d1f 0%, #434343 100%);
  --g-card: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  --g-feature: linear-gradient(135deg, #f8f9fa, #e9ecef);
  --g-warn: linear-gradient(135deg, #FF9500, #FFCC00);

  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 12px;

  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 15px 60px rgba(0, 0, 0, 0.16);

  --t-fast: 180ms;
  --t-base: 300ms;
  --t-slow: 450ms;
}

/* ---- Reset utili ---- */
.wp-sicile-container, .wp-sicile-container * { box-sizing: border-box; }

/* ---- Wrapper con decorazioni integrate ---- */
.wp-sicile-container {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, var(--c-bg-start) 0%, var(--c-bg-end) 100%);
  color: var(--c-text);
  line-height: 1.5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
  isolation: isolate; /* per livelli dei pseudo-elementi */
}

/* Cerchi decorativi (sostituiscono i div inline) */
.wp-sicile-container::before,
.wp-sicile-container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(0.2px);
}
.wp-sicile-container::before {
  top: -50px; right: -50px; width: 200px; height: 200px;
  background: linear-gradient(135deg, rgba(0,122,255,0.10), rgba(90,200,250,0.05));
}
.wp-sicile-container::after {
  bottom: -100px; left: -100px; width: 300px; height: 300px;
  background: linear-gradient(135deg, rgba(255,149,0,0.08), rgba(255,204,0,0.03));
}

/* ---- HERO ---- */
.hero { text-align: center; margin-bottom: 100px; position: relative; z-index: 1; }
.hero h1{
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #1d1d1f 0%, #434343 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}
.hero-subtitle{ font-size:24px; color:var(--c-muted); margin:0 auto 24px; font-weight:300; max-width:700px; line-height:1.4; }
.hero-meta{ color:var(--c-muted); font-size:18px; font-weight:300; }

/* Pillola prezzo con “shine” su hover */
.price-highlight{
  display:inline-flex; align-items:center; justify-content:center;
  background: var(--g-primary);
  color:#fff; padding:24px 48px; border-radius:60px;
  font-size:28px; font-weight:700; margin:40px 0;
  box-shadow: 0 8px 40px rgba(0,122,255,0.35);
  position:relative; overflow:hidden;
  transition: transform var(--t-base) ease, box-shadow var(--t-base) ease;
}
.price-highlight::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-100%);
  transition: transform var(--t-fast) ease;
}
.price-highlight:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 46px rgba(0,122,255,0.45);
}
.price-highlight:hover::before{ transform: translateX(100%); }

/* ---- Layout principale ---- */
.luxury-grid{
  display:flex; flex-direction:column; gap:40px; margin-bottom:80px; position:relative; z-index:1;
}
.main-info, .card{
  background: var(--g-card);
  border-radius: var(--r-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  transition: transform var(--t-base) ease, box-shadow var(--t-base) ease;
  position:relative; overflow:hidden;
}

/* Barra superiore “accent” sulla main-info */
.main-info::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: var(--g-primary);
  border-radius: var(--r-md) var(--r-md) 0 0;
}

/* ---- Card + hover embellishments ---- */
.card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, #FF9500, #FFCC00);
  transition: height var(--t-base) ease, background var(--t-base) ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before{
  height:6px;
  background: linear-gradient(90deg, #007AFF, #5AC8FA);
}
.card h2, .main-info h2{
  font-size:32px; 
  font-weight:700; 
  color:var(--c-text);
  margin:0 0 30px; 
  display:flex; 
  align-items:center; 
  gap:16px;
  /* AGGIUNGERE questa riga per forzare la direzione orizzontale */
  flex-direction: row !important;
}
.card-icon{
  width:40px; 
  height:40px; 
  background: linear-gradient(135deg, #007AFF, #5AC8FA);
  border-radius:12px; 
  display:flex; 
  align-items:center; 
  justify-content:center;
  color:#fff; 
  font-size:20px; 
  box-shadow: 0 4px 15px rgba(0,122,255,0.3);
  /* AGGIUNGERE questa riga per impedire che l'icona si ridimensioni */
  flex-shrink: 0;
}

/* ---- Testi e highlight ---- */
.block-title{ color:var(--c-text); margin:30px 0 16px; font-size:24px; font-weight:600; }
.intro-text{ margin-bottom:30px; font-size:18px; line-height:1.6; color:#434343; }
.highlight{ color:#007AFF; font-weight:700; }

/* ---- Feature / Inclusion grid ---- */
.luxury-features {
  display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:20px; margin:20px 0 30px;
}
.feature-item {
  background: var(--g-feature);
  padding:20px; border-radius:16px; text-align:center;
  border:1px solid rgba(0,122,255,0.10);
  transition: transform var(--t-base) ease, box-shadow var(--t-base) ease, background var(--t-base) ease, color var(--t-base) ease;
}
.feature-item:hover {
  background: linear-gradient(135deg, #007AFF, #5AC8FA);
  color:#fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,122,255,0.30);
}
.feature-title{ font-size:18px; font-weight:600; margin-bottom:8px; }
.feature-desc{ font-size:14px; opacity:.85; }


/* Hébergements Sélectionnés - Stile Apple Minimalista */
.inclusion-grid {
 display: flex;           /* attiva Flexbox */
  flex-wrap: wrap;         /* permette di andare a capo se non c'è spazio */
  gap: 20px;               /* distanza tra le caselle */
  justify-content: space-between; /* distribuisce uniformemente le caselle */
}

.inclusion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: block;
    flex: 1 1 calc(25% - 20px); /* ogni casella occupa circa 25% dello spazio (4 caselle per riga) */
    box-sizing: border-box;      /* include padding e border nella larghezza */
}

/* Sottile barra superiore che appare al hover */
.inclusion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, rgba(0, 122, 255, 0.6));
    opacity: 0;
    transition: opacity 300ms ease;
}

.inclusion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 122, 255, 0.15);
}

.inclusion-item:hover::before {
    opacity: 1;
}

/* Layout interno del riquadro */
.inclusion-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.inclusion-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.inclusion-icon::after {
    content: '✓';
    color: #007aff;
    font-size: 18px;
    font-weight: 600;
}

.inclusion-text {
    flex: 1;
    min-width: 0;
}

.inclusion-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.inclusion-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #86868b;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .inclusion-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .inclusion-item {
        padding: 20px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .inclusion-item {
        background: #1d1d1f;
        border-color: rgba(255, 255, 255, 0.08);
    }
    
    .inclusion-title {
        color: #f5f5f7;
    }
    
    .inclusion-subtitle {
        color: #98989d;
    }
    
    .inclusion-icon {
        background: rgba(0, 122, 255, 0.15);
    }
}












/* ---- Car rental ---- */
.car-title {
  color: #fff; 
  font-size: 24px;
  margin-bottom: 12px; /* distanza dal titolo al prezzo */
  font-weight: 700;
}
.side-info{ display:flex; flex-direction:column; gap:30px; }
.car-rental{
  text-align:center; padding:40px; color:#fff; border-radius:20px;
  background: var(--g-dark); position:relative; overflow:hidden;
  transition: transform var(--t-base) ease, box-shadow var(--t-base) ease;
}
.car-rental::before{
  content:""; position:absolute; inset:0; opacity:.30; pointer-events:none;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.02)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}
.car-rental:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.car-price{
  font-size:48px; font-weight:800;
  background: var(--g-warn);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
  margin-bottom: 4px; /* meno spazio rispetto a prima */
}
.car-label{ color: rgba(255,255,255,0.9); margin-bottom:16px; position:relative; z-index:1; }
.car-details{
  background: rgba(255,255,255,0.10); padding:20px; border-radius:12px;
  color: rgba(255,255,255,0.95); font-size:14px; line-height:1.6; position:relative; z-index:1;
}

/* ---- Tabella prezzi ---- */
.table-container{
  overflow-x:auto; margin:40px 0; border-radius:20px; background:#fff;
  box-shadow: 0 10px 50px rgba(0,0,0,0.08);
}
.table-container table{ width:100%; border-collapse:collapse; font-size:15px; }
.table-container thead th{
  background: var(--g-dark); color:#fff; font-weight:700;
  padding:25px 20px; text-align:center; font-size:16px;
}
.table-container tbody td{
  padding:20px; text-align:center; border-bottom:1px solid #f2f2f2; color:var(--c-text); font-weight:600;
  transition: background var(--t-base) ease, transform var(--t-base) ease;
}
.table-container tbody tr:hover td{
  background: linear-gradient(135deg, rgba(0,122,255,0.06), rgba(90,200,250,0.03));
  transform: scale(1.015);
}
.season-label{
  display:block; font-size:12px; color:rgba(255,255,255,0.8); font-weight:400; margin-top:6px; font-style:italic;
}

/* ---- Note / info ---- */
.note{
  font-size:15px; color:var(--c-muted); margin:20px 0; padding:20px;
  background: linear-gradient(135deg, rgba(108,117,125,0.08), rgba(108,117,125,0.03));
  border-radius:12px; border-left:4px solid #007AFF; font-style:italic;
}

/***********************************************
 *  SEZIONE: CALL TO ACTION (CTA) – VoyageSicile
 *  Target: .cta-section
 ***********************************************/


/* -------------------------------------------
   1) CONTENITORE PRINCIPALE CTA
   ------------------------------------------- */
.cta-section {
  text-align: center;
  margin-top: 80px;
  padding: 80px 50px;
  background: var(--g-primarlux);               /* Gradiente o colore primario del sito stabilito in basso da Design tokens ---- */ */
  border-radius: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;                           /* Necessario per sfondo decorativo */
}


/* -------------------------------------------
   2) DECORAZIONE DI SFONDO (PATTERN SVG)
   ------------------------------------------- */
/* Pattern luxury leggero e discreto integrato tramite SVG inline */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="luxury" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,5 L35,25 L25,45 L15,25 Z" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23luxury)"/></svg>');
}


/* -------------------------------------------
   3) TESTI DELLA CTA (TITOLO + DESCRIZIONE)
   ------------------------------------------- */
.cta-section h2 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  z-index: 1;                                  /* Sopra lo sfondo */
}

.cta-section p {
  font-size: 20px;
  opacity: .95;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  position: relative;
  z-index: 1;
}


/* -------------------------------------------
   4) PULSANTE CTA (STYLE + INTERACTIONS)
   ------------------------------------------- */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #007AFF;
  padding: 20px 50px;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  border: 2px solid rgba(255,255,255,0.20);
  box-shadow: 0 8px 30px rgba(255,255,255,0.30);

  transition:
    transform var(--t-base) ease,
    box-shadow var(--t-base) ease,
    background var(--t-base) ease,
    color var(--t-base) ease;

  position: relative;
  z-index: 1;                                  /* Sopra background decorativo */
}


/* -------------------------------------------
   5) EFFETTO HOVER SUL PULSANTE CTA
   ------------------------------------------- */
.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,255,255,0.40);
  background: #fff;                            /* Più luminoso in hover */
}


/* -------------------------------------------
   6) ACCESSIBILITÀ: FOCUS KEYBOARD
   ------------------------------------------- */
.cta-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.6),
    0 0 0 8px rgba(0,122,255,0.35);
}


/***********************************************
 *  FINE SEZIONE: CALL TO ACTION (CTA)
 ***********************************************/

/* ---- Accessibilità & motion ---- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---- Responsive ---- */
@media (max-width: 768px){
  .wp-sicile-container{ padding:60px 20px; }
  .luxury-grid{ gap:28px; margin-bottom:60px; }
  .main-info, .card{ padding:28px; }
  .hero-subtitle{ font-size:20px; }
  .price-highlight{ font-size:20px; padding:16px 28px; }
  .car-price{ font-size:40px; }
  .cta-section{ padding:60px 30px; margin:60px 0; }
}

/* ---- Dark mode opzionale ---- */
@media (prefers-color-scheme: dark){
  .wp-sicile-container{
    background: linear-gradient(135deg, #161617 0%, #1c1c1e 100%);
    color: #f5f5f7;
  }
  .hero-subtitle, .hero-meta, .note{ color:#c8c8cc; }
  .table-container{ background:#1e1e20; }
  .table-container tbody td{ color:#f5f5f7; border-bottom:1px solid rgba(255,255,255,0.08); }
}


/***********************************************
 *  SEZIONE: LUXURY FEATURES GRID – VoyageSicile
 *  Target: .luxury-features-grid (4 box/feature in basso pagina)
 ***********************************************/


/* -------------------------------------------
   1) LAYOUT DELLA GRIGLIA PRINCIPALE
   ------------------------------------------- */
/* Griglia responsiva con 3 colonne (quando c'è spazio)
   e auto-adattamento grazie ad auto-fit + minmax */
.luxury-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 3 colonne più larghe */
  gap: 24px;                                                   /* Spaziatura tra i box */
  margin: 30px 0;
}


/* -------------------------------------------
   2) STILE BASE DEL BOX FEATURE
   ------------------------------------------- */
.feature-box {
  background: var(--g-feature);                /* Colore/gradiente di base (gestito via CSS var) */
  padding: 24px;
  border-radius: 16px;                         /* Angoli arrotondati */
  text-align: left;
  border: 1px solid rgba(0,122,255,0.10);      /* Bordo leggero blu */
  transition: 
    transform var(--t-base) ease,
    box-shadow var(--t-base) ease,
    background var(--t-base) ease,
    color var(--t-base) ease;                  /* Transizioni morbide */
}


/* -------------------------------------------
   3) EFFETTI HOVER SUL BOX FEATURE
   ------------------------------------------- */
.feature-box:hover {
  background: linear-gradient(135deg, #8F6314, #EED8BE);  /* Sfondo in gradiente blu */
  color: #fff;                                            /* Testo bianco in hover */
  transform: translateY(-4px);                            /* Leggero sollevamento */
  box-shadow: 0 8px 25px rgba(242, 209, 146, 0.3);        /* Ombra più intensa */
}


/* -------------------------------------------
   4) TIPOGRAFIA INTERNA DEL BOX
   ------------------------------------------- */
/* Titolo principale della feature */
.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Descrizione breve */
.feature-desc {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Testo piccolo extra / nota */
.feature-small {
  font-size: 13px;
  line-height: 1.4;
  display: block;
}


/* -------------------------------------------
   5) RESPONSIVE: MOBILE E TABLET
   ------------------------------------------- */
/* Su schermi piccoli: una colonna singola */
@media (max-width: 768px) {
  .luxury-features-grid {
    grid-template-columns: 1fr;
  }
}

/***********************************************
 *  FINE SEZIONE: LUXURY FEATURES GRID
 ***********************************************/

  