/* Experience display — Activities + Day Trips (full-bleed hero + rich layout) */

.xp-page {
  background: var(--bg, #f6f1e8);
  color: var(--ink, #1a2332);
}

/* Full-bleed hero — first viewport visual plane */
.xp-hero {
  position: relative;
  width: 100%;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.xp-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #2a2218;
}

.xp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  animation: xpHeroSettle 1.1s ease-out both;
}

@keyframes xpHeroSettle {
  from { transform: scale(1.08); opacity: 0.85; }
  to { transform: scale(1.02); opacity: 1; }
}

.xp-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 16, 24, 0.35) 0%, rgba(12, 16, 24, 0.15) 28%, rgba(12, 16, 24, 0.45) 62%, rgba(12, 16, 24, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 16, 24, 0.35) 0%, transparent 45%);
}

.xp-hero--empty {
  min-height: auto;
  background: var(--bg, #f6f1e8);
}

.xp-hero--empty .xp-hero-media {
  display: none;
}

.xp-hero--empty .xp-hero-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--nav-h, 68px) + 36px) 0 8px;
}

.xp-hero--empty .xp-title-block h1,
.xp-hero--empty .xp-kicker {
  color: inherit;
}

.xp-hero--empty .xp-kicker {
  color: var(--accent, #9a6230);
}

.xp-hero--empty .xp-time {
  background: #fff;
  border-color: var(--border, #ddd4c4);
  color: var(--ink, #1a2332);
}

.xp-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(var(--nav-h, 68px) + 48px) clamp(20px, 4vw, 48px) clamp(36px, 5vw, 56px);
  animation: xpHeroCopy 0.7s ease-out 0.15s both;
}

@keyframes xpHeroCopy {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.xp-wrap {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

/* Brand row over hero: logo + title + time */
.xp-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px 24px;
  align-items: center;
  width: min(980px, 100%);
  margin: 0 auto;
}

.xp-logo-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.xp-logo-mark img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  animation: xpSpin 18s linear infinite;
}

@keyframes xpSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.xp-title-block h1 {
  font-family: var(--serif, ivypresto-display, "Bodoni Moda", serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.6vw, 3.15rem);
  line-height: 1.1;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.xp-title-block .xp-kicker {
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8c9a4;
  margin: 0 0 8px;
}

.xp-time {
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-align: right;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 252, 247, 0.94);
  color: var(--ink, #1a2332);
  min-width: 150px;
  backdrop-filter: blur(6px);
}

.xp-time strong {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #9a6230);
  font-weight: 600;
  margin-bottom: 4px;
}

/* Mini map (day trips) */
.xp-map {
  margin: 0 0 40px;
  background: #fff;
  border: 1px solid var(--border, #ddd4c4);
  padding: 20px 22px 16px;
}

.xp-map-label {
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted, #5c5348);
  margin-bottom: 10px;
}

.xp-map svg {
  width: 100%;
  height: auto;
  display: block;
}

.xp-map-legend {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.85rem;
  color: var(--muted, #5c5348);
}

/* Description */
.xp-section {
  margin-bottom: 44px;
}

.xp-section-title {
  font-family: var(--serif, ivypresto-display, "Bodoni Moda", serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  text-align: center;
  margin: 0 0 20px;
  position: relative;
}

.xp-section-title::before,
.xp-section-title::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent, #9a6230);
  vertical-align: middle;
  margin: 0 12px;
}

.xp-desc {
  background: #fff;
  border: 1px solid var(--border, #ddd4c4);
  padding: 28px 30px;
}

.xp-desc p {
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted, #5c5348);
  margin: 0 0 1rem;
}

.xp-desc p:last-child {
  margin-bottom: 0;
}

/* Highlights (collapsible descriptions) */
.xp-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
}

.xp-hl {
  border-bottom: 1px solid rgba(154, 98, 48, 0.15);
  padding: 0;
}

.xp-hl-details {
  margin: 0;
}

.xp-hl-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 16px 4px 16px 28px;
  position: relative;
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink, #1a2332);
}

.xp-hl-summary::-webkit-details-marker {
  display: none;
}

.xp-hl-summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #9a6230);
}

.xp-hl-title {
  flex: 1;
  font-weight: 500;
}

.xp-hl-toggle {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border, #ddd4c4);
  background: #fff;
  position: relative;
}

.xp-hl-toggle::before,
.xp-hl-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--accent, #9a6230);
  transform: translate(-50%, -50%);
}

.xp-hl-toggle::before {
  width: 12px;
  height: 2px;
}

.xp-hl-toggle::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.xp-hl-details[open] .xp-hl-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.xp-hl-desc {
  margin: 0 4px 16px 28px;
  padding: 0 36px 4px 0;
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted, #5c5348);
}

.xp-hl > .xp-hl-title {
  display: block;
  padding: 16px 4px 16px 28px;
  position: relative;
  font-family: var(--sans, "Outfit", sans-serif);
  font-weight: 500;
}

.xp-hl > .xp-hl-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #9a6230);
}

/* Day flow timeline */
.xp-flow {
  list-style: none;
  margin: 0 auto;
  padding: 8px 0 0;
  max-width: 720px;
  position: relative;
}

.xp-flow::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(154, 98, 48, 0.28);
}

