.hero-timer {
  background: #f8f9fa;
  color: #333;
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 30px;
}

.hero-timer h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* Card e design generico */
.custom-card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background: #fff;
}
.btn-primary {
  background-color: #0070c0;
  border-color: #0070c0;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: #005aa3;
  border-color: #005aa3;
}

/* Promozioni Terminate: immagini più grandi */
.promo-ended-img {
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400 !important;
}

.boldSite {
  color: #104c9a;
}

.flex-5-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.flex-5-cols > div {
  flex: 0 0 calc(20% - 0.8rem); /* 5 colonne con gap */
  max-width: calc(20% - 0.8rem);
}
@media (max-width: 991.98px) {
  .flex-5-cols > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Uniforma input e select */
input.form-control,
select.form-select {
  border: 1px solid #0d6efd;
  border-radius: 6px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
input.form-control:focus,
select.form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Checkbox più elegante e allineata */
.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.3rem;
  border-radius: 0.25rem;
  border: 1px solid #0d6efd;
}
.form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

@media (max-width: 768px) {
  .promo-ended-img {
    max-height: none !important; /* Rende le immagini più grandi */
    width: 100%;
    margin-bottom: 1rem;
  }

  .row.justify-content-center > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ----- BOX CHIUSO (layout 2×2) ----- */
.tour-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2.5rem;
  transition: opacity 0.2s ease;

  /* grid desktop */
  display: grid;
  grid-template-areas:
    "img  text"
    "price faq";
  grid-template-columns: 370px 1fr;
  grid-row-gap: 1.5rem;
  grid-column-gap: 2rem;
  border: 2px solid #d1d5db;
}

.tour-box[style*="display: none"] {
  opacity: 0;
}

/* grid items */
.tour-img {
  grid-area: img;
  text-align: center;
}
.tour-text {
  grid-area: text;
}
.tour-prices {
  align-self: start; /* resta sotto la foto */
  text-align: center;
}
.tour-faq {
  align-self: start;
  width: 100%;
}
.tour-faq details {
  padding: 0.35rem 0;
}

/* image */
.tour-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* prices list */
.tour-prices ul {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.tour-prices li::before {
  content: "⛵ ";
  color: var(--blu);
  margin-right: 0.25rem;
}

/* FAQ accordion */
details {
  border-top: 1px solid #e5e5e5;
  padding: 0.6rem 0;
}
details:first-of-type {
  border-top: none;
}
summary {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem !important;
}
summary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blu);
  transition: transform 0.3s;
}
details[open] summary svg {
  transform: rotate(45deg);
}

.list-bold {
  font-weight: bold;
}

/* ----- MOBILE STACK ----- */
@media (max-width: 767.98px) {
  .tour-box {
    grid-template-areas:
      "img"
      "text"
      "price"
      "faq";
    grid-template-columns: 1fr;
  }
  .tour-img {
    max-width: 320px;
    margin-inline: auto;
  }
  .tour-prices {
    margin-top: 1rem;
  }
  .tour-faq {
    margin-top: 1rem;
  }
}
