/* ========================================================================
   Perfect Day Hvar — 2027 design system
   Homepage, interactive map, route builder, sunset & transfer pages.

   Everything is prefixed `pd-` so it never collides with the legacy page
   styles (home.css, tours.css, booking.css…) that are still loaded globally.
   Tokens live in root.css (--ink, --sea, --lagoon, --sand, --accent…).
   ======================================================================== */

body {
  background: var(--sand);
  color: var(--ink);
}

.pd-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.pd-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */
.pd-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin: 0 0 0.9rem;
}

.pd-eyebrow--light {
  color: var(--gold);
}

.pd-h2,
.pd-h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: inherit;
  margin: 0 0 1.25rem;
  text-transform: none;
}

.pd-h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
}

.pd-h3 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.pd-h2 em,
.pd-h3 em {
  font-style: italic;
  color: var(--lagoon);
}

.pd-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 60ch;
}

.pd-muted {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin: 0.75rem 0 0;
}

.pd-muted a,
.pd-lead a,
.pd-faq a {
  color: var(--sea);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Buttons ---------- */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.85rem 1.4rem;
  min-height: 48px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.pd-btn:hover {
  transform: translateY(-2px);
}

.pd-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pd-btn--lg {
  font-size: 1.02rem;
  padding: 1rem 1.7rem;
  min-height: 56px;
}

.pd-btn--block {
  width: 100%;
}

.pd-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(13, 95, 163, 0.7);
}

.pd-btn--primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.pd-btn--glass {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.pd-btn--glass:hover {
  background: #fff;
  color: var(--ink);
}

.pd-btn--light {
  background: #fff;
  color: var(--ink);
}

.pd-btn--light:hover {
  background: var(--gold);
  color: var(--ink);
}

.pd-btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.pd-btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.pd-btn__price {
  font-size: 0.85em;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.pd-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sea);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pd-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.pd-tag--accent {
  background: var(--accent);
  color: #fff;
}

/* ---------- Sections ---------- */
.pd-section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.pd-section--foam { background: var(--foam); }
.pd-section--sand { background: var(--sand); }
.pd-section--ink { background: var(--ink); color: #fff; }

.pd-section--ink p:not(.pd-eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.pd-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 720px;
}

.pd-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 4rem;
  align-items: end;
}

.pd-head--split .pd-lead {
  margin: 0;
}

/* ==================== HERO ==================== */
/* Full-screen landing hero: fills the visible screen below the sticky navbar (~69px).
   svh = the screen height with mobile browser toolbars showing, so nothing hides below the fold. */
.pd-hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 69px);
  min-height: calc(100svh - 69px);
}

.pd-hero > .pd-wrap {
  width: 100%;
}

.pd-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pd-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.pd-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(3, 36, 64, 0.88) 0%, rgba(3, 36, 64, 0.62) 42%, rgba(3, 36, 64, 0.1) 75%),
    linear-gradient(0deg, rgba(3, 36, 64, 0.85) 0%, rgba(3, 36, 64, 0) 35%);
}

.pd-hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding-top: clamp(4rem, 10vw, 7rem);
  padding-bottom: 3rem;
}

.pd-hero__copy {
  max-width: 680px;
}

.pd-hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.5rem;
}

.pd-hero__title em {
  font-style: italic;
  color: #9fe3dc;
}

.pd-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 54ch;
  margin: 0 0 2.25rem;
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pd-hero__skipper {
  align-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem 0.75rem 0.75rem;
  border-radius: 999px;
  background: rgba(246, 241, 232, 0.95);
  color: var(--ink);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.pd-hero__skipper img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 3px solid #fff;
}

.pd-hero__skipper strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
}

.pd-hero__skipper span {
  font-size: 0.85rem;
  color: var(--muted);
}

.pd-hero__scroll {
  align-self: center;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  text-decoration: none;
  animation: pd-bob 2.2s ease-in-out infinite;
}

.pd-hero__scroll:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.pd-hero__scroll svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.pd-trust {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.pd-trust strong {
  color: #fff;
  font-weight: 800;
}

.pd-trust__stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-right: 0.4rem;
}

/* ==================== FOUR WAYS ==================== */
.pd-ways {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.pd-way {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--ink-soft);
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pd-way:hover {
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(3, 36, 64, 0.55);
}

.pd-way > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.pd-way:hover > img {
  transform: scale(1.04);
}

.pd-way::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 36, 64, 0.92) 0%, rgba(3, 36, 64, 0.35) 55%, rgba(3, 36, 64, 0.05) 100%);
}

.pd-way--feature {
  grid-row: span 2;
  min-height: 600px;
}

/* Second row is taller so the transfer card's map has room above its text */
.pd-way--sunset,
.pd-way--transfer {
  min-height: 380px;
}

/* The map builder is the niche — give it the wide slot next to the signature tour */
.pd-way--build {
  grid-column: span 2;
}

.pd-way__body {
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
}

.pd-way__body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: none;
  color: #fff;
  margin: 0.85rem 0 0.5rem;
}

.pd-way--feature .pd-way__body h3 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
}

.pd-way__body p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  max-width: 44ch;
}

.pd-way__meta {
  font-weight: 700;
  color: var(--gold);
}

/* Sunset card — CSS sky until a real sunset photo is added */
.pd-way--sunset {
  background: linear-gradient(180deg, #06223f 0%, #23457f 45%, #8b7aa6 75%, #e9c48f 100%);
}

.pd-way--sunset::before {
  background: linear-gradient(0deg, rgba(3, 30, 56, 0.88) 0%, rgba(3, 30, 56, 0.1) 60%);
}

/* Transfer card */
.pd-way--transfer {
  background:
    radial-gradient(circle at 80% 15%, rgba(31, 154, 153, 0.45), transparent 55%),
    var(--sea);
}

/* ==================== SIGNATURE TOUR ==================== */
.pd-signature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.pd-signature__intro {
  position: sticky;
  top: 100px;
}

.pd-pricebox {
  background: #fff;
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 30px 60px -40px rgba(3, 36, 64, 0.5);
}

.pd-pricebox__price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--stone);
}

.pd-pricebox__price strong {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 500;
  line-height: 1;
}

.pd-pricebox__price span {
  color: var(--muted);
}

.pd-checks {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.pd-checks li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink);
}

.pd-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--foam) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f9a99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.pd-pricebox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.pd-timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 20px;
  bottom: 20px;
  border-left: 2px dashed rgba(13, 92, 114, 0.3);
}

.pd-timeline__stop {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pd-timeline__num {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 5px var(--foam);
}

.pd-timeline__card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 0.75rem;
}

.pd-timeline__card:not(:has(img)) {
  grid-template-columns: 1fr;
  padding: 1rem 1.25rem;
}