.xp-flow-step {
  position: relative;
  padding: 0 0 28px 36px;
}

.xp-flow-step:last-child {
  padding-bottom: 0;
}

.xp-flow-dot {
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg, #f6f1e8);
  border: 2px solid var(--accent, #9a6230);
  box-sizing: border-box;
}

.xp-flow-label {
  display: block;
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #9a6230);
  font-weight: 600;
  margin-bottom: 6px;
}

.xp-flow-text {
  margin: 0;
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted, #5c5348);
}

/* Included / Excluded boxes */
.xp-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.xp-box {
  background: #fff;
  border: 1px solid var(--border, #ddd4c4);
  padding: 22px 24px 20px;
  min-height: 160px;
}

.xp-box h3 {
  font-family: var(--serif, ivypresto-display, "Bodoni Moda", serif);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border, #ddd4c4);
}

.xp-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.xp-box li {
  font-family: var(--sans, "Outfit", sans-serif);
  font-size: 0.96rem;
  line-height: 1.45;
  padding: 7px 0 7px 18px;
  position: relative;
  color: var(--text, #1a2332);
}

.xp-box li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent, #9a6230);
}

.xp-box--out h3 {
  color: var(--muted, #5c5348);
}

/* Gallery carousel */
.xp-gallery {
  margin-top: 8px;
}

.xp-gallery-title {
  font-family: var(--serif, ivypresto-display, "Bodoni Moda", serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  text-align: center;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}

.xp-carousel {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 10px;
  align-items: center;
}

.xp-nav-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border, #ddd4c4);
  background: #fff;
  color: var(--ink, #1a2332);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.xp-nav-btn:hover {
  background: var(--accent, #9a6230);
  color: #fff;
  border-color: var(--accent, #9a6230);
}

.xp-track-wrap {
  overflow: hidden;
}

.xp-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.xp-slide {
  flex: 0 0 calc((100% - 24px) / 3);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--warm, #efe6d8);
  margin: 0;
}

.xp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.xp-back {
  text-align: center;
  margin-top: 18px;
}

.xp-back a {
  font-family: var(--sans, "Outfit", sans-serif);
  color: var(--accent, #9a6230);
  text-decoration: none;
  font-size: 0.95rem;
}

.xp-back a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .xp-hero {
    min-height: min(78vh, 620px);
  }

  .xp-head {
    grid-template-columns: auto 1fr;
  }

  .xp-time {
    grid-column: 1 / -1;
    text-align: left;
  }

  .xp-slide {
    flex: 0 0 calc((100% - 12px) / 2);
  }
}

@media (max-width: 560px) {
  .xp-hero {
    min-height: 72vh;
  }

  .xp-hero-inner {
    padding-bottom: 32px;
  }

  .xp-title-block h1 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .xp-boxes {
    grid-template-columns: 1fr;
  }

  .xp-carousel {
    grid-template-columns: 40px 1fr 40px;
  }

  .xp-slide {
    flex: 0 0 100%;
  }

  .xp-logo-mark {
    width: 58px;
    height: 58px;
  }

  .xp-desc {
    padding: 22px 20px;
  }
}
