:root {
  --tour-bg: #f7fafc;
  --tour-surface: #ffffff;
  --tour-surface-soft: #eef4f7;
  --tour-border: #d8e1e8;
  --tour-navy: #10233b;
  --tour-navy-soft: #16304f;
  --tour-navy-deep: #0d1b2a;
  --tour-teal: #147a8a;
  --tour-teal-strong: #106673;
  --tour-accent-soft: #e9dfc8;
  --tour-muted: #526173;
  --tour-wa: #25d366;
  --tour-wa-hover: #1fbe5c;
  --tour-shadow: 0 18px 38px rgba(16, 35, 59, 0.1);
  --tour-shell: min(1120px, calc(100% - 32px));
  --tour-shell-narrow: min(980px, calc(100% - 36px));
  --tour-brand-accent: #0b63ff;
  --tour-brand-warm: #f4c56e;
  --tour-section-shadow: 0 24px 50px rgba(16, 35, 59, 0.12);
  --tour-section-glow: rgba(11, 99, 255, 0.12);
  --tour-hero-glow: rgba(248, 159, 23, 0.35);
  --tour-cta-border: rgba(255, 255, 255, 0.22);
}

@keyframes tourHeroPulse {
  0% {
    box-shadow: 0 22px 52px rgba(16, 35, 59, 0.38);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 34px 72px rgba(16, 35, 59, 0.28);
    filter: brightness(1.04);
  }
  100% {
    box-shadow: 0 22px 52px rgba(16, 35, 59, 0.38);
    filter: brightness(1);
  }
}

@keyframes tourSectionGlow {
  0%,
  100% {
    opacity: 0.05;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.02);
  }
}

@keyframes tourIconFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

body.page-tours {
  background: var(--tour-bg);
  color: var(--tour-navy-deep);
  overflow-x: clip;
}

html:has(body.page-tours) {
  overflow-x: clip;
}

.page-tours main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.page-tours .tourpage-main,
.page-tours .detail-main {
  display: block;
  width: 100%;
  min-height: 0;
}

.page-tours .tourpage-main img,
.page-tours .detail-main img {
  display: block;
  max-width: 100%;
}

.page-tours .tourpage-main a,
.page-tours .detail-main a {
  color: inherit;
  text-decoration: none;
}

.page-tours .tourpage-main button,
.page-tours .tourpage-main input,
.page-tours .tourpage-main select,
.page-tours .tourpage-main textarea,
.page-tours .detail-main button,
.page-tours .detail-main input,
.page-tours .detail-main select,
.page-tours .detail-main textarea {
  font: inherit;
}

.page-tours .tourpage-shell,
.page-tours .detail-shell {
  width: var(--tour-shell);
  margin: 0 auto;
}

.page-tours .detail-shell--narrow {
  width: var(--tour-shell-narrow);
}

.page-tours .tourpage-eyebrow,
.page-tours .tourpage-hero__eyebrow,
.page-tours .detail-hero__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-tours .tourpage-head,
.page-tours .detail-head {
  max-width: 780px;
  margin: 0 auto 2rem;
  display: grid;
  gap: 0.9rem;
  text-align: center;
}