.pd-timeline__card img {
  width: 96px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.pd-timeline__card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 0.2rem;
}

.pd-timeline__card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* ==================== MAP SECTION ==================== */
.pd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pd-chip {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--stone);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-chip:hover {
  border-color: var(--sea);
}

.pd-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pd-chips--compact {
  margin: 0;
}

.pd-chips--compact .pd-chip {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

.pd-mapframe {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(3, 36, 64, 0.6);
  border: 1px solid var(--stone);
}

.pd-map {
  width: 100%;
  background: #aad3df; /* OSM sea colour while tiles load */
  font-family: var(--font-sans);
}

.pd-map--home {
  height: min(72vh, 680px);
  min-height: 460px;
}

.pd-maplegend {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 500;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.pd-maplegend__line {
  width: 26px;
  border-top: 3px dotted var(--lagoon);
}

.pd-tray {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.55rem 0.55rem 0.55rem 1.4rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.25s ease;
  white-space: nowrap;
}

.pd-tray.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.pd-tray p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.pd-tray strong {
  color: var(--gold);
}

.pd-tray .pd-btn {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
}

/* ---------- Pins (Leaflet divIcons) ---------- */
/* --pin is the bubble size; the Leaflet icon box stays 46px and the bubble is centred in it */
.pd-pin {
  --pin: 46px;
  background: none;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-map--mid .pd-pin { --pin: 34px; }
.pd-map--far .pd-pin { --pin: 24px; }
.pd-map--far .pd-pin__glyph { font-size: 0.7rem; }
.pd-map--mid .pd-pin__glyph { font-size: 0.9rem; }

.pd-pin__bubble {
  display: grid;
  place-items: center;
  width: var(--pin);
  height: var(--pin);
  border-radius: 50%;
  overflow: hidden;
  background: var(--sea);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(3, 36, 64, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, width 0.2s ease, height 0.2s ease;
}

.pd-map--far .pd-pin__bubble {
  border-width: 2px;
}

.pd-pin__bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-pin__glyph {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
}

.pd-pin--cave .pd-pin__bubble { background: #7d5a48; }
.pd-pin--lagoon .pd-pin__bubble { background: var(--lagoon); }
.pd-pin--food .pd-pin__bubble { background: #7a3b56; }
.pd-pin--town .pd-pin__bubble { background: #5c6b78; }
.pd-pin--island .pd-pin__bubble { background: #3e7d4f; }

.pd-pin:hover .pd-pin__bubble {
  transform: scale(1.12);
}

.pd-pin.is-selected .pd-pin__bubble {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 95, 163, 0.35), 0 6px 16px rgba(3, 36, 64, 0.4);
}

.pd-pin__num {
  position: absolute;
  top: calc((46px - var(--pin)) / 2 - 6px);
  right: calc((46px - var(--pin)) / 2 - 6px);
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.pd-pin__label {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--pin) / 2 + 4px);
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(3, 36, 64, 0.15);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pd-map--labels .pd-pin__label,
.pd-pin:hover .pd-pin__label,
.pd-pin.is-selected .pd-pin__label {
  opacity: 1;
}

.pd-port {
  background: none;
  border: 0;
}

.pd-map--labels .pd-port__label,
.pd-port:hover .pd-port__label {
  opacity: 1;
}

.pd-port__dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  border: 3px solid var(--gold);
}

.pd-port__label {
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  position: absolute;
  left: calc(100% + 6px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

/* ---------- Popup card ---------- */
.pd-popup .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px -20px rgba(3, 36, 64, 0.55);
}

/* Leaflet sets the content width inline (between the popup's minWidth and maxWidth) */
.pd-popup .leaflet-popup-content {
  margin: 0;
  font-family: var(--font-sans);
}

.pd-popup .leaflet-popup-close-button {
  top: 8px !important;
  right: 8px !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--ink) !important;
  font-size: 18px !important;
  line-height: 26px !important;
  z-index: 2;
}

.pd-card__img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.pd-card__img--empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--sea), var(--lagoon));
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.5rem;
}

.pd-card__img--cave { background: linear-gradient(135deg, #6b4a3a, #a8806a); }
.pd-card__img--food { background: linear-gradient(135deg, #5b2a40, #a85a74); }
.pd-card__img--town { background: linear-gradient(135deg, #3d4a55, #7d8d96); }

.pd-card__body {
  padding: 0.95rem 1.1rem 1.1rem;
}

.pd-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.45rem;
}

.pd-card__tags span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea);
  background: var(--foam);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

.pd-card__tags .is-far {
  color: #7a5a12;
  background: #fbf0d4;
}

.pd-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.pd-card__blurb,
.pd-card__more p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 0.6rem !important;
}

.pd-card__more {
  margin-bottom: 0.6rem;
}

.pd-card__more summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sea);
  margin-bottom: 0.4rem;
}

.pd-card__more[open] {
  max-height: 180px;
  overflow-y: auto;
}

.pd-card__btn {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}

.pd-card__btn:hover {
  background: var(--accent-dark);
}

.pd-card__btn.is-remove {
  background: var(--foam);
  color: var(--sea);
}

.pd-card__btn:disabled {
  background: var(--stone);
  color: var(--muted);
  cursor: not-allowed;
}

.pd-card__warn {
  font-size: 0.8rem !important;
  color: #7a5a12 !important;
  margin: 0.5rem 0 0 !important;
}

/* ==================== SKIPPER ==================== */
.pd-skipper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.pd-skipper__photos {
  position: relative;
  padding-bottom: 12%;
}

.pd-skipper__main {
  width: 88%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 60% center;
  border-radius: 28px;
  display: block;
}

.pd-skipper__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  border: 8px solid var(--sand);
}

.pd-skipper__copy p:not(.pd-eyebrow) {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

.pd-quote {
  margin: 1.75rem 0;
  padding: 0 0 0 1.25rem;
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.45;
  color: var(--ink);
}

.pd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stone);
}

.pd-stats dt {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  color: var(--sea);
  line-height: 1;
}

.pd-stats dd {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ==================== BOAT ==================== */
.pd-boat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.pd-boat__copy p:not(.pd-eyebrow) {
  font-size: 1.05rem;
  line-height: 1.75;
}

.pd-specs {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-specs li {
  padding: 0.9rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 120px;
}

.pd-specs strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
}

.pd-specs span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Phones: the three spec tiles sit in one even row instead of wrapping 2 + 1 */
@media (max-width: 560px) {
  .pd-specs {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); /* "Clubman 28" is the longest */
    gap: 0.5rem;
  }

  .pd-specs li {
    min-width: 0;
    padding: 0.8rem 0.7rem;
  }

  .pd-specs strong {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .pd-specs span {
    font-size: 0.75rem;
  }
}

.pd-boat__copy strong {
  color: #fff;
}

.pd-amenities {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
}

.pd-amenities li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0.85rem;
  align-items: start;
}

.pd-amenities svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: rgba(159, 227, 220, 0.12);
  fill: none;
  stroke: #9fe3dc;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-amenities span {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.pd-amenities strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.1rem;
}

.pd-boat__features {
  font-size: 0.95rem !important;
}

.pd-boat__main {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.pd-boat__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.pd-boat__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.pd-boat__thumbs button:hover,
.pd-boat__thumbs button.is-active {
  opacity: 1;
}

.pd-boat__thumbs button.is-active {
  border-color: #9fe3dc;
}

.pd-boat__thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==================== SUNSET + TRANSFER DUO ==================== */
.pd-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pd-duo__card {
  border-radius: 28px;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pd-duo__card p:not(.pd-eyebrow) {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.pd-duo__card .pd-btn {
  margin-top: auto;
}

.pd-duo__card--sunset {
  background:
    radial-gradient(circle at 75% 85%, rgba(250, 226, 170, 0.85) 0, rgba(250, 226, 170, 0) 28%),
    linear-gradient(170deg, #05213d 0%, #1f4280 50%, #7f78a8 82%, #e3c08f 100%);
}

.pd-duo__card--transfer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}

.pd-duo__map {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: #aad3df;
}

.pd-duo__map .leaflet-tile-pane {
  filter: saturate(0.6) brightness(1.05);
}

.pd-duo__map .leaflet-control-attribution {
  font-size: 9px;
  opacity: 0.7;
}

/* Desktop: text in the left ~60%, the map has the right side to itself */
@media (min-width: 861px) {
  .pd-duo__card--transfer > :not(.pd-duo__map) {
    max-width: 60%;
  }

  .pd-duo__card--transfer > .pd-btn {
    max-width: none;
  }
}

/* Strong navy behind the text on the left, map showing through on the right */
.pd-duo__card--transfer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(3, 36, 64, 0.95) 0%, rgba(3, 36, 64, 0.9) 45%, rgba(3, 36, 64, 0.35) 72%, rgba(3, 36, 64, 0.15) 100%);
}

/* Phones: the text runs full width, so a left-to-right fade leaves the route times on
   the bright part of the map. Let the map show at the top and keep the text on navy. */
@media (max-width: 860px) {
  .pd-duo__card--transfer::before {
    background:
      linear-gradient(180deg, rgba(3, 36, 64, 0.55) 0%, rgba(3, 36, 64, 0.82) 38%, rgba(3, 36, 64, 0.93) 100%);
  }
}

.pd-inline-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pd-inline-facts li {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.pd-routes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  width: 100%;
}

.pd-routes a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.pd-routes a:hover {
  color: var(--gold);
}

.pd-routes__meta {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

/* ==================== REVIEWS ==================== */
.pd-reviews__more {
  margin: 1.75rem 0 0;
  text-align: center;
}

.pd-reviews__more a {
  font-weight: 700;
  color: var(--sea);
}

/* ==================== FAQ ==================== */
.pd-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.pd-faq__list details {
  border-bottom: 1px solid var(--stone);
}

.pd-faq__list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}

.pd-faq__list summary::-webkit-details-marker {
  display: none;
}

.pd-faq__list summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--lagoon);
  transition: transform 0.2s ease;
}

