/* =============================================
   ETNA UP — STYLESHEET COMPLETO & MODERNO
   ============================================= */

:root {
  --lava: #FF4500;
  --lava-light: #FF6B35;
  --lava-glow: rgba(255, 69, 0, 0.35);
  --ash: #2c2c34;
  --ash-light: #f1f3f7;
  --smoke: #e5e8ef;
  --rock: #18191f;
  --text: #18191f;
  --text-muted: #5e6472;
  --bg: #ffffff;
  --bg-dark: #f8f9fb;
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --nav-h: 78px;
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}



/* Base Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--lava); border-radius: 99px; }

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #08080a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.lava-pulse {
  font-size: 3.5rem;
  color: var(--lava);
  animation: pulseLava 1.5s infinite alternate;
}
@keyframes pulseLava {
  0% { transform: scale(0.9); filter: drop-shadow(0 0 5px var(--lava)); }
  100% { transform: scale(1.15); filter: drop-shadow(0 0 25px var(--lava)); }
}
.loader-text {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: #fff;
  margin-top: 15px;
}
.loader-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 6px;
}

/* Custom Cursor & Lava Trail */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--lava);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-circle {
  position: fixed;
  width: 36px; height: 36px;
  border: 2px solid var(--lava);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: width 0.2s, height 0.2s, transform 0.08s;
}
.cursor-circle.hovering {
  width: 55px; height: 55px;
  background: rgba(255, 69, 0, 0.15);
}
.lava-sparkle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, #ff6b35, #ff4500);
  box-shadow: 0 0 8px #ff4500;
  z-index: 9997;
  transform: translate(-50%, -50%);
  animation: sparkFade 0.6s forwards ease-out;
}
@keyframes sparkFade {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -30px) scale(0.2); }
}

@media (max-width: 768px) {
  .cursor-dot, .cursor-circle, .lava-sparkle { display: none !important; }
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.07);
}


.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.logo:hover {
  transform: scale(1.03);
}
.logo-img {
  height: 64px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.mobile-menu-logo {
  height: 66px;
  width: auto;
  max-width: 195px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.nav-links { display: flex; gap: 1rem; align-items: center; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  color: #18191f;
  transition: color 0.25s;
  position: relative;
  white-space: nowrap;
}
#navbar.scrolled .nav-links a {
  color: #18191f;
}
#navbar .logo {
  color: #18191f;
}
#navbar.scrolled .logo {
  color: #18191f;
}
.nav-links a:hover, .nav-links a.active { color: var(--lava); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--lava);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Language Selector */
.lang-selector {
  display: flex;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4b5563;
  transition: all 0.2s;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--lava);
  color: #ffffff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: #18191f;
  border-radius: 99px;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: calc(var(--nav-h) - 1px);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 1.2rem 3rem;
  gap: 0.8rem;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
}
.mobile-menu.open { display: flex; }
html.menu-open, body.menu-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none;
}
body.menu-open #navbar {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.mob-link { 
  font-size: 1.15rem; 
  font-weight: 700; 
  color: #18191f; 
  padding: 8px 16px;
  border-radius: 8px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.mob-link:hover, .mob-link:active {
  background: rgba(255, 69, 0, 0.08);
  color: var(--lava);
}
.mob-lang-row { display: flex; gap: 8px; margin-top: 1rem; }

@media (max-width: 992px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  
  /* Mantieni la scelta lingua sempre visibile in alto */
  .lang-selector {
    display: flex !important;
    padding: 2px;
    gap: 1px;
    background: rgba(255, 255, 255, 0.09);
  }
  .lang-btn {
    padding: 4px 6px;
    font-size: 0.72rem;
  }
  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}

/* =============================================
   HERO SECTION (FRAME VIDEO CIRCOSCRITTO & NON TOCCA MENU NÉ TOUR)
   ============================================= */
#hero {
  position: relative;
  min-height: auto;
  padding-top: calc(var(--nav-h) + 1.8rem);
  padding-bottom: 3.5rem;
  padding-left: clamp(1rem, 3.5vw, 2.5rem);
  padding-right: clamp(1rem, 3.5vw, 2.5rem);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* 1. Banner Video Incorniciato: NON tocca la navbar (inizia sotto) e NON tocca i tour (finisce sopra) */
.hero-banner-frame {
  position: relative;
  width: 100%;
  max-width: 1240px;
  min-height: 480px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111116;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14), 0 3px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}


/* Hero Image Background (Replacing Video) */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  transform: scale(1.02);
  transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-banner-frame:hover .hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  transform: scale(1.02);
  transition: transform 12s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 26, 0.25) 0%,
    rgba(12, 18, 30, 0.50) 45%,
    rgba(14, 18, 28, 0.88) 100%
  );
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-wrap.collapsed {
  opacity: 0;
  pointer-events: none;
}

.hero-cinematic-bg {
  position: absolute;
  inset: -15px;
  background-image: url('media/crater_active.webp');
  background-size: cover;
  background-position: center 38%;
  animation: kenBurnsEtna 22s ease-in-out infinite alternate;
}
@keyframes kenBurnsEtna {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -1%); }
  100% { transform: scale(1.03) translate(1%, 1%); }
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 14, 0.25) 0%,
    rgba(10, 10, 14, 0.45) 50%,
    rgba(12, 12, 16, 0.82) 100%
  );
}

#particleCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: clamp(3.2rem, 7vw, 5.2rem) clamp(1.2rem, 4vw, 2.5rem);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.12;
  font-weight: 900;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.85), 0 4px 30px rgba(0,0,0,0.7);
}
.hero-title em {
  font-family: var(--font-display);
  color: #FF5722;
  text-shadow: 0 0 25px rgba(255, 87, 34, 0.8), 0 2px 10px rgba(0,0,0,0.8);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ffffff;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  background: rgba(10, 10, 14, 0.48);
  padding: 12px 24px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-cta {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.video-toggle-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-toggle-btn:hover {
  background: var(--lava);
  border-color: var(--lava);
  transform: scale(1.08);
}

/* =============================================
   2. VETRINA DEI 3 TOUR (SU SFONDO BIANCO/CHIARO, COMPLETAMENTE SEPARATA DAL VIDEO)
   ============================================= */
.hero-tours-showcase {
  width: 100%;
  max-width: 1240px;
  margin: 3.5rem auto 1.5rem;
  position: relative;
  z-index: 5;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.showcase-sparkle {
  color: var(--lava);
  font-size: 1rem;
  animation: sparkleTwinkle 1.8s infinite alternate;
}
@keyframes sparkleTwinkle {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.5; }
  100% { transform: scale(1.3) rotate(90deg); opacity: 1; filter: drop-shadow(0 0 6px var(--lava)); }
}
.showcase-title {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--lava);
  text-transform: uppercase;
}

.showcase-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  perspective: 1200px;
}

.showcase-card {
  position: relative;
  height: 330px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.45s ease, 
              border-color 0.45s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  text-align: left;
}

.showcase-card .sc-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 0.7s ease;
  z-index: 0;
}
.showcase-card:hover .sc-bg,
.showcase-card.active .sc-bg {
  transform: scale(1.14);
}

.showcase-card .sc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 13, 0.08) 0%,
    rgba(10, 10, 13, 0.5) 45%,
    rgba(10, 10, 13, 0.94) 100%
  );
  z-index: 1;
  transition: background 0.3s;
}

.showcase-card.active {
  border-color: var(--lava);
  box-shadow: 0 20px 45px rgba(255, 69, 0, 0.25), 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}
.showcase-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--lava);
  box-shadow: 0 22px 50px rgba(255, 69, 0, 0.32);
}

