/* Premium minimal styling for the Zanzibar retreat page */

:root {
  --rp-beige: #f5f1eb;
  --rp-sand: #eae3d9;
  --rp-olive: #6b7d6d;
  --rp-brown: #3e2f2b;
}

.retreat-premium-root {
  background: linear-gradient(180deg, #ffffff, rgba(245, 241, 235, 0.82));
  color: var(--rp-brown);
}

.rp-container {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.rp-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.rp-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.rp-hero {
  position: relative;
  min-height: calc(100svh - var(--site-header-offset, 3.5rem));
  background: #ffffff;
  overflow: hidden;
}

@media (min-width: 768px) {
  .rp-hero {
    min-height: calc(100dvh - var(--site-header-offset, 3.5rem));
  }
}

.rp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Subtle overlay for readability (no “faded” background feel). */
  background: linear-gradient(
    180deg,
    rgba(62, 47, 43, 0.78) 0%,
    rgba(62, 47, 43, 0.44) 42%,
    rgba(62, 47, 43, 0.70) 100%
  );
  pointer-events: none;
}

.rp-hero-media {
  position: absolute;
  inset: 0;
}

.rp-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  /* Hide video details so text remains calm & readable. */
  filter: blur(0px) saturate(1) contrast(1.03) brightness(0.78);
  opacity: 1;
}

.rp-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.02);
  opacity: 0;
  transition: opacity 900ms ease;
}

.rp-hero-bg.is-active {
  opacity: 1;
}

.rp-hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--site-header-offset, 3.5rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7.5rem 1.25rem 5rem;
}

@media (min-width: 768px) {
  .rp-hero-content {
    min-height: calc(100dvh - var(--site-header-offset, 3.5rem));
  }
}

.rp-hero-center {
  width: 100%;
  max-width: 720px;
}

.rp-hero-back-link {
  position: absolute;
  top: max(1.25rem, env(safe-area-inset-top));
  left: 1.25rem;
  right: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 241, 235, 0.35);
  background: rgba(62, 47, 43, 0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

[dir="rtl"] .rp-hero-back-link {
  left: auto;
  right: 1.25rem;
}

.rp-hero-title {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1.08;
}

.rp-kicker {
  color: rgba(185, 137, 95, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  font-weight: 750;
}

/* Match the warm white look for dynamic content blocks. */
.retreat-premium-root .retreat-section-body,
.retreat-premium-root #retreat-diff,
.retreat-premium-root #retreat-included {
  color: rgba(62, 47, 43, 0.80);
}

.rp-hero-back-link {
  color: rgba(245, 241, 235, 0.92);
}

.rp-hero-kicker {
  color: rgba(185, 137, 95, 0.96);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.78rem;
  font-weight: 650;
}

.rp-hero-back-link:hover {
  color: rgba(255, 255, 255, 1);
  background: rgba(62, 47, 43, 0.38);
  border-color: rgba(245, 241, 235, 0.62);
}

.rp-hero-title {
  color: rgba(245, 241, 235, 1);
  text-shadow: 0 16px 52px rgba(0, 0, 0, 0.38);
  font-weight: 580;
  letter-spacing: -0.01em;
}

.rp-hero-subtitle {
  white-space: pre-line;
  line-height: 1.75;
  color: rgba(245, 241, 235, 0.90);
  text-shadow: 0 16px 52px rgba(0, 0, 0, 0.22);
  font-weight: 500;
}

/* Glass container wrapper for hero content */
.rp-hero-glass {
  width: 100%;
  max-width: 720px;
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  background: rgba(245, 241, 235, 0.10);
  border: 1px solid rgba(185, 137, 95, 0.20);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.rp-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 9999px;
  background: rgba(245, 241, 235, 0.14);
  border: 1px solid rgba(185, 137, 95, 0.22);
  color: rgba(245, 241, 235, 1);
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 280ms ease, background 280ms ease, border-color 280ms ease, opacity 280ms ease;
  opacity: 0.98;
}

.rp-hero-cta:hover {
  transform: translateY(-1px) scale(1.03);
  background: rgba(255, 255, 255, 0.20);
  border-color: rgba(255, 255, 255, 0.32);
  opacity: 1;
}

.rp-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  color: rgba(245, 241, 235, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}

.rp-scroll-indicator .rp-scroll-dot {
  width: 26px;
  height: 42px;
  border-radius: 9999px;
  border: 1px solid rgba(62, 47, 43, 0.20);
  position: relative;
  background: rgba(245, 241, 235, 0.55);
}

.rp-scroll-indicator .rp-scroll-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(62, 47, 43, 0.92);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: rpScroll 1.7s ease-in-out infinite;
}

