/* ════════════════════════════════════════════════════════════════════════
   EXCURSION BOOKING — SINGLE PAGE REDESIGN v3
   Pixel-faithful to the uploaded mockup:
   - Full-width hero image, no overlay on the whole image
   - Left glassmorphism card for title/tagline/pills
   - Right stacked gallery cards (floating)
   - White stats bar below hero (3 cols, teal circle icons)
   - 2-col content layout: left content, right booking widget
   - Clean white background, teal (#1d9a8a) accent, dark navy headings
   - Curved/wave section dividers
   - DM Sans body, bold sans headings
════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

/* ── Variables ──────────────────────────────────────────────────────── */
.ebr3-page {
  --t:  #003f92;
  --td: #15786b;
  --tl: #e4f5f2;
  --tm: #4db8aa;
  --nv: #0d1f35;
  --tx: #1a2636;
  --s2: #4a5568;
  --mu: #8fa3b8;
  --bd: #e8eef5;
  --bg: #f7f9fc;
  --wh: #ffffff;
  --gn: #2e7d5e;
  --gl: #e8f5f0;
  --rd: #c0392b;
  --rl: #fdecea;
  --sh: 0 4px 24px rgba(0,0,0,.08);
  --sl: 0 12px 48px rgba(0,0,0,.12);
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--tx);
  background: var(--wh);
}
.ebr3-page *, .ebr3-page *::before, .ebr3-page *::after { box-sizing: border-box; }

/* ── Back link ──────────────────────────────────────────────────────── */
.ebr3-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--nv);
  padding: 18px 0 0; text-decoration: none;
  transition: color .2s; position: relative; z-index: 20;
}
.ebr3-back:hover { color: var(--t); }

/* ════════════════════════════════════════════════════════════════════
   HERO CONTAINER — full-width viewport breakout
   Sits outside .ebr3-wrap so it stretches edge-to-edge.
   Contains both panels: left 40% white content + right 60% photo.
   A diagonal morph gradient blends them seamlessly.
════════════════════════════════════════════════════════════════════ */

/* Full-viewport-width container, not constrained by the page wrap */
.ebr3-hero-container {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 7%;
  padding: 0 0;          /* breathing room so hero doesn't kiss the window edge */
}

/* Inner hero — the actual split-screen card */
.ebr3-hero {
  position: relative;
  width: 100%;
  min-height: 580px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: none;
}

/* ── Right panel: feature photo fills the whole hero (behind morph) ── */
.ebr3-hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
  /* Subtle Ken-Burns-ready scale — no animation, just ensures no white edge */
  transform: scale(1.005);
}

/* ── Diagonal morph gradient
   Angle 108° tilts the boundary top-right → bottom-left.
   Left zone (~0–28%): fully opaque white — hides photo, creates clean content panel.
   Blend zone (33–62%): feathered opacity cascade — the "morph" effect.
   Right zone (65%+): fully transparent — raw photo visible.            */
.ebr3-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(
    108deg,
    #ffffff                    0%,
    #ffffff                   26%,
    rgba(255,255,255, 0.98)   31%,
    rgba(255,255,255, 0.90)   36%,
    rgba(255,255,255, 0.72)   42%,
    rgba(255,255,255, 0.42)   50%,
    rgba(255,255,255, 0.12)   58%,
    rgba(255,255,255, 0.00)   100%
  );
}

/* Subtle bottom vignette — keeps gallery card text readable */
.ebr3-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 90px; z-index: 2; pointer-events: none;
  
}

/* ── Left content panel (40%) ─────────────────────────────────────── */
.ebr3-hero__content {
  position: relative; z-index: 5;
  width: 40%;
  min-width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 64px 72px 60px;
}