.sc-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sc-badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sc-badge.highlight { background: rgba(255, 69, 0, 0.92); color: #fff; }
.sc-badge.cablecar { background: rgba(2, 132, 199, 0.92); color: #fff; }
.sc-badge.sunset { background: rgba(249, 115, 22, 0.92); color: #fff; }
.sc-badge.wine { background: rgba(159, 18, 57, 0.92); color: #fff; }

.sc-price-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(15, 15, 20, 0.88);
  border: 1px solid rgba(255, 69, 0, 0.6);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  padding: 5px 13px;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.sc-price-pill small {
  font-size: 0.72rem;
  color: var(--lava-light);
  font-weight: 600;
}

.sc-content h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.sc-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: var(--lava-light);
  font-weight: 700;
}
.sc-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--lava);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.2s, background 0.2s;
}
.sc-btn:hover {
  transform: scale(1.15) translateX(2px);
  background: var(--lava-light);
}

.scroll-hint {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-arrow {
  color: var(--lava);
  font-size: 1rem;
  animation: bounceDown 1.8s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Navigazione Showcase (Dots & Buttons) */
.showcase-nav {
  display: none; /* Visibile su mobile/tablet */
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 1.2rem;
}
.sc-nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #18191f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.sc-nav-btn:hover { background: var(--lava); border-color: var(--lava); color: #fff; }

.sc-dots {
  display: flex;
  gap: 8px;
}
.sc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s;
}
.sc-dot.active {
  width: 24px;
  border-radius: 99px;
  background: var(--lava);
  box-shadow: 0 0 10px var(--lava-glow);
}

@media (max-width: 900px) {
  #hero {
    padding-top: calc(var(--nav-h) + 1.2rem);
    padding-bottom: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-banner-frame {
    border-radius: 20px;
    min-height: 420px;
  }
  .hero-banner-content {
    padding: 2.8rem 1.2rem;
  }
  .hero-tours-showcase {
    margin-top: 2.5rem;
  }
  .showcase-cards-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
    padding: 0 !important;
  }
  .showcase-cards-container::-webkit-scrollbar { display: none; }
  .showcase-card {
    flex: 0 0 85%;
    max-width: 340px;
    scroll-snap-align: center;
    height: 300px;
  }
  .showcase-nav {
    display: flex;
  }
}

.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.scroll-arrow {
  width: 34px; height: 34px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.video-toggle-btn {
  position: absolute;
  bottom: 2rem; right: 2rem;
  z-index: 10;
  background: rgba(22, 22, 26, 0.75);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s;
}
.video-toggle-btn:hover {
  background: var(--lava);
  box-shadow: 0 0 20px var(--lava-glow);
}
.toggle-tooltip {
  position: absolute;
  right: 56px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s;
}
.video-toggle-btn:hover .toggle-tooltip {
  opacity: 1; transform: translateX(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-primary {
  background: var(--lava);
  color: #fff;
  box-shadow: 0 6px 25px var(--lava-glow);
}
.btn-primary:hover {
  background: var(--lava-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px var(--lava-glow);
}
.btn-ghost {
  background: rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--text);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--lava);
  color: var(--lava);
}
.btn-outline:hover {
  background: var(--lava);
  color: #fff;
}
.btn-google {
  background: #4285F4;
  color: #fff;
}
.btn-google:hover { background: #3367d6; }
.btn-full { width: 100%; justify-content: center; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--bg-dark); }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}
.section-label {
  color: var(--lava);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 3rem;
  line-height: 1.2;
}
.text-center { text-align: center; }

/* Stats Bar */
.stats-bar {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07); box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  padding: 2.2rem 1rem;
}
.stat-item {
  text-align: center;
  padding: 1rem;
  min-width: 170px;
}
.stat-num-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--lava);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-plus, .stat-star { font-size: 2rem; color: var(--lava-light); }
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* About & SVG Profilo */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  min-width: 0;
}
.about-visual,
.about-text {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 2.5rem; width: 100% !important; max-width: 100% !important; }
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}
.about-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
}
.guide-badge-overlay {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 14px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.guide-badge-overlay i {
  font-size: 2.1rem;
  color: var(--lava);
  flex-shrink: 0;
}
.guide-badge-overlay strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a !important;
  line-height: 1.25;
}
.guide-badge-overlay small {
  display: block;
  color: #475569 !important;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 2px;
}

.etna-profile-wrap {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-top: 1.5rem;
}
.profile-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.etna-svg-map { width: 100%; height: auto; }
.marker-dot { fill: var(--lava); cursor: pointer; }
.marker-dot.pulse {
  animation: svgPulse 1.8s infinite;
}
@keyframes svgPulse {
  0% { r: 5; opacity: 1; }
  50% { r: 9; opacity: 0.6; }
  100% { r: 5; opacity: 1; }
}
.marker-text {
  fill: var(--text-muted);
  font-size: 10px;
  font-family: var(--font);
}

.about-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.about-text .lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.features-list { display: flex; flex-direction: column; gap: 1.2rem; }
.f-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.f-item i {
  font-size: 1.4rem;
  color: var(--lava);
  background: rgba(255, 69, 0, 0.1);
  padding: 12px;
  border-radius: 12px;
}
.f-item strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.f-item span { font-size: 0.85rem; color: var(--text-muted); }

/* Timeline Come Funziona */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}
.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-6px); }
.step-icon-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.step-number {
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255, 69, 0, 0.3);
  font-family: var(--font-display);
}
.step-icon-box i {
  font-size: 1.8rem;
  color: var(--lava);
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
.step-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* Tours Cards */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
@media (min-width: 1024px) {
  .tours-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tour-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--transition), box-shadow 0.4s;
}
.tour-card:hover {
  box-shadow: 0 15px 40px rgba(255, 69, 0, 0.14);
}
.tour-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.tour-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tour-card:hover .tour-img-wrap img { transform: scale(1.06); }
.tour-badge {
  position: absolute;
  top: 15px; left: 15px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}