/* Storytelling text: gentle blur -> clarity + underline reveal. */
.retreat-premium-root .rp-heading {
  position: relative;
}

.retreat-premium-root .rp-heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(185, 137, 95, 0.95),
    rgba(185, 137, 95, 0.0)
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] .retreat-premium-root .rp-heading::after {
  transform-origin: right center;
}

.animate-section.in-view .retreat-premium-root .rp-heading::after,
.retreat-premium-root .animate-section.in-view .rp-heading::after {
  transform: scaleX(1);
}

/* Text moment: nested paragraphs + list items reveal softly. */
.retreat-premium-root .retreat-section-body p,
.retreat-premium-root .retreat-section-body li {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Keep a subtle reveal effect, but do not hide text by default. */
.retreat-premium-root .animate-section.in-view .retreat-section-body p,
.retreat-premium-root .animate-section.in-view .retreat-section-body li,
.retreat-premium-root .animate-section.in-view .retreat-section-body table th,
.retreat-premium-root .animate-section.in-view .retreat-section-body table td,
.retreat-premium-root .animate-section.in-view .retreat-day summary,
.retreat-premium-root .animate-section.in-view .retreat-day-value p {
  animation: rpTextSoftIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .retreat-premium-root .retreat-section-body p,
  .retreat-premium-root .retreat-section-body li {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .retreat-premium-root .rp-heading::after {
    transition: none;
    transform: scaleX(1);
  }
}

@keyframes rpTextSoftIn {
  0% {
    opacity: 0.001;
    transform: translateY(8px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Safety: ensure retreat content never becomes fully invisible. */
.retreat-premium-root .animate-section {
  opacity: 1 !important;
}

@keyframes rpScroll {
  0% { transform: translateX(-50%) translateY(0); opacity: 0.85; }
  60% { transform: translateX(-50%) translateY(13px); opacity: 0.35; }
  100% { transform: translateX(-50%) translateY(0); opacity: 0.85; }
}

@media (max-width: 640px) {
  .rp-hero-content {
    padding: 6.25rem 1rem 4.25rem;
  }

  .rp-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Reduce inner padding on small screens to prevent any overflow. */
  .rp-surface-tight {
    padding: 1.35rem 1.15rem !important;
  }

  .rp-grid2 {
    gap: 1rem;
  }

  .rp-scroll-indicator {
    bottom: 1.35rem;
    font-size: 0.72rem;
    gap: 0.45rem;
  }

  .rp-scroll-indicator .rp-scroll-dot {
    width: 22px;
    height: 38px;
  }
}

.rp-section {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.rp-surface {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 241, 235, 0.88));
  border: 1px solid rgba(185, 137, 95, 0.18);
  box-shadow: 0 12px 34px rgba(62, 47, 43, 0.045);
}

.rp-surface-tight {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.90), rgba(245, 241, 235, 0.86));
  border: 1px solid rgba(185, 137, 95, 0.18);
}

.rp-heading {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--rp-brown);
  letter-spacing: -0.01em;
}

.rp-h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  margin-bottom: 1.1rem;
}

.rp-paragraph {
  line-height: 1.95;
  color: rgba(62, 47, 43, 0.86);
}

.rp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .rp-split {
    grid-template-columns: 1fr;
  }
}

.rp-media {
  overflow: hidden;
  border-radius: 22px;
}

.rp-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