.ebr3-hero__type {
  font-size: 10.5px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--t);
  display: block; margin-bottom: 16px;
}
.ebr3-hero__title {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 900; line-height: 1.06;
  color: var(--nv); margin: 0 0 14px;
  letter-spacing: -1.5px;
}
.ebr3-hero__title em { color: var(--t); font-style: normal; }
.ebr3-hero__tagline {
  font-size: 15px; color: var(--s2);
  line-height: 1.7; margin-bottom: 30px; max-width: 340px;
}
.ebr3-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ebr3-hero__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(29,154,138,.08);
  border: 1px solid rgba(29,154,138,.22);
  color: var(--tx); font-size: 12px; font-weight: 500;
  padding: 7px 14px; border-radius: 40px; white-space: nowrap;
}
.ebr3-hero__pill svg { opacity: .7; flex-shrink: 0; color: var(--t); }

/* ── Gallery cards (absolute, right edge of hero) ─────────────────── */
.ebr3-gallery {
  position: absolute; right: 28px; top: 28px; bottom: 28px;
  width: 196px; z-index: 10;
  display: flex; flex-direction: column; gap: 6px;
}
.ebr3-gallery__thumb {
  flex: 1; border-radius: 12px;
  background-size: cover; background-position: center;
  cursor: pointer;
  border: 2.5px solid rgba(255,255,255,.72);
  box-shadow: 0 6px 24px rgba(0,0,0,.20);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden; position: relative;
}
.ebr3-gallery__thumb:hover {
  transform: scale(1.035);
  box-shadow: 0 12px 36px rgba(0,0,0,.30);
}
.ebr3-gallery__thumb--last .ebr3-gallery__overlay {
  position: absolute; inset: 0;
  background: rgba(8,18,34,.52);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #fff; gap: 6px;
  font-size: 12px; font-weight: 700;
  text-align: center; padding: 10px;
}

/* ════════════════════════════════════════════════════════════════════
   STATS BAR — white floating card below hero
════════════════════════════════════════════════════════════════════ */
.ebr3-wrap {
  max-width: 1200px; margin: 0 auto; padding: 0 28px 100px;
}

.ebr3-stats-wrap {
  position: relative; z-index: 20;
  margin-top: -1px; /* flush below hero, card floats up */
}
.ebr3-stats {
  display: flex; flex-wrap: wrap;
  background: var(--wh);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  overflow: hidden;
  border: 1px solid var(--bd);
  border-top: none;
  margin: -5% 6% 5% 0%; /* bleed to full width of wrap */
}
.ebr3-stat {
  flex: 1; min-width: 160px;
  display: flex; align-items: center; gap: 14px;
  padding: 22px 28px;
  border-right: 1px solid var(--bd);
}
.ebr3-stat:last-child { border-right: none; }
.ebr3-stat__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--tl); color: var(--t);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ebr3-stat__label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
  text-transform: uppercase; color: var(--mu);
  display: block; margin-bottom: 3px;
}
.ebr3-stat__val {
  font-size: 18px; font-weight: 800; color: var(--nv); display: block;
}

/* ════════════════════════════════════════════════════════════════════
   MAIN LAYOUT
════════════════════════════════════════════════════════════════════ */
.ebr3-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 56px;
  align-items: start;
  padding-top: 56px;
}

/* ── Section headings ─────────────────────────────────────────────── */
.ebr3-sec { margin-bottom: 56px; }
.ebr3-sec__h {
  font-size: 26px; font-weight: 800;
  color: var(--nv); margin: 0 0 0;
  position: relative; padding-bottom: 14px;
}
.ebr3-sec__h::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 32px; height: 3px;
  background: var(--t); border-radius: 2px;
}
.ebr3-prose {
  font-size: 15px; line-height: 1.82; color: var(--s2);
  margin-top: 22px;
}
.ebr3-prose p { margin: 0 0 1.1em; }
.ebr3-prose strong { color: var(--nv); font-weight: 700; }

