/* ─── PAGE HERO ── */
.page-hero--img {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
}
.page-hero--img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.52);
  z-index: 0;
}
.page-hero--img .page-hero-inner { position: relative; z-index: 1; }
.page-hero--img .hero-count,
.page-hero--img h1,
.page-hero--img p { text-shadow: 0 1px 6px rgba(0,0,0,.4); }

.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--secondary) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; text-align: center; }
.hero-count {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.hero-count .dot { width: .45rem; height: .45rem; background: #fff; border-radius: 50%; opacity: .8; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 1rem;
}
.page-hero h1 span { display: block; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 36rem; margin: 0 auto; }

/* ─── FILTERS ── */
.filters-bar {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 68px;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.filters-inner {
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}
.filter-group { display: flex; flex-direction: column; gap: .3rem; }
.filter-group label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.filter-select {
  height: 2.5rem;
  padding: 0 2.5rem 0 .9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: .6rem;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-900);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .6rem center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.filter-select:focus { border-color: var(--primary); }
.filter-reset {
  height: 2.5rem;
  padding: 0 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: .6rem;
  background: #fff;
  font-family: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.filter-reset:hover { border-color: var(--primary); color: var(--primary); }
.results-count { margin-left: auto; font-size: .82rem; font-weight: 600; color: var(--gray-500); white-space: nowrap; }

/* ─── TRIPS GRID ── */
.trips-section { padding: 3rem 0 5rem; }
.section-title-row { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 2rem; }
.section-title-row h2 { font-size: 1.5rem; font-weight: 800; color: var(--gray-900); }
.section-title-row .count-badge {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--gold-light);
  padding: .2rem .65rem;
  border-radius: 9999px;
}
.trips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.75rem; }

.trip-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.trip-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.13); }

.card-img { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.card-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s; }
.trip-card:hover .card-img-bg { transform: scale(1.07); }
.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(139,106,53,.88) 0%, rgba(0,0,0,.2) 55%, transparent 100%); }
.card-badge {
  position: absolute;
  top: .9rem; left: .9rem;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: .4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.card-hover-link {
  position: absolute;
  top: .9rem; right: .9rem;
  width: 2.1rem; height: 2.1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s, background .2s;
}
.trip-card:hover .card-hover-link { opacity: 1; transform: translateY(0); }
.card-hover-link:hover { background: var(--secondary); }
.card-hover-link svg { width: .95rem; height: .95rem; }
.card-bottom { position: absolute; bottom: 0; left: 0; right: 0; padding: .9rem 1rem; }
.dest-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  padding: .2rem .6rem;
  border-radius: 9999px;
  margin-bottom: .4rem;
}
.dest-chip svg { width: .75rem; height: .75rem; }
.card-title-text { font-size: 1rem; font-weight: 700; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.3); line-height: 1.3; }

.card-body { padding: 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.card-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .8rem; }
.tag { font-size: .68rem; font-weight: 700; color: var(--primary); background: rgba(168,135,74,.1); border: 1px solid rgba(168,135,74,.2); padding: .2rem .6rem; border-radius: 9999px; }
.tag-extra { font-size: .68rem; font-weight: 600; color: var(--secondary); background: rgba(196,160,106,.1); border: 1px solid rgba(196,160,106,.2); padding: .2rem .6rem; border-radius: 9999px; }
.card-meta { display: flex; gap: .9rem; font-size: .78rem; color: var(--gray-400); margin-bottom: .8rem; }
.card-meta span { display: flex; align-items: center; gap: .3rem; }
.card-meta svg { width: .85rem; height: .85rem; color: var(--primary); }
.card-divider { height: 1px; background: linear-gradient(to right, transparent, var(--gray-200), transparent); margin-bottom: .8rem; }
.card-footer { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.price-label { font-size: .62rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: .08em; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--secondary); }
.btn-details {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 0 1rem;
  height: 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(168,135,74,.3);
}
.btn-details:hover { background: var(--secondary); box-shadow: 0 4px 16px rgba(196,160,106,.4); }

.no-results { text-align: center; padding: 5rem 1rem; color: var(--gray-400); }
.no-results svg { width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; opacity: .3; }
.no-results p { font-size: 1rem; font-weight: 600; }
.no-results small { font-size: .85rem; }

@media (max-width: 640px) {
  .filters-inner { gap: .5rem; }
  .filter-group { flex: 1 1 45%; }
  .results-count { width: 100%; text-align: right; }
}