.tour-badge.highlight { background: rgba(255, 69, 0, 0.88); color: #fff; }
.tour-badge.sunset { background: rgba(249, 115, 22, 0.88); color: #fff; }
.tour-badge.wine { background: rgba(159, 18, 57, 0.88); color: #fff; }
.tour-badge.cablecar { background: rgba(14, 165, 233, 0.88); color: #fff; }
.tour-badge.river { background: rgba(13, 148, 136, 0.88); color: #fff; }
.tour-badge.custom { background: rgba(99, 102, 241, 0.88); color: #fff; }

.sc-badge.cablecar { background: rgba(14, 165, 233, 0.92); color: #fff; }
.sc-badge.river { background: rgba(13, 148, 136, 0.92); color: #fff; }
.sc-badge.custom { background: rgba(99, 102, 241, 0.92); color: #fff; }

.tour-action-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}
.tour-action-row .btn {
  flex: 1;
  min-width: 120px;
  padding: 9px 12px;
  font-size: 0.82rem;
  justify-content: center;
  text-align: center;
}
.btn-details {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 99px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 9px 12px;
  font-size: 0.82rem;
  flex: 1;
  min-width: 120px;
  justify-content: center;
}
.btn-details:hover {
  background: var(--lava);
  color: #fff;
  border-color: var(--lava);
}

/* Tour Modal Backdrop & Box */
.tour-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}
.tour-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
.tour-modal {
  background: #ffffff;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.tour-modal-backdrop.open .tour-modal {
  transform: scale(1) translateY(0);
}
.tour-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #18191f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
}
.tour-modal-close:hover {
  background: var(--lava);
  color: #fff;
  transform: scale(1.1);
}

.tm-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}
.tm-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 900;
  color: #18191f;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.tm-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.4rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.tm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8f9fb;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}
.tm-chip i {
  color: var(--lava);
}
.tm-chip.price-chip {
  background: rgba(255, 69, 0, 0.1);
  border-color: rgba(255, 69, 0, 0.25);
  color: var(--lava);
  font-size: 0.88rem;
}

.tm-lead {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.tm-section-h {
  font-size: 1.05rem;
  font-weight: 800;
  color: #18191f;
  margin: 1.5rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-steps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.tm-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f8f9fb;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.04);
}
.tm-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lava);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tm-step-content strong {
  display: block;
  font-size: 0.9rem;
  color: #18191f;
  margin-bottom: 3px;
}
.tm-step-content p {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.tm-info-box {
  background: rgba(255, 69, 0, 0.05);
  border: 1px solid rgba(255, 69, 0, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  color: #334155;
  line-height: 1.6;
}
.tm-info-box strong { color: var(--lava); }

.tm-footer-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  flex-wrap: wrap;
}

.tour-img-price {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(13, 13, 16, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 69, 0, 0.4);
  padding: 5px 12px;
  border-radius: 99px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.tour-img-price .tip-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.tour-img-price .tip-sub {
  font-size: 0.72rem;
  color: var(--lava-light);
  font-weight: 600;
}

.tour-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tour-meta-row {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--lava-light);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.tour-card-body h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.tour-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.tour-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.tour-perks li {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-perks li i { color: #22c55e; }
.tour-action { margin-top: auto; }

/* Galleria & Lightbox */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: all 0.25s;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--lava);
  color: #fff;
  border-color: var(--lava);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.gallery-overlay i {
  font-size: 1.5rem;
  color: var(--lava);
  margin-bottom: 8px;
}
.gallery-overlay h4 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; }
.gallery-overlay span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  margin: 0 auto;
}
.lightbox-caption {
  color: #fff;
  margin-top: 15px;
  font-size: 1rem;
}
.lightbox-close {
  position: absolute;
  top: 25px; right: 30px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.2s;
}
.lightbox-close:hover { transform: scale(1.2); color: var(--lava); }

/* Recensioni & QR Code */
.rating-highlight-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.rh-score { text-align: center; }
.rh-score .big-num { font-size: 4rem; font-weight: 900; color: var(--lava); line-height: 1; }
.rh-score .stars { color: #f59e0b; font-size: 1.3rem; margin: 6px 0; }
.rh-score p { font-size: 0.85rem; color: var(--text-muted); }

.rh-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 250px;
}
.bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
}
.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--lava), var(--lava-light));
  border-radius: 99px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.review-top strong { display: block; font-size: 0.95rem; }
.review-top small { color: var(--text-muted); font-size: 0.78rem; }
.review-top .stars { margin-left: auto; color: #f59e0b; font-size: 0.9rem; }
.review-quote {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}
.review-verified-badge {
  font-size: 0.8rem;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Incentive QR Box */
.qr-incentive-box {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.1) 0%, rgba(22, 22, 26, 0.95) 100%);
  border: 1px solid rgba(255, 69, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 850px) {
  .qr-incentive-box { grid-template-columns: 1fr; gap: 2rem; }
}
.qr-tag {
  color: var(--lava-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.8rem;
}
.qr-content-col h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.qr-content-col p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1.8rem; }
.qr-quick-links { display: flex; gap: 12px; flex-wrap: wrap; }
.realtime-qr-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  max-width: 230px;
  margin: 0 auto;
}
.realtime-qr-card #liveQrCode { display: flex; justify-content: center; }
.qr-hint {
  display: block;
  font-size: 0.75rem;
  color: #444;
  font-weight: 600;
  margin-top: 10px;
}

/* Blog / Storie */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-img {
  position: relative;
  height: 200px;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-date {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  color: #fff;
}
.blog-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lava);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.blog-body h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 0.8rem; }
.blog-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}
.read-more-btn {
  color: var(--lava);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.read-more-btn:hover { gap: 10px; }

/* Article Modal */
.article-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
  opacity: 0;
  visibility: hidden;
  padding: 1rem;
  transition: all 0.3s ease;
}
.article-modal.active { opacity: 1; visibility: visible; }
.article-modal-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}
.article-modal-close,
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #18191f;
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}
.article-modal-close:hover,
.modal-close-btn:hover {
  background: var(--lava);
  color: #ffffff;
  transform: scale(1.08);
}

/* Mappa */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 850px) {
  .map-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.map-info h2 { font-size: clamp(2rem, 3.5vw, 2.5rem); margin-bottom: 1.2rem; }
.map-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.info-badges { display: flex; flex-direction: column; gap: 1.2rem; }
.ib-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ib-item i {
  font-size: 1.3rem;
  color: var(--lava);
  background: rgba(255, 69, 0, 0.1);
  padding: 12px;
  border-radius: 12px;
}
.ib-item strong { display: block; font-size: 0.95rem; }
.ib-item span { font-size: 0.85rem; color: var(--text-muted); }
.map-embed-wrap {
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-question i {
  color: var(--lava);
  transition: transform 0.3s;
}
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.8rem;
}
.faq-item.open .faq-answer {
  max-height: 250px;
  padding-bottom: 1.5rem;
}
.faq-answer p { color: var(--text-muted); line-height: 1.7; font-size: 0.92rem; }

/* Contatti & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
  min-width: 0;
}
.contact-info-col,
.contact-form {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-form select,
.contact-form input,
.contact-form textarea {
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2.5rem;
    width: 100% !important;
    max-width: 100% !important;
  }
}
.contact-info-col h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-info-col p { color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.contact-card-items { display: flex; flex-direction: column; gap: 1.2rem; }
.c-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--text);
  transition: transform 0.2s;
}
.c-item:hover { transform: translateX(6px); border-color: var(--lava); }
.c-item i { font-size: 1.5rem; color: var(--lava); }
.c-item strong { display: block; font-size: 0.92rem; }
.c-item span { font-size: 0.82rem; color: var(--text-muted); }

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--lava);
}

/* Footer */
#footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--card-border);
  padding: 4rem 1rem 2rem;
  text-align: center;
}
.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.footer-logo-img {
  height: 62px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
}
.footer-sub { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--lava); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.78rem; }

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 2rem; left: 2rem;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: waPulse 2s infinite;
}
.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.wa-tooltip {
  position: absolute;
  left: 72px;
  background: rgba(18, 18, 22, 0.95);
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.25s;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.whatsapp-bubble:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 1000;
}
.chatbot-trigger {
  width: 58px; height: 58px;
  background: var(--lava);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px var(--lava-glow);
  transition: transform 0.3s;
}
.chatbot-trigger:hover { transform: scale(1.08); }
.chatbot-window {
  position: absolute;
  bottom: 72px; right: 0;
  width: 330px;
  max-width: calc(100vw - 2.4rem);
  height: 420px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(20px);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.chatbot-window.open {
  display: flex;
  opacity: 1; visibility: visible;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.chatbot-header {
  background: var(--bg-dark);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07); box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.cb-info { display: flex; align-items: center; gap: 10px; }
.cb-avatar { font-size: 1.4rem; }
.cb-info strong { display: block; font-size: 0.88rem; }
.cb-info small { color: #22c55e; font-size: 0.72rem; }
.cb-close { font-size: 1.5rem; color: var(--text-muted); }

.chatbot-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  max-width: 85%;
}
.msg.bot {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.msg.user {
  background: var(--lava);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbot-chips {
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 100%;
  border-top: 1px solid var(--card-border);
  -webkit-overflow-scrolling: touch;
}
.cb-chip {
  padding: 5px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 99px;
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all 0.2s;
}
.cb-chip:hover { background: var(--lava); color: #fff; }

.chatbot-input-row {
  display: flex;
  padding: 8px 12px;
  background: var(--bg-dark);
  border-top: 1px solid var(--card-border);
}
.chatbot-input-row input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 0.85rem;
}
.chatbot-input-row button {
  color: var(--lava);
  font-size: 1.1rem;
  padding: 0 6px;
}

/* Cookie Banner GDPR */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card-bg);
  border-top: 1px solid var(--card-border);
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  z-index: 10003;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 800px;
}
.cookie-content i { font-size: 1.6rem; color: var(--lava); }
.cookie-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.cookie-buttons { display: flex; gap: 10px; }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 6.5rem; right: 2rem;
  width: 44px; height: 44px;
  background: rgba(22, 22, 26, 0.8);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--lava); }