.pd-faq__list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.pd-faq__list p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 1.25rem;
  max-width: 62ch;
}

/* ==================== FINAL CTA ==================== */
.pd-cta {
  background:
    linear-gradient(rgba(3, 36, 64, 0.72), rgba(3, 36, 64, 0.82)),
    url("../images/experience/ex-sighsee1.webp") center / cover;
  color: #fff;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  text-align: center;
}

.pd-cta__inner {
  max-width: 820px;
}

.pd-cta p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.15rem;
  margin: 0 0 2rem;
}

.pd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* ==================== ROUTE BUILDER PAGE ==================== */
.pd-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  height: calc(100vh - 69px);
  height: calc(100dvh - 69px);
  min-height: 560px;
}

/* The floating WhatsApp button would cover the stop list — the panel has its own CTA */
.page-builder .wa-btn {
  display: none;
}

.pd-builder__mapcol {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pd-builder__maphead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem clamp(1rem, 3vw, 1.75rem);
  background: var(--sand);
  border-bottom: 1px solid var(--stone);
}

.pd-builder__maphead .pd-eyebrow {
  margin-bottom: 0.3rem;
}

.pd-builder__title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0;
}

.pd-map--builder {
  flex: 1;
  min-height: 0;
}

.pd-builder__panel {
  overflow-y: auto;
  background: #fff;
  border-left: 1px solid var(--stone);
  padding: 1.5rem clamp(1rem, 2.5vw, 1.75rem) 2rem;
}

.pd-builder__based {
  font-size: 0.92rem;
  background: var(--foam);
  color: var(--sea);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin: 0 0 1.25rem;
}

.pd-step {
  border: 0;
  padding: 0 0 1.5rem;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--stone);
  min-width: 0;
}

.pd-step legend {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
  padding: 0;
}

.pd-step__n {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 800;
}

.pd-step__count {
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.pd-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.pd-option,
.pd-seg label {
  position: relative;
}

.pd-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pd-option__box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  height: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 2px solid var(--stone);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pd-option__box strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.pd-option__box span {
  font-size: 0.8rem;
  color: var(--muted);
}

.pd-option__box em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--sea);
  margin-top: 0.3rem;
}

.pd-option input:checked + .pd-option__box {
  border-color: var(--sea);
  background: var(--foam);
}

.pd-option input:focus-visible + .pd-option__box {
  outline: 3px solid var(--lagoon);
  outline-offset: 2px;
}

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

.pd-stops__empty {
  padding: 1rem 1.1rem;
  border: 2px dashed var(--stone);
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.pd-stop {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  background: var(--sand);
}

.pd-stop__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.pd-stop__name {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  cursor: pointer;
  min-width: 0;
}

.pd-stop__name small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
}

.pd-stop__actions {
  display: flex;
  gap: 0.2rem;
}

.pd-stop__actions button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
}

.pd-stop__actions button:hover:not(:disabled) {
  background: var(--ink);
  color: #fff;
}

.pd-stop__actions button:disabled {
  opacity: 0.35;
  cursor: default;
}

.pd-stops__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
}

.pd-stops__foot .pd-muted {
  margin: 0;
  font-size: 0.82rem;
}

.pd-warn {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: #fbf0d4;
  color: #6e5010;
  font-size: 0.86rem;
  line-height: 1.5;
}

.pd-estimate {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  display: grid;
  gap: 0.15rem;
}

.pd-estimate span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.pd-estimate strong {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 500;
}

