/* =============================================================
   Excursions page. Loaded after redesign.css on excursions.html
   only, and reuses its tokens (--ink, --gold-*, --space-*...).
   ============================================================= */

/* ---------- Intro ------------------------------------------ */
.exc-intro {
  padding: var(--space-section) 0 0;
  text-align: center;
}
.exc-intro .section_title p {
  margin: 1.25rem auto 0;
}

.exc-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 920px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: left;
}
.exc-point {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.exc-point i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand-deep);
  color: var(--gold-text);
  font-size: 0.95rem;
}
.exc-point strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.exc-point span {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Jump links to each experience. */
.exc-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.exc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--cream);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.exc-nav a .price {
  font-weight: 500;
  color: var(--gold-text);
}
.exc-nav a:hover,
.exc-nav a:focus {
  background: var(--gold-cta);
  border-color: var(--gold-cta);
  color: var(--white);
}
.exc-nav a:hover .price,
.exc-nav a:focus .price {
  color: var(--white);
}

/* ---------- Experience sections ---------------------------- */
.exc-section {
  padding: var(--space-section) 0;
  /* Land below the sticky header when reached via a jump link. */
  scroll-margin-top: 90px;
}
.exc-section.section-alt {
  background: var(--sand-deep);
}

.exc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.exc-section.reverse .exc-media {
  order: 2;
}

/* Photo mosaic: first image wide, the rest share the row below. */
.exc-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  position: sticky;
  top: 100px;
}
.exc-media figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.exc-media figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 11;
}
/* With only two photos, the second spans the row as a panorama. */
.exc-media figure:nth-child(2):last-child {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}
.exc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.exc-media figure:hover img {
  transform: scale(1.04);
}
.exc-media figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.9rem 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  background: linear-gradient(to top, rgba(20, 13, 8, 0.78), rgba(20, 13, 8, 0));
  text-shadow: 0 1px 6px rgba(20, 13, 8, 0.6);
}

.exc-body h2 {
  margin: 0 0 1rem;
}
.exc-body .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

/* Key facts. */
.exc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 2.25rem;
}
.exc-fact {
  padding: 0.9rem 1.05rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.exc-fact .label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.3rem;
}
.exc-fact .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}
.exc-fact.is-price .value {
  color: var(--gold-text);
  font-weight: 600;
}
.exc-fact .value small {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.exc-subhead {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
}

/* Itinerary timeline. */
.exc-steps {
  counter-reset: step;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.exc-steps li {
  position: relative;
  padding: 0 0 1.35rem 3rem;
  counter-increment: step;
}
.exc-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--gold-soft);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-text);
}
/* Connector line between steps. */
.exc-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1rem - 0.5px);
  top: 2.1rem;
  bottom: 0.15rem;
  width: 1px;
  background: var(--line-strong);
}
.exc-steps li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.exc-steps li p {
  font-size: 0.9625rem;
  line-height: 1.65;
  margin: 0;
}

/* Included / not included. */
.exc-notes {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  border-left: 2px solid var(--gold-soft);
  background: rgba(255, 252, 248, 0.6);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.exc-notes p {
  display: flex;
  gap: 0.6rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.exc-notes i {
  flex-shrink: 0;
  margin-top: 0.3em;
  width: 1rem;
  text-align: center;
  color: var(--gold-text);
}
.exc-notes .no i {
  color: var(--ink-mute);
}

.exc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}
.exc-cta .btn-gold i {
  font-size: 1.05rem;
  margin-right: 0.55rem;
  letter-spacing: 0;
}

/* Agafay: day vs sunset side by side. */
.exc-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.exc-variant {
  padding: 1.35rem 1.25rem 0.4rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.exc-variant h3 {
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}
.exc-variant .time {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-text);
  margin-bottom: 1.1rem;
}
.exc-variant .exc-steps {
  margin-bottom: 0.5rem;
}
.exc-variant .exc-steps li {
  padding-left: 2.4rem;
  padding-bottom: 1rem;
}
.exc-variant .exc-steps li::before {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.75rem;
}
.exc-variant .exc-steps li:not(:last-child)::after {
  left: calc(0.8rem - 0.5px);
  top: 1.7rem;
}
.exc-variant .exc-steps li p {
  font-size: 0.9rem;
}

/* Dinner party: one card, a labelled row per group. Three side-by-side cards
   were too narrow inside a half-width column. */
.exc-lists {
  margin: 0 0 2rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.exc-list {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.05rem 1.25rem;
}
.exc-list + .exc-list {
  border-top: 1px solid var(--line);
}
.exc-list h3 {
  font-size: 1.2rem;
  margin: 0;
  padding-top: 0.05rem;
}
.exc-list ul {
  margin: 0;
  padding: 0;
}
.exc-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.exc-list li:last-child {
  margin-bottom: 0;
}
.exc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
}

/* ---------- Photo credits (CC BY / BY-SA attribution) ------ */
.exc-credits {
  padding: 2rem 0 0;
}
.exc-credits details {
  max-width: 920px;
  margin: 0 auto;
  font-size: 0.8125rem;
  color: var(--ink-mute);
}
.exc-credits summary {
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--ink-mute);
}
.exc-credits ul {
  margin: 0.85rem 0 0;
  padding: 0;
}
.exc-credits li {
  margin-bottom: 0.35rem;
  line-height: 1.5;
}
.exc-credits a {
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.exc-credits a:hover {
  color: var(--gold-text);
}

/* ---------- Responsive ------------------------------------- */
@media (max-width: 991px) {
  .exc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Photos first on small screens, whichever side they sit on wide. */
  .exc-section.reverse .exc-media {
    order: 0;
  }
  .exc-media {
    position: static;
  }
  .exc-points {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
}

@media (max-width: 575px) {
  .exc-variants {
    grid-template-columns: minmax(0, 1fr);
  }
  .exc-fact .value {
    font-size: 1.15rem;
  }
  .exc-cta .btn-gold {
    width: 100%;
  }
  .exc-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }
}