.page-tours .tourpage-head h2,
.page-tours .detail-head h2,
.page-tours .tourpage-final h2,
.page-tours .detail-final h2 {
  margin: 0;
  color: var(--tour-navy);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-tours .tourpage-head p,
.page-tours .detail-head p,
.page-tours .tourpage-final p,
.page-tours .detail-final p {
  margin: 0;
  color: var(--tour-muted);
  line-height: 1.6;
  text-wrap: balance;
}

.page-tours--hub {
  --tour-hero-image: url('/assets/images/malta-gozo-coastal-tours-hub-hero.webp');
  --tour-hero-position: center center;
}

.page-tours--malta {
  --tour-hero-image: url('/assets/images/private-malta-tours-valletta-street-hero.webp');
  --tour-hero-position: center center;
}

.page-tours--gozo {
  --tour-hero-image: url('/assets/images/gozo-private-tour-coastal-road-hero.webp');
  --tour-hero-position: center center;
}

.page-tours .tourpage-hero,
.page-tours .detail-hero {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 52px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background-color: var(--tour-navy);
  background-position: var(--tour-hero-position, center center);
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 30px 70px rgba(16, 35, 59, 0.45);
  animation: tourHeroPulse 16s ease-in-out infinite;
}

.page-tours--hub .tourpage-hero {
  background-image:
    linear-gradient(102deg, rgba(7, 12, 22, 0.84) 0%, rgba(7, 12, 22, 0.62) 38%, rgba(7, 12, 22, 0.42) 100%),
    var(--tour-hero-image);
}

.page-tours--detail .detail-hero {
  background-image:
    linear-gradient(102deg, rgba(7, 12, 22, 0.82) 0%, rgba(7, 12, 22, 0.6) 36%, rgba(7, 12, 22, 0.4) 100%),
    var(--tour-hero-image);
}

.page-tours .tourpage-hero::before,
.page-tours .detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(20, 122, 138, 0.18), transparent 40%),
    linear-gradient(180deg, transparent 0%, rgba(7, 12, 22, 0.08) 100%);
  pointer-events: none;
}

.page-tours .tourpage-hero::after,
.page-tours .detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 35% 15%, var(--tour-hero-glow), transparent 55%);
  opacity: 0.8;
  animation: tourHeroPulse 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-tours .tourpage-hero__inner,
.page-tours .detail-hero__inner {
  position: relative;
  z-index: 1;
  width: var(--tour-shell);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 72px) 0;
}

.page-tours .tourpage-hero h1,
.page-tours .detail-hero h1 {
  margin: 0.85rem 0 0;
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.page-tours .tourpage-hero__lead,
.page-tours .detail-hero__lead {
  margin: 1.15rem 0 0;
  max-width: 60ch;
  color: rgba(247, 250, 252, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.62;
}

.page-tours .detail-hero__badges {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
}

.page-tours .detail-hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--tour-cta-border);
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  text-transform: none;
}

.page-tours .detail-hero__badge-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-tours .detail-hero__badge-icon svg {
  width: 14px;
  height: 14px;
  fill: var(--tour-brand-accent);
}

.page-tours .tourpage-hero__actions,
.page-tours .detail-hero__actions,
.page-tours .tourpage-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.page-tours .tourpage-hero__trust,
.page-tours .detail-hero__trust {
  margin: 1.4rem 0 0;
  max-width: 56ch;
  color: rgba(247, 250, 252, 0.84);
  font-size: 0.94rem;
  line-height: 1.55;
}

.page-tours .tourpage-btn,
.page-tours .detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.2rem;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.page-tours .tourpage-btn:hover,
.page-tours .tourpage-btn:focus-visible,
.page-tours .detail-btn:hover,
.page-tours .detail-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.page-tours .tourpage-btn--wa,
.page-tours .detail-btn--wa {
  background: var(--tour-wa) !important;
  border-color: var(--tour-wa) !important;
  color: var(--tour-navy-deep) !important;
}

.page-tours .tourpage-btn--wa:hover,
.page-tours .tourpage-btn--wa:focus-visible,
.page-tours .detail-btn--wa:hover,
.page-tours .detail-btn--wa:focus-visible {
  background: var(--tour-wa-hover) !important;
  border-color: var(--tour-wa-hover) !important;
  color: var(--tour-navy-deep) !important;
}

.page-tours .tourpage-btn--ghost,
.page-tours .detail-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 245, 250, 0.28);
  color: #ffffff !important;
}

.page-tours .tourpage-btn--ghost:hover,
.page-tours .tourpage-btn--ghost:focus-visible,
.page-tours .detail-btn--ghost:hover,
.page-tours .detail-btn--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(244, 245, 250, 0.46);
  color: #ffffff !important;
}