/* Zanzibar image collage (intro section) */
.rp-zanzibar-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.9rem;
  /* Fix the height so swapping images does not cause reflow/layout jumps. */
  height: clamp(320px, 48vw, 520px);
}

.rp-zanzibar-item {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 14px 34px rgba(62, 47, 43, 0.06);
  position: relative;
  height: 100%;
}

.rp-zanzibar-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: saturate(1.02) contrast(1.02) brightness(1.01);
  transition: opacity 900ms ease;
}

.rp-zi-a {
  grid-row: 1;
  grid-column: 1;
}

.rp-zi-b {
  grid-row: 1;
  grid-column: 2;
}

.rp-zi-c {
  grid-row: 2;
  grid-column: 2;
}

.rp-zi-d {
  grid-row: 2;
  grid-column: 1;
}

@media (max-width: 900px) {
  .rp-zanzibar-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: clamp(260px, 56vw, 380px);
  }

  .rp-zi-a {
    grid-row: 1;
    grid-column: 1;
  }

  .rp-zi-b {
    grid-row: 1;
    grid-column: 2;
  }

  .rp-zi-c {
    grid-row: 2;
    grid-column: 2;
  }

  .rp-zi-d {
    grid-row: 2;
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .rp-zanzibar-gallery {
    height: clamp(300px, 70vw, 420px);
    gap: 0.55rem;
  }

  .rp-zanzibar-item img {
    transform: scale(1.12);
  }
}

.rp-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

@media (max-width: 900px) {
  .rp-grid2 {
    grid-template-columns: 1fr;
  }
}

/* Timeline details styling */
.retreat-itinerary .retreat-day {
  border: 1px solid rgba(185, 137, 95, 0.18);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  padding: 0.2rem 0.9rem;
  margin-bottom: 0.85rem;
}

.retreat-itinerary .retreat-day summary {
  padding: 1rem 0;
  position: relative;
  padding-left: 1.2rem;
  font-size: 1rem;
  color: var(--rp-brown);
}

.retreat-itinerary .retreat-day summary::-webkit-details-marker {
  display: none;
}

.retreat-itinerary .retreat-day summary::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(107, 125, 109, 0.95);
  position: absolute;
  left: 0;
  top: 1.35rem;
}

.retreat-itinerary .retreat-schedule-grid {
  margin-top: 1rem;
}

.retreat-itinerary .retreat-day-value {
  margin-top: 0.5rem;
  border-top: 1px dashed rgba(62, 47, 43, 0.18);
}

/* Hotels and table — soften */
.retreat-hotel-grid {
  gap: 1.2rem;
}

.retreat-hotel-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(185, 137, 95, 0.20) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.retreat-hotel-media {
  height: 142px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
  margin: -1rem -1rem 1rem -1rem;
  border-radius: 0;
}

.retreat-table {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(185, 137, 95, 0.22);
}

.retreat-table th {
  background: rgba(185, 137, 95, 0.10);
  color: rgba(62, 47, 43, 0.95);
}

.retreat-policy-box {
  margin-top: 1.15rem;
  border: 1px solid rgba(185, 137, 95, 0.26);
  border-radius: 18px;
  padding: 1rem 1rem 0.9rem;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.96), rgba(247, 238, 225, 0.92));
}

.retreat-policy-title {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.02rem;
  color: rgba(122, 82, 52, 0.98);
  font-weight: 700;
}

.retreat-policy-body .retreat-bullets {
  margin-bottom: 0;
  list-style-position: inside;
  padding-inline-start: 0.35rem;
  padding-inline-end: 0.2rem;
}

.retreat-policy-body .retreat-bullets li {
  margin: 0.42rem 0;
  overflow-wrap: anywhere;
}

[dir="rtl"] .retreat-policy-body .retreat-bullets {
  padding-left: 0;
  padding-right: 0.45rem;
}

.rp-cta {
  border-radius: 30px;
  padding: 3rem 1.25rem;
  background: linear-gradient(135deg, rgba(185, 137, 95, 0.12), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(185, 137, 95, 0.20);
}

.rp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(189, 143, 100, 0.96), rgba(160, 112, 72, 0.92));
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 12px 26px rgba(185, 137, 95, 0.22);
}

