/*
Theme Name: Luminescenza Madagascar
Theme URI: https://luminescenza-madagascar.com
Author: Luminescenza
Description: Tema WordPress premium per Luminescenza Madagascar — viaggi su misura in Madagascar. Design ispirato al "Raw Luxury Geometry" con palette foresta, terracotta, carta champagne e accenti oro.
Version: 1.0.0
Text Domain: luminescenza
*/

:root {
  --color-forest: 160 50% 25%;
  --color-forest-dark: 160 55% 15%;
  --color-forest-light: 160 35% 40%;
  --color-terracotta: 15 60% 55%;
  --color-terracotta-dark: 15 55% 40%;
  --color-champagne: 40 30% 92%;
  --color-paper: 40 20% 96%;
  --color-gold: 40 60% 55%;
  --color-gold-light: 40 70% 75%;
  --color-cream: 40 25% 85%;
  --color-charcoal: 0 0% 15%;
  --color-slate: 0 0% 40%;
  --color-white: 0 0% 100%;
  --color-black: 0 0% 0%;
  --color-journey: 15 100% 65%;
  --color-easy: 140 60% 45%;
  --color-moderate: 35 90% 55%;
  --color-hard: 0 70% 55%;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  --header-height: 80px;
  --header-height-scrolled: 64px;
  --max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: hsl(var(--color-charcoal));
  background-color: hsl(var(--color-paper));
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  color: hsl(var(--color-forest-dark));
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

a {
  color: hsl(var(--color-terracotta));
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: hsl(var(--color-terracotta-dark)); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section spacing */
.section {
  padding: 80px 0;
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  margin-bottom: 12px;
}
.section-title p {
  color: hsl(var(--color-slate));
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Golden thread divider */
.golden-thread {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--color-gold)), transparent);
  margin: 24px auto;
}