/* ════════════════════════════════════════════════════════════════════
   WHAT'S INCLUDED
════════════════════════════════════════════════════════════════════ */
.ebr3-inc {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; margin-top: 22px;
}
.ebr3-inc__col {
  border-radius: 14px; padding: 24px 22px;
}
.ebr3-inc__col--y {
  background: #f0faf6;
  border: 1.5px solid rgba(46,125,94,.18);
}
.ebr3-inc__col--n {
  background: #fff5f4;
  border: 1.5px solid rgba(192,57,43,.15);
}
.ebr3-inc__head {
  font-size: 11px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.ebr3-inc__col--y .ebr3-inc__head { color: var(--gn); }
.ebr3-inc__col--n .ebr3-inc__head { color: var(--rd); }
.ebr3-inc__col ul { list-style: none; margin: 0; padding: 0; }
.ebr3-inc__col li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; line-height: 1.5; color: var(--s2);
  padding: 9px 0; border-bottom: 1px solid rgba(0,0,0,.05);
}
.ebr3-inc__col li:last-child { border-bottom: none; }
.ebr3-inc__icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; margin-top: 0px;
}
.ebr3-inc__col--y .ebr3-inc__icon { background: var(--gn); color: #fff; }
.ebr3-inc__col--n .ebr3-inc__icon { background: var(--rd); color: #fff; }

/* ════════════════════════════════════════════════════════════════════
   PRICING SECTION
════════════════════════════════════════════════════════════════════ */
.ebr3-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 22px;
}
.ebr3-pricing-card {
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: 18px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
}
.ebr3-pricing-card__leaf {
  position: absolute; bottom: -20px; left: -10px;
  font-size: 90px; opacity: .08; pointer-events: none;
  transform: rotate(-20deg);
}
.ebr3-pricing-card__name {
  font-size: 20px; font-weight: 800; color: var(--nv); margin-bottom: 4px;
}
.ebr3-pricing-card__months {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: var(--mu); text-transform: uppercase; margin-bottom: 28px;
}
.ebr3-pricing-card__row {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 16px 28px;
}
.ebr3-pricing-card__col { text-align: center; min-width: 0; }
.ebr3-pricing-card__fig {
  font-size: 34px; font-weight: 800; color: var(--t); line-height: 1;
  white-space: nowrap;
}
.ebr3-pricing-card__fig sup { font-size: 18px; vertical-align: super; line-height: 0; }
.ebr3-pricing-card__who {
  display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px;
}
.ebr3-pricing-card__who-icon { font-size: 22px; }
.ebr3-pricing-card__who-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--mu);
}

/* ════════════════════════════════════════════════════════════════════
   BOOKING WIDGET (right column)
════════════════════════════════════════════════════════════════════ */
.ebr3-sidebar { position: sticky; top: 24px; }
.ebr3-widget {
  background: var(--wh);
  border: 1.5px solid var(--bd);
  border-radius: 22px;
  box-shadow: 0 4px 40px rgba(0,0,0,.10);
  overflow: hidden;
}

/* Price header */
.ebr3-widget__price {
  padding: 26px 26px 18px;
}
.ebr3-widget__from { font-size: 13px; color: var(--mu); display: block; margin-bottom: 2px; font-style: italic; }
.ebr3-widget__amount {
  font-size: 42px; font-weight: 800; color: var(--nv); line-height: 1;
}
.ebr3-widget__per { font-size: 15px; color: var(--mu); margin-left: 4px; font-weight: 400; }
.ebr3-widget__divider { height: 1px; background: var(--bd); margin: 0; }

/* "Select a date" label */
.ebr3-widget__cal-label {
  padding: 18px 26px 8px;
  font-size: 15px; font-weight: 700; color: var(--nv);
}