.pd-estimate small {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

/* ==================== FORMS ==================== */
.pd-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.pd-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.pd-field--full {
  grid-column: 1 / -1;
}

.pd-field > span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.pd-field > span em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.pd-field input,
.pd-field select,
.pd-field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem; /* 16px avoids iOS zoom-on-focus */
  color: var(--ink);
  background: var(--sand);
  border: 1.5px solid var(--stone);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pd-field input:focus,
.pd-field select:focus,
.pd-field textarea:focus {
  outline: none;
  border-color: var(--sea);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 154, 153, 0.18);
}

.pd-field textarea {
  resize: vertical;
  min-height: 84px;
}

.pd-field__error {
  color: #b23a12;
  font-size: 0.8rem;
  font-weight: 600;
}

.pd-form__alert {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #fbf0d4;
  color: #6e5010;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pd-form .pd-btn--block {
  margin-top: 1.25rem;
}

.pd-form__small {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin: 0.75rem 0 0;
  line-height: 1.5;
}

.pd-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pd-seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: var(--sand);
  border: 1.5px solid var(--stone);
}

.pd-seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pd-seg span {
  display: block;
  text-align: center;
  padding: 0.6rem 0.5rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.pd-seg input:checked + span {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(3, 36, 64, 0.12);
}

.pd-seg input:focus-visible + span {
  outline: 3px solid var(--lagoon);
}

/* ==================== INNER PAGES (sunset / transfers) ==================== */
.pd-pagehero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.pd-pagehero--ink {
  background:
    radial-gradient(circle at 85% 20%, rgba(31, 154, 153, 0.45), transparent 45%),
    var(--ink);
}

.pd-pagehero--sunset {
  background: linear-gradient(180deg, #041d37 0%, #1f4280 42%, #847aa8 76%, #e8c592 100%);
}

.pd-pagehero__inner {
  max-width: 1320px;
}

.pd-pagehero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.25rem;
}

.pd-pagehero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 56ch;
  margin: 0 0 1.75rem;
}

.pd-inline-facts--light li {
  background: rgba(255, 255, 255, 0.16);
}

.pd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.pd-card-form {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 30px 60px -40px rgba(3, 36, 64, 0.5);
  position: sticky;
  top: 96px;
}

.pd-card-form .pd-muted {
  margin: -0.5rem 0 1.25rem;
}

.pd-flow {
  list-style: none;
  counter-reset: flow;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.pd-flow li {
  counter-increment: flow;
  position: relative;
  padding-left: 3.25rem;
}

.pd-flow li::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--foam);
  color: var(--sea);
  font-weight: 800;
}

.pd-flow strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
}

.pd-flow span {
  color: var(--muted);
  font-size: 0.97rem;
}

.pd-routetable {
  display: grid;
  gap: 0.5rem;
  margin: 1.5rem 0 1rem;
}

.pd-routerow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.25rem 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid transparent;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pd-routerow:hover {
  border-color: var(--lagoon);
  color: var(--ink);
  transform: translateX(3px);
}

.pd-routerow__name {
  font-weight: 800;
}

.pd-routerow__time {
  font-size: 0.88rem;
  color: var(--muted);
  white-space: nowrap;
}

.pd-routerow__price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--sea);
  white-space: nowrap;
}

.pd-routerow__note {
  grid-column: 1 / -1;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Request sent ---------- */
.pd-sent__inner {
  max-width: 680px;
  text-align: center;
}

.pd-sent__inner .pd-lead {
  margin-left: auto;
  margin-right: auto;
}

.pd-sent__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lagoon);
  color: #fff;
  font-size: 2rem;
}

.pd-sent__summary {
  text-align: left;
  background: #fff;
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.pd-sent__summary div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--stone);
}

.pd-sent__summary div:last-child {
  border-bottom: 0;
}

.pd-sent__summary dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.pd-sent__summary dd {
  margin: 0;
  font-weight: 600;
}

.pd-sent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ==================== MY TOUR PAGE (tours/detail_own.html) ==================== */
.pd-tourhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.pd-tourhero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pd-tourhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-tourhero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(3, 36, 64, 0.9) 0%, rgba(3, 36, 64, 0.6) 50%, rgba(3, 36, 64, 0.15) 100%),
    linear-gradient(0deg, rgba(3, 36, 64, 0.6) 0%, rgba(3, 36, 64, 0) 40%);
}

.pd-tourhero__inner {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  min-height: min(70vh, 640px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.pd-tourhero__back {
  margin-bottom: auto;
  padding-bottom: 3rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.pd-tourhero__back:hover {
  color: #fff;
}

.pd-tourhero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.25rem;
}

.pd-tourhero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 58ch;
  margin: 0 0 1.5rem;
}

.pd-tourgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.pd-block {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--stone);
}

.pd-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pd-prose p {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 68ch;
}

.pd-note {
  margin: 1.25rem 0 0;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--foam);
  color: var(--sea);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pd-note a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pd-mapframe--tour {
  margin-bottom: 2rem;
}

.pd-map--tour {
  height: 440px;
}

.pd-timeline--tour .pd-timeline__num {
  box-shadow: 0 0 0 5px var(--sand);
}

.pd-timeline--tour .pd-timeline__card {
  align-items: start;
}

.pd-timeline__more summary {
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.4rem;
}

.pd-timeline__more p {
  margin-top: 0.5rem !important;
}

.pd-incl {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.pd-incl__list {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  border-radius: 20px;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.pd-incl__list--yes {
  background: #fff;
}

.pd-incl__list--no {
  background: transparent;
  border: 1.5px dashed var(--stone);
}

.pd-incl__list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.pd-incl__list strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ink);
}

.pd-incl__list li::before {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.pd-incl__list--yes li::before {
  content: "✓";
  background: var(--foam);
  color: var(--lagoon);
}

.pd-incl__list--no li::before {
  content: "€";
  background: var(--stone);
  color: var(--muted);
}

.pd-policy .pd-checks li {
  color: var(--muted);
}

.pd-policy .pd-checks strong {
  color: var(--ink);
}

.pd-tourside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1rem;
}

.pd-bookcard {
  background: #fff;
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 30px 60px -40px rgba(3, 36, 64, 0.55);
  display: grid;
  gap: 0.6rem;
}

.pd-bookcard .pd-checks {
  margin-bottom: 0.75rem;
}

.pd-bookcard__help {
  margin: 0.4rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.pd-bookcard__help a {
  color: var(--accent);
  font-weight: 700;
}

.pd-bookcard__skipper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: var(--foam);
}

.pd-bookcard__skipper img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  flex-shrink: 0;
}