/* Button system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn:hover::after {
  transform: translateX(0);
}

.btn-primary {
  background: hsl(var(--color-terracotta));
  color: hsl(var(--color-white));
}
.btn-primary:hover {
  background: hsl(var(--color-terracotta-dark));
  color: hsl(var(--color-white));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(var(--color-terracotta) / 0.3);
}

.btn-secondary {
  background: transparent;
  color: hsl(var(--color-white));
  border: 2px solid hsl(var(--color-white));
}
.btn-secondary:hover {
  background: hsl(var(--color-white));
  color: hsl(var(--color-forest-dark));
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--color-terracotta));
  border: 2px solid hsl(var(--color-terracotta));
}
.btn-outline:hover {
  background: hsl(var(--color-terracotta));
  color: hsl(var(--color-white));
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--color-terracotta));
  border: none;
  padding: 8px 16px;
}
.btn-ghost:hover {
  background: hsl(var(--color-champagne) / 0.5);
}

.btn-gold {
  background: hsl(var(--color-gold));
  color: hsl(var(--color-white));
}
.btn-gold:hover {
  background: hsl(var(--color-forest-dark));
  color: hsl(var(--color-white));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px hsl(var(--color-gold) / 0.3);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* ============= GHOST NAVBAR ============= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background: hsl(var(--color-white) / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--color-cream) / 0.5);
}
.site-header:not(.is-scrolled) {
  background: transparent;
}
.site-header:not(.is-scrolled) .site-logo,
.site-header:not(.is-scrolled) .nav-link {
  color: hsl(var(--color-white));
}
.site-header:not(.is-scrolled) .nav-link::after {
  background: hsl(var(--color-white));
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--color-forest-dark));
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-logo:hover {
  color: hsl(var(--color-terracotta));
}
.site-logo .logo-accent {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: hsl(var(--color-gold));
  border-radius: 50%;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--color-charcoal));
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: hsl(var(--color-terracotta));
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: hsl(var(--color-charcoal));
  transition: all 0.3s ease;
  border-radius: 1px;
}
.site-header:not(.is-scrolled) .hamburger span {
  background: hsl(var(--color-white));
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.site-header.is-scrolled .hamburger.active span {
  background: hsl(var(--color-charcoal));
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: hsl(var(--color-white));
  z-index: 999;
  padding: 100px 40px 40px;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -8px 0 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-drawer.open {
  right: 0;
}
.mobile-drawer .nav-link {
  font-size: 1.2rem;
  color: hsl(var(--color-charcoal));
}
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* ============= HERO ============= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: hsl(var(--color-white));
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsl(var(--color-forest-dark) / 0.7) 0%,
    hsl(var(--color-forest) / 0.5) 40%,
    transparent 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
  animation: heroFadeIn 1.2s ease-out forwards;
}
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid hsl(var(--color-white) / 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-content h1 {
  color: hsl(var(--color-white));
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: hsl(var(--color-white) / 0.7);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.hero-scroll-indicator .scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid hsl(var(--color-white) / 0.6);
  border-bottom: 2px solid hsl(var(--color-white) / 0.6);
  transform: rotate(45deg);
  animation: scrollArrowPulse 2s ease-in-out infinite;
}
@keyframes scrollArrowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============= TOUR CARDS ============= */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.tour-card {
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.tour-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.tour-card:hover .tour-card-image img {
  transform: scale(1.05);
}
.tour-card-image .difficulty-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.difficulty-easy {
  background: hsl(var(--color-easy) / 0.9);
  color: hsl(var(--color-white));
}
.difficulty-moderate {
  background: hsl(var(--color-moderate) / 0.9);
  color: hsl(var(--color-white));
}
.difficulty-hard {
  background: hsl(var(--color-hard) / 0.9);
  color: hsl(var(--color-white));
}
.tour-card-image .price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: hsl(var(--color-white) / 0.92);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: hsl(var(--color-terracotta));
}
.tour-card-body {
  padding: 24px;
}
.tour-card-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
}
.tour-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tour-card h3 {
  font-size: 1.25rem;
  margin: 0 0 8px;
}
.tour-card p {
  font-size: 0.9rem;
  color: hsl(var(--color-slate));
  margin: 0 0 16px;
  line-height: 1.6;
}
.tour-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid hsl(var(--color-cream));
}
.tour-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: hsl(var(--color-slate));
}
.tour-card-rating .stars {
  color: hsl(var(--color-gold));
}

@media (max-width: 768px) {
  .tours-grid {
    grid-template-columns: 1fr;
  }
}

/* ============= DESTINATION CATEGORIES ============= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid hsl(var(--color-cream) / 0.5);
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: hsl(var(--color-gold-light));
}
.category-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: hsl(var(--color-terracotta));
  transition: transform 0.3s ease;
}
.category-card:hover .category-icon {
  transform: scale(1.1);
}
.category-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.category-card h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}
.category-card p {
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
  margin: 0;
}

/* ============= WHY US ============= */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-us-left h2 {
  margin-bottom: 20px;
}
.why-us-left .lead {
  font-size: 1.1rem;
  color: hsl(var(--color-slate));
  line-height: 1.8;
  margin-bottom: 32px;
}
.why-us-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-us-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-us-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: hsl(var(--color-champagne) / 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--color-terracotta));
  font-size: 1.1rem;
}
.why-us-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}
.why-us-item p {
  margin: 0;
  font-size: 0.9rem;
  color: hsl(var(--color-slate));
}

.why-us-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-us-card {
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
  transition: all 0.4s ease;
}
.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.why-us-card:nth-child(1) { margin-top: 0; }
.why-us-card:nth-child(2) { margin-top: 20px; }
.why-us-card:nth-child(3) { margin-top: -20px; }
.why-us-card:nth-child(4) { margin-top: 0; }
.why-us-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: hsl(var(--color-terracotta));
  display: block;
}
.why-us-card .stat-label {
  font-size: 0.85rem;
  color: hsl(var(--color-slate));
  margin-top: 4px;
}

