@import url("/proposal/portitours-rxbg9v/site/assets/fonts/fonts.css");
/* Marim catalogue components. Structure only: every colour, radius and font comes from the
   host site's tokens, so the same markup takes each client's brand.
   Host defines (fallbacks below): --m-ink --m-ink-soft --m-paper --m-surface --m-line
   --m-accent --m-accent-ink --m-accent-deep --m-radius --font-ui --font-display --m-header
   Sizes follow marim-playbook/TYPOGRAPHY.md (cards 18–20, facts ≥15, controls ≥16, labels ≥13). */

:root {
  --m-ink: #12262c;
  --m-ink-soft: #4b5e64;
  --m-paper: #fff;
  --m-surface: #f4f1ea;
  --m-line: rgba(18, 38, 44, .14);
  --m-accent: #3fd0d4;
  --m-accent-ink: #062a2e;
  --m-accent-deep: #0a676d;
  --m-radius: 16px;
  --m-radius-sm: 10px;
  --m-header: 72px;
  --m-shadow: 0 1px 2px rgba(18, 38, 44, .06), 0 8px 28px rgba(18, 38, 44, .08);
}
.m-locked { overflow: hidden; }
.m-num, .m-time, .m-pill b, .m-card-price b, .m-book-price b, .m-sticky b { font-variant-numeric: tabular-nums; }
.m-icon-svg, .m-pill svg, .m-fact svg, .m-card-dur svg, .m-badge svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Card ---------- */
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.m-card { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--m-ink); }
.m-card[hidden] { display: none; }
.m-card-link { display: flex; flex-direction: column; color: inherit; text-decoration: none; flex: 1; border-radius: var(--m-radius); }
.m-card-media { position: relative; display: block; overflow: hidden; border-radius: var(--m-radius); background: var(--m-surface); aspect-ratio: 4 / 3; }
.m-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.m-card-link:hover .m-card-media img { transform: scale(1.04); }
.m-badges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 4px; }
.m-badges:has(.m-badge:nth-child(3)) .m-badge { padding-right: 8px; }
.m-badge { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; padding: 3px 10px 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--m-ink); font: 600 13px/1.2 var(--font-ui); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); transition: opacity .2s; }
.m-badge svg { width: 14px; height: 14px; }
.m-badge.is-dim { opacity: .72; background: rgba(255, 255, 255, .78); }
.m-tag { position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--m-ink); color: #fff; font: 600 13px/1.2 var(--font-ui); }
.m-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 2px 0; flex: 1; }
.m-card-kicker { color: var(--m-accent-deep); font: 600 13px/1.3 var(--font-ui); }
.m-card-title { font: 700 clamp(18px, 1.05rem + .3vw, 20px)/1.25 var(--font-ui); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-card-line { margin: 0; color: var(--m-ink-soft); font: 400 16px/1.4 var(--font-ui); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-card-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.m-card-dur { display: inline-flex; align-items: center; gap: 6px; color: var(--m-ink-soft); font: 600 15px/1.3 var(--font-ui); }
.m-card-dur svg { width: 18px; height: 18px; }
.m-card-price { margin: 0 0 0 auto; text-align: right; white-space: nowrap; line-height: 1.1; }
.m-card-price small { display: block; color: var(--m-ink-soft); font: 400 13px/1.2 var(--font-ui); }
.m-card-price b { font: 700 clamp(20px, 1.05rem + .45vw, 24px)/1.15 var(--font-ui); }
.m-card-times { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.m-card-times[hidden] { display: none; }
.m-card-alt { flex-basis: 100%; margin: 0; color: var(--m-ink); font: 500 15px/1.35 var(--font-ui); }
.m-is-loading .m-card-media::after, [data-m-catalogue].is-loading .m-card-times { opacity: .6; }

/* Rail: horizontal swipe on phones, grid on wide screens. */
.m-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.m-rail::-webkit-scrollbar { display: none; }
.m-rail > * { scroll-snap-align: start; }
@media (max-width: 720px) {
  .m-rail { grid-auto-columns: 78%; margin: 0 calc(-1 * var(--pad, 16px)); padding: 0 var(--pad, 16px) 6px; scroll-padding: 0 var(--pad, 16px); }
  /* Compact rows: image left, facts right. Keeps long lists short on phones. */
  .m-grid--rows { grid-template-columns: 1fr; gap: 14px; }
  .m-grid--rows .m-card-link { display: grid; grid-template-columns: 38% 1fr; gap: 14px; align-items: stretch; }
  .m-grid--rows .m-card-media { aspect-ratio: auto; min-height: 132px; height: 100%; }
  .m-grid--rows .m-card-body { padding: 2px 0 0; }
  .m-grid--rows .m-badges { left: 6px; top: 6px; right: 6px; }
  .m-grid--rows .m-badge { min-height: 24px; padding: 2px 8px 2px 6px; }
  .m-grid--rows .m-card-line { -webkit-line-clamp: 2; font-size: 15px; }
  .m-grid--rows .m-card-meta { padding-top: 6px; }
  .m-grid--rows .m-card-times { padding-left: calc(38% + 14px); padding-top: 8px; }
  .m-grid--rows .m-card-alt { font-size: 15px; }
}

/* ---------- Tabs, harbour filter ---------- */
.m-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--m-line); margin: 0 calc(-1 * var(--pad, 0px)); padding: 0 var(--pad, 0px); }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--m-ink-soft); font: 600 16px/1.2 var(--font-ui); cursor: pointer; white-space: nowrap; margin-bottom: -1px; }
.m-tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-tab:hover { color: var(--m-ink); }
.m-tab[aria-selected="true"], .m-tab.is-on { color: var(--m-ink); border-bottom-color: var(--m-ink); }
.m-count:not(:empty) { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--m-surface); color: var(--m-ink); font: 600 13px/1.4 var(--font-ui); text-align: center; }
.m-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.m-seg[hidden] { display: none; }
.m-seg-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1px solid var(--m-line); border-radius: 999px; background: var(--m-paper); color: var(--m-ink); font: 600 16px/1.2 var(--font-ui); cursor: pointer; }
.m-seg-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.m-seg-btn:hover { border-color: var(--m-ink); }
.m-seg-btn[aria-pressed="true"] { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }

