/* ============================================================
   VIAJAR — Pagina destinazione
   ============================================================ */

.destinazione-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-16);
  margin-top: calc(-1 * var(--navbar-height));
}

.destinazione-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destinazione-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,63,73,.9) 0%, rgba(8,63,73,.3) 60%, transparent 100%);
}

.destinazione-hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  padding-top: calc(var(--navbar-height) + var(--sp-16));
}

.destinazione-hero__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.6);
  margin-bottom: var(--sp-2);
}

.destinazione-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--sp-4);
}

/* ── Info chips ── */
.dest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--white);
}

/* ── When to go bar chart ── */
.when-to-go {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.when-to-go__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}

.when-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-2);
  align-items: end;
  height: 60px;
}

.when-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  height: 100%;
}

.when-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: opacity var(--transition-fast);
}

.when-bar:hover { opacity: 0.75; }

.when-bar[data-level="1"] { height: 15%; background: #ddd; }
.when-bar[data-level="2"] { height: 30%; background: var(--teal-muted); }
.when-bar[data-level="3"] { height: 50%; background: var(--sky); }
.when-bar[data-level="4"] { height: 70%; background: var(--teal-mid); }
.when-bar[data-level="5"] { height: 100%; background: var(--teal); }

.when-month {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Info + map grid ── */
.dest-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .dest-info-grid { grid-template-columns: 1fr 1fr; }
}

.dest-map-placeholder {
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  border: 1px solid var(--border);
}

/* ── CTA bottom bar ── */
.dest-cta-bar {
  background: var(--black);
  padding: var(--sp-6) 0;
}

.dest-cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.dest-cta-bar__text {
  color: var(--white);
  font-size: var(--fs-md);
  font-weight: 600;
}

.dest-cta-bar__price {
  color: var(--gold);
}