.why-us-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid hsl(var(--color-cream));
  text-align: center;
}
.why-us-stats .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--color-terracotta));
  display: block;
}
.why-us-stats .stat-label {
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-us-right {
    grid-template-columns: 1fr;
  }
  .why-us-card:nth-child(2),
  .why-us-card:nth-child(3) {
    margin-top: 0;
  }
  .why-us-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============= TESTIMONIALS ============= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  position: absolute;
  top: 8px;
  left: 20px;
  color: hsl(var(--color-gold-light) / 0.4);
  line-height: 1;
}
.testimonial-stars {
  color: hsl(var(--color-gold));
  font-size: 1rem;
  margin-bottom: 12px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: hsl(var(--color-charcoal));
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: hsl(var(--color-champagne));
}
.testimonial-author-name {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
}
.testimonial-author-role {
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
  margin: 0;
}
.testimonials-tripadvisor {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.testimonials-tripadvisor p {
  margin: 0;
  font-size: 0.9rem;
  color: hsl(var(--color-slate));
}
.testimonials-tripadvisor .rating {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--color-terracotta));
}

/* ============= TABS ============= */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid hsl(var(--color-cream));
  margin-bottom: 32px;
  overflow-x: auto;
}
.tab-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 12px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: hsl(var(--color-slate));
  transition: all 0.3s ease;
  white-space: nowrap;
}
.tab-btn:hover {
  color: hsl(var(--color-terracotta));
}
.tab-btn.active {
  color: hsl(var(--color-terracotta));
  border-bottom-color: hsl(var(--color-terracotta));
}
.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}
.tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============= CONCIERGE BAR ============= */
.concierge-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: hsl(var(--color-white) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--color-cream));
  padding: 12px 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.concierge-bar.visible {
  transform: translateY(0);
}
.concierge-bar .price-display {
  font-size: 1.2rem;
}
.concierge-bar .price-display .amount {
  font-family: var(--font-mono);
  font-weight: 700;
  color: hsl(var(--color-terracotta));
}
.concierge-bar .price-display .label {
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
}

/* ============= FOOTER ============= */
.site-footer {
  background: hsl(var(--color-forest-dark));
  color: hsl(var(--color-white) / 0.8);
  padding: 80px 0 40px;
  margin-bottom: 60px;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand h3 {
  color: hsl(var(--color-white));
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid hsl(var(--color-white) / 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--color-white));
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-social a:hover {
  background: hsl(var(--color-gold));
  border-color: hsl(var(--color-gold));
  color: hsl(var(--color-forest-dark));
}
.footer-col h4 {
  color: hsl(var(--color-white));
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: hsl(var(--color-gold));
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: hsl(var(--color-white) / 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col ul a:hover { color: hsl(var(--color-gold)); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.footer-contact-item .icon {
  min-width: 20px;
  color: hsl(var(--color-gold));
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid hsl(var(--color-white) / 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: hsl(var(--color-white) / 0.5);
}

@media (max-width: 768px) {
  .site-footer .container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============= TACCUINO (Journey Notebook) ============= */
.taccuino-badge {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 600;
  width: 56px;
  height: 56px;
  background: hsl(var(--color-journey));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px hsl(var(--color-journey) / 0.4);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  color: hsl(var(--color-white));
  font-size: 1.2rem;
}
.taccuino-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px hsl(var(--color-journey) / 0.5);
}
.taccuino-badge .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: hsl(var(--color-terracotta));
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--color-white));
  border: 2px solid hsl(var(--color-paper));
}
.taccuino-badge.pulse {
  animation: taccuinoPulse 0.4s ease;
}
@keyframes taccuinoPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Taccuino Drawer - slides up from bottom */
.taccuino-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 700;
  background: hsl(var(--color-white));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.taccuino-drawer.open {
  transform: translateY(0);
}
.taccuino-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid hsl(var(--color-cream));
  flex-shrink: 0;
}
.taccuino-drawer-header h3 {
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.taccuino-drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: hsl(var(--color-slate));
  padding: 4px;
  line-height: 1;
}
.taccuino-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.taccuino-empty {
  text-align: center;
  padding: 40px 20px;
  color: hsl(var(--color-slate));
}
.taccuino-empty .empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.3;
}
.taccuino-empty p {
  margin: 0 0 4px;
  font-size: 0.95rem;
}
.taccuino-empty .sub {
  font-size: 0.85rem;
}