.pd-bookcard__skipper p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.pd-bookcard__skipper strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ==================== BOOKING PAGE (bookings/booking_form.html) ==================== */
.pd-bookhead {
  background:
    radial-gradient(circle at 85% 0%, rgba(31, 154, 153, 0.35), transparent 45%),
    var(--ink);
  color: #fff;
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.pd-bookhead__back {
  display: inline-block;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.pd-bookhead__back:hover {
  color: #fff;
}

.pd-bookhead__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.25rem;
}

.pd-bookhead .pd-inline-facts {
  margin: 0;
}

.pd-bookpage {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.pd-bookgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.pd-bookform {
  background: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  box-shadow: 0 30px 60px -45px rgba(3, 36, 64, 0.5);
}

.pd-bookform > .pd-form__alert {
  margin-bottom: 1.5rem;
}

/* ---- Inline calendar (Flatpickr, themed) ---- */
.pd-calendar__input {
  display: none;
}

.pd-calendar .flatpickr-calendar.inline {
  width: 100%;
  max-width: 460px;
  box-shadow: none;
  border: 1.5px solid var(--stone);
  border-radius: 18px;
  padding: 0.5rem;
  font-family: var(--font-sans);
}

.pd-calendar .flatpickr-innerContainer,
.pd-calendar .flatpickr-rContainer,
.pd-calendar .flatpickr-days,
.pd-calendar .dayContainer {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.pd-calendar .flatpickr-months {
  padding: 0.25rem 0 0.5rem;
}

.pd-calendar .flatpickr-current-month {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

.pd-calendar .flatpickr-current-month .cur-month,
.pd-calendar .flatpickr-current-month input.cur-year {
  font-weight: 500;
}

.pd-calendar .flatpickr-months .flatpickr-prev-month,
.pd-calendar .flatpickr-months .flatpickr-next-month {
  top: 0.5rem;
}

.pd-calendar .flatpickr-months .flatpickr-prev-month:hover svg,
.pd-calendar .flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--accent);
}

.pd-calendar span.flatpickr-weekday {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
}

.pd-calendar .flatpickr-day {
  max-width: none;
  height: 44px;
  line-height: 40px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--foam);
  border: 2px solid transparent;
  margin: 2px 0;
}

.pd-calendar .flatpickr-day:hover {
  background: #cfe8e4;
  border-color: transparent;
}

.pd-calendar .flatpickr-day.flatpickr-disabled,
.pd-calendar .flatpickr-day.flatpickr-disabled:hover {
  background: transparent;
  color: #c3cbd0;
  font-weight: 500;
  text-decoration: line-through;
  cursor: not-allowed;
}

.pd-calendar .flatpickr-day.prevMonthDay,
.pd-calendar .flatpickr-day.nextMonthDay {
  visibility: hidden;
}

.pd-calendar .flatpickr-day.today {
  border-color: var(--stone);
}

.pd-calendar .flatpickr-day.selected,
.pd-calendar .flatpickr-day.selected:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pd-calendar__legend {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.pd-calendar__dot {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--foam);
  border: 1px solid #cfe8e4;
}

.pd-calendar__dot--off {
  margin-left: 0.9rem;
  background: transparent;
  border-color: var(--stone);
}

/* ---- Time pills & guest stepper ---- */
.pd-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pd-pill {
  position: relative;
}

.pd-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pd-pill span {
  display: block;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--stone);
  background: var(--sand);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-pill input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pd-pill input:focus-visible + span {
  outline: 3px solid var(--lagoon);
  outline-offset: 2px;
}

.pd-stepper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.pd-stepper button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--stone);
  background: var(--sand);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pd-stepper button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pd-field .pd-stepper input {
  width: 72px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  padding: 0.45rem 0.25rem;
  -moz-appearance: textfield;
}