.page-tours .tourpage-section,
.page-tours .detail-section {
  width: 100%;
  padding: clamp(56px, 8vw, 88px) 0;
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 244, 249, 0.92) 100%);
  border: 1px solid rgba(16, 35, 59, 0.08);
  border-radius: 32px;
  box-shadow: var(--tour-section-shadow);
  overflow: hidden;
}

.page-tours .detail-section--white {
  width: 100%;
  padding: clamp(56px, 8vw, 88px) 0;
}

.page-tours .tourpage-section--compact {
  padding: clamp(48px, 7vw, 80px) 0;
  background: linear-gradient(180deg, rgba(241, 244, 249, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.page-tours .tourpage-section--light,
.page-tours .detail-section--light {
  background: #f2f7fb;
  border-top: 1px solid var(--tour-border);
  border-bottom: 1px solid var(--tour-border);
}

.page-tours .tourpage-section--sand {
  background: #f4f0e7;
}

.page-tours .tourpage-section--soft {
  background: linear-gradient(180deg, rgba(20, 122, 138, 0.08), rgba(247, 250, 252, 0.96));
}

.page-tours .tourpage-section--warm {
  background: linear-gradient(180deg, rgba(16, 35, 59, 0.04), rgba(233, 223, 200, 0.5));
}

.page-tours .tourpage-section--compact::after,
.page-tours .tourpage-section--sand::after,
.page-tours .tourpage-section--soft::after,
.page-tours .tourpage-section--warm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, var(--tour-section-glow), transparent 60%);
  pointer-events: none;
  opacity: 0;
  animation: tourSectionGlow 18s ease-in-out infinite;
}

.page-tours .tourpage-section--final,
.page-tours .detail-section--final {
  background: transparent;
}

.page-tours .tourpage-destination-grid,
.page-tours .detail-benefits-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.page-tours .detail-benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-tours .tourpage-destination-card,
.page-tours .detail-benefit,
.page-tours .detail-quote,
.page-tours .detail-signal,
.page-tours .tourpage-need,
.page-tours .tourpage-proof-item,
.page-tours .tourpage-step {
  border: 1px solid var(--tour-border);
  background: var(--tour-surface);
  box-shadow: var(--tour-shadow);
}

.page-tours .tourpage-destination-card {
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-tours .tourpage-destination-card:hover,
.page-tours .tourpage-destination-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(16, 35, 59, 0.14);
  outline: none;
}

.page-tours .tourpage-destination-card:hover .tourpage-destination-card__media,
.page-tours .tourpage-destination-card:focus-visible .tourpage-destination-card__media {
  transform: scale(1.02);
}

.page-tours .tourpage-destination-card__bar {
  height: 4px;
  background: linear-gradient(90deg, var(--tour-navy) 0%, var(--tour-teal) 70%, #e9dfc8 100%);
}

.page-tours .tourpage-destination-card__media,
.page-tours .tourpage-feature__media,
.page-tours .detail-gallery__slide {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #eef3f7 0%, #dde6ee 100%);
}

.page-tours .tourpage-destination-card__media {
  min-height: 220px;
  border-bottom: 1px solid var(--tour-border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.page-tours .tourpage-feature__media {
  min-height: 320px;
  border: 1px solid var(--tour-border);
  background:
    radial-gradient(circle at top left, rgba(233, 223, 200, 0.72), transparent 32%),
    linear-gradient(135deg, #eef4f7 0%, #dbe5ed 100%);
}

.page-tours .detail-gallery__slide {
  min-height: 240px;
  border: 1px solid var(--tour-border);
}

.page-tours .tourpage-destination-card__media::before,
.page-tours .tourpage-feature__media::before,
.page-tours .detail-gallery__slide::before {
  content: none;
}

.page-tours .tourpage-destination-card__body {
  padding: 1.3rem 1.25rem 1.35rem;
  display: grid;
  gap: 0.75rem;
}

.page-tours .tourpage-feature {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 26px;
  border: 1px solid rgba(16, 35, 59, 0.08);
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(16, 35, 59, 0.1);
  display: grid;
  gap: 1.25rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-tours .tourpage-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(11, 99, 255, 0.12), transparent 55%);
  pointer-events: none;
  opacity: 0;
  animation: tourSectionGlow 18s ease-in-out infinite;
}

.page-tours .tourpage-feature__content {
  display: grid;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.page-tours .tourpage-feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(16, 35, 59, 0.3);
  animation: tourIconFloat 6s ease-in-out infinite;
  margin-bottom: 0.3rem;
}

.page-tours .tourpage-feature__icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.page-tours .tourpage-feature__icon--plan {
  background: linear-gradient(135deg, var(--tour-brand-accent), #0b1324);
}

.page-tours .tourpage-feature__icon--gozo {
  background: linear-gradient(135deg, var(--tour-teal), #10233b);
}

.page-tours .tourpage-feature__list {
  display: grid;
  gap: 0.35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-tours .tourpage-feature__list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--tour-navy-deep);
}

.page-tours .tourpage-feature__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--tour-brand-accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(11, 99, 255, 0.12);
}

.page-tours #gozo-tour .tourpage-destination-card__media {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 22, 0.12) 0%, rgba(7, 12, 22, 0.38) 100%),
    url('/assets/images/gozo-private-tour-coastal-road-hero.webp');
}

.page-tours #malta-tour .tourpage-destination-card__media {
  background-image:
    linear-gradient(180deg, rgba(7, 12, 22, 0.12) 0%, rgba(7, 12, 22, 0.38) 100%),
    url('/assets/images/private-malta-tours-valletta-street-hero.webp');
}

.page-tours .tourpage-destination-card__body h3,
.page-tours .tourpage-feature__content h3,
.page-tours .tourpage-step h3,
.page-tours .detail-benefit h3,
.page-tours .detail-route h3 {
  margin: 0;
  color: var(--tour-navy);
  font-size: 1.06rem;
  line-height: 1.26;
  letter-spacing: -0.01em;
}

.page-tours .tourpage-destination-card__body p,
.page-tours .tourpage-feature__content p,
.page-tours .tourpage-step p,
.page-tours .detail-benefit p,
.page-tours .detail-route p,
.page-tours .detail-quote p {
  margin: 0;
  color: var(--tour-muted);
  line-height: 1.6;
}

.page-tours .tourpage-tag,
.page-tours .tourpage-card-meta,
.page-tours .detail-quote__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  color: var(--tour-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-tours .tourpage-tag::before,
.page-tours .detail-quote__meta::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  background: var(--tour-teal);
  border-radius: 999px;
  flex: 0 0 0.42rem;
}

.page-tours .tourpage-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: 0 1rem;
  border: 1px solid rgba(16, 35, 59, 0.16);
  background: var(--tour-navy);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

.page-tours .tourpage-destination-card:hover .tourpage-card-link,
.page-tours .tourpage-destination-card:focus-visible .tourpage-card-link {
  background: var(--tour-navy-soft);
  border-color: var(--tour-navy-soft);
  color: #ffffff !important;
}

.page-tours .tourpage-features {
  display: grid;
  gap: 22px;
}

.page-tours .tourpage-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: center;
}

.page-tours .tourpage-feature--reverse .tourpage-feature__media {
  order: 2;
}

.page-tours .tourpage-feature__content {
  display: grid;
  gap: 0.9rem;
}

.page-tours .tourpage-feature__list,
.page-tours .tourpage-helper__list,
.page-tours .detail-bullets {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.65rem;
  color: var(--tour-muted);
}

.page-tours .tourpage-process-line {
  height: 2px;
  margin: 0 0 22px;
  background: linear-gradient(90deg, rgba(16, 35, 59, 0.12), rgba(20, 122, 138, 0.34), rgba(16, 35, 59, 0.12));
}

.page-tours .tourpage-process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-tours .tourpage-step {
  min-height: 190px;
  padding: 1.2rem;
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.page-tours .tourpage-step__icon {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(20, 122, 138, 0.22);
  background: rgba(20, 122, 138, 0.08);
}

.page-tours .tourpage-step__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--tour-navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.page-tours .tourpage-needs-grid,
.page-tours .tourpage-proof-grid,
.page-tours .tourpage-trust-grid,
.page-tours .detail-signals,
.page-tours .detail-quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-tours .tourpage-needs-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-tours .tourpage-proof-grid,
.page-tours .detail-signals {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page-tours .tourpage-proof-grid--offset {
  margin-top: 14px;
}

.page-tours .detail-quotes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 18px;
}

.page-tours .tourpage-trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-top: 1.8rem;
}

.page-tours .tourpage-need,
.page-tours .tourpage-proof-item,
.page-tours .detail-signal {
  min-height: 88px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--tour-navy);
  line-height: 1.45;
  border-radius: 18px;
  border: 1px solid rgba(16, 35, 59, 0.08);
  background: linear-gradient(135deg, rgba(20, 122, 138, 0.08), rgba(255, 255, 255, 0.85));
  position: relative;
  overflow: hidden;
}