/* ---------- Date pills ---------- */
.m-pills { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.m-book .m-pills { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.m-book .m-pill { min-height: 58px; padding: 6px 0; }
.m-book .m-pill small { font-size: 12px; }
.m-pill { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 62px; padding: 6px 2px; border: 1px solid var(--m-line); border-radius: 12px; background: var(--m-paper); color: var(--m-ink); cursor: pointer; font-family: var(--font-ui); min-width: 0; }
.m-pill small { font: 600 13px/1.2 var(--font-ui); color: var(--m-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.m-pill b { font: 700 20px/1.15 var(--font-ui); }
.m-pill svg { width: 22px; height: 22px; }
.m-pill:hover { border-color: var(--m-ink); }
.m-pill.is-on { background: var(--m-ink); border-color: var(--m-ink); color: #fff; }
.m-pill.is-on small { color: rgba(255, 255, 255, .86); }
.m-pill.is-closed b { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--m-ink-soft); }
.m-pill.is-closed.is-on b { color: #fff; }
.m-pill--more small { white-space: normal; text-align: center; line-height: 1.15; }
@media (max-width: 520px) {
  .m-pills { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .m-pills .m-pill:nth-child(6):not(:last-child) { display: none; }
  .m-book .m-pills { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .m-pill { min-height: 58px; padding: 6px 0; border-radius: 10px; }
  .m-pill small { font-size: 12px; }
  .m-pill b { font-size: 18px; }
}

/* ---------- Times (booking chips) ---------- */
.m-time { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--m-accent); color: var(--m-accent-ink); font: 700 16px/1 var(--font-ui); text-decoration: none; white-space: nowrap; }
.m-time span { font-weight: 600; }
.m-time span::after { content: "·"; margin-left: 8px; opacity: .7; }
.m-time:hover { filter: brightness(.94); }
.m-time--call { background: var(--m-paper); color: var(--m-ink); box-shadow: inset 0 0 0 1px var(--m-line); }
.m-time--call small { font: 600 14px/1 var(--font-ui); color: var(--m-accent-deep); }
.m-link { padding: 0; border: 0; background: none; color: var(--m-accent-deep); font: 600 16px/1.4 var(--font-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.m-muted { color: var(--m-ink-soft); font: 400 15px/1.4 var(--font-ui); }
.m-status { margin: 12px 0 0; font: 400 16px/1.5 var(--font-ui); }
.m-status[hidden] { display: none; }

/* ---------- Dialog (month) ---------- */
.m-dialog { position: fixed; inset: 0; z-index: 90; display: none; }
.m-dialog.is-open { display: grid; place-items: center; }
.m-dialog-backdrop { position: absolute; inset: 0; background: rgba(8, 20, 24, .5); }
.m-dialog-panel { position: relative; width: min(420px, calc(100% - 24px)); padding: 16px; border-radius: var(--m-radius); background: var(--m-paper); color: var(--m-ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.m-dialog-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.m-dialog-bar b { flex: 1; text-align: center; font: 700 18px/1.2 var(--font-ui); }
.m-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--m-surface); color: var(--m-ink); font: 600 24px/1 var(--font-ui); cursor: pointer; }
.m-month { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.m-month-wd { text-align: center; color: var(--m-ink-soft); font: 600 13px/2 var(--font-ui); }
.m-day { min-height: 46px; border: 0; border-radius: 10px; background: none; color: var(--m-ink); font: 600 16px/1 var(--font-ui); cursor: pointer; font-variant-numeric: tabular-nums; }
.m-day.is-open { background: var(--m-surface); font-weight: 700; }
.m-day.is-closed { color: var(--m-ink-soft); text-decoration: line-through; }
.m-day.is-past { color: var(--m-ink-soft); opacity: .7; cursor: default; }
.m-day.is-on { background: var(--m-ink); color: #fff; }
@media (max-width: 560px) {
  .m-dialog.is-open { place-items: end center; }
  .m-dialog-panel { width: 100%; border-radius: var(--m-radius) var(--m-radius) 0 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* ---------- Tour page ---------- */
.m-crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; color: var(--m-ink-soft); font: 400 14px/1.4 var(--font-ui); }
.m-crumbs a { color: inherit; }
.m-crumbs span[aria-hidden] { opacity: .7; }
.m-d-title { margin: 0; font: 700 clamp(32px, 1.4rem + 2.4vw, 50px)/1.08 var(--font-display, var(--font-ui)); letter-spacing: -.02em; max-width: 22ch; }
.m-d-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--m-ink); font: 600 16px/1.3 var(--font-ui); }
.m-d-meta li { display: inline-flex; align-items: center; gap: 8px; }
.m-d-meta svg { width: 20px; height: 20px; color: var(--m-accent-deep); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.m-gallery { position: relative; margin: 22px 0 0; }
.m-gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(320px, 38vw, 480px); border-radius: var(--m-radius); overflow: hidden; }
.m-gallery-grid a { display: block; min-height: 0; overflow: hidden; background: var(--m-surface); }
.m-gallery-grid a:first-child { grid-row: span 2; }
.m-gallery-grid a:nth-child(n + 6) { display: none; }
.m-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.m-gallery-grid a:hover img { transform: scale(1.03); }
.m-gallery--3 .m-gallery-grid { grid-template-columns: 2fr 1fr; }
.m-gallery--2 .m-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.m-gallery--2 .m-gallery-grid a:first-child { grid-row: auto; }
.m-gallery--1 .m-gallery-grid { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.m-gallery-all { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--m-paper); color: var(--m-ink); font: 600 16px/1 var(--font-ui); box-shadow: var(--m-shadow); cursor: pointer; }
.m-gallery-count { display: none; }
@media (max-width: 760px) {
  .m-gallery { margin: 16px calc(-1 * var(--pad, 16px)) 0; }
  .m-gallery-grid { display: flex; height: auto; gap: 0; border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .m-gallery-grid::-webkit-scrollbar { display: none; }
  .m-gallery-grid a, .m-gallery-grid a:nth-child(n + 6) { display: block; flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
  .m-gallery-all { display: none; }
  .m-gallery-count { display: block; position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8, 20, 24, .72); color: #fff; font: 600 14px/1.3 var(--font-ui); font-variant-numeric: tabular-nums; }
}

.m-d-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; margin-top: 32px; }
.m-d-aside { position: sticky; top: calc(var(--m-header) + 16px); }
@media (max-width: 1000px) {
  .m-d-layout { grid-template-columns: 1fr; gap: 0; margin-top: 20px; }
  .m-d-aside { position: static; order: -1; margin-bottom: 8px; }
}

.m-sections { position: sticky; top: var(--m-header); z-index: 20; background: var(--m-paper); border-bottom: 1px solid var(--m-line); margin: 0 0 8px; }
.m-sections-track { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.m-sections-track::-webkit-scrollbar { display: none; }
.m-sections a { flex: none; display: inline-flex; align-items: center; min-height: 52px; padding: 0 12px; border-bottom: 3px solid transparent; color: var(--m-ink-soft); font: 600 16px/1.2 var(--font-ui); text-decoration: none; white-space: nowrap; margin-bottom: -1px; }
.m-sections a:hover { color: var(--m-ink); }
.m-sections a.is-on { color: var(--m-ink); border-bottom-color: var(--m-ink); }
.m-d-section { padding: 28px 0; border-bottom: 1px solid var(--m-line); scroll-margin-top: calc(var(--m-header) + 64px); }
.m-d-section:last-child { border-bottom: 0; }
.m-d-section > h2 { margin: 0 0 16px; font: 700 clamp(24px, 1.2rem + .9vw, 30px)/1.2 var(--font-display, var(--font-ui)); letter-spacing: -.015em; }
.m-d-section > h3 { margin: 22px 0 10px; font: 700 20px/1.25 var(--font-ui); }
.m-d-section p { max-width: 65ch; margin: 0 0 12px; font: 400 clamp(17px, 1rem + .2vw, 18px)/1.6 var(--font-ui); }
.m-lede { font-size: clamp(18px, 1rem + .4vw, 20px) !important; color: var(--m-ink); }

.m-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 28px; margin: 0; }
.m-fact { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; align-items: start; }
.m-fact svg { grid-row: span 2; width: 26px; height: 26px; color: var(--m-accent-deep); margin-top: 2px; }
.m-fact dt { font: 700 16px/1.35 var(--font-ui); }
.m-fact dd { margin: 0; color: var(--m-ink-soft); font: 400 16px/1.45 var(--font-ui); }

.m-checks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.m-checks li { position: relative; padding-left: 34px; font: 400 17px/1.5 var(--font-ui); }
.m-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 999px; background: var(--m-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062a2e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.m-checks--no li::before { background: var(--m-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5e64' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Route: thin line with outlined circle stops. */
.m-route-line { position: relative; margin: 0; padding: 0; list-style: none; }
.m-route-line li { position: relative; padding: 0 0 18px 36px; font: 400 17px/1.45 var(--font-ui); }
.m-route-line li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border: 2.5px solid var(--m-accent-deep); border-radius: 999px; background: var(--m-paper); z-index: 1; }
.m-route-line li::after { content: ""; position: absolute; left: 13px; top: 18px; bottom: -2px; width: 2px; background: var(--m-accent); }
.m-route-line li:last-child { padding-bottom: 0; }
.m-route-line li:last-child::after { display: none; }
.m-route-line li:first-child::before, .m-route-line li:last-child::before { background: var(--m-accent-deep); }
.m-route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }

.m-meet { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.m-meet-card { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-paper); }
.m-meet-card b { font: 700 17px/1.3 var(--font-ui); }
.m-meet-card span { color: var(--m-ink-soft); font: 400 16px/1.45 var(--font-ui); }
.m-meet-card a { margin-top: 6px; }

.m-faq details { border-bottom: 1px solid var(--m-line); }
.m-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font: 700 17px/1.4 var(--font-ui); cursor: pointer; list-style: none; }
.m-faq summary::-webkit-details-marker { display: none; }
.m-faq summary::after { content: "+"; font: 400 26px/1 var(--font-ui); color: var(--m-accent-deep); }
.m-faq details[open] summary::after { content: "–"; }
.m-faq details p { margin: 0 0 16px; }

/* Harbour chooser on a merged trip page. */
.m-harbours { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.m-harbour { display: flex; flex-direction: column; border-radius: var(--m-radius); overflow: hidden; border: 1px solid var(--m-line); background: var(--m-paper); color: inherit; text-decoration: none; }
.m-harbour img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.m-harbour span { display: grid; gap: 2px; padding: 12px 14px 14px; }
.m-harbour b { font: 700 18px/1.3 var(--font-ui); }
.m-harbour small { color: var(--m-ink-soft); font: 400 15px/1.4 var(--font-ui); }
.m-harbour:hover { border-color: var(--m-ink); }

/* ---------- Booking panel ---------- */
.m-book { display: grid; gap: 14px; padding: 20px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: var(--m-paper); box-shadow: var(--m-shadow); scroll-margin-top: calc(var(--m-header) + 16px); }
.m-book-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.m-book-price { line-height: 1.1; }
.m-book-price small { display: block; color: var(--m-ink-soft); font: 400 14px/1.3 var(--font-ui); }
.m-book-price b { font: 700 26px/1.15 var(--font-ui); }
.m-book-price em { font: 400 15px/1.3 var(--font-ui); font-style: normal; color: var(--m-ink-soft); }
.m-book-label { margin: 2px 0 -6px; font: 700 15px/1.3 var(--font-ui); }
.m-book .m-seg-btn { min-height: 40px; padding: 0 14px; }
.m-slots { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.m-slot-row { display: grid; gap: 8px; padding: 12px 0 0; border-top: 1px solid var(--m-line); }
.m-slot-row:first-child { border-top: 0; padding-top: 0; }
.m-slot-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.m-slot-head[hidden] { display: none; }
.m-slot-head b { font: 700 17px/1.3 var(--font-ui); }
.m-slot-head small { flex-basis: 100%; color: var(--m-ink-soft); font: 400 15px/1.35 var(--font-ui); }
.m-slot-price { color: var(--m-ink-soft); font: 600 15px/1.3 var(--font-ui); }
.m-slot-times { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.m-slot-go { justify-self: start; font-size: 15px; }
.m-next { min-height: 40px; padding: 0 14px; border: 1px solid var(--m-line); border-radius: 999px; background: var(--m-paper); color: var(--m-ink); font: 600 15px/1.2 var(--font-ui); cursor: pointer; }
.m-next:hover { border-color: var(--m-ink); }
.m-route { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: var(--m-surface); }
.m-route-msg, .m-route-sub { margin: 0; font: 400 16px/1.4 var(--font-ui); }
.m-route .m-next { justify-self: start; }
.m-route .m-slot-row { padding-top: 10px; border-color: var(--m-line); }
.m-route .m-slot-row:first-child { padding-top: 0; }
.m-book-err { margin: 0; font: 400 16px/1.5 var(--font-ui); }
.m-skeleton { height: 44px; border-radius: 999px; background: linear-gradient(90deg, var(--m-surface), #fff, var(--m-surface)); background-size: 200% 100%; animation: m-shine 1.2s infinite; }
@keyframes m-shine { to { background-position: -200% 0; } }
.m-book-note { margin: 0; color: var(--m-ink-soft); font: 400 15px/1.45 var(--font-ui); }

/* ---------- Sticky book bar (phones) ---------- */
.m-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad, 16px) max(10px, env(safe-area-inset-bottom)); background: var(--m-paper); border-top: 1px solid var(--m-line); box-shadow: 0 -6px 24px rgba(18, 38, 44, .1); transform: translateY(110%); transition: transform .25s; }
.m-sticky.is-on { transform: none; }
.m-sticky span { line-height: 1.15; }
.m-sticky small { display: block; color: var(--m-ink-soft); font: 600 14px/1.2 var(--font-ui); }
.m-sticky b { font: 700 20px/1.2 var(--font-ui); }
@media (min-width: 1001px) { .m-sticky { display: none; } }

/* ---------- Lightbox ---------- */
.m-lightbox { position: fixed; inset: 0; z-index: 95; display: none; grid-template-columns: 64px 1fr 64px; grid-template-rows: auto 1fr; background: rgba(6, 14, 17, .96); color: #fff; }
.m-lightbox.is-open { display: grid; }
.m-lightbox-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font: 600 15px/1 var(--font-ui); }
.m-lightbox .m-icon { background: rgba(255, 255, 255, .14); color: #fff; align-self: center; justify-self: center; }
.m-lightbox-track { grid-column: 2; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; min-height: 0; }
.m-lightbox-track::-webkit-scrollbar { display: none; }
.m-lightbox-track figure { flex: 0 0 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: 0 0 24px; }
.m-lightbox-track img { max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 8px; }
@media (max-width: 700px) {
  .m-lightbox { grid-template-columns: 1fr; }
  .m-lightbox-prev, .m-lightbox-next { display: none; }
  .m-lightbox-track { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .m-card-media img, .m-gallery-grid img, .m-sticky { transition: none; }
  .m-skeleton { animation: none; }
}

/* Marim motion kit: shared by tour sites and proposals. Rules taken from the code-built motion-design prompts
   in awesome-opus5-5-videos: springs without bounce, content swaps with a 12px blur and fade, one idea per move,
   motion is a pure function of time (?mo=end shows the finished state for QA). Gated on .mo-on so no-JS shows everything.
   Variants (data-mo): rise · blur · mask · draw · count. Parent data-mo-stagger="rise|blur" staggers its children. */
:root{--mo-ease:cubic-bezier(.22,1,.36,1);--mo-step:.08s}
.mo-on [data-mo]{opacity:0;transition:opacity .6s var(--mo-ease) var(--mo-d,0s),transform .9s var(--mo-ease) var(--mo-d,0s),filter .6s var(--mo-ease) var(--mo-d,0s),clip-path 1.1s var(--mo-ease) var(--mo-d,0s)}
.mo-on [data-mo=rise]{transform:translateY(22px)}
.mo-on [data-mo=blur]{filter:blur(12px);transform:translateY(8px)}
.mo-on [data-mo=mask]{opacity:1}
.mo-on [data-mo=mask] img{clip-path:inset(0 0 100% 0);transform:scale(1.08);transition:clip-path 1.1s var(--mo-ease) var(--mo-d,0s),transform 1.4s var(--mo-ease) var(--mo-d,0s)}
.mo-on [data-mo=count]{opacity:1;font-variant-numeric:tabular-nums}
.mo-on [data-mo].mo-in{opacity:1;transform:none;filter:none;clip-path:inset(0 0 0 0)}
.mo-on [data-mo=mask].mo-in img{clip-path:inset(0 0 0 0);transform:none}
/* draw: SVG paths trace themselves (pathLength is normalised to 1 by the script) */
.mo-on [data-mo=draw]{opacity:1}
.mo-on [data-mo=draw] .mo-p{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1s var(--mo-ease) calc(var(--mo-d,0s) + .15s)}
.mo-on [data-mo=draw].mo-in .mo-p{stroke-dashoffset:0}
@media(prefers-reduced-motion:reduce){
  .mo-on [data-mo],.mo-on [data-mo] img,.mo-on [data-mo] .mo-p{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important;stroke-dashoffset:0!important;transition:none!important}
}

/* Portitours: brand layer over marim-kit/catalogue. Their orange #e2863f is the action colour (dark text on it, 6.8:1); charcoal carries the type; warm paper separates bands. Outfit for headings, Figtree for the rest. */


:root {
  --font-ui: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-display: "Outfit", "Figtree", system-ui, sans-serif;
  --m-ink: #1e2323;
  --m-ink-soft: #485050;
  --m-paper: #fff;
  --m-surface: #f6f2ec;
  --m-line: rgba(30, 35, 35, .15);
  --m-accent: #e2863f;
  --m-accent-ink: #1a1208;
  --m-accent-deep: #9c4a0b;
  --m-radius: 18px;
  --m-header: 72px;
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; padding-top: var(--m-header); background: #fff; color: var(--m-ink); font: 400 18px/1.55 var(--font-ui); overflow-x: hidden; }
body.is-tour { padding-bottom: 80px; }
@media (min-width: 1001px) { body.is-tour { padding-bottom: 0; } }
img { display: block; max-width: 100%; }
a { color: var(--m-accent-deep); }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--m-accent-deep); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.skip { position: absolute; left: 12px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--m-ink); color: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--m-accent); color: var(--m-accent-ink); font: 700 17px/1 var(--font-ui); text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s; }
.btn:hover { filter: brightness(.95); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header { position: fixed; z-index: 60; inset: 0 0 auto; display: flex; align-items: center; gap: 22px; height: var(--m-header); padding: 0 var(--pad); background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--m-line); box-shadow: 0 4px 18px rgba(30, 35, 35, .06); }
.logo { margin-right: auto; display: flex; align-items: center; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 10px 12px; border-radius: 999px; color: var(--m-ink); font: 600 16px/1.2 var(--font-ui); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--m-surface); }
.tel { display: inline-flex; align-items: center; gap: 8px; color: var(--m-ink); font: 600 16px/1 var(--font-ui); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lang { position: relative; }
.lang summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 999px; font: 600 16px/1 var(--font-ui); cursor: pointer; list-style: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--m-surface); }
.flag { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); flex: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); min-width: 190px; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--m-line); border-radius: 14px; box-shadow: var(--m-shadow); }
.lang li a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--m-ink); font: 600 16px/1.2 var(--font-ui); text-decoration: none; }
.lang li a:hover { background: var(--m-surface); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--m-surface); cursor: pointer; position: relative; }
.menu-btn > span:first-child, .menu-btn > span:first-child::before, .menu-btn > span:first-child::after { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: var(--m-ink); content: ""; transition: transform .2s; }
.menu-btn > span:first-child { top: 21px; }
.menu-btn > span:first-child::before { left: 0; top: -6px; }
.menu-btn > span:first-child::after { left: 0; top: 6px; }
.menu-open .menu-btn > span:first-child { background: transparent; }
.menu-open .menu-btn > span:first-child::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn > span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { position: fixed; z-index: 55; inset: var(--m-header) 0 0; display: none; flex-direction: column; gap: 2px; padding: 12px var(--pad) 32px; background: #fff; overflow-y: auto; }
.menu-open .menu-panel { display: flex; }
.menu-open { overflow: hidden; }
.menu-panel a:not(.btn) { padding: 12px 0; color: var(--m-ink); font: 600 19px/1.3 var(--font-ui); text-decoration: none; border-bottom: 1px solid var(--m-line); }
.menu-h { margin: 18px 0 2px; color: var(--m-ink-soft); font: 600 14px/1.3 var(--font-ui); }
.menu-panel .btn { margin-top: 20px; }
@media (max-width: 1180px) { .nav { display: none; } .menu-btn { display: inline-block; } }
@media (max-width: 640px) {
  :root { --m-header: 64px; }
  .site-header { gap: 8px; }
  .logo img { height: 42px; }
  .tel span { display: none; }
  .lang summary { padding: 0 6px; gap: 6px; }
  .tel { width: 44px; height: 44px; justify-content: center; border-radius: 999px; background: var(--m-surface); }
  .header-book { display: none; }
}

/* ---------- Hero (full-bleed, headline on water) ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(440px, 64vh, 640px); color: #fff; overflow: hidden; isolation: isolate; }
.hero-sm { min-height: clamp(300px, 40vh, 420px); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 16, 14, .08) 30%, rgba(18, 16, 14, .62) 100%), linear-gradient(90deg, rgba(18, 16, 14, .35), rgba(18, 16, 14, 0) 60%); }
.hero-copy { position: relative; width: min(1240px, 100%); padding-top: 48px; padding-bottom: 92px; }
.hero-sm .hero-copy { padding-bottom: 80px; }
.hero-sm .hero-shade { background: linear-gradient(180deg, rgba(18, 16, 14, .2) 0%, rgba(18, 16, 14, .72) 100%); }
.hero h1 { margin: 0; max-width: 15ch; font: 700 clamp(40px, 1.6rem + 3.6vw, 72px)/1.07 var(--font-display); letter-spacing: -.025em; text-shadow: 0 2px 24px rgba(0, 0, 0, .2); }
.hero-sm h1 { font-size: clamp(36px, 1.4rem + 2.6vw, 56px); }
.hero-kicker { margin: 0 0 10px; font: 600 15px/1.3 var(--font-ui); opacity: .95; }
.hero-lede { margin: 14px 0 0; max-width: 44ch; font: 500 clamp(18px, 1rem + .4vw, 21px)/1.45 var(--font-ui); text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero .btn { margin-top: 22px; }
.hero .m-crumbs { color: rgba(255, 255, 255, .92); margin-bottom: 14px; }
.hero .m-crumbs a { color: #fff; }
@media (max-width: 640px) {
  .hero { min-height: 430px; }
  .hero-sm { min-height: 300px; }
  .hero-copy { padding-bottom: 76px; }
  .hero h1 { font-size: 40px; }
  .hero-sm h1 { font-size: 36px; }
  .hero-lede { font-size: 17px; }
  .hero .btn { min-height: 46px; margin-top: 16px; }
}

/* ---------- Finder ---------- */
.finder { position: relative; z-index: 2; padding-bottom: 56px; }
.finder > .wrap > .m-pills { position: relative; margin-top: -46px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(30, 35, 35, .14); }
.finder-title { margin: 28px 0 14px; font: 700 clamp(28px, 1.2rem + 1.4vw, 40px)/1.15 var(--font-display); letter-spacing: -.02em; }
.finder .m-tabs { margin-top: 26px; }
.finder-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 4px; }
.finder-label { color: var(--m-ink-soft); font: 600 15px/1.3 var(--font-ui); }
.finder .m-grid { margin-top: 24px; }
.finder.is-loading .m-card-times { display: none; }
@media (max-width: 640px) {
  .finder > .wrap > .m-pills { margin-top: -40px; padding: 8px; border-radius: 18px; }
  .finder-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
  .finder-filters::-webkit-scrollbar { display: none; }
  .finder-filters .m-seg { flex-wrap: nowrap; }
  .finder-filters .m-seg-btn { flex: none; }
}

/* ---------- Bands ---------- */
.band { padding: clamp(48px, 7vw, 88px) 0; }
.band-sand { background: var(--m-surface); }
.band-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 32px; margin-bottom: 26px; }
.band-head h2 { margin: 0; font: 700 clamp(28px, 1.2rem + 1.4vw, 42px)/1.12 var(--font-display); letter-spacing: -.02em; max-width: 20ch; }
.band-head p { margin: 0; max-width: 52ch; color: var(--m-ink-soft); font-size: 17px; }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile { position: relative; display: block; border-radius: var(--m-radius); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; isolation: isolate; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(18, 16, 14, .72)); }
.tile:hover img { transform: scale(1.05); }
.tile span { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; }
.tile b { font: 700 20px/1.2 var(--font-ui); }
.tile small { font: 500 14px/1.3 var(--font-ui); opacity: .95; }
@media (max-width: 1000px) {
  .tiles { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 42%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
}
@media (max-width: 560px) { .tiles { grid-auto-columns: 62%; } }

.harbours { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.harbour { position: relative; display: block; min-height: 340px; border-radius: var(--m-radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.harbour img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.harbour-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 16, 14, 0) 25%, rgba(18, 16, 14, .55) 55%, rgba(18, 16, 14, .86)); }
.harbour:hover img { transform: scale(1.04); }
.harbour-copy { position: absolute; left: 20px; right: 20px; bottom: 18px; display: grid; gap: 6px; }
.harbour-copy b { font: 700 26px/1.15 var(--font-ui); letter-spacing: -.01em; }
.harbour-copy small { font: 500 16px/1.4 var(--font-ui); }
.harbour-copy em { display: inline-flex; align-items: center; gap: 6px; font: 700 16px/1.2 var(--font-ui); font-style: normal; color: var(--m-accent); }
@media (max-width: 640px) { .harbour { min-height: 260px; } }

.trust { padding: 40px 0; border-top: 1px solid var(--m-line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-grid > div { display: flex; gap: 14px; align-items: flex-start; color: var(--m-accent-deep); }
.trust-grid svg { flex: none; }
.trust-grid p { display: grid; gap: 2px; margin: 0; color: var(--m-ink); }
.trust-grid b { font: 700 17px/1.3 var(--font-ui); }
.trust-grid span, .trust-grid a { color: var(--m-ink-soft); font: 400 16px/1.4 var(--font-ui); }
.trust-grid a { color: var(--m-accent-deep); font-weight: 600; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Tour page ---------- */
.tour-top { padding-top: 22px; }
.m-d-main { min-width: 0; }
.ptable { width: 100%; max-width: 560px; border-collapse: collapse; margin: 0 0 12px; font: 400 16px/1.4 var(--font-ui); font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--m-line); }
.ptable thead th { color: var(--m-ink-soft); font-weight: 600; font-size: 15px; }
.ptable tbody th { font-weight: 600; }
.ptable td { font-weight: 700; }
.m-d-aside .m-book { margin-top: 0; }
@media (max-width: 1000px) {
  .m-d-aside { margin: 20px 0 8px; }
  .m-sections { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); }
}
.band .m-rail { grid-auto-columns: minmax(260px, 1fr); }

.prose { max-width: 820px; padding-top: 26px; padding-bottom: 64px; }
.prose .m-d-title { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--m-ink); color: rgba(255, 255, 255, .9); padding: 56px 0 28px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-grid a { display: block; padding: 4px 0; color: #fff; text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-grid p { margin: 0 0 8px; }
.foot-brand img { height: 78px; width: auto; margin-bottom: 14px; }
.foot-grid .foot-h2 { margin-top: 20px !important; }
.foot-h { margin: 0 0 10px !important; color: var(--m-accent); font: 700 15px/1.3 var(--font-ui); }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.foot-legal p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Portitours additions ---------- */
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .85); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); filter: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-actions .btn { margin-top: 0; }
.logo img { height: 46px; mix-blend-mode: normal; }
.hero h1 { max-width: 17ch; }

/* Next departures: real slots from the booking system, one tap to book that exact time */
.next { margin-top: 22px; max-width: 1000px; }
.next-h { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 15px/1.3 var(--font-ui); }
.next-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--m-accent); box-shadow: 0 0 0 0 rgba(226, 134, 63, .6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226, 134, 63, .6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(226, 134, 63, 0); } }
.next-list { display: flex; gap: 10px; padding: 0; margin: 0; list-style: none; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
.next-list::-webkit-scrollbar { display: none; }
.next-item { flex: none; }
.next-chip { display: grid; gap: 2px; min-width: 172px; padding: 12px 16px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .96); color: var(--m-ink); text-align: left; text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .25s; font-family: var(--font-ui); }
.next-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.next-chip b { font: 700 19px/1.15 var(--font-ui); font-variant-numeric: tabular-nums; }
.next-chip span { font: 600 15px/1.3 var(--font-ui); color: var(--m-ink-soft); }
.next-chip em { font: 700 14px/1.2 var(--font-ui); font-style: normal; color: var(--m-accent-deep); }
.next-skel { width: 172px; height: 78px; border-radius: 16px; background: rgba(255, 255, 255, .22); animation: skel 1.4s ease-in-out infinite alternate; }
@keyframes skel { to { opacity: .45; } }
.next[hidden] { display: none; }

/* Intent tiles: what do you want to do? */
.intents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.intent { position: relative; display: flex; align-items: flex-end; min-height: 200px; padding: 16px; border-radius: var(--m-radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; }
.intent img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.intent::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(18, 16, 14, .78)); }
.intent:hover img { transform: scale(1.06); }
.intent span { display: grid; gap: 2px; }
.intent b { font: 700 24px/1.15 var(--font-display); }
.intent small { font: 500 15px/1.3 var(--font-ui); opacity: .95; }
@media (max-width: 900px) { .intents { grid-template-columns: repeat(2, 1fr); } .intent { min-height: 160px; } .intent b { font-size: 21px; } }

/* Ratings */
.rating { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font: 600 16px/1.3 var(--font-ui); color: var(--m-ink); }
.stars { display: inline-flex; gap: 2px; color: #d96f12; }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.rating a { color: var(--m-accent-deep); }
.rating small { color: var(--m-ink-soft); font: 400 15px/1.3 var(--font-ui); }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rv { display: grid; gap: 10px; align-content: start; padding: 28px; border-radius: var(--m-radius); background: #fff; box-shadow: 0 1px 0 var(--m-line), 0 14px 36px rgba(30, 35, 35, .08); }
.rv-src { margin: 0; font: 700 18px/1.3 var(--font-ui); }
.rv-score { display: flex; align-items: baseline; gap: 12px; }
.rv-score b { font: 700 clamp(52px, 4vw + 1rem, 76px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rv-score .stars svg { width: 24px; height: 24px; }
.rv-line { margin: 0; color: var(--m-ink-soft); font-size: 17px; }
.rv .btn { justify-self: start; margin-top: 6px; background: var(--m-ink); color: #fff; }
.rv .btn:hover { filter: none; background: #000; }
@media (max-width: 760px) { .reviews-grid { grid-template-columns: 1fr; } .rv { padding: 22px; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 24px 22px 22px; border-radius: var(--m-radius); background: #fff; box-shadow: 0 1px 0 var(--m-line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--m-accent); color: var(--m-accent-ink); font: 700 20px/1 var(--font-display); }
.step h3 { margin: 0 0 6px; font: 700 21px/1.25 var(--font-display); }
.step p { margin: 0; color: var(--m-ink-soft); font-size: 17px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Groups, events and gift cards */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: calc(var(--m-radius) + 6px); overflow: hidden; background: var(--m-ink); color: #fff; }
.split-img { min-height: 320px; position: relative; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-copy { display: grid; gap: 14px; align-content: center; padding: clamp(26px, 4vw, 52px); }
.split-copy h2 { margin: 0; font: 700 clamp(28px, 1.2rem + 1.2vw, 40px)/1.15 var(--font-display); letter-spacing: -.02em; }
.split-copy p { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .92); }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-img { min-height: 220px; order: -1; } }
.gift { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 18px; padding: 22px 26px; border-radius: var(--m-radius); background: var(--m-surface); }
.gift p { margin: 0; font: 600 19px/1.4 var(--font-ui); max-width: 52ch; }
.gift .btn { background: var(--m-ink); color: #fff; }

/* Tour page extras */
.tour-rating { margin: 2px 0 14px; }
.pickup { margin: 0; color: var(--m-ink-soft); }
.note-box { margin: 14px 0 0; padding: 14px 16px; border-left: 4px solid var(--m-accent); border-radius: 0 12px 12px 0; background: var(--m-surface); font-size: 17px; }
.m-book-price em { font-style: normal; }
.wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font: 700 16px/1.2 var(--font-ui); color: var(--m-accent-deep); text-decoration: none; }
.wa:hover { text-decoration: underline; }
.m-time small { font: 600 13px/1 var(--font-ui); }
.logo img { background: transparent; mix-blend-mode: multiply; }
.foot-brand .logo-tile { display: inline-block; padding: 8px 14px; margin-bottom: 14px; border-radius: 12px; background: #fff; }
.foot-brand .logo-tile img { height: 44px; width: auto; margin: 0; }

.hero-rating { margin-top: 14px; }
.hero .rating, .hero .rating a { color: #fff; }
.hero .stars { color: #ffb24d; }
.hero .rating small { color: rgba(255, 255, 255, .92); }
.hero .rating a { text-decoration-color: rgba(255, 255, 255, .5); }
@media (max-width: 640px) { .hero { min-height: 520px; } .hero-rating { margin-top: 10px; } .hero .rating { font-size: 15px; } .next { margin-top: 16px; } }

@media (max-width: 560px) { .rating small { display: none; } .rating { gap: 2px 10px; } }

/* Floating pill header */
:root { --m-header: 92px; }
.site-header { inset: 14px 0 auto 0; width: min(1240px, calc(100% - 28px)); margin: 0 auto; height: 64px; padding: 0 10px 0 22px; gap: 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 34px rgba(18, 16, 14, .2); }
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(18, 16, 14, .28); }
.logo img { height: 40px; }
.nav { gap: 4px; }
.nav a { padding: 9px 14px; }
.nav a:hover, .nav a[aria-current] { background: var(--m-surface); }
.tel { padding: 0 14px; height: 44px; border-radius: 999px; background: var(--m-surface); }
.header-book { min-height: 46px; padding: 0 26px; box-shadow: 0 4px 14px rgba(226, 134, 63, .45); }
.is-home { padding-top: 0; }
.is-home .hero-copy { padding-top: 120px; }
.menu-panel { inset: 0; padding-top: 100px; }
@media (max-width: 1180px) { .site-header { padding-left: 18px; } }
@media (max-width: 640px) {
  :root { --m-header: 76px; }
  .site-header { inset: 8px 0 auto 0; width: calc(100% - 16px); height: 56px; padding: 0 8px 0 14px; gap: 6px; }
  .logo img { height: 34px; }
  .tel { padding: 0; width: 42px; height: 42px; }
  .is-home .hero-copy { padding-top: 96px; }
  .menu-panel { padding-top: 84px; }
}
.reviews-grid { grid-template-columns: minmax(0, 620px); }
.site-header, .site-header.is-scrolled { background: #fff; backdrop-filter: none; }

/* ---------- Tour cards: surface + separated booking footer ---------- */
.m-grid { gap: 22px; align-items: stretch; }
.m-card { background: #fff; border: 1px solid var(--m-line); border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(30, 35, 35, .04); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.m-card:hover, .m-card:focus-within { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30, 35, 35, .14); }
.m-card-link { border-radius: 0; }
.m-card-media { border-radius: 0; aspect-ratio: 3 / 2; }
.m-card-body { padding: 16px 18px 14px; gap: 5px; }
.m-card-title { font: 700 clamp(19px, 1.05rem + .3vw, 22px)/1.2 var(--font-display); letter-spacing: -.01em; }
.m-card-line { font-size: 16px; }
.m-card-foot { display: grid; gap: 12px; padding: 14px 18px 16px; border-top: 1px solid var(--m-line); background: #faf7f2; }
.m-card-foot .m-card-times { padding: 0; gap: 8px; }
.m-card-foot .m-card-meta { padding: 0; align-items: center; margin: 0; }
.m-card-foot .m-card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin: 0; text-align: left; white-space: normal; }
.m-card-foot .m-card-price small { display: inline; font-size: 14px; }
.m-card-foot .m-card-price b { font: 700 clamp(22px, 1.1rem + .5vw, 26px)/1.1 var(--font-display); }
.m-card-foot .m-card-dur { flex: none; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--m-line); }
.m-card-foot .m-card-times:not([hidden]) + .m-card-meta { padding-top: 12px; border-top: 1px dashed var(--m-line); }
.m-card-foot .m-card-alt { color: var(--m-ink-soft); }
.m-time { min-height: 44px; padding: 0 16px; box-shadow: 0 2px 6px rgba(226, 134, 63, .35); transition: transform .2s, box-shadow .2s, filter .2s; }
.m-time:hover { transform: translateY(-1px); filter: none; box-shadow: 0 6px 14px rgba(226, 134, 63, .5); }
.m-time--call { box-shadow: inset 0 0 0 1.5px rgba(30, 35, 35, .28); background: #fff; }
.m-time--call:hover { box-shadow: inset 0 0 0 1.5px var(--m-ink); }
.m-time--call small { display: inline-flex; align-items: center; gap: 5px; }
.m-time--call small::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.3a11 11 0 0 0 5.7 5.7l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.5 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.3a11 11 0 0 0 5.7 5.7l1.3-2 4 1.5v3a2 2 0 0 1-2.2 2A16.5 16.5 0 0 1 4.5 5.7a2 2 0 0 1 2-2.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.m-card-link:focus-visible { outline: 3px solid var(--m-accent-deep); outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .m-card, .m-time { transition: none; } .m-card:hover { transform: none; } }

/* Phones: compact rows (image left, facts right, booking footer full width) in the catalogue grid; rails keep tall cards */
@media (max-width: 720px) {
  .m-grid { gap: 14px; }
  .m-grid > .m-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); border-radius: 18px; }
  .m-grid > .m-card .m-card-link { display: contents; }
  .m-grid > .m-card .m-card-media { grid-column: 1; grid-row: 1; aspect-ratio: auto; min-height: 120px; height: 100%; }
  .m-grid > .m-card .m-card-body { grid-column: 2; grid-row: 1; padding: 12px 14px 10px; justify-content: center; }
  .m-grid > .m-card .m-card-title { font-size: 19px; }
  .m-grid > .m-card .m-card-line { font-size: 15px; -webkit-line-clamp: 2; }
  .m-grid > .m-card .m-card-foot { grid-column: 1 / -1; padding: 12px 14px 14px; }
  .m-grid > .m-card:hover { transform: none; }
}
