@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
/* ==========================================================================
   VARIABILI E COLORI (COLORE CALDO ELEGANTE E FLUTTUAZIONE CARD)
   ========================================================================== */
:root {
  --primary-dark: #0a3e3c;
  --primary-light: #78bfb8;
  --bg-color: #f3eee6; /* Tonalità sabbia/crema calda ed elegante */
  --surface: #ffffff;
  --text-main: #2c3531;
  --text-muted: #666666;
  --shadow-elevation: 0 10px 25px rgba(10, 62, 60, 0.1), 0 3px 8px rgba(0,0,0,0.05); /* Effetto fluttuante marcato */
  --radius: 16px;
  --spacing-base: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  padding-bottom: 80px;
}

/* ==========================================================================
   WIDGET TRADUZIONE GOOGLE
   ========================================================================== */
.translate-bar {
  display: flex;
  justify-content: center;
  padding-bottom: 15px;
}


/* ==========================================================================
   HERO CON IMMAGINE DI SFONDO RIPRISTINATA
   ========================================================================== */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.65)), url('immagini/copertina.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 50px 0 60px 0;
  text-align: center;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.hero-description {
  font-size: 15px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   NAVIGAZIONE STICKY
   ========================================================================== */
.sticky-nav {
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 12px;
}

.nav-list a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  background: #eef5f4;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   LAYOUT E CARD FLUTTUANTI
   ========================================================================== */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

.center { text-align: center; }

.page-content section { margin-top: 36px; }

.section-header { margin-bottom: 18px; }
.section-header h2 { font-size: 22px; color: var(--primary-dark); margin-bottom: 4px; }
.section-header p { font-size: 14px; color: var(--text-muted); }

/* Card a rilievo ed effetto fluttuante */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevation);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: hidden;
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-body { padding: 18px; }

/* Scroll orizzontale per card */
.horizontal-scroll {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 6px 4px 18px 4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.horizontal-scroll::-webkit-scrollbar { display: none; }
.horizontal-scroll .card {
  flex: 0 0 85%;
  max-width: 320px;
  margin-bottom: 0;
  scroll-snap-align: start;
}
.horizontal-scroll .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.horizontal-scroll .card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.horizontal-scroll .card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   PULSANTI UNIFORMI E CENTRATI
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-whatsapp {
  display: block;
  text-align: center;
  margin: 10px auto 0 auto;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--primary-dark);
  color: white;
  padding: 10px 16px;
  font-size: 14px;
  width: 100%;
}

.btn-secondary {
  background: white;
  color: var(--primary-dark);
  border: 1px solid var(--primary-dark);
  padding: 8px 12px;
  font-size: 13px;
  width: 100%;
}

.btn-komoot {
  background-color: #93c938 !important;
  color: white !important;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 12px 20px;
  font-size: 15px;
  width: 100%;
}

.whatsapp-fixed {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  z-index: 1000;
  text-decoration: none;
}

/* ==========================================================================
   LAYOUT MAPPE AFFIANCATE (SPLIT MAP + SIDEBAR)
   ========================================================================== */
.side-by-side-card {
  display: flex;
  flex-direction: row !important;
  height: 480px;
  overflow: hidden;
  padding: 0 !important;
}

.left-map {
  flex: 1;
  width: 50%;
  height: 100%;
}
.left-map .leaflet-map {
  height: 100% !important;
  min-height: 400px;
  width: 100%;
  z-index: 1; 
}

.right-info {
  flex: 1;
  width: 50%;
  height: 100%;
  padding: 12px;
  background: #fff;
  border-left: 1px solid #eee;
}

.scroll-area {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.map-actions-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.map-legend-chips-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.map-chip {
  display: block;
  background: #eef5f4;
  color: var(--primary-dark);
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.map-chip.active {
  background: var(--primary-dark);
  color: white;
}

.side-list li {
  display: flex;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}
.side-list li:last-child { border-bottom: none; }
.side-list .place-info {
  width: 100%;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-btn {
  padding: 6px 10px !important;
  font-size: 12px !important;
  margin-top: 4px !important;
}

/* ==========================================================================
   LISTE, BADGE E BOX ALERT ZTL
   ========================================================================== */
.place-list { list-style: none; }
.place-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.mini-link {
  background: #eef5f4;
  color: var(--primary-dark);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.badge {
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: #555;
  font-weight: 600;
}
.badge.time { background: #e8f5e9; color: #2e7d32; }

/* Box giallo ZTL mantenuto integro nei colori ed elegante negli spazi */
.alert-box {
  background: #fff3cd;
  color: #856404;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  border: 1px solid #ffeeba;
  line-height: 1.4;
}

/* ==========================================================================
   OTTIMIZZAZIONE CIBO & STREET FOOD
   ========================================================================== */
.food-scroll .food-card {
  min-width: 250px;
}
.food-scroll .food-card img {
  height: 110px;
}
.food-scroll .card-body {
  padding: 12px;
}
.food-scroll h3 {
  font-size: 16px !important;
  margin-bottom: 6px !important;
}
.food-scroll .place-list li {
  padding: 6px 0;
  font-size: 13px;
}

.compact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.chip {
  background: #f0f0f0;
  color: #333;
  padding: 5px 8px;
  border-radius: 12px;
  font-size: 11px;
  position: relative;
  cursor: help;
}

.chip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: normal;
  width: 180px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.chip.show-tooltip::after {
  opacity: 1;
  visibility: visible;
}
/* ==========================================================================
   DETTAGLI PERCORSO (LUNGHEZZA, TEMPO, DIFFICOLTÀ)
   ========================================================================== */
.percorso-dettagli {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 15px 0;
  padding: 12px 10px;
  background-color: #f7f9f9;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0a3e3c;
  border: 1px solid rgba(120, 191, 184, 0.2);
}

.percorso-dettagli span {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* ==========================================================================
   SEZIONE PRENOTA E APPARTAMENTI
   ========================================================================== */
.prenota-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.appartamento-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid rgba(120, 191, 184, 0.2);
  display: flex;
  flex-direction: column;
}

.appartamento-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.appartamento-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.appartamento-body h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.appartamento-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Stili per le sottopagine dei dettagli appartamento */
.appartamento-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.foto-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.foto-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.foto-gallery img:hover {
  transform: scale(1.02);
}

.info-box-appartamento {
  background: #f7f9f9;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 15px 0;
  border-left: 4px solid var(--primary-dark);
}

.info-box-appartamento h4 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.info-box-appartamento ul {
  padding-left: 20px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.info-box-appartamento li {
  margin-bottom: 6px;
}
/* Correzione altezza e overflow per le card del cibo */
.food-scroll .food-card {
  height: auto !important;
  min-height: 380px;
}

.food-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: visible;
}

.food-card .place-list {
  max-height: none !important;
  overflow: visible !important;
}
/* ==========================================================================
   CORREZIONI DEFINITIVE: CHIP STREET FOOD & BOTTONI RISTORANTI
   ========================================================================== */

/* 1. Sistema i chip di Street Food (testo mai tagliato e spaziature corrette) */
.chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  overflow: visible !important;
  max-height: none !important;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1.3;
  white-space: normal !important; /* Permette al testo di andare a capo se necessario */
  height: auto !important;
}

/* 2. Rende i bottoni "Apri in Maps" dei ristoranti piccoli, eleganti e staccati */
.food-card .place-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.food-card .place-info {
  flex-grow: 1;
  font-size: 13px;
}

/* Pulsante mini uniforme per i ristoranti */
.food-card .mini-btn {
  padding: 4px 10px !important;
  font-size: 11px !important;
  border-radius: 12px !important;
  white-space: nowrap;
  flex-shrink: 0;
  width: auto !important;
}
/* CORREZIONE FORZATA PER I CHIP DI STREET FOOD */
.food-card .card-body {
  height: 100% !important;
  justify-content: flex-start !important;
  overflow: visible !important;
}

.chips-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  max-height: none !important;
  overflow: visible !important;
  margin-top: 10px !important;
}

.chip {
  display: inline-block !important;
  position: relative !important;
  padding: 6px 10px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  height: auto !important;
  white-space: normal !important;
  background: #f0f4f4 !important;
  border-radius: 8px !important;
  color: var(--primary-dark) !important;
  box-sizing: border-box !important;
}
/* Stile per i pulsanti di scorrimento del menu */
.scroll-btn {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.2s;
  flex-shrink: 0;
}

.scroll-btn:hover {
  background-color: #f0f0f0;
}
/* Wrapper e frecce per i caroselli da PC */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  color: #0a3e3c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.2s ease;
}

.scroll-arrow:hover {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: translateY(-50%) scale(1.05);
}

/* Posiziona le frecce leggermente sovrapposte alle card */
.left-arrow { left: -10px; }
.right-arrow { right: -10px; }

/* Nascondi le frecce sui dispositivi mobili */
@media (max-width: 768px) {
  .scroll-arrow {
    display: none !important;
  }
}
/* --- CAROSELLO RECENSIONI --- */
.reviews-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
  overflow: hidden;
}

.reviews-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}

.reviews-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* Gradienti laterali per l'effetto sfumato */
.reviews-slider::before, .reviews-slider::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
}
.reviews-slider::before { left: 0; background: linear-gradient(to right, #f9f9f9, transparent); }
.reviews-slider::after { right: 0; background: linear-gradient(to left, #f9f9f9, transparent); }

.reviews-track {
  display: flex;
  gap: 20px;
  /* Modifica i 60s per rendere lo scorrimento più veloce o più lento */
  animation: scroll-reviews 60s linear infinite; 
  width: max-content;
  padding: 10px 0;
}

.reviews-slider:hover .reviews-track {
  animation-play-state: paused; /* Ferma lo scorrimento se si tocca o si passa col mouse */
}

.review-card {
  background: #fff;
  width: 300px;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: left;
  white-space: normal;
  flex-shrink: 0;
  border: 1px solid #eee;
}

.review-stars {
  color: #f39c12;
  margin-bottom: 10px;
  font-size: 16px;
}

.review-text {
  font-size: 15px;
  color: #555;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 15px;
}

.review-author {
  font-weight: 700;
  font-size: 14px;
  color: #222;
}

@keyframes scroll-reviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* --- PREMIUM FOOTER --- */
.premium-footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 60px 20px 20px;
  margin-top: 60px;
  font-family: inherit;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.footer-col p, 
.footer-col ul, 
.footer-col li {
  font-size: 15px;
  line-height: 1.6;
  color: #a3a3a3;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col ul li a {
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  color: #ffffff;
  background-color: #333333;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.footer-social a:hover {
  background-color: #f39c12; /* Richiama il color oro delle stelle */
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333333;
  font-size: 13px;
  color: #777777;
}
/* Sezione Carosello Itinerari */
.itinerari-section {
  padding: 32px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.itinerari-header {
  text-align: center;
  margin-bottom: 20px;
}

.itinerari-header h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  color: #1f1f1f;
}

.itinerari-header p {
  font-size: 0.95rem;
  color: #555555;
  margin: 0;
}

.itinerari-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Frecce nascoste su smartphone */
.carousel-arrow {
  display: none;
}

/* Frecce visibili solo su computer */
@media (min-width: 768px) {
  .carousel-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e5e0d8;
    color: #1f1f1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease, background 0.2s ease;
  }

  .carousel-arrow:hover {
    background: #f5efe6;
    transform: translateY(-50%) scale(1.06);
  }

  .prev-arrow {
    left: -14px;
  }

  .next-arrow {
    right: -14px;
  }
}

.itinerari-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px 4px;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.itinerari-carousel::-webkit-scrollbar {
  height: 6px;
}

.itinerari-carousel::-webkit-scrollbar-thumb {
  background: #d4c5b3;
  border-radius: 10px;
}

.itinerario-card {
  flex: 0 0 82%;
  max-width: 320px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #ece6de;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.itinerario-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);
}

.itinerario-img-wrap {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  background: #f5efe6;
}

.itinerario-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.itinerario-card:hover .itinerario-img-wrap img {
  transform: scale(1.04);
}

.itinerario-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #7c5832;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.itinerario-body {
  padding: 18px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.itinerario-body h3 {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
  color: #1f1f1f;
}

.itinerario-body p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.btn-itinerario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1f1f1f;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.btn-itinerario:hover {
  background: #7c5832;
}

@media (min-width: 768px) {
  .itinerario-card {
    flex: 0 0 285px;
  }
}

/* Stile Pagine Itinerario con Foto Hero e Pulsante Torna alla Home */
.hero-itinerario-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero-itinerario-banner {
    height: 360px;
    padding: 28px 40px;
  }
}

.btn-torna-home {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 30, 30, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 50px;
  transition: background 0.2s ease;
}

.btn-torna-home:hover {
  background: rgba(30, 30, 30, 0.85);
}

.hero-itinerario-title {
  color: #ffffff;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-itinerario-title h1 {
  margin: 0 0 4px 0;
  font-size: 1.9rem;
}

.hero-itinerario-title p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.itinerario-sheet {
  position: relative;
  margin-top: -22px;
  background: #ffffff;
  border-radius: 24px 24px 0 0;
  padding: 28px 18px 48px 18px;
}

.itinerario-sheet-inner {
  max-width: 800px;
  margin: 0 auto;
}
/* Barra superiore nelle pagine itinerario (Torna alla Home + Lingua) */
.hero-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

/* Traduttore Google pulito (senza logo né barra superiore) */
.goog-te-banner-frame.skiptranslate,
.skiptranslate > iframe {
  display: none !important;
}

body {
  top: 0px !important;
}

.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

.goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
}

.goog-te-gadget .goog-te-combo {
  background: rgba(30, 30, 30, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 9px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  margin: 0 !important;
}

.goog-te-gadget .goog-te-combo option {
  background: #2b2b2b;
  color: #ffffff;
}

/* Footer Carolino Palermo */
.carolino-footer {
  background: #2b2b2b;
  color: #e5e5e5;
  padding: 44px 20px 24px 20px;
  font-family: sans-serif;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.2fr;
    gap: 40px;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 14px 0;
}

.footer-col p {
  color: #cccccc;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0 0 18px 0;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #3d3d3d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: #b5895a;
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a,
.footer-contacts a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: #ffffff;
}

.footer-links i,
.footer-contacts i {
  color: #c59b6d;
  width: 16px;
  text-align: center;
}

.footer-bottom {
  max-width: 1100px;
  margin: 34px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: #aaaaaa;
}
/* Barra di avanzamento sotto tutti i caroselli orizzontali */
*::-webkit-scrollbar:horizontal {
  display: block !important;
  height: 5px !important;
}

*::-webkit-scrollbar-track:horizontal {
  background: rgba(212, 197, 179, 0.25) !important;
  border-radius: 10px !important;
}

*::-webkit-scrollbar-thumb:horizontal {
  background: #d4c5b3 !important;
  border-radius: 10px !important;
}
/* Sezione Unificata Attrazioni & Mappa (blocco unico senza spazio) */
.attrazioni-mappa-section {
  padding: 28px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.attrazioni-mappa-section .itinerari-wrapper {
  background: #faf8f5;
  border: 1px solid #ece6de;
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 4px 12px;
  margin-bottom: 0 !important;
}

.attrazioni-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 0 8px 0 !important;
  margin: 0 !important;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.attrazione-card-unified {
  flex: 0 0 84%;
  max-width: 330px;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #ece6de;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .attrazione-card-unified {
    flex: 0 0 305px;
  }
}

.attrazione-img-box {
  width: 100%;
  height: 170px;
  background: #f5efe6;
  overflow: hidden;
}

.attrazione-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.attrazione-card-body {
  padding: 16px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.attrazione-card-body h3 {
  font-size: 1.18rem;
  margin: 0 0 8px 0;
  color: #1f1f1f;
}

.attrazione-card-body p {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #555555;
  margin: 0 0 16px 0;
  flex-grow: 1;
}

.attrazione-btn-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-vedi-mappa,
.btn-apri-maps {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-vedi-mappa {
  background: #f5efe6;
  color: #1f4e46;
  border: 1px solid #dfd3c3;
}

.btn-vedi-mappa:hover {
  background: #ebe0d1;
}

.btn-apri-maps {
  background: #1f4e46;
  color: #ffffff;
  border: 1px solid #1f4e46;
}

.btn-apri-maps:hover {
  background: #163832;
}

.unified-map-box {
  margin-top: 0 !important;
  background: #ffffff;
  border-radius: 0 0 16px 16px !important;
  overflow: hidden;
  border: 1px solid #ece6de;
  border-top: 1px solid #e2d9cd;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Mappa 1/3 più piccola */
.unified-map-box .leaflet-map {
  width: 100%;
  height: 230px !important;
}

@media (min-width: 768px) {
  .unified-map-box .leaflet-map {
    height: 280px !important;
  }
}

.map-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  background: #faf8f5;
  border-top: 1px solid #ece6de;
}

.map-bottom-actions .btn-secondary {
  flex: 1;
  min-width: 160px;
  justify-content: center;
  text-align: center;
}
/* =========================================================
   OTTIMIZZAZIONE SPAZI, RECENSIONI COMPATTE E FOOTER AFFIANCATO
   ========================================================= */

/* 1. Spazio compatto tra le sezioni */
section,
.itinerari-section,
.attrazioni-mappa-section {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.section-header,
.itinerari-header,
.section-header-unified {
  margin-bottom: 10px !important;
}

/* 2. Sezione Recensioni compatta (metà altezza) */
.recensioni-compatte,
section:has(+ .carolino-footer) {
  padding: 12px 14px !important;
  margin-bottom: 24px !important;
}

.recensioni-compatte h2,
section:has(+ .carolino-footer) h2 {
  font-size: 1.15rem !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

.recensioni-compatte > div,
section:has(+ .carolino-footer) > div {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.recensioni-compatte .card,
.recensioni-compatte [class*="review"],
section:has(+ .carolino-footer) .card,
section:has(+ .carolino-footer) [class*="review"] {
  min-height: 0 !important;
  height: auto !important;
  padding: 10px 12px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.recensioni-compatte p,
section:has(+ .carolino-footer) p {
  font-size: 0.8rem !important;
  line-height: 1.3 !important;
  margin: 4px 0 !important;
}

/* 3. Footer staccato dalle recensioni e colonne affiancate */
.carolino-footer {
  margin-top: 26px !important;
  padding: 26px 16px 20px 16px !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.25fr !important;
  gap: 20px 12px !important;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-col h4 {
  font-size: 0.88rem !important;
  margin-bottom: 10px !important;
}

.footer-col p {
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.footer-links,
.footer-contacts {
  gap: 8px !important;
}

.footer-links a,
.footer-contacts a {
  font-size: 0.78rem !important;
  gap: 6px !important;
  line-height: 1.3 !important;
  overflow-wrap: anywhere;
}

.footer-bottom {
  margin-top: 20px !important;
  padding-top: 14px !important;
  font-size: 0.78rem !important;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.2fr !important;
    gap: 36px !important;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-links a,
  .footer-contacts a {
    font-size: 0.92rem !important;
    gap: 10px !important;
  }
}
/* Compatta anche il contenitore interno delle recensioni e stacca il footer */
.reviews-section.recensioni-compatte {
  padding: 14px 16px !important;
  margin-bottom: 32px !important;
  min-height: 0 !important;
}

.reviews-section.recensioni-compatte .reviews-slider,
.reviews-section.recensioni-compatte .reviews-track {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

.reviews-section.recensioni-compatte .reviews-track > div {
  padding: 10px 12px !important;
  min-height: 0 !important;
  height: auto !important;
}

.carolino-footer {
  margin-top: 32px !important;
}
/* =========================================================
   CHIP IN 2 COLONNE E RIDUZIONE SPAZIO BIANCO CARD CIBO
   ========================================================= */
.food-card,
.food-card .card-body {
  min-height: 0 !important;
  height: auto !important;
}

.food-card .card-body {
  padding: 12px 14px !important;
  justify-content: flex-start !important;
}

.food-card .card-body h3 {
  margin: 0 0 8px 0 !important;
}

.food-card .place-list {
  margin: 0 !important;
  padding: 0 !important;
}

.food-card .place-list li {
  padding: 5px 0 !important;
}

.food-card .place-list .mini-btn {
  padding: 5px 10px !important;
  font-size: 12px !important;
}

/* Disposizione chip "Da assaggiare" in 2 colonne ordinate */
.food-card .card-body .chips-container.streetfood-tags-grandi {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 6px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

.food-card .card-body .chips-container.streetfood-tags-grandi .chip {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 6px 6px !important;
  border-radius: 10px !important;
  line-height: 1.2 !important;
}

/* Fa occupare l'intera riga all'ultima chip (13ª) per chiudere il rettangolo */
.food-card .card-body .chips-container.streetfood-tags-grandi .chip:last-child:nth-child(odd) {
  grid-column: 1 / -1 !important;
}
/* =========================================================
   CAROSELLO SEZIONE "SERVIZI VICINO CASA"
   ========================================================= */
#servizi .cards-carousel {
  display: flex !important;
  flex-direction: row !important;
  gap: 14px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  padding: 6px 4px 16px 4px !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
}

#servizi .card.food-card {
  flex: 0 0 84% !important;
  max-width: 325px !important;
  scroll-snap-align: start !important;
  background: #ffffff !important;
  border: 1px solid #ece6de !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  #servizi .card.food-card {
    flex: 0 0 305px !important;
  }
}

#servizi .card.food-card > img {
  width: 100% !important;
  height: 160px !important;
  object-fit: cover !important;
  display: block !important;
}

#servizi .card-body {
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

#servizi .card-body h3 {
  font-size: 1.12rem !important;
  margin: 0 0 10px 0 !important;
  color: #1f1f1f !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#servizi .service-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

#servizi .service-list li {
  padding: 10px 0 !important;
  border-bottom: 1px solid #f0ebe3 !important;
}

#servizi .service-list li:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

#servizi .service-list a {
  color: #1f4e46 !important;
  font-size: 16px !important;
  padding: 4px 6px !important;
}
/* =========================================================
   CARD PARCHEGGIO & ZTL COMPATTA CON PIN MAPS E BOX IN FONDO
   ========================================================= */
.inner-parking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1f4e46;
}

.inner-parking-nav {
  display: flex;
  gap: 5px;
}

.inner-parking-nav button {
  background: #f3efe9;
  border: 1px solid #dfd7cb;
  color: #1f4e46;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  padding: 0;
}

.inner-parking-carousel {
  display: flex;
  flex-direction: row;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 8px 2px;
  -webkit-overflow-scrolling: touch;
}

.parking-mini-card {
  flex: 0 0 162px;
  scroll-snap-align: start;
  background: #faf8f5;
  border: 1px solid #e6dfd5;
  border-radius: 12px;
  padding: 9px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
}

.parking-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.parking-pin-link {
  color: #1f4e46 !important;
  background: #e6f0ee;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px !important;
  text-decoration: none;
  flex-shrink: 0;
}

.parking-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

.parking-type-badge.garage {
  background: #e6f0ee;
  color: #1f4e46;
}

.parking-type-badge.free-area {
  background: #efeae2;
  color: #5a4e3c;
}

.ztl-free {
  color: #1f6e43;
}

.ztl-warn {
  color: #b86214;
}

.parking-mini-card strong {
  display: block;
  font-size: 13.5px;
  color: #1f1f1f;
  line-height: 1.25;
}

.parking-mini-card .parking-distance {
  font-size: 11.5px;
  color: var(--text-muted);
}

.ztl-card-alert {
  background: #fef6e4;
  border: 1px solid #f2d59b;
  border-left: 3px solid #d9822b;
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
  margin-bottom: 0;
  color: #5c4318;
}

.ztl-alert-title {
  font-weight: 700;
  color: #b86214;
  margin-bottom: 2px;
  font-size: 11.5px;
}

.ztl-card-alert p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.35;
}
/* =========================================================
   TEMA 3D STATICO: SFONDO SABBIA/CREMA + PULSANTI #A44A3F
   ========================================================= */

:root {
  --pal-terracotta: #A44A3F;
  --pal-tangerine: #F19C79;
  --pal-sand: #BAA587;
  --text-muted: #5c554c !important;
}

/* Rimuove livelli extra precedenti */
body::before,
body::after {
  content: none !important;
  display: none !important;
}

/* 1. Sfondo sfumato chiaro crema/sabbia mantenuto dall'ultima prova */
html {
  min-height: 100%;
  overflow-x: hidden !important;
}

body {
  position: relative !important;
  overflow-x: hidden !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: #F1DCA7 !important;
  background-image: linear-gradient(
    180deg,
    #FAF1D6 0%,
    #F1DCA7 28%,
    #E7CEB5 56%,
    #D9AE94 82%,
    #C9B8A3 100%
  ) !important;
  background-attachment: fixed !important;
  color: #211d18 !important;
}

header, main, section, footer, .carolino-footer, nav {
  position: relative;
  z-index: 1;
}

/* 2. Tipografia Editoriale e icone in #A44A3F */
h1, h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #1f1b16 !important;
  letter-spacing: -0.025em !important;
  text-shadow: 0 1px 12px rgba(250, 241, 214, 0.85) !important;
}

.section-header p,
.hero-subtitle,
.subtitle {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.06rem !important;
  color: #423b32 !important;
  text-shadow: 0 1px 10px rgba(250, 241, 214, 0.75) !important;
}

h3, h4,
#servizi .card-body h3,
.food-card .card-body h3,
.attrazione-card-body h3 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #211d18 !important;
  letter-spacing: -0.015em !important;
}

p, span, li, strong,
.food-card .place-list strong,
.parking-mini-card strong,
.service-list strong {
  color: #29241e !important;
}

h2 i, h3 i, .service-list i, .parking-distance i, .inner-parking-header i {
  color: #A44A3F !important;
}

/* Spazio verticale nei caroselli per mostrare lo spessore 3D */
.cards-carousel,
#servizi .cards-carousel {
  padding-top: 12px !important;
  padding-bottom: 32px !important;
}

/* 3. Card principali 3D FERME coordinate allo sfondo sabbia */
.card,
.food-card,
#servizi .card.food-card,
.attrazione-card-unified,
.reviews-section,
.review-card,
.info-box,
.appartamento-card {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(253, 249, 239, 0.92) 100%
  ) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  border: 1.5px solid #ffffff !important;
  border-right: 2px solid #dfd3c0 !important;
  border-radius: 22px !important;
  animation: none !important;
  transform: none !important;
  box-shadow:
    0 6px 0 #d5c4ae,
    0 7px 0 #BAA587,
    0 22px 38px -10px rgba(74, 58, 42, 0.18),
    0 10px 18px -6px rgba(74, 58, 42, 0.10),
    inset 0 2px 1px #ffffff !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

@media (hover: hover) {
  .card:hover,
  .food-card:hover,
  .attrazione-card-unified:hover {
    transform: translateY(-5px) !important;
    box-shadow:
      0 8px 0 #d5c4ae,
      0 9px 0 #BAA587,
      0 30px 48px -10px rgba(74, 58, 42, 0.24),
      0 14px 24px -6px rgba(74, 58, 42, 0.12),
      inset 0 2px 1px #ffffff !important;
  }
}

.food-card .place-list li,
#servizi .service-list li {
  border-bottom: 1px solid rgba(153, 123, 102, 0.14) !important;
}