.rp-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(189, 143, 100, 1), rgba(160, 112, 72, 0.95));
}

.rp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(185, 137, 95, 0.24);
  color: rgba(62, 47, 43, 0.95);
  text-decoration: none;
  font-weight: 650;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 10px 22px rgba(185, 137, 95, 0.10);
}

.rp-btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.78);
}

/* Reserve form (CTA) */
.rp-reserve-form {
  display: flex;
  flex-direction: column;
}

.rp-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rp-form-label {
  font-size: 0.85rem;
  font-weight: 650;
  color: rgba(62, 47, 43, 0.95);
}

.rp-input,
.rp-textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(185, 137, 95, 0.22);
  background: rgba(255, 255, 255, 0.95);
  padding: 0.8rem 0.95rem;
  color: rgba(62, 47, 43, 0.95);
  outline: none;
}

.rp-input:focus,
.rp-textarea:focus {
  border-color: rgba(185, 137, 95, 0.55);
  box-shadow: 0 0 0 4px rgba(185, 137, 95, 0.15);
}

.rp-textarea {
  resize: none;
}

.rp-form-flex {
  min-width: 260px;
}

.rp-rich .retreat-bullets {
  padding-left: 1.1rem;
}

#retreat-included.rp-experience-list .retreat-bullets {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: scroll;
  padding: 0.25rem 0 0.75rem;
  margin: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

#retreat-included.rp-experience-list .retreat-bullets::-webkit-scrollbar {
  height: 8px;
}

#retreat-included.rp-experience-list .retreat-bullets::-webkit-scrollbar-thumb {
  background: rgba(62, 47, 43, 0.18);
  border-radius: 9999px;
}

#retreat-included.rp-experience-list .retreat-bullets > li {
  scroll-snap-align: start;
  flex: 0 0 328px;
  position: relative;
  padding: 1rem 1.1rem 1.05rem 5.2rem !important;
  border-radius: 18px;
  border: 1px solid rgba(62, 47, 43, 0.12);
  background: rgba(255, 255, 255, 0.94);
  list-style: none !important;
}

#retreat-included.rp-experience-list .retreat-bullets > li::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  left: 1.05rem;
  top: 1.05rem;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  background-image: url("../public/media/hero.jpg");
}

#retreat-included.rp-experience-list .retreat-bullets > li:nth-child(1)::before { background-image: url("../public/media/hero.jpg"); }
#retreat-included.rp-experience-list .retreat-bullets > li:nth-child(2)::before { background-image: url("../public/media/1.jpg"); }
#retreat-included.rp-experience-list .retreat-bullets > li:nth-child(3)::before { background-image: url("../public/media/4.jpg"); }
#retreat-included.rp-experience-list .retreat-bullets > li:nth-child(4)::before { background-image: url("../public/media/5.jpg"); }
#retreat-included.rp-experience-list .retreat-bullets > li:nth-child(5)::before { background-image: url("../public/media/6.jpg"); }

#retreat-included.rp-experience-list .retreat-nested-bullets {
  margin-top: 0.55rem;
  padding-left: 1.1rem;
}

[dir="rtl"] #retreat-included.rp-experience-list .retreat-bullets > li {
  padding: 1rem 1.1rem 1.05rem 1.1rem !important;
  padding-right: 5.2rem !important;
}

[dir="rtl"] #retreat-included.rp-experience-list .retreat-bullets > li::before {
  left: auto;
  right: 1.05rem;
}

[dir="rtl"] .retreat-itinerary .retreat-day summary::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .retreat-itinerary .retreat-day summary {
  padding-left: 0;
  padding-right: 1.2rem;
}

/* Dahab itinerary cards */
.dahab-itinerary {
  position: relative;
}