/* Reveal Animations */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal-up { transform: translateY(35px); }
.reveal-left { transform: translateX(-35px); }
.reveal-right { transform: translateX(35px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

@media (max-width: 900px) {
  /* Prevent horizontal off-centering and overflow on mobile devices */
  .reveal-left, .reveal-right {
    transform: translateY(25px) !important;
  }
  .reveal-left.visible, .reveal-right.visible {
    transform: translate(0) !important;
  }
}

/* =============================================
   OTTIMIZZAZIONE MOBILE DEDICATA (max-width: 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  /* Typography scaled down for mobile screens */
  h1 { font-size: 2.1rem !important; }
  h2, .section-title { font-size: 1.75rem !important; margin-bottom: 2rem !important; }
  .hero-sub { font-size: 0.95rem !important; margin-bottom: 1.8rem !important; padding: 0 5px; }

  /* Navbar Logo Mobile */
  .logo-img {
    height: 38px;
    max-width: 110px;
  }

  /* Hero Section */
  #hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 1.5rem) 1rem 3rem;
  }
  .hero-content, .hero-banner-content {
    padding-top: 1rem;
    max-width: 100%;
  }
  .hero-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Video toggle button mobile */
  .video-toggle-btn {
    bottom: 1rem; right: 1rem;
    width: 40px; height: 40px;
    font-size: 0.95rem;
  }

  /* Hero Tours Showcase on Mobile */
  .hero-tours-showcase {
    margin: 0 auto 2rem;
    max-width: 100%;
  }
  .showcase-cards-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
    padding: 0 !important;
  }
  .showcase-card {
    flex: 0 0 88% !important;
    max-width: 310px;
    height: 270px;
    padding: 1.2rem;
    scroll-snap-align: center;
  }
  .sc-price-pill {
    top: 14px;
    right: 14px;
    font-size: 1rem;
    padding: 4px 10px;
  }
  .sc-content h4 { font-size: 1rem; }
  .sc-desc { font-size: 0.75rem; -webkit-line-clamp: 2; }
  .showcase-nav {
    display: flex;
    margin-top: 0.8rem;
  }

  /* Stats Bar on Mobile */
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 1.5rem 0.5rem;
  }
  .stat-item {
    min-width: unset;
    padding: 0.6rem 0.2rem;
  }
  .stat-num-wrap { font-size: 2.1rem; }
  .stat-label { font-size: 0.75rem; }

  /* About section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-image-card img {
    height: 380px;
    object-position: center 20%;
  }

  /* Tours Section */
  .tours-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tour-card {
    max-width: 100%;
  }
  .tour-img-wrap { height: 200px; }
  .tour-card-body { padding: 1.4rem; }

  /* Gallery Grid on Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-item { height: 220px; }

  /* Reviews Box & Cards */
  .rating-highlight-box {
    padding: 1.5rem 1rem;
    flex-direction: column;
    gap: 1.2rem;
  }
  .rh-bars { min-width: 100%; }
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .review-card { padding: 1.4rem; }

  /* QR Incentive Box */
  .qr-incentive-box {
    grid-template-columns: 1fr;
    padding: 1.8rem 1.2rem;
    gap: 1.8rem;
    text-align: center;
  }
  .qr-quick-links {
    justify-content: center;
    flex-direction: column;
  }
  .qr-quick-links .btn {
    width: 100%;
    justify-content: center;
  }

  /* Map Section */
  .map-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.8rem;
    width: 100% !important;
    max-width: 100% !important;
  }
  .map-embed-wrap {
    height: 280px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
    width: 100% !important;
    max-width: 100% !important;
  }
  .contact-info-col,
  .contact-form {
    padding: 1.6rem 1.2rem;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Floating Buttons adjustments on Mobile (no overlap) */
  .whatsapp-bubble {
    bottom: 1.2rem;
    left: 1.2rem;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  .chatbot-widget {
    bottom: 1.2rem;
    right: 1.2rem;
  }
  .chatbot-trigger {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  .chatbot-window {
    width: calc(100vw - 2.4rem);
    max-width: 320px;
    height: 400px;
    right: 0;
    bottom: 60px;
  }
  .back-to-top {
    bottom: 4.8rem;
    right: 1.3rem;
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  /* Cookie banner on mobile */
  .cookie-banner {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-buttons {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .cookie-buttons .btn {
    flex: 1;
    justify-content: center;
  }
}


#navbar.scrolled .burger span { background: #18191f !important; }

/* =============================================
   CREA IL TUO TOUR (CUSTOM & PRIVATE TOUR SECTION)
   ============================================= */
.custom-tour-section {
  position: relative;
  background: var(--bg-dark);
  color: var(--text);
  padding: 5.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.custom-badge {
  display: inline-block;
  background: rgba(255, 69, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.22);
  color: var(--lava);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 1.2rem;
}
.custom-tour-section .section-title {
  color: var(--text);
  margin-bottom: 1rem;
}
.custom-tour-section p.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.custom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}
.custom-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}
.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 69, 0, 0.35);
  box-shadow: 0 16px 36px rgba(255, 69, 0, 0.1);
}
.custom-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 69, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.2);
  color: var(--lava);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
}
.custom-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.custom-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.custom-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.custom-tour-section .btn-ghost {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.custom-tour-section .btn-ghost:hover {
  border-color: var(--lava);
  color: var(--lava);
  background: rgba(255, 69, 0, 0.04);
}

@media (max-width: 992px) {
  .custom-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* =============================================
   PARTE LEGALE (LEGAL, PRIVACY, COOKIES, TERMS)
   ============================================= */
.legal-section {
  background: #f8fafc;
  padding: 5.5rem 0;
  border-top: 1px solid #e2e8f0;
}
.legal-container {
  max-width: 920px;
  margin: 0 auto;
}
.legal-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.2rem;
}
.legal-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.legal-item:hover {
  border-color: rgba(255, 69, 0, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.legal-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.legal-header-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.legal-header-left i {
  color: var(--lava);
  font-size: 1.15rem;
}
.legal-header-left span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
}
.legal-icon-toggle {
  color: #64748b;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}
.legal-item.open .legal-icon-toggle {
  transform: rotate(180deg);
  color: var(--lava);
}
.legal-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 1.6rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
}
.legal-item.open .legal-body {
  max-height: 600px;
  padding-bottom: 1.5rem;
}



/* =============================================
   MULTI-PAGE EXTENSIONS: BANNERS, BREADCRUMBS, ACTIVE LINKS & CTA WRAPPERS
   ============================================= */

/* Page Banner for Subpages */
.page-banner {
  padding: 7.5rem 1.5rem 3.5rem;
  background: linear-gradient(180deg, #fbfcfe 0%, #f1f4f8 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 69, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--lava);
  background: rgba(255, 69, 0, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #18191f;
  margin-bottom: 0.8rem;
  font-family: var(--font-display, inherit);
  letter-spacing: -0.5px;
}
.page-banner p {
  font-size: 1.15rem;
  color: #555c68;
  max-width: 680px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #8b929e;
  font-weight: 500;
}
.breadcrumbs a {
  color: var(--lava);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs i {
  font-size: 0.65rem;
  color: #c0c4cc;
}
.breadcrumbs span {
  color: #475569;
}

/* Nav Active Link Highlight */
.nav-links a.active {
  color: var(--lava) !important;
}
.nav-links a.active::after {
  width: 100% !important;
}
.mob-link.active {
  background: rgba(255, 69, 0, 0.1) !important;
  color: var(--lava) !important;
  font-weight: 800 !important;
}

/* Home Section Teaser CTA Button */
.section-cta-wrap {
  text-align: center;
  margin-top: 3rem;
  padding-bottom: 1rem;
}
.section-cta-wrap .btn {
  font-size: 1.05rem;
  padding: 14px 32px;
  box-shadow: 0 10px 25px rgba(255, 69, 0, 0.2);
}

/* Custom Tour Pillars Styling on Dedicated Page */
.custom-tour-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.pillar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}
.pillar-icon {
  width: 58px;
  height: 58px;
  background: rgba(255, 69, 0, 0.1);
  color: var(--lava);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
}
.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #18191f;
  margin-bottom: 0.6rem;
}
.pillar-card p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.55;
}

/* Difficulty & Gear Guide on Escursioni Page */
.tour-difficulty-guide {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 25px rgba(0,0,0,0.04);
  padding: 2.2rem;
  margin-top: 3.5rem;
}
.tour-difficulty-guide h3 {
  font-size: 1.35rem;
  color: #18191f;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.diff-card {
  padding: 1.4rem;
  border-radius: 12px;
  background: var(--bg-dark);
  border-left: 4px solid var(--lava);
}
.diff-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #18191f;
}
.diff-card p {
  font-size: 0.88rem;
  color: #555c68;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 6.5rem 1.2rem 2.8rem;
  }
  .page-banner h1 {
    font-size: 2.1rem;
  }
  .page-banner p {
    font-size: 1rem;
  }
}