.food-card .place-list li:last-child,
#servizi .service-list li:last-child {
  border-bottom: none !important;
}

/* 4. Mini-card parcheggi e chip Street Food con spessore 3D */
.parking-mini-card,
.food-card .card-body .chips-container.streetfood-tags-grandi .chip {
  background: linear-gradient(180deg, #ffffff 0%, #fbf5e6 100%) !important;
  border: 1px solid #ffffff !important;
  border-bottom: 3px solid #cbb9a1 !important;
  border-radius: 999px !important;
  box-shadow:
    0 6px 14px rgba(74, 58, 42, 0.08),
    inset 0 1px 0 #ffffff !important;
  color: #211d18 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.parking-mini-card {
  border-radius: 16px !important;
}

.food-card .card-body .chips-container.streetfood-tags-grandi .chip:hover {
  background: #A44A3F !important;
  color: #ffffff !important;
  border-color: #A44A3F !important;
  border-bottom-color: #6e2e26 !important;
  transform: translateY(-2px) !important;
}

.food-card .card-body .chips-container.streetfood-tags-grandi .chip:active {
  transform: translateY(2px) !important;
  border-bottom-width: 1px !important;
}

/* 5. Pulsanti principali 3D tattili ripristinati in #A44A3F */
.btn-primary,
.mini-btn,
.btn-apri-maps,
#servizi .parking-mini-card .btn-primary.mini-btn {
  background: linear-gradient(180deg, #b8564a 0%, #A44A3F 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-bottom: 4px solid #6e2e26 !important;
  border-radius: 999px !important;
  box-shadow:
    0 10px 20px -4px rgba(110, 46, 38, 0.35),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.40) !important;
  font-weight: 700 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.btn-primary i,
.mini-btn i,
.btn-apri-maps i {
  color: #ffffff !important;
}

.btn-primary:hover,
.mini-btn:hover,
.btn-apri-maps:hover {
  transform: translateY(-2px) !important;
  box-shadow:
    0 14px 24px -4px rgba(110, 46, 38, 0.42),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.50) !important;
}