/* Calendar wrapper — let plugin styles handle internals */
.ebr3-widget .eb-cal {
  padding: 0 20px 18px;
  border-bottom: none;
}
/* Override calendar teal */
.ebr3-widget .eb-cal__arr { color: var(--t) !important; }
.ebr3-widget .eb-cal__arr:hover { background: var(--t) !important; border-color: var(--t) !important; }
.ebr3-widget .eb-day.available {
  background: var(--tl) !important; color: var(--t) !important;
  border-color: rgba(29,154,138,.25) !important;
}
.ebr3-widget .eb-day.available:hover,
.ebr3-widget .eb-day.selected {
  background: var(--t) !important; color: #fff !important;
  border-color: var(--t) !important;
}
.ebr3-widget .eb-dot--open { background: var(--tl) !important; border-color: var(--t) !important; }
.ebr3-widget .eb-dot--sel  { background: var(--t) !important; }

/* Cutoff notice — hidden by default, shown by JS only when cutoff is violated */
.ebr3-cutoff {
  margin: 0 18px 16px;
  background: var(--bg);
  border: 1.5px solid var(--bd);
  border-radius: 12px;
  padding: 14px 16px;
  display: none;
  align-items: flex-start; gap: 12px;
  font-size: 13px; line-height: 1.5; color: var(--s2);
}
.ebr3-cutoff.is-visible {
  display: flex;
}
.ebr3-cutoff svg { color: var(--t); flex-shrink: 0; margin-top: 1px; }

/* CTA button */
.ebr3-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--t);
  color: #fff; border: none; border-radius: 14px;
  padding: 18px 20px; width: calc(100% - 36px);
  margin: 0 18px 14px;
  font-size: 16px; font-weight: 700;
  cursor: pointer; transition: background .2s, transform .12s;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.ebr3-cta:hover { background: var(--td); transform: translateY(-1px); }
.ebr3-cta:active { transform: translateY(0); }

/* Trust row */
.ebr3-trust {
  padding: 2px 18px 20px;
  display: flex; flex-direction: column; gap: 9px;
}
.ebr3-trust__item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--s2);
}
.ebr3-trust__item svg { color: var(--mu); flex-shrink: 0; }

/* Form area override */
.ebr3-widget .eb-form { padding: 0 18px 18px; }
.ebr3-widget .eb-form__submit {
  background: var(--t) !important;
  border-radius: 14px !important;
  font-family: 'DM Sans', sans-serif !important;
}
.ebr3-widget .eb-form__submit:hover { background: var(--td) !important; }

/* ════════════════════════════════════════════════════════════════════
   SOCIAL SHARE
════════════════════════════════════════════════════════════════════ */
.ebr3-share {
  display: flex; align-items: center; gap: 14px;
  padding-top: 40px; border-top: 1px solid var(--bd);
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mu);
}
.ebr3-share a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid var(--bd); color: var(--s2);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: border-color .2s, color .2s, background .2s;
}
.ebr3-share a:hover { border-color: var(--t); color: var(--t); }

/* ════════════════════════════════════════════════════════════════════
   TIMELINE
════════════════════════════════════════════════════════════════════ */
.ebr3-timeline { list-style: none; margin-top: 22px; position: relative; padding: 0; }
.ebr3-timeline::before {
  content: ''; position: absolute; left: 17px; top: 4px; bottom: 4px;
  width: 2px; background: linear-gradient(to bottom, var(--t) 0%, var(--bd) 100%);
}
.ebr3-timeline__item {
  display: flex; gap: 20px; padding-bottom: 28px; position: relative;
}
.ebr3-timeline__item:last-child { padding-bottom: 0; }
.ebr3-timeline__dot {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--t); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px rgba(29,154,138,.15);
}
.ebr3-timeline__body { font-size: 15px; line-height: 1.65; color: var(--s2); padding-top: 7px; }