/* =============================================
   COMPACT HOME STYLES (FAST SCROLL & HIGH IMPACT)
   ============================================= */

/* Home Why Us Features Grid */
.home-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.home-feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.home-feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 69, 0, 0.08);
  color: var(--lava);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1.1rem;
}
.home-feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #18191f;
  margin-bottom: 0.5rem;
}
.home-feature-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* Home Horizontal CTA Banners */
.home-cta-banner {
  background: linear-gradient(135deg, #ffffff 0%, #fff7f2 100%);
  border: 1px solid rgba(255, 69, 0, 0.16);
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3.5rem 0;
}
.home-cta-banner-content {
  max-width: 620px;
}
.home-cta-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--lava);
  background: rgba(255, 69, 0, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.home-cta-banner-content h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #18191f;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.home-cta-banner-content p {
  font-size: 0.98rem;
  color: #555c68;
  line-height: 1.55;
  margin: 0;
}
.home-cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  align-items: center;
}

/* Home 2-Card Reviews Grid */
.home-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .home-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .home-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.4rem;
  }
  .home-cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .home-cta-banner-actions .btn {
    width: 100%;
  }
  .home-reviews-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   DEDICATED TOUR PAGES STYLES
   ============================================= */

/* Tour Page Hero */
.tour-hero {
  position: relative;
  padding: 8rem 1.5rem 4rem;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  overflow: hidden;
}
.tour-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.92) 100%);
  z-index: 1;
}
.tour-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.tour-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--lava);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}
.tour-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.tour-hero-lead {
  font-size: 1.2rem;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 760px;
  margin: 0 auto 1.8rem;
}
.tour-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}
.tour-breadcrumbs a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s;
}
.tour-breadcrumbs a:hover {
  color: var(--lava);
}
.tour-breadcrumbs i {
  font-size: 0.65rem;
  color: #64748b;
}

/* Key Metrics Strip */
.tour-metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem 2rem;
  margin-top: -2.5rem;
  position: relative;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.metric-icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 69, 0, 0.08);
  color: var(--lava);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.metric-info small {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #8b929e;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.metric-info strong {
  font-size: 1.05rem;
  color: #18191f;
  font-weight: 700;
}

/* Tour Detailed Itinerary Timeline */
.tour-timeline {
  position: relative;
  padding-left: 2.5rem;
  margin: 2.5rem 0;
}
.tour-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 14px;
  width: 3px;
  background: linear-gradient(180deg, var(--lava) 0%, rgba(255, 69, 0, 0.15) 100%);
}
.tour-step {
  position: relative;
  margin-bottom: 2.2rem;
}
.tour-step:last-child {
  margin-bottom: 0;
}
.tour-step-dot {
  position: absolute;
  left: -2.5rem;
  top: 2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--lava);
  color: var(--lava);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(255, 69, 0, 0.12);
}
.tour-step h4 {
  font-size: 1.25rem;
  color: #18191f;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.tour-step p {
  font-size: 0.98rem;
  color: #555c68;
  line-height: 1.65;
  margin: 0;
}

/* Inclusions and Exclusions */
.inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin: 2.5rem 0;
}
.inclusions-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.inclusions-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.inclusions-list li {
  font-size: 0.95rem;
  color: #475569;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.inclusions-list li:last-child {
  border-bottom: none;
}
.inclusions-list i.fa-check {
  color: #22c55e;
  font-size: 1.05rem;
  margin-top: 2px;
}
.inclusions-list i.fa-xmark {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-top: 2px;
}

/* Tour Booking Card Sidebar / Section */
.tour-booking-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem;
  border: 1px solid rgba(255, 69, 0, 0.18);
  box-shadow: 0 12px 35px rgba(255, 69, 0, 0.08);
  text-align: center;
  position: sticky;
  top: 90px;
}
.tour-price-hero {
  margin-bottom: 1.5rem;
}
.tour-price-hero .price-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--lava);
}
.tour-price-hero .price-note {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 2px;
}
.tour-booking-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}
.tour-booking-features li {
  font-size: 0.9rem;
  color: #475569;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-booking-features i {
  color: #22c55e;
}

/* Quick Itinerary Pill on Escursioni Listing */
.quick-itinerary-preview {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 12px 0 16px;
  border-left: 3px solid var(--lava);
}
.quick-itinerary-preview small {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--lava);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.quick-itinerary-steps {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .tour-hero h1 {
    font-size: 2.2rem;
  }
  .inclusions-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .tour-metrics-strip {
    grid-template-columns: 1fr 1fr;
    padding: 1.2rem 1.4rem;
  }
}
@media (max-width: 600px) {
  .tour-metrics-strip {
    grid-template-columns: 1fr;
  }
}


/* =============================================
   HOME CUSTOM REDESIGN: 3 ICONIC TOURS, WHY US, TRIPADVISOR & MEETING POINT
   ============================================= */

/* 3 Iconic Tours Cards */
.iconic-tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.iconic-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.iconic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}
.iconic-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.iconic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.iconic-card:hover .iconic-img-wrap img {
  transform: scale(1.06);
}
.iconic-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(24, 25, 31, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.iconic-price-tag small {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}
.iconic-card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.iconic-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}
.iconic-meta-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--lava);
  background: rgba(255, 69, 0, 0.08);
  padding: 4px 10px;
  border-radius: 50px;
}
.iconic-meta-pill.pay {
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
}
.iconic-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #18191f;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.iconic-card p {
  font-size: 0.94rem;
  color: #555c68;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.iconic-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.iconic-perks li {
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.iconic-perks i {
  color: #22c55e;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.iconic-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

/* Why Book With Us (4 Cards Grid) */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}
.why-us-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}
@media (min-width: 769px) {
  .why-us-grid > .why-us-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
}
.why-us-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 69, 0, 0.09);
  color: var(--lava);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.why-us-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #18191f;
  margin-bottom: 0.4rem;
}
.why-us-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* TripAdvisor Section */
.tripadvisor-section {
  background: #ffffff;
  border: 1px solid rgba(0, 170, 108, 0.25);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 35px rgba(0, 170, 108, 0.06);
  margin-top: 3.5rem;
}
.tripadvisor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}
.tripadvisor-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tripadvisor-logo-icon {
  font-size: 2.8rem;
  color: #00aa6c;
}
.tripadvisor-rating-block strong {
  display: block;
  font-size: 1.4rem;
  color: #18191f;
  font-weight: 800;
}
.tripadvisor-bubbles {
  color: #00aa6c;
  letter-spacing: 2px;
  font-size: 1.25rem;
}
.tripadvisor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ta-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 1.6rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}
.ta-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8rem;
}
.ta-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #00aa6c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.ta-user-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #18191f;
}
.ta-review-title {
  font-weight: 700;
  color: #1e293b;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.ta-review-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
  font-style: italic;
  flex-grow: 1;
}
.ta-review-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Meeting Point Section */
.meeting-point-box {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
}
.meeting-info {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.meeting-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--lava);
  background: rgba(255, 69, 0, 0.08);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}
.meeting-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #18191f;
  margin-bottom: 0.8rem;
}
.meeting-info p {
  font-size: 1rem;
  color: #555c68;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.meeting-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.meeting-perks-list li {
  font-size: 0.95rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 10px;
}
.meeting-perks-list i {
  color: var(--lava);
  font-size: 1.1rem;
}
.meeting-map-frame {
  min-height: 380px;
  width: 100%;
}
.meeting-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 992px) {
  .iconic-tours-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 2.5rem auto 0;
  }
  .tripadvisor-cards {
    grid-template-columns: 1fr;
  }
  .meeting-point-box {
    grid-template-columns: 1fr;
  }
  .meeting-map-frame {
    height: 320px;
  }
}
@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .tripadvisor-section {
    padding: 2rem 1.4rem;
  }
  .meeting-info {
    padding: 2rem 1.4rem;
  }
}


/* =============================================
   COLLAPSIBLE ACCORDION BOXES FOR DEDICATED TOUR PAGES
   ============================================= */