.taccuino-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid hsl(var(--color-cream));
  align-items: center;
}
.taccuino-item:last-child {
  border-bottom: none;
}
.taccuino-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
}
.taccuino-item-info {
  flex: 1;
  min-width: 0;
}
.taccuino-item-info h4 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.taccuino-item-info .item-meta {
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
}
.taccuino-item-remove {
  background: none;
  border: none;
  color: hsl(var(--color-slate));
  cursor: pointer;
  padding: 4px 8px;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.taccuino-item-remove:hover {
  color: hsl(var(--color-hard));
}

.taccuino-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid hsl(var(--color-cream));
  flex-shrink: 0;
}
.taccuino-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 699;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.taccuino-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============= ATELIER MAP ============= */
.atelier-section {
  position: relative;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  display: flex;
}
.atelier-map-container {
  flex: 1;
  position: relative;
}
.atelier-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}
.atelier-sidebar {
  width: 380px;
  background: hsl(var(--color-white));
  overflow-y: auto;
  padding: 24px;
  border-left: 1px solid hsl(var(--color-cream));
  flex-shrink: 0;
}
.atelier-sidebar h3 {
  margin-bottom: 16px;
}
.atelier-search {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid hsl(var(--color-cream));
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}
.atelier-search:focus {
  outline: none;
  border-color: hsl(var(--color-terracotta));
}
.atelier-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.atelier-filter-btn {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid hsl(var(--color-cream));
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
  color: hsl(var(--color-slate));
}
.atelier-filter-btn:hover {
  border-color: hsl(var(--color-terracotta));
  color: hsl(var(--color-terracotta));
}
.atelier-filter-btn.active {
  background: hsl(var(--color-terracotta));
  border-color: hsl(var(--color-terracotta));
  color: hsl(var(--color-white));
}
.atelier-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.atelier-list-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.3s;
  border: 1px solid transparent;
}
.atelier-list-item:hover {
  background: hsl(var(--color-champagne) / 0.4);
}
.atelier-list-item.active {
  border-color: hsl(var(--color-terracotta));
  background: hsl(var(--color-champagne) / 0.3);
}
.atelier-list-item img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.atelier-list-item h4 {
  font-size: 0.9rem;
  margin: 0 0 4px;
}
.atelier-list-item p {
  font-size: 0.8rem;
  color: hsl(var(--color-slate));
  margin: 0;
}

@media (max-width: 768px) {
  .atelier-section {
    flex-direction: column;
  }
  .atelier-sidebar {
    width: 100%;
    max-height: 40vh;
    border-left: none;
    border-top: 1px solid hsl(var(--color-cream));
  }
}

/* Leaflet overrides */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  font-family: var(--font-body) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}
.leaflet-popup-content {
  margin: 12px 16px !important;
  font-size: 0.85rem;
}
.leaflet-popup-content h4 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
}
.leaflet-popup-content p {
  margin: 0;
  color: hsl(var(--color-slate));
}
.lum-marker {
  width: 32px;
  height: 32px;
  background: hsl(var(--color-terracotta));
  border: 3px solid hsl(var(--color-white));
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}
.lum-marker.active {
  background: hsl(var(--color-gold));
  transform: scale(1.2);
  box-shadow: 0 4px 16px hsl(var(--color-gold) / 0.5);
}
.lum-marker.destination {
  width: 40px;
  height: 40px;
  background: hsl(var(--color-forest));
  border-width: 3px;
}