.page-tours .tourpage-need p {
  margin: 0;
}

.page-tours .tourpage-need::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -8px;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 159, 23, 0.8), rgba(11, 99, 255, 0.1));
  filter: blur(2px);
  opacity: 0.7;
  animation: tourIconFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.page-tours .tourpage-need > * {
  position: relative;
  z-index: 1;
}

.page-tours .tourpage-proof-item {
  background: linear-gradient(135deg, rgba(16, 35, 59, 0.12), rgba(16, 35, 59, 0.02));
  color: #0d1b2a;
}

.page-tours .tourpage-trust-chip {
  width: 100%;
  min-height: 68px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--tour-border);
  background: var(--tour-surface);
  color: var(--tour-navy);
  text-align: left;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 35, 59, 0.12), rgba(255, 255, 255, 0.8));
  position: relative;
  overflow: hidden;
}

.page-tours .tourpage-trust-chip::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tour-brand-accent);
  top: 14px;
  right: 18px;
  box-shadow: 0 0 0 4px rgba(11, 99, 255, 0.18);
}

.page-tours .tourpage-trust-chip.is-active {
  border-color: var(--tour-brand-accent);
  color: #fff;
  background: linear-gradient(135deg, var(--tour-brand-accent), rgba(255, 255, 255, 0.02));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.page-tours .tourpage-trust-chip:hover,
.page-tours .tourpage-trust-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(20, 122, 138, 0.34);
  outline: none;
}