.tour-collapsible-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}
.tour-collapsible {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.tour-collapsible:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}
.tour-collapsible.open {
  border-color: rgba(255, 69, 0, 0.35);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.07);
}
.tour-collapsible-btn {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}
.tour-collapsible-btn:hover {
  background: rgba(0, 0, 0, 0.015);
}
.tour-collapsible-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #18191f;
}
.tour-collapsible-title i {
  color: var(--lava);
  font-size: 1.35rem;
}
.tour-collapsible-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 69, 0, 0.08);
  color: var(--lava);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.tour-collapsible.open .tour-collapsible-icon {
  transform: rotate(180deg);
  background: var(--lava);
  color: #ffffff;
}
.tour-collapsible-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 1.8rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}
.tour-collapsible.open .tour-collapsible-body {
  max-height: 3500px;
  padding-bottom: 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Timetable comparison card */
.timetable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.2rem 0;
}
.timetable-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--lava);
}
.timetable-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #18191f;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.timetable-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 0.92rem;
}
.timetable-row:last-child {
  border-bottom: none;
}
.timetable-row strong {
  color: #1e293b;
}

/* Relax transport callout */
.transport-callout {
  background: linear-gradient(135deg, #f0fdf4 0%, #e6fcf5 100%);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 14px;
  padding: 1.4rem;
  margin-top: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.transport-callout i {
  color: #16a34a;
  font-size: 1.5rem;
  margin-top: 2px;
}
.transport-callout h6 {
  font-size: 1.05rem;
  color: #166534;
  font-weight: 800;
  margin-bottom: 0.4rem;
}
.transport-callout p {
  font-size: 0.92rem;
  color: #14532d;
  line-height: 1.55;
  margin: 0;
}

/* Photo inserted in step 5 */
.alcantara-inline-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin: 1.8rem 0;
}
.alcantara-inline-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.alcantara-inline-photo figcaption {
  background: #18191f;
  color: #cbd5e1;
  padding: 10px 16px;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .timetable-grid {
    grid-template-columns: 1fr;
  }
  .tour-collapsible-btn {
    padding: 1.2rem 1.4rem;
  }
  .tour-collapsible-title {
    font-size: 1.1rem;
  }
  .alcantara-inline-photo img {
    height: 250px;
  }
}

/* =============================================
   MOBILE VISUAL OPTIMIZATIONS & FIXES (PHONE & TABLET)
   ============================================= */

/* 1. Prevent Horizontal Viewport Overflow on iOS Safari & Android */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

/* 2. Disable custom lava cursor completely on touchscreens and tablets */
@media (max-width: 992px), (pointer: coarse) {
  .cursor-dot,
  .cursor-circle,
  .lava-sparkle {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
}

/* 3. Responsive Navbar & Language Selector on Phones */
@media (max-width: 768px) {
  #navbar {
    padding: 0 1rem !important;
    height: 64px !important;
  }
  .nav-actions {
    gap: 8px !important;
  }
  .lang-selector {
    padding: 2px !important;
    gap: 2px !important;
  }
  .lang-btn {
    padding: 4px 6px !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    min-height: 28px !important;
  }
}

@media (max-width: 520px) {
  #navbar {
    padding: 0 0.65rem !important;
    height: 60px !important;
  }
  .logo-img {
    height: 34px !important;
    max-width: 95px !important;
  }
  .nav-actions {
    gap: 5px !important;
  }
  .lang-selector {
    padding: 1px !important;
    gap: 1px !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.04) !important;
  }
  .lang-btn {
    padding: 3px 4px !important;
    font-size: 0.64rem !important;
    min-width: 22px !important;
    min-height: 26px !important;
    border-radius: 6px !important;
  }
  .burger {
    width: 38px !important;
    height: 38px !important;
    padding: 8px !important;
  }
}

@media (max-width: 380px) {
  #navbar {
    padding: 0 0.4rem !important;
    height: 58px !important;
  }
  .logo-img {
    height: 30px !important;
    max-width: 82px !important;
  }
  .lang-btn {
    padding: 2px 3px !important;
    font-size: 0.60rem !important;
  }
}

/* 4. Mobile Menu Drawer & Language Group */
.mob-lang-group {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 1.5rem !important;
  padding: 0 1rem !important;
}
.mob-lang-group .lang-btn {
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border-radius: 12px !important;
  color: #18191f !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  min-height: 42px !important;
}
.mob-lang-group .lang-btn.active {
  background: var(--lava) !important;
  color: #ffffff !important;
  border-color: var(--lava) !important;
}

/* 5. Floating action buttons on mobile screens */
@media (max-width: 768px) {
  .whatsapp-bubble {
    bottom: 1rem !important;
    left: 0.9rem !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.45rem !important;
    z-index: 998 !important;
  }
  .chatbot-widget {
    bottom: 1rem !important;
    right: 0.9rem !important;
    z-index: 998 !important;
  }
  .chatbot-trigger {
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
  }
  .back-to-top {
    bottom: 4.6rem !important;
    right: 1rem !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 0.8rem !important;
    z-index: 997 !important;
  }
  .cookie-banner {
    padding: 1rem 1.2rem !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    z-index: 9999 !important;
  }
}

/* 6. Typography, Hero & Container fixes for mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.6rem) !important;
    line-height: 1.2 !important;
  }
  .hero-sub {
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
    padding: 0 !important;
    margin-bottom: 1.8rem !important;
  }
  .hero-cta {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.8rem !important;
  }
  .hero-cta .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.9rem 1.4rem !important;
  }
  .tour-hero {
    padding: 6.5rem 1.2rem 3rem !important;
  }
  .tour-hero h1 {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem) !important;
  }
  .tour-hero-lead {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .tour-collapsible-btn {
    padding: 1rem 1.2rem !important;
    min-height: 54px !important;
  }
  .tour-collapsible-title {
    font-size: 1.02rem !important;
  }
  .tour-collapsible-body {
    padding: 0 1.2rem 1.5rem !important;
    font-size: 0.94rem !important;
  }
  .meeting-info h3 {
    font-size: 1.45rem !important;
  }
  .why-us-card h4 {
    font-size: 1.15rem !important;
  }
  .iconic-card h3 {
    font-size: 1.22rem !important;
  }
}

/* =============================================
   TOUR SINGLE PAGE RESPONSIVE LAYOUT (NO CUTOFFS)
   ============================================= */
.tour-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
}
.tour-details-col {
  width: 100%;
  min-width: 0;
}
.tour-booking-sidebar {
  width: 100%;
  min-width: 0;
  position: relative;
}
.btn-block {
  display: flex !important;
  width: 100% !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

@media (max-width: 992px) {
  .tour-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    width: 100% !important;
  }
  .tour-details-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .tour-booking-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.5rem !important;
  }
  .tour-booking-card {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.8rem 1.4rem !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .tour-layout-grid {
    gap: 2rem !important;
  }
  .tour-booking-card {
    padding: 1.5rem 1.1rem !important;
    border-radius: 16px !important;
  }
  .tour-price-hero .price-amount {
    font-size: 2.2rem !important;
  }
  .tour-booking-features li {
    font-size: 0.88rem !important;
  }
}

/* =============================================
   UNIVERSAL MOBILE RESPONSIVENESS & ZERO-CUTOFF SHIELD
   ============================================= */
@media (max-width: 768px) {
  .tours-grid,
  .gallery-grid,
  .reviews-grid,
  .blog-grid,
  .iconic-tours-grid,
  .why-us-grid,
  .tripadvisor-cards,
  .meeting-point-box,
  .timetable-grid,
  .inclusions-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .tour-booking-sidebar,
  .tour-details-col {
    width: 100% !important;
    max-width: 100% !important;
  }
  .meeting-map-frame {
    min-height: 280px !important;
    height: 280px !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
  }
  .iconic-card-body,
  .tour-card-body,
  .tour-booking-card,
  .timetable-card,
  .inclusions-card,
  .why-us-card {
    padding: 1.25rem 0.95rem !important;
  }
  .tour-timeline {
    padding-left: 2rem !important;
  }
  .tour-step-dot {
    left: -2rem !important;
    width: 26px !important;
    height: 26px !important;
    font-size: 0.75rem !important;
  }
  .tour-timeline::before {
    left: 12px !important;
  }
}