.dahab-day-card {
  position: relative;
  border: 1px solid rgba(185, 137, 95, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfaf7 0%, #f8f4ee 100%);
  padding: 1rem 1rem 1.05rem 1.15rem;
  box-shadow: 0 12px 30px rgba(62, 47, 43, 0.06);
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.dahab-day-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 137, 95, 0.42);
  box-shadow: 0 18px 36px rgba(62, 47, 43, 0.12);
}

.dahab-day-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(185, 137, 95, 0.95), rgba(185, 137, 95, 0.38));
}

.dahab-day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.75rem;
}

.dahab-day-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(185, 137, 95, 0.28);
  background: rgba(185, 137, 95, 0.1);
  color: rgba(62, 47, 43, 0.86);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.42rem 0.66rem;
}

.dahab-day-meta {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(62, 47, 43, 0.74);
}

.dahab-day-list li::marker {
  color: rgba(185, 137, 95, 0.92);
}

[dir="rtl"] .dahab-day-card {
  padding-left: 1rem;
  padding-right: 1.15rem;
}

[dir="rtl"] .dahab-day-card::before {
  left: auto;
  right: 0;
}

/* Dahab includes premium panel */
.dahab-includes-card {
  position: relative;
  border-radius: 24px;
  padding: 1.2rem;
  border: 1px solid rgba(185, 137, 95, 0.28);
  background:
    radial-gradient(circle at 16% 14%, rgba(185, 137, 95, 0.18) 0%, rgba(185, 137, 95, 0) 45%),
    radial-gradient(circle at 86% 10%, rgba(255, 252, 246, 0.72) 0%, rgba(255, 252, 246, 0) 40%),
    linear-gradient(160deg, #f6efe5 0%, #f2e7d8 52%, #ebdcc8 100%);
  box-shadow: 0 20px 46px rgba(62, 47, 43, 0.16);
  color: rgba(62, 47, 43, 0.95);
  overflow: hidden;
}

.dahab-includes-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dahab-includes-top {
  margin-bottom: 1rem;
}

.dahab-includes-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(156, 109, 70, 0.95);
  margin-bottom: 0.5rem;
}

.dahab-includes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.dahab-includes-block {
  border-radius: 16px;
  padding: 0.95rem 0.95rem 1rem;
  border: 1px solid rgba(221, 196, 154, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
}

.dahab-includes-block-soft {
  background: linear-gradient(180deg, rgba(185, 137, 95, 0.2), rgba(185, 137, 95, 0.1));
}

.dahab-includes-title {
  margin: 0 0 0.58rem;
  font-size: 0.93rem;
  color: rgba(62, 47, 43, 0.95);
  font-weight: 700;
}

.dahab-includes-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.dahab-includes-list li {
  position: relative;
  padding-inline-start: 1.2rem;
  color: rgba(62, 47, 43, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

.dahab-includes-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.57rem;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #e8c790, #bb915d);
  box-shadow: 0 0 0 3px rgba(232, 199, 144, 0.16);
}

.dahab-price-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  border-top: 1px solid rgba(156, 109, 70, 0.22);
  padding-top: 0.95rem;
}

.dahab-price-label {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(130, 90, 58, 0.82);
}

.dahab-price-value {
  margin: 0.2rem 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.9vw, 2rem);
  font-weight: 700;
  color: rgba(122, 82, 52, 1);
  line-height: 1.15;
}

.dahab-price-note {
  margin: 0.3rem 0 0;
  font-size: 0.76rem;
  color: rgba(100, 72, 52, 0.72);
}

.dahab-includes-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(180deg, #ba8c61 0%, #9e6f46 100%);
  border: 1px solid rgba(145, 98, 60, 0.85);
  box-shadow: 0 14px 30px rgba(100, 66, 41, 0.24);
  transition: transform 220ms ease, filter 220ms ease;
}

.dahab-includes-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

/* Dahab page: unified creamy system */
.retreat-premium-root.dahab-page {
  background: #fbf7f1;
}

.dahab-page .rp-section {
  background: #fbf7f1;
}

.dahab-page {
  overflow-x: clip;
}

.dahab-page img {
  max-width: 100%;
}

