/* ================================
   SECCIÓN DESTINOS POPULARES
   ================================ */
.destinations-section{
  background: var(--bg-soft);
  position: relative;
  margin-top: calc(-1 * var(--search-overlap));
  padding-top: 2rem;           /* base ligera; antes usábamos +overlap aquí */
  padding-bottom: 3.5rem;
  z-index: 1;
}
/* Encabezado 
.dest-head {
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}*/

.destinations-section .dest-head{
  padding-top: calc(var(--search-overlap) + -.5rem);  /* <- evita que lo tape */
  margin-bottom: 0.5rem;                              /* acercamos a las flechas */
}
.dest-kicker {
  font-family: var(--tg-ff-segoepr, "Segoe Print", cursive, sans-serif);
  color: #6d28d9;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  text-transform: capitalize;
}

.dest-title {
  margin: 0;
  font-weight: 800;
  line-height: 1.15;
  font-family: 'Poppins', system-ui, sans-serif;
  color: #111827;
  font-size: clamp(1.9rem, 2.3vw + 1rem, 2.4rem);
}

.dest-subtitle {
  color: #6b7280;
  margin: 0.5rem auto 0 auto;
  max-width: 720px;
  font-size: clamp(0.95rem, 0.3vw + 0.85rem, 1.05rem);
}

/* ================================
   TARJETAS
   ================================ */
.dest-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: #111;
  color: #fff;
  height: 260px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
@media (min-width: 992px) {
  .dest-card {
    height: 300px;
  }
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* Imagen */
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 0.4s ease;
}
.dest-card:hover img {
  transform: scale(1.06);
}
/* Borde interior suave dentro de cada tarjeta */
.dest-card::before {
  content: "";
  position: absolute;
  inset: 10px;                  /* distancia del borde interno */
  border-radius: .85rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;         /* no interfiere con clics */
  z-index: 2;                   /* sobre la imagen, debajo del texto y badges */
  opacity: 0.85;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.08);
  transition: border-color 0.3s ease, opacity 0.3s ease;
}

/* Opcional: acento sutil al hacer hover */
/*
.dest-card:hover::before {
  border-color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}
*/
border: 1px solid rgba(255, 255, 255, 0.35);
/* Overlay */
.dest-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
}

/* Badge Tours */
.dest-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6d28d9;
  color: #fff;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  box-shadow: 0 6px 14px rgba(109, 40, 217, 0.35);
  z-index: 3;
}

/* Botón expandir */
.dest-expand {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
}
.dest-expand:hover {
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Texto inferior */
.dest-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  z-index: 2;
  padding: 0 1rem;
}
.dest-title-card {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.dest-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  border-radius: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Transiciones para columnas */
.col-dest {
  transition: all 0.25s ease;
}

/* Panel y controles de destinos (clases del markup sin CSS hasta ahora — spec AgentUI) */
.dest-panel{
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.btn-pill-icon{
  width: 42px; height: 42px;
  display: inline-grid; place-items: center;
  border-radius: 999px !important; /* el .btn-group aplana los extremos */
  border: 1px solid #e5e7eb;
  background: #fff; color: #334155;
  font-size: 1.05rem; line-height: 1;
  transition: all .18s ease;
}
.btn-pill-icon + .btn-pill-icon{ margin-left: .5rem; }
.btn-pill-icon:hover{
  border-color: #2563eb; color: #2563eb;
  background: rgba(37,99,235,.06);
}
.btn-pill{ border-radius: 999px; font-weight: 600; padding: .45rem 1.1rem; }