.pd-stepper input::-webkit-outer-spin-button,
.pd-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pd-stepper small {
  flex-basis: 100%;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---- What happens next ---- */
.pd-nextsteps {
  list-style: none;
  counter-reset: next;
  margin: 0 0 0.5rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: var(--sand);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pd-nextsteps li {
  counter-increment: next;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.pd-nextsteps li::before {
  content: counter(next);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.pd-nextsteps strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

/* ---- Summary card ---- */
.pd-bookcard--summary {
  padding: 0 0 1.5rem;
  overflow: hidden;
  gap: 0;
}

.pd-bookcard--summary > :not(.pd-summary__media) {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.pd-summary__media img {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.pd-summary__title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.pd-summary__rows {
  margin-top: 0;
  margin-bottom: 1rem;
}

.pd-summary__rows div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--stone);
  font-size: 0.92rem;
}

.pd-summary__rows dt {
  color: var(--muted);
}

.pd-summary__rows dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.pd-summary__price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.pd-summary__price span {
  font-size: 0.9rem;
  color: var(--muted);
}

.pd-summary__price strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}

.pd-summary__split {
  display: grid;
  gap: 0.3rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--foam);
  font-size: 0.86rem;
}

.pd-summary__split div {
  display: flex;
  justify-content: space-between;
}

.pd-bookcard--summary .pd-checks {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.9rem;
}

.pd-bookcard__skipper a {
  color: var(--accent);
  font-weight: 700;
}


/* Cash-on-the-day price, shown under a main price */
.pd-cashnote {
  margin: -0.4rem 0 1rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: var(--foam);
  color: var(--sea);
  font-size: 0.9rem;
  font-weight: 700;
}

.pd-cashnote span {
  font-weight: 500;
  color: var(--muted);
}

.pd-summary__split--cash div:last-child strong {
  color: var(--lagoon);
}

/* ==================== CONTACT PAGE (contact.html) ==================== */
.pd-contacthero {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.pd-contacthero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.pd-contacthero__skipper {
  margin-bottom: 0.25rem;
}

.pd-contactquick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-contactquick__item {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.pd-contactquick__item:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

.pd-contactquick__item strong {
  font-size: 1rem;
}

.pd-contactquick__item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.pd-contactquick__item--wa {
  background: #1fae5b;
  border-color: #1fae5b;
}

.pd-contactquick__item--wa:hover {
  background: #179a4f;
}

.pd-contactquick__item--wa span {
  color: rgba(255, 255, 255, 0.88);
}

.pd-shortcuts {
  background: #fff;
  border-bottom: 1px solid var(--stone);
  padding: 1.5rem 0;
}

.pd-shortcuts__label {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.pd-shortcuts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.pd-shortcut {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: var(--sand);
  border: 1.5px solid transparent;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pd-shortcut:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
}

.pd-shortcut strong {
  font-size: 0.97rem;
}

.pd-shortcut strong::after {
  content: " →";
  color: var(--accent);
}

.pd-shortcut span {
  font-size: 0.84rem;
  color: var(--muted);
}

.pd-contactbody {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.pd-contactform {
  order: -1;
}

.pd-contactform__topics {
  margin-bottom: 1.25rem;
}

.pd-contactform .pd-pill span {
  padding: 0.5rem 0.95rem;
  font-size: 0.88rem;
}

.pd-contactsent {
  padding: 1rem 0;
}

.pd-factlist {
  margin: 0 0 1.5rem;
}

.pd-factlist div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--stone);
}

.pd-factlist dt {
  font-weight: 700;
  color: var(--ink);
}

.pd-factlist dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.pd-contactinfo__groups em {
  font-style: normal;
  font-weight: 700;
}


/* ---- Sunset photos ---- */
.pd-pagehero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pd-pagehero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.pd-pagehero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(3, 36, 64, 0.82) 0%, rgba(3, 36, 64, 0.45) 55%, rgba(3, 36, 64, 0.1) 100%),
    linear-gradient(0deg, rgba(3, 36, 64, 0.55) 0%, rgba(3, 36, 64, 0) 45%);
}

.pd-pagehero--sunset {
  min-height: min(68vh, 620px);
  display: flex;
  align-items: flex-end;
}

.pd-pagehero--sunset .pd-pagehero__inner {
  width: 100%;
}

.pd-sunsetgallery {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pd-sunsetgallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.pd-sunsetgallery img:first-child {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.pd-sunsetgallery img:not(:first-child) {
  aspect-ratio: 16 / 10;
}

.pd-duo__card--sunset {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: url("../images/sunset/3.jpeg") center / cover;
}

.pd-duo__card--sunset::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(170deg, rgba(3, 36, 64, 0.88) 0%, rgba(3, 36, 64, 0.55) 55%, rgba(3, 36, 64, 0.2) 100%);
}


/* ---- Transfer maps ---- */
.pd-way__map {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;      /* the whole card is a link */
  background: #aad3df;
}

.pd-way__map .leaflet-control-attribution {
  font-size: 9px;
  opacity: 0.7;
}

.pd-way--transfer::before {
  background: linear-gradient(0deg, rgba(3, 36, 64, 0.95) 0%, rgba(3, 36, 64, 0.75) 40%, rgba(3, 36, 64, 0.1) 75%);
}

.pd-mapframe--transfer {
  margin: 1.5rem 0 1.25rem;
}

.pd-map--transfer {
  height: 440px;
}

.pd-port--transfer .pd-port__dot {
  width: 20px;
  height: 20px;
  font-size: 0.65rem;
  border-width: 2px;
  border-color: #fff;
  background: var(--accent);
}

.pd-port--transfer.is-home .pd-port__dot {
  width: 26px;
  height: 26px;
  margin: -3px;
  border-color: var(--gold);
  background: var(--ink);
}

.pd-port--transfer.is-label-left .pd-port__label {
  left: auto;
  right: calc(100% + 6px);
}

.pd-way__map .pd-port__label {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
}

.pd-way__map .leaflet-tile-pane {
  filter: saturate(0.55) brightness(1.05);
}

.pd-port--transfer .pd-port__label {
  opacity: 1;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(3, 36, 64, 0.2);
}

.pd-portcard {
  display: grid;
  gap: 0.4rem;
  padding: 1rem;
}

.pd-portcard strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
}

.pd-portcard > span {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.pd-portcard button {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: var(--foam);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.pd-portcard button:hover {
  background: var(--accent);
  color: #fff;
}

.pd-portcard button small {
  font-weight: 500;
  opacity: 0.8;
  white-space: nowrap;
}


/* ---- Rating card (links to the Airbnb listing; no copied reviews) ---- */
.pd-ratingcard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 28px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 30px 60px -45px rgba(3, 36, 64, 0.5);
  border: 2px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-ratingcard:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 34px 60px -40px rgba(3, 36, 64, 0.55);
}

.pd-ratingcard__score {
  display: grid;
  justify-items: center;
  padding: 1.5rem 2rem;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  min-width: 190px;
}

.pd-ratingcard__stars {
  color: var(--gold);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.pd-ratingcard__score strong {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.05;
}

.pd-ratingcard__score span:last-child {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.pd-ratingcard__text p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

.pd-ratingcard__text .pd-ratingcard__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

#reviews .pd-reviews__more {
  text-align: center;
}

.pd-trust__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

.pd-trust__link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.pd-bookcard__skipper p a {
  font-weight: 600;
}

@media (max-width: 600px) {
  .pd-ratingcard {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pd-ratingcard__score {
    justify-self: center;
  }
}


/* ---- Guest testimonials ---- */
.pd-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pd-review {
  margin: 0;
  padding: 1.75rem;
  background: #fff;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
}

.pd-review__stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.pd-review blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink);
}

.pd-review figcaption {
  margin-top: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.pd-review figcaption strong {
  display: block;
  color: var(--ink);
}

@media (max-width: 860px) {
  .pd-reviews {
    grid-template-columns: 1fr;
  }
}

/* ==================== PARTNER BOATS (boats/*, partner tours, affiliate requests) ==================== */
.pd-backlink {
  display: inline-block;
  margin: 1.75rem 0 1.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sea);
}

/* "My boat first" strip on the partner list */
.pd-pfirst {
  background: #fff;
  border-bottom: 1px solid var(--stone);
  padding: 1.1rem 0;
}

.pd-pfirst__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
}

.pd-pfirst__inner img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.pd-pfirst__inner p {
  flex: 1 1 320px;
  margin: 0;
  color: var(--muted);
}

.pd-pfirst__inner strong {
  color: var(--ink);
}

.pd-pfirst__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pd-pfirst__actions .pd-btn {
  min-height: 44px;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
}

.pd-partnerlist {
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* Filter bar */
.pd-filterbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 0.85rem;
  align-items: end;
  padding: 1.25rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 40px -35px rgba(3, 36, 64, 0.5);
}

.pd-filterbar .pd-field input,
.pd-filterbar .pd-field select {
  padding: 0.65rem 0.8rem;
}

.pd-filterbar__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.pd-filterbar__actions .pd-btn {
  min-height: 46px;
}

.pd-partnerlist__count {
  margin: 1.5rem 0 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* Partner boat cards */
.pd-pboats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pd-pboats--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pd-pboat {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pd-pboat:hover {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 24px 48px -34px rgba(3, 36, 64, 0.55);
}

/* Every card gets the same 16:10 photo frame, whatever shape the uploaded photo is.
   The photo is laid inside the frame (absolute) and cropped to fill it, so a tall or
   square upload can't stretch its card. */
.pd-pboat__media {
  position: relative;
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  overflow: hidden;
  background: var(--foam);
}

.pd-pboat__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.pd-pboat__noimg {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: var(--lagoon);
}

.pd-pboat__type {
  position: absolute;
  left: 0.9rem;
  top: 0.9rem;
}

.pd-pboat__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.2rem 1.3rem 1.3rem;
}

.pd-pboat__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.pd-pboat__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pd-pboat__specs li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sea);
  background: var(--foam);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.pd-pboat__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--stone);
}