.dahab-page .rp-surface,
.dahab-page .rp-surface-tight {
  background: #fffdf9;
  border: 1px solid rgba(185, 137, 95, 0.16);
  box-shadow: 0 8px 24px rgba(62, 47, 43, 0.06);
}

.dahab-page .rp-h2,
.dahab-page .rp-heading,
.dahab-page .font-serif {
  color: rgba(62, 47, 43, 0.96);
}

.dahab-page .rp-heading::after {
  background: linear-gradient(
    90deg,
    rgba(185, 137, 95, 0.92),
    rgba(156, 109, 70, 0.64)
  );
}

.dahab-page .rp-kicker {
  color: rgba(156, 109, 70, 0.92);
}

.dahab-page .rp-btn {
  background: linear-gradient(180deg, #bf946b 0%, #a97a53 100%);
  border: 1px solid rgba(160, 112, 72, 0.84);
  box-shadow: 0 10px 24px rgba(130, 90, 58, 0.18);
}

.dahab-page .rp-btn:hover {
  background: linear-gradient(180deg, #c79d74 0%, #af815a 100%);
}

.dahab-page .dahab-day-card {
  background: #fffaf2;
  border-color: rgba(185, 137, 95, 0.24);
  box-shadow: 0 10px 24px rgba(62, 47, 43, 0.08);
}

.dahab-itinerary {
  display: grid;
  gap: 1rem;
}

.dahab-page .dahab-day-card::before {
  background: linear-gradient(180deg, rgba(191, 148, 107, 0.95), rgba(191, 148, 107, 0.4));
}

.dahab-page .dahab-day-chip {
  background: rgba(191, 148, 107, 0.12);
  border-color: rgba(185, 137, 95, 0.36);
  color: rgba(130, 90, 58, 0.92);
}

.dahab-trainers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dahab-trainer-card {
  border: 1px solid rgba(185, 137, 95, 0.22);
  border-radius: 18px;
  background: #fffaf3;
  padding: 0.75rem 0.75rem 0.95rem;
}

.dahab-trainer-media {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
}

.dahab-trainer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.dahab-trainer-card:hover .dahab-trainer-media img {
  transform: scale(1.04);
}

.dahab-trainer-name {
  margin: 0.8rem 0 0.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.08rem;
  color: rgba(62, 47, 43, 0.96);
}

.dahab-trainer-role {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(62, 47, 43, 0.72);
  overflow-wrap: anywhere;
}

.dahab-journey-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  grid-auto-flow: dense;
}

.dahab-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(185, 137, 95, 0.2);
  background: #fffdf9;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 18px rgba(62, 47, 43, 0.06);
}

.dahab-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
  filter: saturate(1.03) contrast(1.02);
}

.dahab-gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.dahab-gallery-more {
  min-width: 170px;
}

.dahab-journey-gallery .dahab-gallery-item:nth-child(1),
.dahab-journey-gallery .dahab-gallery-item:nth-child(7) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1 / 1;
}

.dahab-journey-gallery .dahab-gallery-item:nth-child(4),
.dahab-journey-gallery .dahab-gallery-item:nth-child(10) {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.dahab-page .dahab-includes-card {
  border-color: rgba(185, 137, 95, 0.22);
  background: #f6eee3;
  box-shadow: 0 16px 34px rgba(62, 47, 43, 0.11);
  padding: 1.5rem;
}

.dahab-page .dahab-includes-top {
  margin-bottom: 1.2rem;
}

.dahab-page .dahab-includes-top h3 {
  color: rgba(62, 47, 43, 0.98);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
}

.dahab-page .dahab-includes-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.dahab-page .dahab-includes-block {
  background: #f6eee3;
  border-color: rgba(185, 137, 95, 0.26);
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: 18px;
}

.dahab-page .dahab-includes-block-soft {
  background: #f6eee3;
}

.dahab-page .dahab-includes-title {
  font-size: 1.02rem;
  margin-bottom: 0.72rem;
}

.dahab-page .dahab-includes-list {
  gap: 0.62rem;
}

.dahab-page .dahab-includes-list li {
  display: block;
  width: 100%;
  text-align: start;
  font-size: 0.98rem;
  line-height: 1.72;
  padding-inline-start: 1.35rem;
}

.dahab-page .dahab-price-row {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
}

.dahab-page .dahab-price-value {
  font-size: clamp(1.75rem, 2.9vw, 2.25rem);
}

.dahab-policy-box {
  margin-top: 1rem;
  border: 1px solid rgba(185, 137, 95, 0.3);
  border-radius: 16px;
  padding: 0.95rem 1rem 0.9rem;
  background: rgba(255, 255, 255, 0.56);
}

.dahab-policy-title {
  margin: 0 0 0.62rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1rem;
  color: rgba(122, 82, 52, 0.98);
}

.dahab-policy-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.dahab-policy-list li {
  position: relative;
  padding-inline-start: 1.1rem;
  color: rgba(62, 47, 43, 0.88);
  font-size: 0.92rem;
  line-height: 1.58;
}

.dahab-policy-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(171, 122, 80, 0.92);
}

