/* ============================================================
   TOUR PAGE — Shared styles
   Used by: x-day-sintra.html, responsible-walking.html,
            we-hate-landmarks.html, b-side-suburbs.html,
            dinner-and-belem.html, pirates-cruise.html
   ============================================================ */

/* ── PAGE HERO ── */
.tour-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.tour-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.tour-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.tour-hero__bg .ph { background: var(--ink); }
.tour-hero__bg .ph svg { opacity: .18; }
.tour-hero__bg .ph span { color: rgba(255,255,255,.2); }

.tour-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.24) 55%,
    rgba(0,0,0,.06) 100%
  );
}

.tour-hero__content {
  position: relative; z-index: 2;
  width: 100%; padding: 72px var(--pad);
  max-width: var(--wrap); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: end;
}

.tour-hero__left {}

.tour-hero__label {
  font-size: 10px; font-weight: 400;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 18px;
  display: block;
}

.tour-hero__h1 {
  font-family: var(--display);
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: .93; letter-spacing: .02em;
  color: var(--yellow); margin-bottom: 20px;
}

.tour-hero__tagline {
  font-family: var(--sans);
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--yellow);
  line-height: 1.3;
}

/* Logistics card on hero */
.tour-hero__card {
  background: var(--white);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: end;
}

.tour-hero__card-title {
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--light);
  margin-bottom: 16px; display: block;
}

.tour-hero__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.tour-hero__row:last-of-type { border-bottom: none; }

.tour-hero__key {
  font-size: 10px; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--light); white-space: nowrap;
}

.tour-hero__val {
  font-size: 13px; font-weight: 400;
  color: var(--ink); text-align: right;
}

.tour-hero__val--price {
  color: var(--navy);
  font-size: 15px;
}

.tour-hero__book {
  display: block; text-align: center;
  margin-top: 20px;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 13px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.tour-hero__book:hover { background: var(--red-dark); color: var(--white); }

/* ── BODY ── */
.tour-body {
  padding: 96px 0 120px;
}

.tour-body .wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
  align-items: start;
}

/* ── PROSE ── */
.tour-prose {}

.tour-prose__section {
  margin-bottom: 60px;
}
.tour-prose__section:last-child { margin-bottom: 0; }

.tour-prose__label {
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--light);
  margin-bottom: 16px; display: block;
}

.tour-prose__h {
  font-family: var(--display);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: .96; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 20px;
}

.tour-prose__p {
  font-size: 15px; font-weight: 300;
  line-height: 1.85; color: var(--mid);
  margin-bottom: 18px;
}
.tour-prose__p:last-of-type { margin-bottom: 0; }

/* Pull quote */
.tour-pull {
  margin: 40px 0;
  padding: 32px 0;
  border-top: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
}

.tour-pull__text {
  font-family: var(--display);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.0; letter-spacing: .02em;
  color: var(--ink);
}

/* Feature list */
.tour-features {
  list-style: none;
  margin: 28px 0;
}

.tour-feature {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 20px;
}
.tour-feature:last-child { border-bottom: 1px solid var(--border); }

.tour-feature__dot {
  width: 6px; height: 6px;
  background: var(--sage); border-radius: 50%;
  margin-top: 7px; flex-shrink: 0;
}

.tour-feature__body h4 {
  font-size: 14px; font-weight: 500;
  color: var(--ink); margin-bottom: 6px;
  letter-spacing: -.01em; line-height: 1.3;
}

.tour-feature__body p {
  font-size: 14px; font-weight: 300;
  color: var(--mid); line-height: 1.7;
}

/* ── SIDEBAR ── */
.tour-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Sticky logistics repeat */
.tour-sidebar__card {
  background: var(--off);
  padding: 28px;
}

.tour-sidebar__title {
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--light);
  margin-bottom: 16px; display: block;
}

.tour-sidebar__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-mid);
  gap: 12px;
}
.tour-sidebar__row:last-of-type { border-bottom: none; }

.tour-sidebar__key {
  font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--light);
  white-space: nowrap;
}

.tour-sidebar__val {
  font-size: 13px; font-weight: 400;
  color: var(--ink); text-align: right;
}

.tour-sidebar__val--price {
  color: var(--navy); font-size: 15px;
}

.tour-sidebar__book {
  display: block; text-align: center;
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.tour-sidebar__book:hover { background: var(--red-dark); color: var(--white); }

/* Sidebar photo */
.tour-sidebar__photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--off);
}
.tour-sidebar__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tour-sidebar__photo:hover img { transform: scale(1.04); }

/* Other tours */
.tour-sidebar__others {
  background: var(--off);
  padding: 24px 28px;
}

.tour-sidebar__others-title {
  font-size: 10px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--light);
  margin-bottom: 16px; display: block;
}

.tour-sidebar__other-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--border-mid);
  text-decoration: none;
  gap: 12px;
  transition: gap .2s;
}
.tour-sidebar__other-link:last-child { border-bottom: 1px solid var(--border-mid); }
.tour-sidebar__other-link:hover { gap: 18px; }

.tour-sidebar__other-name {
  font-size: 13px; font-weight: 300;
  color: var(--ink); line-height: 1.3;
}

.tour-sidebar__other-arrow {
  color: var(--light); flex-shrink: 0;
  transition: color .2s;
}
.tour-sidebar__other-link:hover .tour-sidebar__other-arrow { color: var(--ink); }

/* ── FINAL CTA ── */
.tour-cta {
  background: var(--white);
  padding: 96px var(--pad);
  text-align: center;
}

.tour-cta__h {
  font-family: 'Bungee', cursive;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: .92; letter-spacing: .02em;
  color: var(--navy); margin-bottom: 24px;
}

.tour-cta__sub {
  font-size: 15px; font-weight: 300;
  color: var(--navy); line-height: 1.75;
  max-width: 420px; margin: 0 auto 36px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .tour-hero__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tour-hero__card { max-width: 400px; }
  .tour-body .wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .tour-sidebar { position: static; }
}

@media (max-width: 600px) {
  .tour-hero__h1 { font-size: clamp(38px, 11vw, 58px); }
  .tour-hero__card { max-width: 100%; }
}