.page-tours .tourpage-trust-detail {
  margin-top: 18px;
  padding: 1.35rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(16, 35, 59, 0.95), rgba(11, 99, 255, 0.85));
  box-shadow: 0 20px 40px rgba(1, 10, 25, 0.35);
}

.page-tours .tourpage-trust-detail__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-tours .tourpage-trust-detail h3 {
  margin: 0.6rem 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.page-tours .tourpage-trust-detail p {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.page-tours .tourpage-helper {
  margin-top: 18px;
  padding: 1.35rem;
  border: 1px solid rgba(16, 35, 59, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(233, 223, 200, 0.35));
  box-shadow: var(--tour-shadow);
  border-radius: 22px;
}

.page-tours .tourpage-helper h2 {
  margin: 0.6rem 0 0;
  color: var(--tour-navy);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
}

.page-tours .tourpage-helper p {
  margin: 0.85rem 0 0;
  color: var(--tour-muted);
  line-height: 1.6;
}

.page-tours .tourpage-faq-list,
.page-tours .detail-faqs {
  display: grid;
  gap: 12px;
}

.page-tours .tourpage-faq-item,
.page-tours .detail-faq {
  border: 1px solid var(--tour-border);
  background: var(--tour-surface);
}

.page-tours .tourpage-faq-item summary,
.page-tours .detail-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1rem 3rem 1rem 1rem;
  color: var(--tour-navy);
  font-weight: 700;
  line-height: 1.42;
}

.page-tours .tourpage-faq-item summary::-webkit-details-marker,
.page-tours .detail-faq summary::-webkit-details-marker {
  display: none;
}

.page-tours .tourpage-faq-item summary::after,
.page-tours .detail-faq summary::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--tour-teal);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.page-tours .tourpage-faq-item[open] summary::after,
.page-tours .detail-faq[open] summary::after {
  content: '-';
}