/* ============= WIZARD ============= */
.wizard {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.wizard-steps-indicator {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  counter-reset: step;
}
.wizard-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: hsl(var(--color-slate));
  position: relative;
}
.wizard-step:not(:last-child)::after {
  content: '';
  width: 40px;
  height: 1px;
  background: hsl(var(--color-cream));
  margin: 0 12px;
}
.wizard-step .step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border: 2px solid hsl(var(--color-cream));
  transition: all 0.3s;
  flex-shrink: 0;
}
.wizard-step.active .step-number {
  background: hsl(var(--color-terracotta));
  border-color: hsl(var(--color-terracotta));
  color: hsl(var(--color-white));
}
.wizard-step.completed .step-number {
  background: hsl(var(--color-forest));
  border-color: hsl(var(--color-forest));
  color: hsl(var(--color-white));
}
.wizard-step.active,
.wizard-step.completed {
  color: hsl(var(--color-charcoal));
}

.wizard-step-content {
  animation: fadeIn 0.3s ease;
}
.wizard-step-content h2 {
  margin-bottom: 8px;
}
.wizard-step-content > p {
  color: hsl(var(--color-slate));
  margin-bottom: 32px;
}
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--color-cream));
}

/* Wizard form elements */
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: hsl(var(--color-charcoal));
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid hsl(var(--color-cream));
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
  outline: none;
  border-color: hsl(var(--color-terracotta));
  box-shadow: 0 0 0 3px hsl(var(--color-terracotta) / 0.1);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Route cards in wizard */
.route-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.route-card {
  background: hsl(var(--color-white));
  border: 2px solid hsl(var(--color-cream));
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.route-card:hover {
  border-color: hsl(var(--color-gold-light));
}
.route-card.selected {
  border-color: hsl(var(--color-terracotta));
  box-shadow: 0 0 0 3px hsl(var(--color-terracotta) / 0.15);
}
.route-card h4 {
  margin: 0 0 4px;
}
.route-card .route-meta {
  font-size: 0.85rem;
  color: hsl(var(--color-slate));
  margin-bottom: 8px;
}
.route-card p {
  font-size: 0.85rem;
  margin: 0;
  color: hsl(var(--color-slate));
}

/* Day itinerary in wizard */
.day-itinerary {
  border: 1px solid hsl(var(--color-cream));
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}
.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: hsl(var(--color-champagne) / 0.3);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}
.day-body {
  padding: 18px;
  display: none;
}
.day-body.open {
  display: block;
}
.day-body .hotel-select,
.day-body .activity-select {
  margin-top: 12px;
}
.day-body select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid hsl(var(--color-cream));
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

/* Review section */
.review-summary {
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.review-section {
  margin-bottom: 24px;
}
.review-section h4 {
  border-bottom: 1px solid hsl(var(--color-cream));
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* ============= FADE-RISE ANIMATIONS ============= */
.fade-rise {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-rise.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-rise-delay-1 { transition-delay: 0.1s; }
.fade-rise-delay-2 { transition-delay: 0.2s; }
.fade-rise-delay-3 { transition-delay: 0.3s; }
.fade-rise-delay-4 { transition-delay: 0.4s; }
.fade-rise-delay-5 { transition-delay: 0.5s; }

/* ============= PAGE TITLES ============= */
.page-title-section {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, hsl(var(--color-forest-dark)), hsl(var(--color-forest)));
  color: hsl(var(--color-white));
  text-align: center;
}
.page-title-section h1 {
  color: hsl(var(--color-white));
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
}
.page-title-section p {
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

/* ============= TOUR DETAIL ============= */
.tour-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 40px 24px;
}
.tour-hero-bg {
  position: absolute;
  inset: 0;
}
.tour-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, hsl(var(--color-forest-dark) / 0.8));
}
.tour-hero-content {
  position: relative;
  z-index: 1;
  color: hsl(var(--color-white));
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.tour-hero-content h1 {
  color: hsl(var(--color-white));
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.tour-hero-meta {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.tour-detail-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}
.tour-detail-main {
  min-width: 0;
}
.tour-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height-scrolled) + 24px);
  align-self: start;
}