/* ==========================================================================
   MASTER DYNAMIC MOBILE ADAPTABILITY SHIELD (ZERO-CUTOFF ENGINE)
   Dynamically adapts every section, card, button, and table to ANY phone screen
   ========================================================================== */

/* 1. Global Viewport & Text Overflow Safety */
html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  touch-action: manipulation;
}

body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Prevent any long word or title from pushing layout sideways */
h1, h2, h3, h4, h5, h6, p, span, li, a, figcaption {
  overflow-wrap: break-word;
  word-break: normal;
}

/* Images, iframes, videos and figures always scale fluidly */
img, video, iframe, canvas, svg, picture, figure {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 2. Fluid Container Spacing across all breakpoints */
.container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
  padding-left: clamp(0.9rem, 4vw, 2.5rem) !important;
  padding-right: clamp(0.9rem, 4vw, 2.5rem) !important;
}

/* 3. Top Navbar Fluid Dynamic Scaling */
@media (max-width: 768px) {
  #navbar {
    height: 60px !important;
    padding: 0 clamp(0.75rem, 3vw, 1.25rem) !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 110px !important;
  }
  .nav-actions {
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }
  .lang-selector {
    padding: 2px !important;
    gap: 2px !important;
    border-radius: 99px !important;
  }
  .lang-btn {
    padding: 3px 6px !important;
    font-size: clamp(0.68rem, 2vw, 0.76rem) !important;
    min-width: 26px !important;
    height: 26px !important;
    border-radius: 6px !important;
  }
  .burger {
    width: 36px !important;
    height: 36px !important;
    padding: 8px !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 420px) {
  #navbar {
    height: 56px !important;
    padding: 0 0.5rem !important;
  }
  .logo-img {
    height: 28px !important;
    max-width: 90px !important;
  }
  .nav-actions {
    gap: 4px !important;
  }
  .lang-btn {
    padding: 2px 4px !important;
    font-size: 0.65rem !important;
    min-width: 22px !important;
  }
  .burger {
    width: 34px !important;
    height: 34px !important;
    padding: 7px !important;
  }
}

/* 4. Hero Section & Text Sub-boxes */
@media (max-width: 768px) {
  #hero {
    padding: calc(var(--nav-h) + 0.8rem) 0.75rem 2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-banner-frame {
    border-radius: 18px !important;
    min-height: 360px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .hero-banner-content {
    padding: 2rem 1rem 1.15rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    flex: 1 !important;
    min-height: 360px !important;
  }
  .hero-title {
    font-size: clamp(1.6rem, 6.5vw, 2.35rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 1.1rem !important;
  }
  .hero-sub,
  .tour-hero-lead {
    padding: 1.15rem 1rem !important;
    margin-bottom: 1.6rem !important;
    border-radius: 14px !important;
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .hero-sub h2 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.6rem !important;
  }
  .hero-sub p,
  .tour-hero-lead {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }
  .hero-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 0.75rem !important;
    margin-top: auto !important;
    margin-bottom: 0 !important;
    padding-top: 2.5rem !important;
  }
  .hero-cta .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 0.96rem !important;
    box-sizing: border-box !important;
  }
}

/* 5. Iconic Tours & Showcase Cards: 100% Full-Width on Mobile (Never Cut Off!) */
@media (max-width: 900px) {
  .hero-tours-showcase {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2rem !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .showcase-cards-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    overflow-x: visible !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .showcase-card {
    flex: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 290px !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }
  .iconic-tours-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.5rem !important;
    box-sizing: border-box !important;
  }
}

/* 6. Action Buttons on Cards: Side-by-side pill buttons on all screens */
@media (max-width: 520px) {
  .iconic-actions,
  .tour-action-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .iconic-actions .btn,
  .tour-action-row .btn {
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }
}

/* 7. Dedicated Tour Pages & Alcantara Content Shields */
.tour-collapsible.open .tour-collapsible-body {
  max-height: none !important; /* Never cut off bottom of long itineraries or photos */
  overflow: visible !important;
}

@media (max-width: 768px) {
  .tour-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }
  .tour-booking-sidebar,
  .tour-details-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .tour-booking-card {
    position: relative !important;
    top: 0 !important;
    width: 100% !important;
    padding: 1.5rem 1.1rem !important;
    border-radius: 16px !important;
  }
  .tour-collapsible-btn {
    padding: 1rem 1.15rem !important;
    gap: 8px !important;
  }
  .tour-collapsible-title {
    font-size: 1.05rem !important;
    gap: 8px !important;
  }
  .tour-collapsible-body {
    padding: 0.5rem 1.15rem 1.5rem !important;
    font-size: 0.94rem !important;
    line-height: 1.65 !important;
  }
}

/* 8. Timetable Schedule Card: Mobile Vertical Wrap */
@media (max-width: 600px) {
  .timetable-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  .timetable-card {
    padding: 1.2rem 1rem !important;
    border-radius: 14px !important;
  }
  .timetable-card h5 {
    font-size: 1rem !important;
    margin-bottom: 0.8rem !important;
  }
  .timetable-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 8px 0 !important;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
  }
  .timetable-row span {
    font-size: 0.88rem !important;
    color: #475569 !important;
  }
  .timetable-row strong {
    font-size: 0.96rem !important;
    color: var(--lava) !important;
    background: rgba(255, 69, 0, 0.07) !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-block !important;
  }
}

/* 9. Timeline Itinerary Steps & Photos */
@media (max-width: 600px) {
  .tour-timeline {
    padding-left: 1.75rem !important;
    margin: 1.5rem 0 !important;
  }
  .tour-timeline::before {
    left: 9px !important;
  }
  .tour-step-dot {
    left: -1.75rem !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 0.72rem !important;
  }
  .tour-step h4 {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.4rem !important;
  }
  .tour-step p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }
  .alcantara-inline-photo {
    margin: 1.2rem 0 !important;
    width: 100% !important;
  }
  .alcantara-inline-photo img {
    width: 100% !important;
    max-height: 360px !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 12px !important;
  }
  .alcantara-inline-photo figcaption {
    font-size: 0.84rem !important;
    padding: 8px 10px !important;
    line-height: 1.4 !important;
  }
}

/* 10. Footer Protection Against Floating Overlaps */
footer {
  padding-bottom: clamp(5rem, 12vw, 6.5rem) !important;
}

.footer-links {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 18px !important;
  justify-content: center !important;
}

.footer-links a {
  font-size: 0.92rem !important;
}

/* 11. Floating Widgets iPhone Safe-Area Inset */
@media (max-width: 768px) {
  .whatsapp-bubble {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    left: 0.9rem !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.45rem !important;
    z-index: 998 !important;
  }
  .chatbot-widget {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px)) !important;
    right: 0.9rem !important;
    z-index: 998 !important;
  }
}


/* ==========================================================================
   HERO INTRO BOX WITH FADE-OUT & EXPANDABLE READ MORE ("Leggi tutto")
   ========================================================================== */
.hero-sub-expandable {
  max-width: 820px;
  margin: 0 auto 0.5rem;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.4rem 1.8rem 1rem !important;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: all 0.35s ease;
}

.hero-sub-header h2 {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 0.6rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-sub-body {
  position: relative;
  max-height: 52px; /* Mostra un paio di righe */
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-sub-body p {
  font-size: 0.98rem;
  color: #f1f5f9;
  line-height: 1.65;
  margin-bottom: 0.8rem;
}

.hero-sub-body p:last-child {
  margin-bottom: 0;
}

/* Sfumatura che va a schiarirsi / dissolversi verso il basso */
.hero-sub-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.65) 50%,
    rgba(15, 23, 42, 0.98) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.hero-read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 6px 16px;
  background: rgba(255, 69, 0, 0.16);
  border: 1px solid rgba(255, 69, 0, 0.45);
  border-radius: 99px;
  color: #ff7a45;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-read-more-btn i {
  font-size: 0.78rem;
  transition: transform 0.35s ease;
}

.hero-read-more-btn:hover {
  background: var(--lava);
  border-color: var(--lava);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.35);
}

/* Stato aperto / espanso al click */
.hero-sub-expandable.expanded .hero-sub-body {
  max-height: 1200px !important;
}