.pd-pboat__price span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pd-pboat__price strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
}

.pd-pboat__price strong.is-muted {
  font-size: 1.1rem;
  color: var(--muted);
}

.pd-pboat__price small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.pd-pboat__cta {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  white-space: nowrap;
}

.pd-pboats__empty {
  grid-column: 1 / -1;
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px dashed var(--stone);
  text-align: center;
}

.pd-pboats__empty p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.pd-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
  font-weight: 600;
}

.pd-partnerlist__how {
  margin-top: 2.5rem;
}

/* ---- Boat detail ---- */
.pd-boatpage {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

/* Standard photo frames: the gallery has a fixed height (also capped by the screen
   height, so the boat name and the request panel show without scrolling) and every
   photo is cropped to fill its frame. A photo's own shape never changes the layout. */
.pd-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 0.75rem;
  height: clamp(280px, min(36vw, 56vh), 480px);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.pd-gallery--single {
  grid-template-columns: 1fr;
}

.pd-gallery button {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--foam);
}

.pd-gallery img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.pd-gallery button:hover img {
  transform: scale(1.03);
}

.pd-gallery__main,
.pd-gallery__item {
  height: 100%;
  min-height: 0;
}

.pd-gallery__side {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  min-height: 0;
}

.pd-gallery__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(3, 36, 64, 0.55);
  color: #fff;
  font-weight: 700;
}

.pd-boatpage__title {
  margin-bottom: 1rem;
}

.pd-boatpage__sub {
  margin-top: 2rem;
}

.pd-boatpage__hint {
  margin: -0.5rem 0 1.25rem;
}

.pd-specs--light {
  margin: 0 0 1.75rem;
}

.pd-specs--light li {
  background: #fff;
  border: 1px solid var(--stone);
}

.pd-specs--light strong {
  color: var(--ink);
}

.pd-specs--light span {
  color: var(--muted);
}

/* Selectable tour cards (boat_detail.js toggles .tour-selection-card--selected) */
.pd-ptours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pd-ptour {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--stone);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pd-ptour:hover,
.pd-ptour:focus-visible {
  border-color: var(--lagoon);
  outline: none;
}

.pd-ptour.tour-selection-card--selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 95, 163, 0.15);
}

.pd-ptour__img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
}

.pd-ptour__body {
  padding: 1rem 1.15rem 1.15rem;
}

.pd-ptour__body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 0.25rem;
}

.pd-ptour__body p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 0.6rem;
}

.pd-ptour__meta {
  font-weight: 700;
  color: var(--sea) !important;
}

.pd-ptour__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.pd-ptour__check {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pd-ptour.tour-selection-card--selected .pd-ptour__check {
  opacity: 1;
  transform: scale(1);
}

.pd-bookcard__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 0.5rem;
}

.pd-bookcard .pd-field {
  margin-bottom: 0.5rem;
}

.pd-selected {
  margin: -0.2rem 0 0.4rem;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: var(--foam);
  color: var(--sea);
  font-size: 0.86rem;
}

.pd-estimate--boat {
  margin: 0.5rem 0 0.75rem;
}

/* boat_detail.js shows this box with display:block, so stack the lines explicitly */
.pd-estimate--boat > * {
  display: block;
}

.pd-flow--compact {
  margin: 0.5rem 0 1.25rem;
  gap: 0.8rem;
}

.pd-flow--compact strong {
  font-size: 1rem;
}

.pd-flow--compact span {
  font-size: 0.86rem;
}

.pd-sent__steps {
  text-align: left;
  margin: 0 0 2rem;
}

/* ---- All tours page ---- */
.pd-ways--list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
}

.pd-ways--list .pd-way {
  min-height: 340px;
}

.pd-ptourlist {
  display: grid;
  gap: 0.85rem;
}

.pd-ptourrow {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 0.85rem 1.25rem 0.85rem 0.85rem;
  border-radius: 20px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  border: 2px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pd-ptourrow:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-left: 1.25rem;
}

.pd-ptourrow:hover {
  color: var(--ink);
  border-color: var(--accent);
  transform: translateX(3px);
}

.pd-ptourrow img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
}

.pd-ptourrow h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 0.25rem;
}

.pd-ptourrow p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.pd-ptourrow__meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sea);
}

.pd-ptourrow__cta {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .pd-filterbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-filterbar__actions {
    grid-column: 1 / -1;
  }

  .pd-pboats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pd-pboats,
  .pd-pboats--two,
  .pd-ptours,
  .pd-ways--list {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    height: auto;
  }

  .pd-gallery__main {
    aspect-ratio: 4 / 3;
  }

  .pd-gallery__side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .pd-gallery__side button {
    aspect-ratio: 4 / 3;
  }

  .pd-ptourrow {
    grid-template-columns: 1fr;
    padding: 0.85rem;
  }

  .pd-ptourrow img {
    width: 100%;
    height: 160px;
  }
}

@media (max-width: 520px) {
  .pd-filterbar {
    grid-template-columns: 1fr;
  }
}


/* ==================== EXPERIENCE PAGE + RESULT PAGES ==================== */
.pd-acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.pd-act {
  position: relative;
  min-height: 340px;
  border-radius: 22px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--ink-soft);
}

.pd-act--wide {
  grid-column: span 2;
}

.pd-act img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.6s ease;
}

.pd-act:hover img {
  transform: scale(1.04);
}

.pd-act::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 36, 64, 0.9) 0%, rgba(3, 36, 64, 0.35) 55%, rgba(3, 36, 64, 0) 100%);
}

.pd-act__body {
  padding: 1.5rem;
}

.pd-act__body h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0.75rem 0 0.4rem;
}

.pd-act__body p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 46ch;
}

.pd-checks--roomy {
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.pd-checks--roomy li {
  color: var(--muted);
  line-height: 1.6;
}

.pd-checks--roomy strong {
  color: var(--ink);
}

.pd-sent__icon--pending {
  background: var(--gold);
  color: var(--ink);
}

.pd-sent__icon--pending svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.pd-sent__icon--muted {
  background: var(--stone);
  color: var(--muted);
}

.pd-notfound__links {
  margin: 2rem 0;
  text-align: left;
}

@media (max-width: 1080px) {
  .pd-acts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-notfound__links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .pd-acts {
    grid-template-columns: 1fr;
  }

  .pd-act--wide {
    grid-column: auto;
  }

  .pd-act {
    min-height: 300px;
  }
}

/* ==================== PHOTO LIGHTBOX (boat_detail.js) ==================== */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox--open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 20, 36, 0.94);
  cursor: pointer;
}

.gallery-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90vw;
  height: 88vh;
  max-width: 1400px;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.15s ease;
}

.gallery-lightbox__img--loading {
  opacity: 0.3;
}