.tour-sidebar-card {
  background: hsl(var(--color-white));
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid hsl(var(--color-cream));
}
.tour-sidebar-card .price-large {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--color-terracotta));
}
.tour-sidebar-card .price-label {
  font-size: 0.85rem;
  color: hsl(var(--color-slate));
}

.itinerary-day {
  background: hsl(var(--color-white));
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid hsl(var(--color-cream));
}
.itinerary-day h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.itinerary-day .day-number {
  width: 28px;
  height: 28px;
  background: hsl(var(--color-terracotta));
  color: hsl(var(--color-white));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.related-tours {
  margin-top: 60px;
}

/* ============= DESTINATION DETAIL ============= */
.dest-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.dest-highlight {
  background: hsl(var(--color-white));
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid hsl(var(--color-cream));
}
.dest-highlight h4 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.dest-highlight p {
  font-size: 0.85rem;
  color: hsl(var(--color-slate));
  margin: 0;
}

/* ============= AUTH PAGES ============= */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  background: linear-gradient(135deg, hsl(var(--color-champagne) / 0.3), hsl(var(--color-paper)));
}
.auth-card {
  background: hsl(var(--color-white));
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.auth-card h2 {
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .subtitle {
  text-align: center;
  color: hsl(var(--color-slate));
  margin-bottom: 32px;
}

/* ============= PAGE NOT FOUND ============= */
.not-found-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.not-found-section h1 {
  font-size: 6rem;
  color: hsl(var(--color-gold-light));
  margin-bottom: 8px;
}
.not-found-section h2 {
  margin-bottom: 12px;
}
.not-found-section p {
  color: hsl(var(--color-slate));
  margin-bottom: 32px;
}

/* ============= UTILITY ============= */
.text-center { text-align: center; }
.text-terracotta { color: hsl(var(--color-terracotta)); }
.text-gold { color: hsl(var(--color-gold)); }
.text-muted { color: hsl(var(--color-slate)); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.mt-8 { margin-top: 32px; }
.mb-8 { margin-bottom: 32px; }

/* ============= FAQ ============= */
.faq-item {
  background: hsl(var(--color-white));
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid hsl(var(--color-cream));
  transition: box-shadow 0.3s;
}
.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item h3::after {
  content: '+';
  font-size: 1.2rem;
  color: hsl(var(--color-terracotta));
}
.faq-item.open h3::after {
  content: '-';
}
.faq-item p {
  margin: 0;
  font-size: 0.95rem;
  color: hsl(var(--color-slate));
  display: none;
}
.faq-item.open p {
  display: block;
}

/* ============= PAGINATION ============= */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-numbers li {
  display: inline;
}
.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 8px 16px;
  border: 1px solid hsl(var(--color-cream));
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-decoration: none;
  color: hsl(var(--color-charcoal));
  transition: all 0.3s;
}
.page-numbers a:hover {
  border-color: hsl(var(--color-terracotta));
  color: hsl(var(--color-terracotta));
}
.page-numbers .current {
  background: hsl(var(--color-terracotta));
  border-color: hsl(var(--color-terracotta));
  color: hsl(var(--color-white));
}

/* ============= POST NAVIGATION ============= */
.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.post-navigation a {
  font-size: 0.9rem;
}

/* ============= PRINT ============= */
@media print {
  .site-header, .concierge-bar, .taccuino-badge, .taccuino-drawer {
    display: none !important;
  }
}