/* ════════════════════════════════════════════════════════════════════
   TRANSPORT CARD
════════════════════════════════════════════════════════════════════ */
.ebr3-transport {
  display: flex; gap: 20px; margin-top: 22px;
  background: var(--bg); border-radius: 16px;
  padding: 24px; border: 1.5px solid var(--bd);
}
.ebr3-transport__icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--t); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.ebr3-transport__title { font-size: 16px; font-weight: 700; color: var(--nv); margin-bottom: 6px; }
.ebr3-transport__desc { font-size: 14px; color: var(--s2); line-height: 1.5; margin-bottom: 14px; }
.ebr3-transport__prices { display: flex; gap: 20px; }
.ebr3-transport__price strong { font-size: 20px; font-weight: 800; color: var(--t); display: block; }
.ebr3-transport__price small { font-size: 12px; color: var(--mu); }

/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════════════════════════════════ */

/* ── Tablet landscape (≤ 1100px): shrink padding, keep split layout ── */
@media (max-width: 1100px) {
  .ebr3-hero-container { padding: 0 16px; }
  .ebr3-hero { min-height: 520px; }
  .ebr3-hero__content { padding: 56px 48px 56px 44px; }
  .ebr3-gallery { width: 170px; right: 20px; }
}

/* ── Tablet portrait (≤ 900px): stack layout, gallery hidden ───────── */
@media (max-width: 900px) {
  .ebr3-layout { grid-template-columns: 1fr; }
  .ebr3-sidebar { position: static; }
  .ebr3-gallery { display: none; }

  /* Container: tighter side padding on tablet */
  .ebr3-hero-container { padding: 0 12px; margin-top: 24px; }

  /* Hero becomes portrait-friendly: photo top, text bottom */
  .ebr3-hero {
    min-height: 500px;
    border-radius: 18px;
    align-items: flex-end;  /* content sits at bottom */
  }

  /* On tablet the content panel goes full-width over a bottom-up gradient */
  .ebr3-hero__content {
    width: 100%;
    min-width: unset;
    padding: 44px 32px 48px;
    justify-content: flex-end;
  }

  /* Swap diagonal morph → bottom-to-top fade on tablet/mobile */
  .ebr3-hero::before {
    background: linear-gradient(
      to top,
      rgba(255,255,255,1.00)  0%,
      rgba(255,255,255,0.96) 28%,
      rgba(255,255,255,0.72) 52%,
      rgba(255,255,255,0.20) 72%,
      rgba(255,255,255,0.00) 88%
    );
  }

  .ebr3-stats { margin: 0 -12px; }
  .ebr3-wrap { padding: 0 16px 60px; }
}

/* ── Mobile (≤ 640px): single column everything ─────────────────────── */
@media (max-width: 640px) {
  .ebr3-hero-container { padding: 0 8px; margin-top: 16px; }
  .ebr3-hero { min-height: 420px; border-radius: 14px; }
  .ebr3-hero__content { padding: 32px 24px 40px; }
  .ebr3-hero__title { font-size: 30px; letter-spacing: -1px; }

  /* Pills wrap naturally — ensure they're readable on white */
  .ebr3-hero__pill {
    background: rgba(29,154,138,.10);
    border-color: rgba(29,154,138,.28);
    color: var(--tx);
    font-size: 11px; padding: 6px 12px;
  }

  .ebr3-inc { grid-template-columns: 1fr; }
  .ebr3-pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .ebr3-stats { flex-direction: column; margin: 0 -8px; }
  .ebr3-stat { border-right: none; border-bottom: 1px solid var(--bd); }
  .ebr3-stat:last-child { border-bottom: none; }
  .ebr3-pricing-card__row { flex-direction: column; gap: 24px; }

  /* Slightly tighter wrap padding on small phones */
  .ebr3-wrap { padding: 0 12px 48px; }
}

/* ── Very small phones (≤ 400px) ─────────────────────────────────── */
@media (max-width: 400px) {
  .ebr3-hero { min-height: 380px; border-radius: 10px; }
  .ebr3-hero__title { font-size: 26px; }
  .ebr3-hero__tagline { font-size: 13.5px; }
  .ebr3-hero-container { padding: 0 4px; margin-top: 10px; }
}