.gallery-lightbox__close {
  position: fixed;
  top: var(--space-4);
  right: var(--space-5);
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.gallery-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.gallery-lightbox__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  user-select: none;
}

.gallery-lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__arrow--prev {
  left: var(--space-4);
}

.gallery-lightbox__arrow--next {
  right: var(--space-4);
}

.gallery-lightbox__arrow--hidden {
  opacity: 0;
  pointer-events: none;
}

.gallery-lightbox__counter {
  position: fixed;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
  letter-spacing: 0.05em;
  pointer-events: none;
}

@media (max-width: 768px) {
  .gallery-lightbox__arrow {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .gallery-lightbox__arrow--prev {
    left: var(--space-2);
  }

  .gallery-lightbox__arrow--next {
    right: var(--space-2);
  }

  .gallery-lightbox__stage {
    width: 100vw;
    height: 80vh;
  }
}

/* Accessibility: "Skip to main content" link, visible only when focused with the keyboard */
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 1300;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1080px) {
  .pd-ways {
    grid-template-columns: 1fr 1fr;
  }

  .pd-way--feature,
  .pd-way--build {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 420px;
  }

  .pd-builder {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
  }

  .pd-builder__mapcol {
    height: 62vh;
    min-height: 420px;
  }

  .pd-builder__panel {
    border-left: 0;
    border-top: 1px solid var(--stone);
    overflow: visible;
  }

  .pd-split,
  .pd-signature,
  .pd-faq,
  .pd-tourgrid,
  .pd-bookgrid {
    grid-template-columns: 1fr;
  }

  .pd-signature__intro,
  .pd-card-form,
  .pd-tourside {
    position: static;
  }

}

@media (max-width: 860px) {
  .pd-hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .pd-hero__skipper {
    justify-self: start;
    margin: 0;
  }

  .pd-trust {
    grid-template-columns: 1fr 1fr;
  }

  .pd-contacthero__inner {
    grid-template-columns: 1fr;
  }

  .pd-shortcuts__grid {
    grid-template-columns: 1fr 1fr;
  }

  .pd-head--split,
  .pd-skipper,
  .pd-boat,
  .pd-duo {
    grid-template-columns: 1fr;
  }

  .pd-skipper__photos {
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .pd-ways {
    grid-template-columns: 1fr;
  }

  .pd-way,
  .pd-way--feature {
    min-height: 340px;
  }

  .pd-hero__actions .pd-btn {
    width: 100%;
  }

  .pd-map--home {
    height: 70vh;
    min-height: 420px;
  }

  .pd-mapframe {
    border-radius: 18px;
    margin: 0 -0.25rem;
  }

  .pd-tray {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    justify-content: space-between;
    transform: translateY(150%);
    gap: 0.75rem;
    padding-left: 1rem;
  }

  .pd-tray.is-visible {
    transform: translateY(0);
  }

  .pd-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0 1rem 0.25rem;
    scrollbar-width: none;
  }

  .pd-chips::-webkit-scrollbar {
    display: none;
  }

  .pd-chip {
    flex-shrink: 0;
  }

  .pd-chips--compact {
    margin: 0 -1rem;
  }

  .pd-form__grid {
    grid-template-columns: 1fr;
  }

  .pd-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
  }

  .pd-routerow {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .pd-routerow__time {
    grid-column: 1;
    grid-row: 2;
  }

  .pd-sent__summary div {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }

  .pd-factlist div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .pd-amenities,
  .pd-incl,
  .pd-nextsteps {
    grid-template-columns: 1fr;
  }

  .pd-calendar .flatpickr-calendar.inline {
    max-width: none;
  }

  .pd-map--tour {
    height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-hero__scroll {
    animation: none;
  }

  .pd-way,
  .pd-way > img,
  .pd-btn,
  .pd-tray,
  .pd-pin__bubble {
    transition: none;
  }
}

/* ==================== HOMEPAGE HERO — PHONES ONLY ====================
   Goal: the whole hero, including the Airbnb rating bar, fits on the first
   screen of a phone. The bar above is transparent here (navbar.css), so the
   photo runs to the top of the screen. Desktop/tablet styles are untouched. */
@media (max-width: 600px) {
  .page-home .pd-hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  /* Stronger fade at the top (behind the white logo) and the bottom (behind the rating bar) */
  .page-home .pd-hero__media::after {
    background:
      linear-gradient(180deg, rgba(3, 36, 64, 0.7) 0%, rgba(3, 36, 64, 0.25) 22%, rgba(3, 36, 64, 0.45) 55%, rgba(3, 36, 64, 0.92) 100%);
  }

  .page-home .pd-hero__inner {
    gap: 1.1rem;
    align-content: center;
    padding-top: calc(66px + 1.25rem); /* clears the floating bar */
    padding-bottom: 1.25rem;
  }

  /* Skipper: a small glass chip at the top instead of a big sand card at the bottom */
  .pd-hero__skipper {
    order: -1;
    gap: 0.6rem;
    padding: 0.3rem 0.95rem 0.3rem 0.3rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .pd-hero__skipper img {
    width: 38px;
    height: 38px;
    border-width: 2px;
  }

  .pd-hero__skipper strong {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .pd-hero__skipper span {
    display: block;
    font-size: 0.72rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.78);
  }

  .pd-hero .pd-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.6rem;
  }

  .pd-hero__title {
    font-size: clamp(2.1rem, 9.6vw, 2.6rem);
    line-height: 1.04;
    margin-bottom: 0.9rem;
  }

  .pd-hero__lead {
    font-size: 0.97rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }

  /* Buttons: one strong, full-width booking button; the second is lighter */
  .pd-hero__actions {
    gap: 0.6rem;
  }

  .pd-hero__actions .pd-btn--lg {
    min-height: 54px;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
  }

  .pd-hero__actions .pd-btn--primary {
    justify-content: space-between;
    padding-left: 1.4rem;
    padding-right: 0.6rem;
    box-shadow: 0 14px 30px -12px rgba(13, 95, 163, 0.9);
  }

  .pd-hero__actions .pd-btn--primary .pd-btn__price {
    padding: 0.45rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
  }

  .pd-hero__actions .pd-btn--glass {
    min-height: 48px;
    background: rgba(3, 36, 64, 0.28);
    border-width: 1.5px;
    border-color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
  }

  /* The rating bar now shows on screen, so the bouncing arrow isn't needed */
  .page-home .pd-hero__scroll {
    display: none;
  }

  /* Rating bar: Airbnb gets its own line, the three facts share one row */
  .pd-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem 0.75rem;
    padding: 0.9rem 0 1.1rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .pd-trust li:first-child {
    grid-column: 1 / -1;
    font-size: 0.9rem;
  }

  .pd-trust li + li strong {
    display: block;
    font-size: 0.95rem;
  }
}