.page-tours .tourpage-faq-answer,
.page-tours .detail-faq p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--tour-muted);
  line-height: 1.62;
}

.page-tours .tourpage-final,
.page-tours .detail-final {
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  text-align: center;
}

.page-tours .tourpage-final__actions,
.page-tours .detail-final__actions {
  justify-content: center;
}

.page-tours .detail-routes {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--tour-border);
}

.page-tours .detail-route {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--tour-border);
}

.page-tours .detail-route h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.page-tours .detail-route h3::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: var(--tour-teal);
  border-radius: 999px;
  flex: 0 0 0.5rem;
}

.page-tours .detail-benefit,
.page-tours .detail-quote {
  min-height: 132px;
  padding: 1.15rem;
  display: grid;
  gap: 0.6rem;
  align-content: start;
}

.page-tours .detail-benefit__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tour-brand-accent), rgba(11, 99, 255, 0.9));
  box-shadow: 0 14px 28px rgba(11, 19, 36, 0.3);
}

.page-tours .detail-benefit__icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.page-tours .detail-benefit__icon svg path {
  stroke: #fff;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.page-tours .detail-signal {
  min-height: 74px;
  padding: 0.9rem;
}

.page-tours .detail-gallery {
  margin-top: clamp(24px, 5vw, 34px);
}

.page-tours .detail-gallery__track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.page-tours--malta .detail-section--white {
  background: linear-gradient(180deg, #ffffff 0%, rgba(233, 223, 200, 0.22) 100%);
}

.page-tours--malta .detail-section--light {
  background: linear-gradient(180deg, rgba(242, 247, 251, 0.96) 0%, rgba(234, 240, 245, 0.92) 100%);
}

.page-tours--malta .detail-benefit,
.page-tours--malta .detail-quote {
  position: relative;
  overflow: hidden;
}

.page-tours--malta .detail-benefit {
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ef 100%);
  border-color: rgba(16, 35, 59, 0.1);
}

.page-tours--malta .detail-benefit::before,
.page-tours--malta .detail-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(233, 223, 200, 0.98) 0%, rgba(20, 122, 138, 0.88) 100%);
}

.page-tours--malta .detail-quote {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.page-tours--malta .detail-signal {
  background: linear-gradient(135deg, #10233b 0%, #1b395f 100%);
  border-color: rgba(16, 35, 59, 0.12);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(16, 35, 59, 0.16);
}

.page-tours .detail-gallery--clean-slider {
  margin-top: clamp(24px, 4vw, 32px);
  overflow: hidden;
}

.page-tours .detail-gallery--clean-slider .detail-gallery__track {
  position: relative;
  min-height: 500px;
  display: block;
}

.page-tours .detail-gallery--clean-slider .detail-gallery__slide {
  position: absolute;
  inset: 0;
  min-height: 500px;
  border: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.7s ease, transform 1.1s ease;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.page-tours .detail-gallery--clean-slider .detail-gallery__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 22, 0.04) 0%, rgba(7, 12, 22, 0.22) 100%);
}