.hero-sub-expandable.expanded .hero-sub-fade {
  opacity: 0;
}

.hero-sub-expandable.expanded .hero-read-more-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #f1f5f9;
}

.hero-sub-expandable.expanded .hero-read-more-btn i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .hero-sub-expandable {
    padding: 1.1rem 1.15rem 0.85rem !important;
    border-radius: 14px !important;
    margin-top: 0 !important;
  }
  .hero-sub-header h2 {
    font-size: 1.08rem !important;
    margin-bottom: 0.45rem !important;
  }
  .hero-sub-body {
    max-height: 48px; /* Circa 2 righe su smartphone */
  }
  .hero-sub-body p {
    font-size: 0.90rem !important;
    line-height: 1.55 !important;
  }
  .hero-read-more-btn {
    font-size: 0.82rem !important;
    padding: 5px 14px !important;
  }
}


/* ==========================================================================
   CLEAN EDITORIAL INTRO SECTION (PULITA, SENZA CASELLA, SOTTO LA FOTO)
   ========================================================================== */
.hero-intro-clean {
  padding: 3.2rem 0 1.2rem;
  background: var(--bg);
  position: relative;
}

.intro-clean-wrap {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.intro-clean-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #18191f;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.intro-clean-body {
  position: relative;
  max-height: 52px; /* Mostra un paio di righe pulite */
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-clean-body p {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.intro-clean-body p:last-child {
  margin-bottom: 0;
}

/* Sfumatura che va a schiarirsi verso il bianco dello sfondo della pagina */
.intro-clean-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 45%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.intro-clean-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1.5px solid var(--lava);
  border-radius: 99px;
  color: var(--lava);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(255, 69, 0, 0.08);
}

.intro-clean-btn i {
  font-size: 0.8rem;
  transition: transform 0.35s ease;
}

.intro-clean-btn:hover {
  background: var(--lava);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 69, 0, 0.25);
}

/* Stato aperto / espanso al click */
.intro-clean-wrap.expanded .intro-clean-body,
.intro-clean-body.expanded {
  max-height: 1200px !important;
}

.intro-clean-wrap.expanded .intro-clean-fade,
.intro-clean-fade.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.intro-clean-wrap.expanded .intro-clean-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.15);
  color: #475569;
  box-shadow: none;
}

.intro-clean-wrap.expanded .intro-clean-btn i {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .hero-bg-photo {
    object-position: center 60% !important;
  }
  .hero-intro-clean {
    padding: 2.2rem 0 1rem;
  }
  .intro-clean-title {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
  .intro-clean-body {
    max-height: 48px;
  }
  .intro-clean-body p {
    font-size: 0.94rem;
    line-height: 1.6;
  }
  .intro-clean-btn {
    font-size: 0.84rem;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   LARGER READABLE NAVBAR LOGO (FITS CLEANLY INSIDE TOP BAR ON ALL SCREENS)
   ========================================================================== */
#navbar {
  height: 78px !important;
}
#navbar .logo {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  padding: 5px 0 !important;
}
#navbar .logo-img {
  height: 64px !important;
  max-height: calc(100% - 10px) !important;
  width: auto !important;
  max-width: 190px !important;
  object-fit: contain !important;
}
@media (max-width: 768px) {
  :root {
    --nav-h: 66px;
  }
  #navbar {
    height: var(--nav-h) !important;
    padding: 0 0.75rem !important;
  }
  #navbar .logo-img {
    height: 54px !important;
    max-height: 54px !important;
    width: auto !important;
    max-width: 150px !important;
  }
}
@media (max-width: 420px) {
  :root {
    --nav-h: 64px;
  }
  #navbar {
    height: var(--nav-h) !important;
    padding: 0 0.55rem !important;
  }
  #navbar .logo-img {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    max-width: 135px !important;
  }
}
@media (max-width: 360px) {
  :root {
    --nav-h: 60px;
  }
  #navbar {
    height: var(--nav-h) !important;
    padding: 0 0.4rem !important;
  }
  #navbar .logo-img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 115px !important;
  }
}


/* Custom Tour Page Enhancements */
.custom-closing-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.custom-closing-box:hover {
  border-color: rgba(255, 69, 0, 0.5) !important;
  box-shadow: 0 20px 48px rgba(255, 69, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25) !important;
}
@media (max-width: 768px) {
  .custom-closing-box {
    padding: 2.2rem 1.4rem !important;
  }
}

.why-choose-etna-up strong {
  color: #0f172a !important;
}

/* ========================================================
   ACCESSIBILITY & ULTRA PERFORMANCE ENHANCEMENTS
   ======================================================== */

/* 1. Keyboard Skip Link (Invisible until focused by Tab) */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--lava, #ff4500);
  color: #ffffff !important;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 8px;
  z-index: 100000;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.skip-to-content:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
}

/* 2. Focus-Visible Keyboard Outline */
:focus-visible {
  outline: 2px solid var(--lava, #ff4500) !important;
  outline-offset: 3px !important;
}
:focus:not(:focus-visible) {
  outline: none;
}

/* 3. Respect User Preference for Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #particleCanvas {
    display: none !important;
  }
}

/* 4. Rendering & Paint Performance Optimizations */
footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}
#recensioni, .reviews-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}
.faq-section, #faq {
  content-visibility: auto;
  contain-intrinsic-size: 1px 500px;
}

/* ==========================================================================
   5. SKI TOUR WINTER PROMO BANNER (HOME HERO)
   ========================================================================== */
.ski-home-banner-wrap {
  width: 100%;
  max-width: 1240px;
  margin-top: 1.25rem;
}
.ski-home-banner-card {
  position: relative;
  width: 100%;
  min-height: 270px;
  max-height: 310px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: #090f1d;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}
.ski-home-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28), 0 0 20px rgba(56, 189, 248, 0.2);
  border-color: rgba(56, 189, 248, 0.4);
}
.ski-banner-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.ski-banner-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}
.ski-home-banner-card:hover .ski-banner-photo {
  transform: scale(1.025);
}
.ski-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 30, 0.88) 0%, rgba(8, 15, 30, 0.65) 45%, rgba(8, 15, 30, 0.15) 85%, transparent 100%);
  z-index: 2;
}
.ski-banner-content {
  position: relative;
  z-index: 3;
  padding: 2.2rem 3.2rem;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.ski-banner-title {
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}
.ski-banner-title .ski-icon {
  font-size: 1.9rem;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.6));
}
.ski-banner-subtitle {
  color: #e2e8f0;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 500;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.ski-banner-btn-wrap {
  margin-top: 0.35rem;
}
.ski-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary, #ff4500) !important;
  color: #ffffff !important;
  padding: 11px 26px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.45);
  transition: all 0.25s ease;
}
.ski-home-banner-card:hover .ski-banner-btn {
  background: #ff5722 !important;
  transform: translateX(3px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}
.ski-banner-partner-badge {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 86px;
  height: 86px;
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
  pointer-events: none;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.ski-home-banner-card:hover .ski-banner-partner-badge {
  transform: scale(1.06) rotate(3deg);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.6));
}

@media (max-width: 768px) {
  .ski-home-banner-wrap {
    margin-top: 0.85rem;
  }
  .ski-home-banner-card {
    min-height: 195px;
    max-height: 235px;
    border-radius: 18px !important;
  }
  .ski-banner-photo {
    object-position: right 35%;
  }
  .ski-banner-overlay {
    background: linear-gradient(90deg, rgba(8, 15, 30, 0.9) 0%, rgba(8, 15, 30, 0.7) 55%, rgba(8, 15, 30, 0.2) 100%);
  }
  .ski-banner-content {
    padding: 1.15rem 1.25rem;
    max-width: calc(100% - 62px);
    gap: 0.45rem;
  }
  .ski-banner-title {
    font-size: 1.55rem;
    gap: 7px;
  }
  .ski-banner-title .ski-icon {
    font-size: 1.45rem;
  }
  .ski-banner-subtitle {
    font-size: 0.92rem;
    line-height: 1.3;
  }
  .ski-banner-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
  .ski-banner-partner-badge {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
  }
}