.dahab-goal-showcase {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(185, 137, 95, 0.28);
  min-height: 420px;
}

.dahab-goal-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dahab-goal-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 20, 14, 0.24) 0%, rgba(28, 20, 14, 0.62) 74%, rgba(93, 64, 40, 0.76) 100%);
}

.dahab-goal-overlay {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1.1rem;
}

.dahab-goal-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.dahab-goal-subtitle {
  margin-top: 0.9rem;
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  max-width: 42ch;
}

.dahab-goal-chips {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.dahab-goal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(196, 158, 109, 0.44);
  background: rgba(166, 124, 87, 0.55);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 650;
  padding: 0.6rem 1rem;
  white-space: nowrap;
}

.dahab-goal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.75rem;
  border: 1px solid rgba(185, 137, 95, 0.22);
  border-top: 0;
  border-radius: 0 0 20px 20px;
  background: #fff8ef;
}

.dahab-goal-stat {
  text-align: center;
  padding: 1rem 0.7rem 0.95rem;
  border-inline-end: 1px solid rgba(185, 137, 95, 0.18);
}

.dahab-goal-stat:last-child {
  border-inline-end: 0;
}

.dahab-goal-stat strong {
  display: block;
  color: rgba(122, 82, 52, 0.98);
  font-size: clamp(1.28rem, 2.1vw, 2.1rem);
  line-height: 1.2;
}

.dahab-goal-stat span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(62, 47, 43, 0.72);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .dahab-page .dahab-includes-grid {
    grid-template-columns: 1fr;
  }

  .dahab-goal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dahab-goal-stat:nth-child(2) {
    border-inline-end: 0;
  }
}