.btn-primary:active,
.mini-btn:active,
.btn-apri-maps:active {
  transform: translateY(3px) !important;
  border-bottom-width: 1px !important;
  box-shadow: 0 3px 8px rgba(110, 46, 38, 0.35) !important;
}

/* 6. Pillole di navigazione, "Vedi in mappa", pin e frecce in #A44A3F */
.btn-vedi-mappa,
nav a,
.nav-pills a,
.category-tabs a,
.parking-pin-link,
.carousel-arrow,
.inner-parking-nav button {
  background: linear-gradient(180deg, #ffffff 0%, #faf4e4 100%) !important;
  border: 1px solid #ffffff !important;
  border-bottom: 3.5px solid #cbb9a1 !important;
  border-radius: 999px !important;
  color: #A44A3F !important;
  box-shadow:
    0 10px 20px -4px rgba(74, 58, 42, 0.14),
    inset 0 1.5px 0 #ffffff !important;
  font-weight: 700 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

.btn-vedi-mappa i,
nav a i,
.nav-pills a i,
.parking-pin-link i,
.carousel-arrow i,
.inner-parking-nav button i {
  color: #A44A3F !important;
}

.btn-vedi-mappa:hover,
nav a:hover,
.nav-pills a:hover,
.parking-pin-link:hover,
.carousel-arrow:hover {
  background: linear-gradient(180deg, #b8564a 0%, #A44A3F 100%) !important;
  color: #ffffff !important;
  border-color: #b8564a !important;
  border-bottom-color: #6e2e26 !important;
  transform: translateY(-2px) !important;
}

.btn-vedi-mappa:hover i,
nav a:hover i,
.nav-pills a:hover i,
.parking-pin-link:hover i,
.carousel-arrow:hover i {
  color: #ffffff !important;
}

.btn-vedi-mappa:active,
nav a:active,
.nav-pills a:active {
  transform: translateY(2px) !important;
  border-bottom-width: 1px !important;
}

/* 7. Badge parcheggi & Box ZTL con dettagli #F19C79 e #A44A3F */
.parking-type-badge.garage {
  background: rgba(203, 223, 189, 0.45) !important;
  color: #2c4a2e !important;
}

.parking-type-badge.free-area {
  background: rgba(241, 156, 121, 0.28) !important;
  color: #7d362d !important;
}

.ztl-free { color: #266b3a !important; }
.ztl-warn { color: #A44A3F !important; }

.ztl-card-alert {
  background: rgba(246, 244, 210, 0.78) !important;
  border: 1px solid rgba(241, 156, 121, 0.45) !important;
  border-left: 4px solid #F19C79 !important;
  border-bottom: 2px solid rgba(241, 156, 121, 0.35) !important;
  border-radius: 14px !important;
}

.ztl-alert-title,
.ztl-alert-title i {
  color: #A44A3F !important;
}

.ztl-card-alert p,
.ztl-card-alert strong {
  color: #2e2520 !important;
}

/* 8. Mappa Leaflet come lastra 3D spessorata */
#leafletMap {
  border-radius: 22px !important;
  border: 2px solid #ffffff !important;
  border-bottom: 7px solid #BAA587 !important;
  box-shadow:
    0 28px 54px -12px rgba(74, 58, 42, 0.22),
    0 12px 22px -6px rgba(74, 58, 42, 0.12) !important;
}

/* 9. Scrollbar sottili in #A44A3F */
::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(153, 123, 102, 0.12);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #A44A3F;
  border-radius: 10px;
}

/* 10. Footer distinto in Terracotta Scuro (#4d231e) coordinato ai bottoni #A44A3F */
.carolino-footer {
  background: linear-gradient(
    180deg,
    #4d231e 0%,
    #331613 100%
  ) !important;
  border-top: 4px solid #A44A3F !important;
  box-shadow:
    0 -14px 34px rgba(51, 22, 19, 0.26),
    inset 0 1px 0 rgba(241, 220, 167, 0.30) !important;
  color: #FAF1D6 !important;
}

.carolino-footer h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1.18rem !important;
  text-transform: none !important;
  color: #F1DCA7 !important;
  text-shadow: 0 2px 8px rgba(24, 10, 8, 0.45) !important;
}

.carolino-footer p,
.carolino-footer span,
.carolino-footer strong,
.carolino-footer a,
.carolino-footer li,
.carolino-footer .footer-bottom {
  color: #FAF1D6 !important;
}

.carolino-footer i {
  color: #F19C79 !important;
}

.carolino-footer a:hover {
  color: #F1DCA7 !important;
  text-decoration: underline !important;
}

/* Icone social 3D identiche ai bottoni principali del sito */
.carolino-footer .footer-socials a {
  background: linear-gradient(180deg, #b8564a 0%, #A44A3F 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-bottom: 3.5px solid #240e0c !important;
  border-radius: 50% !important;
  box-shadow:
    0 6px 14px rgba(20, 8, 7, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.carolino-footer .footer-socials a i {
  color: #ffffff !important;
}

.carolino-footer .footer-socials a:hover {
  background: #F1DCA7 !important;
  border-color: #F1DCA7 !important;
  border-bottom-color: #BAA587 !important;
  transform: translateY(-2px) !important;
}

.carolino-footer .footer-socials a:hover i {
  color: #331613 !important;
}
/* =========================================================
   FIX ITINERARI 3D, ALLINEAMENTO BOTTONI E SPAZI PERCORSI
   ========================================================= */

/* 1. Attiva lo stile 3D anche sulle card di "Itinerari pronti a Palermo" */
.itinerario-card,
.itinerary-card,
#itinerari .cards-carousel > div,
#itinerari .cards-carousel > article,
[id*="itinerar"] .cards-carousel > div,
[id*="itinerar"] .cards-carousel > article,
[class*="itinerar"] .cards-carousel > div,
[class*="itinerar"] .cards-carousel > article {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(253, 249, 239, 0.92) 100%
  ) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  border: 1.5px solid #ffffff !important;
  border-right: 2px solid #dfd3c0 !important;
  border-radius: 22px !important;
  box-shadow:
    0 6px 0 #d5c4ae,
    0 7px 0 #BAA587,
    0 22px 38px -10px rgba(74, 58, 42, 0.18),
    0 10px 18px -6px rgba(74, 58, 42, 0.10),
    inset 0 2px 1px #ffffff !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

@media (hover: hover) {
  .itinerario-card:hover,
  .itinerary-card:hover,
  #itinerari .cards-carousel > div:hover,
  [id*="itinerar"] .cards-carousel > div:hover,
  [class*="itinerar"] .cards-carousel > div:hover {
    transform: translateY(-5px) !important;
    box-shadow:
      0 8px 0 #d5c4ae,
      0 9px 0 #BAA587,
      0 30px 48px -10px rgba(74, 58, 42, 0.24),
      0 14px 24px -6px rgba(74, 58, 42, 0.12),
      inset 0 2px 1px #ffffff !important;
  }
}

/* Badge durata ("1 Giorno", "2 Giorni", ecc.) in stile pillola 3D */
.itinerario-badge,
.itinerary-badge,
.days-badge,
#itinerari .cards-carousel [class*="badge"],
[id*="itinerar"] .cards-carousel [class*="badge"],
[class*="itinerar"] .cards-carousel [class*="badge"],
#itinerari .cards-carousel [class*="tag"],
[id*="itinerar"] .cards-carousel [class*="tag"] {
  background: linear-gradient(180deg, #ffffff 0%, #faf4e4 100%) !important;
  border: 1px solid #ffffff !important;
  border-bottom: 2.5px solid #cbb9a1 !important;
  border-radius: 999px !important;
  color: #A44A3F !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 10px rgba(74, 58, 42, 0.14) !important;
}

.itinerario-badge i,
.itinerary-badge i,
#itinerari .cards-carousel [class*="badge"] i,
[id*="itinerar"] .cards-carousel [class*="badge"] i {
  color: #A44A3F !important;
}

/* Bottoni "Vedi itinerario ->" in terracotta #A44A3F con spessore 3D */
.btn-itinerario,
.itinerary-btn,
#itinerari .cards-carousel a,
[id*="itinerar"] .cards-carousel a,
[class*="itinerar"] .cards-carousel a {
  background: linear-gradient(180deg, #b8564a 0%, #A44A3F 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-bottom: 4px solid #6e2e26 !important;
  border-radius: 999px !important;
  box-shadow:
    0 10px 20px -4px rgba(110, 46, 38, 0.35),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.40) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.btn-itinerario i,
.itinerary-btn i,
#itinerari .cards-carousel a i,
[id*="itinerar"] .cards-carousel a i,
[class*="itinerar"] .cards-carousel a i {
  color: #ffffff !important;
}

/* 2. Allinea TUTTI i bottoni sulla stessa riga in ogni carosello */
.cards-carousel,
[id*="itinerar"] .cards-carousel,
[id*="percors"] .cards-carousel,
[id*="gite"] .cards-carousel {
  display: flex !important;
  align-items: stretch !important;
}

.card,
.attrazione-card-unified,
.itinerario-card,
.itinerary-card,
#itinerari .cards-carousel > div,
#itinerari .cards-carousel > article,
[id*="itinerar"] .cards-carousel > div,
[id*="itinerar"] .cards-carousel > article,
[class*="itinerar"] .cards-carousel > div,
[class*="itinerar"] .cards-carousel > article {
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
}

.card .card-body,
.attrazione-card-unified .attrazione-card-body,
.itinerario-card > div:last-child,
.itinerary-card > div:last-child,
#itinerari .cards-carousel > div > div:last-child,
#itinerari .cards-carousel > article > div:last-child,
[id*="itinerar"] .cards-carousel > div > div:last-child,
[id*="itinerar"] .cards-carousel > article > div:last-child,
[class*="itinerar"] .cards-carousel > div > div:last-child,
[class*="itinerar"] .cards-carousel > article > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
}

/* Spinge il bottone finale in fondo così risultano tutti perfettamente allineati */
.card .card-body > a:last-child,
.card .card-body > .btn-primary:last-child,
.card .card-body > .mini-btn:last-child,
.attrazione-card-body > div:last-child,
.itinerario-card a:last-of-type,
.itinerary-card a:last-of-type,
#itinerari .cards-carousel > div a,
#itinerari .cards-carousel > article a,
[id*="itinerar"] .cards-carousel > div a,
[id*="itinerar"] .cards-carousel > article a,
[class*="itinerar"] .cards-carousel > div a,
[class*="itinerar"] .cards-carousel > article a {
  margin-top: auto !important;
  align-self: stretch !important;
  text-align: center !important;
  justify-content: center !important;
}

/* 3. Ottimizza gli spazi interni nelle card di Percorsi, Gite e Itinerari */
.card:not(.food-card) > img,
.itinerario-card > img,
.itinerary-card > img,
#itinerari .cards-carousel > div > img,
[id*="itinerar"] .cards-carousel > div > img,
[class*="itinerar"] .cards-carousel > div > img {
  height: 155px !important;
  object-fit: cover !important;
}

.card:not(.food-card) .card-body,
.itinerario-card > div:last-child,
.itinerary-card > div:last-child,
#itinerari .cards-carousel > div > div:last-child,
[id*="itinerar"] .cards-carousel > div > div:last-child,
[class*="itinerar"] .cards-carousel > div > div:last-child {
  padding: 12px 15px 14px 15px !important;
}

.card:not(.food-card) .card-body h3,
.itinerario-card h3,
.itinerary-card h3,
#itinerari .cards-carousel h3,
[id*="itinerar"] .cards-carousel h3 {
  margin: 0 0 6px 0 !important;
  line-height: 1.25 !important;
}

.card:not(.food-card) .card-body p,
.itinerario-card p,
.itinerary-card p,
#itinerari .cards-carousel p,
[id*="itinerar"] .cards-carousel p {
  margin: 0 0 10px 0 !important;
  line-height: 1.4 !important;
  font-size: 13.5px !important;
}

/* Riduce lo spazio intorno alla barra km / durata / difficoltà nei percorsi */
.card:not(.food-card) .card-body [class*="meta"],
.card:not(.food-card) .card-body [class*="info"],
.card:not(.food-card) .card-body [class*="stats"],
.card:not(.food-card) .card-body [class*="dettagli"] {
  margin: 0 0 10px 0 !important;
  padding: 4px 0 !important;
}

.card:not(.food-card) .card-body > a:last-child,
.card:not(.food-card) .card-body > .btn-primary:last-child,
#itinerari .cards-carousel a,
[id*="itinerar"] .cards-carousel a,
[class*="itinerar"] .cards-carousel a {
  padding: 10px 16px !important;
}
/* =========================================================
   FIX VISIBILITÀ TITOLO E SOTTOTITOLO SOPRA LA FOTO COPERTINA
   ========================================================= */

header h1,
.hero h1,
.hero-content h1,
.hero-overlay h1,
.hero-banner h1,
.cover-wrapper h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.70), 0 1px 3px rgba(0, 0, 0, 0.90) !important;
}

header p,
header .subtitle,
header .hero-subtitle,
.hero p,
.hero span:not(.chip),
.hero-content p,
.hero-content span,
.hero-overlay p,
.hero-overlay span,
.hero-banner p,
.hero-banner span,
.cover-wrapper p,
.cover-wrapper span {
  color: #FAF1D6 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.90), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}
/* =========================================================
   TIPOGRAFIA PULITA UNIFORMATA ALLE CARD (NO CORSIVO)
   ========================================================= */

/* Sottotitoli sotto i titoli principali */
.section-header p,
.hero-subtitle,
.subtitle {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  color: #3f3830 !important;
  text-shadow: 0 1px 8px rgba(250, 241, 214, 0.7) !important;
}

/* Mantiene il contrasto chiaro sul sottotitolo sopra la foto di copertina */
header p,
header .subtitle,
header .hero-subtitle,
.hero p,
.hero-content p,
.hero-overlay p,
.cover-wrapper p {
  color: #FAF1D6 !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.90), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}

/* Titoli delle colonne nel Footer coordinati allo stesso stile */
.carolino-footer h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #F1DCA7 !important;
  text-shadow: none !important;
}
/* =========================================================
   SFONDO PANNA SFUMATO, TESTE DI MORO A METÀ E SPAZI CARD
   ========================================================= */

/* 1. Sfondo color panna che sfuma da chiaro a leggermente più scuro verso il basso */
body {
  background-color: #FAF4E6 !important;
  background-image: linear-gradient(
    180deg,
    #FFFDF8 0%,
    #FAF4E6 32%,
    #F3E9D2 68%,
    #E8DBC0 100%
  ) !important;
  background-attachment: fixed !important;
}

/* Adatta solo il leggero bagliore dietro i titoli al nuovo sfondo panna */
h1, h2 {
  text-shadow: 0 1px 12px rgba(255, 253, 248, 0.90) !important;
}

.section-header p,
.hero-subtitle,
.subtitle {
  text-shadow: 0 1px 10px rgba(255, 253, 248, 0.85) !important;
}

/* 2. Due Teste di Moro stilizzate in linee nere a metà faccia ai lati */
body::before,
body::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  top: 50% !important;
  width: clamp(150px, 18vw, 250px) !important;
  height: clamp(270px, 32vw, 450px) !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  opacity: 0.11 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Lato sinistro: metà faccia Testa di Moro (Re) */
body::before {
  left: 0 !important;
  transform: translate(-48%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 360' fill='none' stroke='%23181512' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 88 L164 88 L168 74 L148 80 L134 52 L118 78 L100 44'/%3E%3Ccircle cx='134' cy='46' r='3.5'/%3E%3Ccircle cx='100' cy='38' r='4'/%3E%3Ccircle cx='118' cy='83' r='2.5'/%3E%3Ccircle cx='146' cy='83' r='2.5'/%3E%3Cpath d='M100 96 L164 96'/%3E%3Cpath d='M164 96 C182 102 184 122 170 128 C186 134 186 154 170 160 C182 168 180 186 164 190'/%3E%3Cpath d='M162 112 L162 178 C162 222 140 258 100 268'/%3E%3Cpath d='M108 148 Q130 138 150 147'/%3E%3Cpath d='M113 162 Q130 153 146 162 Q130 170 113 162 Z'/%3E%3Cpath d='M126 158 A5 5 0 1 0 134 158'/%3E%3Cpath d='M100 152 L100 198 Q108 204 116 199'/%3E%3Cpath d='M100 218 Q112 214 123 220 Q112 225 100 224'/%3E%3Cpath d='M100 229 Q111 232 119 225'/%3E%3Cpath d='M136 254 Q135 288 148 314'/%3E%3Cpath d='M100 326 Q134 326 164 312'/%3E%3Cpath d='M100 336 Q138 336 170 320'/%3E%3C/svg%3E") !important;
}

/* Lato destro: metà faccia Testa di Moro (Regina) */
body::after {
  right: 0 !important;
  transform: translate(48%, -50%) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 360' fill='none' stroke='%23181512' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 88 L36 88 L32 72 L52 79 L66 54 L82 78 L100 46'/%3E%3Ccircle cx='66' cy='48' r='3.5'/%3E%3Ccircle cx='100' cy='40' r='4'/%3E%3Ccircle cx='82' cy='83' r='2.5'/%3E%3Ccircle cx='54' cy='83' r='2.5'/%3E%3Cpath d='M100 96 L36 96'/%3E%3Cpath d='M36 96 C18 106 16 136 28 156 C14 168 16 194 34 200'/%3E%3Cpath d='M35 192 L35 204'/%3E%3Ccircle cx='35' cy='211' r='6'/%3E%3Cpath d='M38 112 L38 178 C38 222 60 258 100 268'/%3E%3Cpath d='M92 148 Q70 138 50 147'/%3E%3Cpath d='M87 162 Q70 153 54 162 Q70 170 87 162 Z'/%3E%3Cpath d='M66 158 A5 5 0 1 0 74 158'/%3E%3Cpath d='M100 152 L100 198 Q92 204 84 199'/%3E%3Cpath d='M100 218 Q88 214 77 220 Q88 225 100 224'/%3E%3Cpath d='M100 229 Q89 232 81 225'/%3E%3Cpath d='M64 254 Q65 288 52 314'/%3E%3Cpath d='M100 326 Q66 326 36 312'/%3E%3Cpath d='M100 336 Q62 336 30 320'/%3E%3C/svg%3E") !important;
}

/* 3. Maggiore respiro e leggibilità per le frasi e le liste dentro tutte le card */
.card .card-body,
.food-card .card-body,
#servizi .card.food-card .card-body,
.attrazione-card-unified .attrazione-card-body {
  padding: 18px 20px !important;
}

.card h3,
.food-card h3,
#servizi .card-body h3,
.attrazione-card-body h3 {
  margin-bottom: 12px !important;
}

.card p,
.food-card p,
.attrazione-card-body p,
.info-box p,
.ztl-card-alert p {
  line-height: 1.62 !important;
  margin-bottom: 12px !important;
}

/* Distanzia meglio le voci nei Servizi, Ristoranti, Farmacie, Supermercati */
#servizi .service-list li,
.food-card .place-list li {
  padding: 12px 0 !important;
  line-height: 1.58 !important;
}

#servizi .service-list li span,
#servizi .service-list li strong,
.food-card .place-list li span,
.food-card .place-list li strong {
  line-height: 1.58 !important;
}

/* Più aria anche dentro le mini-card dei parcheggi e nel box ZTL */
.parking-mini-card {
  padding: 14px 16px !important;
  line-height: 1.55 !important;
}

.parking-mini-card p,
.parking-mini-card span,
.parking-mini-card div {
  margin-bottom: 5px !important;
  line-height: 1.52 !important;
}

.ztl-card-alert {
  padding: 14px 16px !important;
  margin-top: 14px !important;
  line-height: 1.58 !important;
}

.food-card .card-body .chips-container.streetfood-tags-grandi {
  gap: 10px !important;
  margin-top: 8px !important;
}
/* =========================================================
   FOOTER IN GRIGIO SCURO ANTRACITE
   ========================================================= */

.carolino-footer {
  background: linear-gradient(
    180deg,
    #323437 0%,
    #1e2022 100%
  ) !important;
  border-top: 3px solid #A44A3F !important;
  box-shadow:
    0 -14px 34px rgba(24, 25, 27, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  color: #FAF4E6 !important;
}

.carolino-footer h4 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #F1DCA7 !important;
  text-shadow: none !important;
}

.carolino-footer p,
.carolino-footer span,
.carolino-footer strong,
.carolino-footer a,
.carolino-footer li,
.carolino-footer .footer-bottom {
  color: #EAE6DF !important;
}

.carolino-footer i {
  color: #F19C79 !important;
}

.carolino-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Icone social 3D coordinate ai pulsanti del sito */
.carolino-footer .footer-socials a {
  background: linear-gradient(180deg, #b8564a 0%, #A44A3F 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-bottom: 3.5px solid #121314 !important;
  border-radius: 50% !important;
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  transition: transform 0.15s ease, background 0.15s ease !important;
}

.carolino-footer .footer-socials a i {
  color: #ffffff !important;
}

.carolino-footer .footer-socials a:hover {
  background: #FAF4E6 !important;
  border-color: #FAF4E6 !important;
  border-bottom-color: #b8b2a6 !important;
  transform: translateY(-2px) !important;
}

.carolino-footer .footer-socials a:hover i {
  color: #1e2022 !important;
}
/* =========================================================
   SFUMATURA SFONDO PANNA PIÙ CHIARA VERSO IL BASSO
   ========================================================= */

body {
  background-color: #FCF8EE !important;
  background-image: linear-gradient(
    180deg,
    #FFFDF9 0%,
    #FCF8EE 35%,
    #F8F1E1 70%,
    #F2E8D3 100%
  ) !important;
  background-attachment: fixed !important;
}
/* =========================================================
   BARRA NAVIGAZIONE SEMPRE VISIBILE & OTTIMIZZAZIONE VELOCITÀ
   ========================================================= */

/* 1. Sblocca lo scorrimento sticky su iPhone e Android evitando sbavature laterali */
html, body {
  overflow-x: clip !important;
}

/* 2. Mantiene la barra delle categorie sempre fissata in alto allo schermo */
nav,
.navbar,
.sticky-nav,
.nav-container {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255, 252, 246, 0.96) !important;
  border-bottom: 1px solid rgba(213, 196, 174, 0.55) !important;
  box-shadow: 0 6px 18px -6px rgba(74, 58, 42, 0.14) !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* 3. Rimuove il filtro blur pesante per rendere lo scorrimento e l'apertura istantanei */
.card,
.food-card,
#servizi .card.food-card,
.attrazione-card-unified,
.itinerario-card,
.itinerary-card,
#itinerari .cards-carousel > div,
#itinerari .cards-carousel > article,
.reviews-section,
.review-card,
.info-box,
.appartamento-card,
.parking-mini-card,
.btn-vedi-mappa,
nav a,
.nav-pills a,
.category-tabs a,
.carolino-footer {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Superfici solide ad altissima leggibilità (zero rallentamenti grafici su smartphone) */
.card,
.food-card,
#servizi .card.food-card,
.attrazione-card-unified,
.itinerario-card,
.itinerary-card,
#itinerari .cards-carousel > div,
#itinerari .cards-carousel > article,
.reviews-section,
.review-card,
.info-box,
.appartamento-card {
  background: linear-gradient(155deg, #ffffff 0%, #fdf9ef 100%) !important;
}

/* 4. Caricamento e risposta al tocco immediati */
img {
  image-rendering: auto;
}

.card,
.food-card,
.attrazione-card-unified,
.itinerario-card,
.btn-primary,
.mini-btn,
.btn-vedi-mappa,
nav a {
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
/* =========================================================
   FIX VISIBILITÀ "BENVENUTI A PALERMO" SOPRA LA COPERTINA
   ========================================================= */

header h2,
header h3,
header h4,
header strong,
header b,
.hero h2,
.hero h3,
.hero h4,
.hero strong,
.hero-content h2,
.hero-content h3,
.hero-content strong,
.hero-overlay h2,
.hero-overlay h3,
.hero-overlay strong,
.hero-banner h2,
.hero-banner h3,
.cover-wrapper h2,
.cover-wrapper h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}