/* ============================================================
   EXPERIENCES SECTION  ·  Shivoham Retreat
   ============================================================ */

.experiences {
  margin: 1rem;
  width: calc(100% - 2rem);
  background: #f7f7f7;
  border-radius: 16px;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

/* ── Header ─────────────────────────────────── */
.xp__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.xp__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-sans, sans-serif);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #7A6C5C;
  margin-bottom: 0.75rem;
}

.xp__eyebrow::before {
  content: '';
  width: 2rem;
  height: 1.5px;
  background: #111C17;
  flex-shrink: 0;
}

.xp__title {
  font-family: var(--f-sans, sans-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: #1C3228;
  letter-spacing: -0.02em;
}

.xp__title em {
  font-style: normal;
  font-weight: 300;
  color: #6A5E50;
}

.xp__all {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-sans, sans-serif);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1C3228;
  border-bottom: 1.5px solid #1C3228;
  padding-bottom: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap 0.22s ease, opacity 0.22s ease;
  text-decoration: none;
}
.xp__all:hover { gap: 1rem; opacity: 0.6; }

/* ── Grid ───────────────────────────────────── */
.xp__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* ── Card ───────────────────────────────────── */
.xp-card {
  background: #FAF8F2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  text-decoration: none;
}

.xp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.10);
}

/* Image */
.xp-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.xp-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.4s ease;
}

.xp-card:hover .xp-card__img img { transform: scale(1.06); }

/* Tag on image */
.xp-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #111C17;
  color: #ffffff;
  font-family: var(--f-sans, sans-serif);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
}

/* Body */
.xp-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.xp-card__name {
  font-family: var(--f-sans, sans-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #1C3228;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.xp-card__name em {
  font-style: normal;
  font-weight: 300;
  color: #5E5248;
}

.xp-card__desc {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #5E5248;
  margin-bottom: 1rem;
  flex: 1;
}

/* Pills */
.xp-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.xp-card__pills span {
  font-family: var(--f-sans, sans-serif);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5A4C40;
  background: #E2D9CA;
  padding: 0.28rem 0.7rem;
  border-radius: 4px;
}

/* Discover link */
.xp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--f-sans, sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1C3228;
  text-decoration: none;
  border-bottom: 1.5px solid #1C3228;
  padding-bottom: 2px;
  width: fit-content;
  transition: gap 0.22s ease, opacity 0.22s ease;
  margin-top: auto;
}
.xp-card__link:hover { gap: 0.75rem; opacity: 0.6; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .xp__grid { grid-template-columns: repeat(2, 1fr); }
  .xp__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 540px) {
  .xp__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .xp__grid::-webkit-scrollbar { display: none; }

  .xp-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }
}