@media (max-width: 640px) {
  .retreat-policy-box {
    border-radius: 14px;
    padding: 0.9rem 0.9rem 0.75rem;
  }

  .retreat-policy-title {
    font-size: 0.95rem;
    margin-bottom: 0.62rem;
  }

  .dahab-trainers-grid {
    grid-template-columns: 1fr;
  }

  .dahab-journey-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .dahab-gallery-more {
    width: 100%;
    min-width: 0;
  }

  .dahab-journey-gallery .dahab-gallery-item:nth-child(1),
  .dahab-journey-gallery .dahab-gallery-item:nth-child(4),
  .dahab-journey-gallery .dahab-gallery-item:nth-child(7),
  .dahab-journey-gallery .dahab-gallery-item:nth-child(10) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }

  .dahab-goal-showcase,
  .dahab-goal-overlay {
    min-height: 360px;
  }

  .dahab-goal-overlay {
    padding: 1.4rem 0.8rem;
  }

  .dahab-goal-title {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
  }

  .dahab-goal-subtitle {
    font-size: 0.95rem;
  }

  .dahab-goal-chip {
    font-size: 0.88rem;
    padding: 0.52rem 0.82rem;
    white-space: normal;
  }

  .dahab-goal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(185, 137, 95, 0.22);
    border-radius: 0 0 16px 16px;
  }

  .dahab-goal-stat {
    border-inline-end: 1px solid rgba(185, 137, 95, 0.16);
    border-top: 1px solid rgba(185, 137, 95, 0.16);
    padding: 0.8rem 0.5rem 0.78rem;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .dahab-goal-stat:nth-child(1),
  .dahab-goal-stat:nth-child(2) {
    border-top: 0;
  }

  .dahab-goal-stat:nth-child(2n) {
    border-inline-end: 0;
  }

  .dahab-goal-stat strong {
    font-size: clamp(1.1rem, 5.2vw, 1.35rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .dahab-goal-stat span {
    margin-top: 0.28rem;
    font-size: 0.78rem;
    line-height: 1.25;
    text-wrap: balance;
  }

  .dahab-day-card {
    border-radius: 16px;
    padding: 0.95rem 0.9rem 1rem 1rem;
  }

  .dahab-itinerary {
    gap: 1.15rem;
  }

  .dahab-day-list {
    padding-inline-start: 1rem !important;
    padding-inline-end: 0 !important;
  }

  [dir="rtl"] .dahab-day-card {
    padding-left: 0.9rem;
    padding-right: 1rem;
  }

  .dahab-day-head h3 {
    font-size: 1rem;
  }

  .dahab-day-meta {
    font-size: 0.8rem;
  }

  .dahab-includes-card {
    border-radius: 20px;
    padding: 1rem;
  }

  .dahab-page .dahab-includes-list li {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .dahab-policy-box {
    padding: 0.85rem 0.85rem 0.78rem;
  }

  .dahab-policy-list li {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .dahab-includes-cta {
    width: 100%;
  }

  .dahab-price-row {
    gap: 0.75rem;
  }

  .rp-cta {
    padding: 2.35rem 1.1rem;
    border-radius: 26px;
  }

  .retreat-hotel-media {
    height: 126px;
    margin: -0.9rem -0.9rem 0.95rem -0.9rem;
  }

  #retreat-diff,
  #retreat-included {
    width: 100%;
    max-width: 100%;
    overflow-y: hidden;
  }

  /* Keep container safe; the actual horizontal scrollbar lives in the bullet row. */
  #retreat-included {
    overflow-x: hidden;
  }

  #retreat-diff {
    overflow-x: auto;
  }

  /* Bullets can push content slightly on very small widths. */
  #retreat-diff .retreat-bullets {
    padding-left: 0.85rem;
  }

  #retreat-diff .retreat-nested-bullets {
    padding-left: 0.8rem;
  }

  #retreat-diff .retreat-bullets li {
    max-width: 100%;
    word-break: break-word;
  }

  #retreat-diff .retreat-bullets,
  #retreat-diff .retreat-nested-bullets {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  #retreat-included.rp-experience-list .retreat-bullets > li {
    flex: 0 0 280px;
    padding: 1rem 1.0rem 1.05rem 5.0rem !important;
  }

  #retreat-included.rp-experience-list .retreat-bullets > li::before {
    width: 40px;
    height: 40px;
    left: 0.95rem;
    top: 1.05rem;
  }

  #retreat-included.rp-experience-list .retreat-bullets {
    width: 100%;
    max-width: 100%;
    overflow-x: scroll;
  }

  [dir="rtl"] #retreat-included.rp-experience-list .retreat-bullets > li {
    padding: 1rem 1.0rem 1.05rem 1.0rem !important;
    padding-right: 5.0rem !important;
  }
}

@media (max-width: 390px) {
  .dahab-page .rp-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .dahab-goal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dahab-goal-stat {
    border-inline-end: 1px solid rgba(185, 137, 95, 0.16) !important;
  }

  .dahab-goal-stat:nth-child(2n) { border-inline-end: 0 !important; }
  .dahab-goal-stat:nth-child(1),
  .dahab-goal-stat:nth-child(2) { border-top: 0; }

  .dahab-goal-title {
    font-size: clamp(1.4rem, 8.2vw, 2rem);
  }

  .dahab-page .dahab-includes-title {
    font-size: 0.95rem;
  }
}