.page-tours .detail-gallery--clean-slider .detail-gallery__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.page-tours .detail-gallery__controls {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.page-tours .detail-gallery__control {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(16, 35, 59, 0.9);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
  box-shadow: 0 12px 22px rgba(16, 35, 59, 0.35);
}

.page-tours .detail-gallery__control:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.page-tours .detail-gallery__control::before {
  content: '<';
  font-size: 20px;
  line-height: 1;
}

.page-tours .detail-gallery__control--next::before {
  content: '>';
}

.page-tours .detail-gallery__control:hover,
.page-tours .detail-gallery__control:focus-visible {
  background: rgba(16, 35, 59, 0.9);
  transform: scale(1.1);
}

.page-tours .detail-gallery--malta-slider .detail-gallery__slide--malta-cove {
  background-image: url('/assets/images/private-malta-tours-coastal-cove-gallery.webp');
}

.page-tours .detail-gallery--malta-slider .detail-gallery__slide--malta-harbour {
  background-image: url('/assets/images/private-malta-tours-harbour-skyline-gallery.webp');
}

.page-tours .detail-gallery--malta-slider .detail-gallery__slide--malta-heritage {
  background-image: url('/assets/images/malta-heritage-hero.webp');
}

.page-tours .detail-gallery--malta-slider .detail-gallery__slide--valletta-sunset {
  background-image: url('/assets/images/valletta-sunset-hero.webp');
}

  .page-tours .detail-gallery--gozo-slider .detail-gallery__slide--gozo-bay {
    background-image: url('/assets/images/gozo-private-tour-coastal-bay-gallery.webp');
  }

  .page-tours .detail-gallery--gozo-slider .detail-gallery__slide--gozo-harbor {
    background-image: url('/assets/images/gozo-harbor-hero.webp');
  }

  .page-tours .detail-gallery--gozo-slider .detail-gallery__slide--gozo-island {
    background-image: url('/assets/images/gozo-island-hero.webp');
  }

@media (max-width: 1100px) {
  .page-tours .detail-benefits-grid,
  .page-tours .tourpage-needs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-tours .tourpage-process-grid,
  .page-tours .tourpage-proof-grid,
  .page-tours .detail-signals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-tours .tourpage-hero,
  .page-tours .detail-hero {
    min-height: calc(100svh - 48px);
    background-position: center center;
  }

  .page-tours .tourpage-hero__inner,
  .page-tours .detail-hero__inner {
    padding: clamp(40px, 6vh, 72px) 0;
  }

  .page-tours .tourpage-hero h1,
  .page-tours .detail-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.25rem, 10vw, 3.45rem);
  }

  .page-tours .tourpage-btn,
  .page-tours .detail-btn {
    width: 100%;
  }

  .page-tours .tourpage-destination-grid,
  .page-tours .tourpage-feature,
  .page-tours .tourpage-needs-grid,
  .page-tours .tourpage-process-grid,
  .page-tours .tourpage-proof-grid,
  .page-tours .detail-benefits-grid,
  .page-tours .detail-gallery__track,
  .page-tours .detail-signals {
    grid-template-columns: 1fr;
  }

  .page-tours .detail-gallery--clean-slider .detail-gallery__track,
  .page-tours .detail-gallery--clean-slider .detail-gallery__slide {
    min-height: 380px;
  }

  .page-tours .tourpage-feature--reverse .tourpage-feature__media {
    order: 0;
  }

  .page-tours .tourpage-process-line {
    display: none;
  }

  .page-tours .detail-quotes {
    grid-template-columns: 1fr;
  }

  .page-tours .tourpage-need,
  .page-tours .tourpage-proof-item,
  .page-tours .detail-signal {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .page-tours .tourpage-shell,
  .page-tours .detail-shell {
    width: min(1120px, calc(100% - 24px));
  }

  .page-tours .detail-shell--narrow,
  .page-tours .tourpage-final,
  .page-tours .detail-final {
    width: calc(100% - 24px);
  }

  .page-tours .tourpage-trust-grid {
    grid-template-columns: 1fr;
  }

  .page-tours .detail-gallery--clean-slider .detail-gallery__track,
  .page-tours .detail-gallery--clean-slider .detail-gallery__slide {
    min-height: 300px;
  }
}
