/* ================================
   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;
}


/* =========================
   DARK MODE (Destinations)
   ========================= */
html[data-theme="dark"] .destinations-section{
  background:#0a0f1a;
}
html[data-theme="dark"] .dest-kicker{ color:#a78bfa; }
html[data-theme="dark"] .dest-title{ color:#e5e7eb; }
html[data-theme="dark"] .dest-subtitle{ color:#94a3b8; }

html[data-theme="dark"] .dest-card{
  background:#0b1220;
  box-shadow: 0 10px 24px rgba(0,0,0,.5);
}
html[data-theme="dark"] .dest-card::before{
  border-color: rgba(255,255,255,.16);
  box-shadow: inset 0 0 6px rgba(255,255,255,.05);
}
html[data-theme="dark"] .dest-badge{ background:#8b5cf6; }
html[data-theme="dark"] .dest-expand{
  background: rgba(255,255,255,.9);
  color:#0b1220;
}
html[data-theme="dark"] .dest-meta{ color:#e5e7eb; }
html[data-theme="dark"] .dest-location{
  background: rgba(255,255,255,.9);
  color:#0b1220;
}

/* Panel y controles de destinos · dark (spec AgentUI) */
html[data-theme="dark"] .dest-panel{
  background: #0b1220; border-color: #111827;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
html[data-theme="dark"] .btn-pill-icon{
  background: #0f172a; border-color: #1f2937; color: #cbd5e1;
}
html[data-theme="dark"] .btn-pill-icon:hover{
  border-color: #60a5fa; color: #93c5fd; background: rgba(96,165,250,.1);
}
