/* Mantra website prototype. Shared styles for every page.
   Mobile first: base styles are for phones, media queries add tablet and desktop.
   Colors and fonts are set once in :root so they are easy to copy into Wix. */

:root {
  /* Brand colors */
  --sky: #8ECAE6;
  --ocean: #219EBC;
  --navy: #023047;
  --sun: #FFB703;
  --orange: #FB8500;

  /* Supporting tints (lighter versions of the brand colors) */
  --sky-tint: #EEF8FC;
  --sun-tint: #FFF4D6;
  --sand: #FFF9EE;
  --white: #FFFFFF;
  --muted: #3D5A6C;
  --line: #D6E9F2;
  --error: #B42318;

  /* Type */
  --font-head: Avenir, "Avenir Next", "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 28px rgba(2, 48, 71, 0.09);
  --max: 1160px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: var(--ocean); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: color-mix(in srgb, var(--ocean) 60%, var(--navy)); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
::selection { background: var(--sun); color: var(--navy); }
/* Form fields, checkboxes and radios use the brand ocean blue, not the browser's default blue. */
input, textarea, select { caret-color: var(--ocean); accent-color: var(--ocean); }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, blockquote, figcaption { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--sun); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
.skip:hover, .skip:focus { color: var(--navy); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }

/* Bracketed items that still need a real fact. Remove this highlight in Wix. */
.tbc { background: var(--sun-tint); border-radius: 4px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.section--navy .tbc, .hero .tbc, .site-footer .tbc, .next-step .tbc { background: rgba(255, 183, 3, 0.22); color: inherit; }

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.01em; }
/* Logo image: line art with a transparent background (images/logo.png, white version for the footer) */
.logo img { height: 68px; width: auto; }
@media (min-width: 1040px) { .logo img { height: 76px; } }
.logo--footer img { height: 120px; }
.logo:hover { color: var(--navy); }

.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); color: var(--navy); }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -8px; }
.nav-toggle .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }

.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 8px 16px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 13px 4px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 4px 0 0 var(--sun); padding-left: 14px; }
.site-nav .nav-wa { margin-top: 16px; }
.site-nav .nav-wa a { border: 0; display: inline-flex; padding: 12px 22px; }
.btn.header-wa { display: none; }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav a { border: 0; padding: 8px 10px; font-size: 0.97rem; border-radius: 8px; }
  .site-nav a:hover { background: var(--sky-tint); color: var(--navy); }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--sun); padding-left: 10px; border-radius: 0; }
  .site-nav .nav-wa { display: none; }
  .btn.header-wa { display: inline-flex; }
}

/* Floating WhatsApp button on phones and tablets */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; box-shadow: 0 10px 30px rgba(2, 48, 71, 0.3); }
/* Phones: a round WhatsApp icon that covers less of the page. The label stays for screen readers. */
@media (max-width: 699px) {
  .btn.wa-float { width: 56px; height: 56px; min-height: 56px; padding: 0; border-radius: 50%; }
  .btn.wa-float svg { width: 28px; height: 28px; }
  .btn.wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1040px) { .btn.wa-float { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s, transform 0.15s, color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: color-mix(in srgb, var(--orange) 92%, var(--navy)); color: var(--navy); }
.btn--sun { background: var(--sun); color: var(--navy); }
.btn--sun:hover { background: color-mix(in srgb, var(--sun) 94%, var(--navy)); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: color-mix(in srgb, var(--navy) 82%, var(--ocean)); color: var(--white); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--navy); }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 700px) { .section { padding: 80px 0; } }
.section--tint { background: var(--sky-tint); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy a:not(.btn) { color: var(--white); text-decoration-color: var(--sun); }
.section--navy .lead { color: color-mix(in srgb, var(--sky) 35%, var(--white)); }
.section-head { max-width: 700px; margin-bottom: 32px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
/* Small uppercase labels above headings were removed from view (2026-10-23 polish): the headings carry the section.
   The elements stay in the page so the Wix CMS text keys do not shift. */
.eyebrow { display: none !important; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; margin-bottom: 12px; }
/* The category label above the guide article headline is hidden for the same reason. */
.prose > .card__label:first-child { display: none; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--orange); border-radius: 2px; }
.section-foot { margin-top: 32px; }

/* ---------- Image placeholders ----------
   Each figure is a real <img> with alt text and lazy loading.
   Swap images/placeholder.svg for the real photo and delete the PHOTO note. */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--sky); border-radius: var(--radius); }
.ph img, .ph video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-note {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(2, 48, 71, 0.86); color: var(--white);
  font-size: 0.8rem; line-height: 1.35; padding: 7px 10px; border-radius: 8px;
}
/* Hide the PHOTO note once a real photo has been added in the CMS */
.ph--filled .ph-note { display: none; }
.ph-note::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); margin-right: 6px; vertical-align: 1px; }

/* ---------- Home hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 86vh; min-height: 86svh; color: var(--white); background: var(--navy); overflow: hidden; }
.hero .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto !important; background: var(--navy); }
.hero .ph::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(2, 48, 71, 0.25) 0%, rgba(2, 48, 71, 0.68) 45%, rgba(2, 48, 71, 0.94) 100%); }
.hero .ph-note { top: 12px; bottom: auto; right: auto; max-width: 320px; }
.hero-content { position: relative; z-index: 3; padding-top: 140px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.6rem); max-width: 13ch; }
.hero .lead { color: var(--white); font-size: clamp(1.15rem, 2.4vw, 1.4rem); max-width: 38ch; margin-bottom: 28px; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--sun); }
.stars svg { width: 18px; height: 18px; }

/* ---------- Inner page header ---------- */
.page-hero { background: linear-gradient(180deg, var(--sky-tint) 0%, var(--white) 100%); padding: 40px 0 32px; }
@media (min-width: 700px) { .page-hero { padding: 64px 0 40px; } }
.page-hero .lead { margin-bottom: 0; }
.page-hero .lead + .btn-row { margin-top: 24px; }
.crumbs { font-size: 0.92rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.split { display: grid; gap: 32px; align-items: center; }
.icons-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .icons-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--reverse > :first-child { order: 2; }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .icons-grid--6 { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card .ph { border-radius: 0; }
.card__body { display: flex; flex-direction: column; gap: 12px; padding: 22px; flex: 1; }
.card__body > :last-child { margin-top: auto; }
.card h3 { margin: 0; }
.card p { margin: 0; }
.card--big h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); }
.card--big .card__body { padding: 28px; gap: 14px; }
.card__label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }

.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { display: inline-flex; align-items: center; gap: 6px; background: var(--sky-tint); border-radius: 999px; padding: 5px 12px; font-size: 0.9rem; font-weight: 600; }
.facts svg { width: 16px; height: 16px; }
.price { font-variant-numeric: tabular-nums; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; line-height: 1.2; }
.price small { font-family: var(--font-body); font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.price-alt:empty { display: none; }
.price-alt { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--muted); margin-top: 2px; }
/* The booking button, with the link to the tour's own page underneath */
.card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Icon tiles (What we arrange) */
.icon-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; line-height: 1.3; }
.icon-circle { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sky-tint); color: var(--ocean); }
.icon-circle svg { width: 30px; height: 30px; }

/* Review quotes */
.quote { margin: 0; padding: 26px; gap: 14px; }
.quote blockquote { margin: 0; font-size: 1.1rem; }
.quote cite { font-style: normal; font-weight: 700; }
.quote .source { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* Numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sun); color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.section--navy .steps li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); }
.section--navy .steps p { color: color-mix(in srgb, var(--sky) 35%, var(--white)); }

/* Check list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--ocean); margin-top: 2px; }

/* Closing call to action */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
.cta .lead { margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* ---------- Tour detail layout ---------- */
.detail { display: grid; gap: 40px; }
/* Phones and tablets: the booking box sits right under the tour photo instead of after the FAQ. */
@media (max-width: 959px) {
  /* minmax(0, 1fr): the column never grows past the screen, even for a wide video. */
  .detail { gap: 0; grid-template-columns: minmax(0, 1fr); }
  .detail > div:first-child { display: contents; }
  .detail > div:first-child > * { order: 2; }
  .detail > div:first-child > :first-child { order: 0; }
  .detail > aside { order: 1; margin-bottom: 48px; }
}
@media (min-width: 960px) {
  .detail { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; }
  .detail aside { position: sticky; top: 100px; }
}
.factbox { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.factbox dl { display: grid; gap: 14px; margin: 0 0 20px; }
.factbox dt { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.factbox dd { margin: 2px 0 0; font-weight: 700; font-size: 1.1rem; }
.factbox .btn { width: 100%; }
.factbox .note { font-size: 0.9rem; color: var(--muted); margin: 12px 0 0; }
.block { margin-bottom: 48px; }
.block:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 700; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--ocean); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
@media (min-width: 700px) { .form { padding: 32px; } }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--navy);
  padding: 12px 14px; min-height: 48px;
  border: 1.5px solid color-mix(in srgb, var(--sky) 75%, var(--navy)); border-radius: var(--radius-sm); background: var(--white);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--sun); outline-offset: 0; border-color: var(--ocean); }
.field-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }

/* Wix Forms (forms.js) */
.wix-form__form { display: grid; gap: 18px; }
.field-error, .form-error { color: var(--error); font-size: 0.92rem; font-weight: 600; margin: 4px 0 0; }
.field-error:empty, .form-error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-label { font-weight: 700; margin: 0 0 6px; }
.choice-group { display: grid; gap: 8px; }
.choice { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.form-buttons button[disabled] { opacity: 0.6; cursor: progress; }
.form-message { margin: 0; font-weight: 600; }
.form-outcome { display: grid; gap: 14px; justify-items: start; }
.form-outcome p { margin: 0; font-size: 1.1rem; }
.form-loading { display: grid; gap: 14px; margin: 0; }
.form-loading span { display: block; height: 48px; border-radius: var(--radius-sm); background: var(--sky-tint); }
.form-loading span:last-child { width: 45%; border-radius: 999px; }
.wa-result { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-weight: 600; }

/* ---------- Map placeholder ---------- */
.map-ph {
  position: relative; display: grid; place-items: center; text-align: center;
  aspect-ratio: 16 / 10; border-radius: var(--radius); padding: 24px;
  background: var(--sky-tint);
  border: 2px dashed var(--sky);
  font-weight: 700;
}
.map-ph small { display: block; font-weight: 500; color: var(--muted); margin-top: 6px; }

/* ---------- Locations ---------- */
.tag { display: inline-block; background: var(--sun-tint); color: var(--navy); font-size: 0.85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
/* Bold badge for standout places, for example "Most popular" */
.tag--highlight { background: var(--orange); color: var(--navy); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.badge-row { margin: 0; }
.season { padding: 24px; }

/* ---------- Guide article ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.answer { background: var(--sky-tint); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; font-size: 1.15rem; margin-bottom: 28px; }
.answer p:last-child { margin: 0; }
.meta { font-size: 0.95rem; color: var(--muted); }
.next-step { margin-top: 40px; padding: 26px; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.next-step h2 { margin-top: 0; font-size: 1.5rem; }

/* ---------- Contact ---------- */
.contact-card { padding: 26px; }
.contact-card .big { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 56px 0 104px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 1040px) { .site-footer { padding-bottom: 40px; } }
.site-footer a:not(.btn) { color: var(--white); text-decoration-color: var(--sun); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-title { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.9rem; color: color-mix(in srgb, var(--sky) 55%, var(--white)); }

/* ---------- Style guide page only ---------- */
.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.swatch__color { height: 110px; }
.swatch__body { padding: 14px 16px; font-size: 0.95rem; }
.swatch__body strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.sg-row { display: grid; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sg-row code, .sg-label { font-size: 0.85rem; color: var(--muted); font-family: ui-monospace, Menlo, monospace; }
.sg-dark { background: var(--navy); padding: 24px; border-radius: var(--radius); }

/* Comfortable tap targets on phones (2026-10-23 polish): breadcrumbs, footer links and text links. */
@media (max-width: 699px) {
  .crumbs a { display: inline-block; padding: 12px 0; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 11px 0; }
  .text-link { display: inline-block; padding: 12px 0; }
}

/* ---------- Visitor view vs. owner preview (2026-10-23 harden) ----------
   Unconfirmed [bracket] text and PHOTO notes are for the owner, not for guests.
   Visitors: anything holding a [bracket] placeholder is hidden, and a section disappears when
   everything in it is unfinished. Owner preview: add ?preview to a page address (it stays on
   while you browse; ?nopreview turns it off). script.js adds html.mantra-preview. */
html:not(.mantra-preview) .ph-note { display: none; }
/* Visitors never see the placeholder drawing: the box keeps its colour until the real photo has loaded,
   then the photo fades in (cms.js). The owner preview still shows the drawing and its photo note. */
html:not(.mantra-preview) .ph img[src$="placeholder.svg"] { opacity: 0; }
.ph img { transition: opacity 0.35s ease-out; }
.ph img.is-loading { opacity: 0; }
html:not(.mantra-preview) :is(p, li, dd, h2, h3, h4, cite, summary, small, .tag):has(.tbc) { display: none; }
html:not(.mantra-preview) details:has(.tbc) { display: none; }
html:not(.mantra-preview) .factbox dl > div:has(.tbc) { display: none; }
html:not(.mantra-preview) figure.quote:has(.tbc) { display: none; }
html:not(.mantra-preview) .card:has(> .card__body > :is(h2, h3) .tbc) { display: none; }
html:not(.mantra-preview) .map-ph { display: none; }
/* Cards and sections left with only a heading are marked by cms.js (tidyUnfinished). */
html:not(.mantra-preview) .is-unfinished { display: none; }
html:not(.mantra-preview) section:has(> .wrap > .map-ph:only-child) { display: none; }
.preview-banner { display: none; }
html.mantra-preview .preview-banner {
  display: block; position: sticky; top: 0; z-index: 70;
  background: var(--sun); color: var(--navy); text-align: center;
  padding: 8px 16px; font-weight: 700; font-size: 0.9rem;
}
html.mantra-preview .preview-banner a { color: var(--navy); }

/* Featured tour group (Big Sugar on the Tours page): label, heading and card all centred */
.group-badge { text-align: center; margin-bottom: 12px; }
.grid--single { grid-template-columns: minmax(0, 420px); justify-content: center; }

/* Plan your trip (travel guide, 2026-10-26): question and answer pages */
.qa-list { max-width: 68ch; }
.qa > p, .qa .answer > p { max-width: 62ch; }
/* Tour page intro and lists: keep lines near 70 characters on wide screens (2026-10-26 typeset) */
.detail > div > .block > p { max-width: 68ch; }
.qa { padding-top: 8px; margin-bottom: 64px; scroll-margin-top: 96px; }
.qa > h2 { margin-top: 0; }
.qa-label { font-size: 1.1rem; margin: 28px 0 10px; }
.next-step .qa-label { margin-top: 0; color: var(--sun); }
.next-step p { color: color-mix(in srgb, var(--sky) 35%, var(--white)); }
.next-step .btn-row { margin-top: 18px; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap table { font-variant-numeric: tabular-nums; width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--sky-tint); color: var(--navy); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.more-topics { border-top: 1px solid var(--line); padding-top: 32px; }
.more-topics h2 { margin-top: 0; }
.topic-title { font-size: 1.35rem; margin: 0 0 8px; }
.topic-title a { color: var(--navy); display: inline-block; min-height: 44px; padding: 6px 0; }
.topic-grid .card__body ul { padding-left: 1.1em; margin: 12px 0 0; }
.topic-grid .card__body li { margin-bottom: 6px; }
.topic-grid .card__body li a { display: inline-block; min-height: 44px; padding: 8px 0; }

/* Tour card sticker (Blue Tour "Most popular", Friends Tour "Most booked") */
.card:has(> .card-badge) { position: relative; }
.card-badge { position: absolute; top: 12px; left: 12px; z-index: 2; box-shadow: 0 2px 8px color-mix(in srgb, var(--navy) 25%, transparent); }

/* Visitors who ask their device for less motion: no smooth scrolling, no hover lift, no menu-icon animation.
   State changes still show (colors change, the menu still opens). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after, .ph img { transition: none; }
  .btn:hover { transform: none; }
}

/* A tour page's main video in its own shape (2026-10-27): an upright phone video shows whole, centred,
   no taller than most of the screen. contain is the safety net so no edge is ever cut off. */
/* --ar is the video's width / height, set by cms.js. The box is full width for a wide video and narrower for
   an upright one, so its height never passes the screen cap and it never spills past the screen edge. */
.ph.ph--video-fit { width: min(100%, calc(min(78vh, 820px) * var(--ar, 1))); height: auto; margin-inline: auto; background: transparent; }
.ph.ph--video-fit video { object-fit: contain; }
/* Inside a photo pair the video takes the column width at its own shape instead of the screen-height cap. */
.grid .ph.ph--video-fit { width: 100%; height: auto; align-self: start; }

/* ---------- Example trip itineraries (Vacations) ---------- */
.itinerary { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.itinerary li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.itinerary li:first-child { border-top: 0; padding-top: 0; }
.itinerary strong { color: var(--navy); font-family: var(--font-head); font-size: 0.95rem; }
@media (max-width: 420px) { .itinerary li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- About page (2026-10-27) ---------- */
.alon-facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.alon-facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.98rem; }
.alon-facts svg { width: 18px; height: 18px; color: var(--ocean); }
.alon-does { margin: 28px 0 12px; }

/* Google rating panel beside the reviews that name Alon. */
.reviews-band { display: grid; gap: 32px; align-items: start; }
.rating-panel { text-align: center; padding: 32px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.15); }
.rating-panel p { margin: 0; }
.rating-source { font-weight: 700; color: var(--sky); }
.rating-score { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 12vw, 5.5rem); line-height: 1; margin: 10px 0 12px !important; color: var(--white); font-variant-numeric: tabular-nums; }
.stars--big { gap: 6px; }
.stars--big svg { width: 34px; height: 34px; }
.rating-count { margin: 14px 0 22px !important; color: color-mix(in srgb, var(--sky) 35%, var(--white)); }
.reviews-band__quotes h2 { color: var(--white); margin-bottom: 20px; }
.section--navy .quote { color: var(--navy); }
@media (min-width: 960px) {
  .reviews-band { grid-template-columns: minmax(260px, 1fr) 2.4fr; gap: 48px; }
  .rating-panel { position: sticky; top: 100px; }
}

/* Map of where the tours go: drawn in build.py from real outlines and coordinates. */
.route-map { display: grid; gap: 32px; align-items: start; }
.route-map__figure { margin: 0; }
.route-map__svg { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-sea, .map-lake { fill: color-mix(in srgb, var(--sky) 38%, var(--white)); }
.map-lake { stroke: var(--sky); stroke-width: 1; }
.map-land { fill: var(--white); stroke: color-mix(in srgb, var(--ocean) 55%, var(--white)); stroke-width: 1; stroke-linejoin: round; }
.map-land--other { fill: var(--sand); }
.map-volcano { fill: color-mix(in srgb, var(--muted) 45%, var(--white)); }
.map-area { fill: var(--muted); font-family: var(--font-body); font-size: 15px; font-style: italic; text-anchor: middle; }
.map-area--small { font-size: 13px; }
.map-route { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.map-route--water { stroke: var(--ocean); stroke-width: 3; stroke-dasharray: 2 7; }
.map-city, .map-boat { fill: var(--muted); }
.map-boat { fill: var(--ocean); }
.map-city-label { fill: var(--muted); font-family: var(--font-body); font-size: 13px; font-weight: 600; }
.map-stop circle { fill: var(--navy); stroke: var(--white); stroke-width: 3; }
.map-stop--start circle { fill: var(--sun); stroke: var(--navy); }
.map-num { fill: var(--white); font-family: var(--font-head); font-weight: 800; font-size: 15px; text-anchor: middle; }
.map-stop--start .map-num { fill: var(--navy); font-size: 17px; }
.map-label { fill: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 17px; paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round; }
/* The route draws itself once when the map scrolls into view (script.js). Without the script it is simply there. */
.route-map.will-draw .route-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.route-map.is-drawn .route-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(0.22, 1, 0.36, 1); }
/* On a phone the map is drawn at about half size, so its words are drawn larger to stay readable. */
@media (max-width: 599px) {
  .map-label { font-size: 24px; stroke-width: 5px; }
  .map-city-label, .map-area, .map-area--small { font-size: 21px; }
  .map-stop circle { r: 15px; }
  .map-stop--start circle { r: 18px; }
  .map-num { font-size: 20px; }
}
.route-stops { list-style: none; margin: 0; padding: 0; display: grid; }
.route-stops li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 10px; margin: 0 -10px; border-top: 1px solid var(--line); }
.route-stops li:first-child { border-top: 0; padding-top: 10px; }
.route-stops h3 { margin: 4px 0 4px; }
.route-stops p { margin: 0; }
.stop-num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: var(--font-head); font-weight: 800; }
.route-stops li:first-child .stop-num { background: var(--sun); color: var(--navy); }
.stop-tours { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px !important; }
.stop-tours a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.stop-tours a:hover { border-color: var(--ocean); }
@media (min-width: 960px) {
  .route-map { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .route-map__figure { position: sticky; top: 100px; }
}

/* Three real team photos under the local team. */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
@media (min-width: 700px) { .photo-strip { gap: 20px; margin-top: 48px; } }
/* Two more photos of Alon under his introduction: with guests, and in the water. */
.alon-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
@media (min-width: 700px) { .alon-photos { gap: 20px; margin-top: 48px; } }
.cta-note { margin: -12px auto 26px; max-width: 48ch; color: color-mix(in srgb, var(--sky) 35%, var(--white)); font-size: 0.98rem; }

/* Map stops: pointing at a stop in the list lights up its pin on the map, so the two read as one. */
.map-stop circle { transition: fill 0.2s ease-out, r 0.2s ease-out; }
.route-map[data-active] .map-stop.is-active circle { fill: var(--orange); r: 16px; }
.route-map[data-active] .map-stop--start.is-active circle { r: 19px; }
.route-stops li { transition: background-color 0.2s ease-out; border-radius: var(--radius-sm); }
.route-stops li.is-active { background: color-mix(in srgb, var(--sun) 12%, transparent); }
@media (prefers-reduced-motion: reduce) { .map-stop circle, .route-stops li { transition: none; } }

/* About: the two ways to travel, each with the answer families look for. */
.two-way { gap: 14px; }
.two-way h3 { margin: 0; font-size: 1.5rem; }
.two-way p { margin: 0; }
.two-way__fit { padding-top: 14px; border-top: 1px solid var(--line); }
.two-way__fit h4 { font-size: 1.125rem; margin: 0 0 6px; }
.two-way__fit .stop-tours { margin-top: 4px !important; }
.two-way > p:last-child { margin-top: auto; padding-top: 6px; }

/* ---------- Mantra's two services (2026-10-27) ----------
   One lockup for both, so they read as one family: small MANTRA, large service name.
   Each service keeps one colour wherever it appears: Tours = ocean blue, Vacations = sun on navy. */
.svc-name { margin: 0; line-height: 1; }
.svc-name__brand { display: block; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.svc-name__line { display: block; font-size: clamp(2rem, 4.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; }
.svc-pick { font-weight: 700; font-size: 1.1rem; line-height: 1.4; }
.svc { border-top: 5px solid var(--svc-colour); }
.svc--tours { --svc-colour: var(--ocean); }
.svc--tours .svc-name__line { color: color-mix(in srgb, var(--ocean) 78%, var(--navy)); }
.svc--vacations { --svc-colour: var(--sun); background: var(--navy); border-color: var(--navy); border-top-color: var(--sun); color: var(--white); }
.svc--vacations .svc-name__brand { color: color-mix(in srgb, var(--sky) 55%, var(--white)); }
.svc--vacations .svc-name__line { color: var(--sun); }
.svc--vacations p, .svc--vacations .price small, .svc--vacations h4 { color: color-mix(in srgb, var(--sky) 25%, var(--white)); }
.svc--vacations .svc-pick, .svc--vacations .price span { color: var(--white); }
.svc--vacations .two-way__fit { border-top-color: rgba(255, 255, 255, 0.18); }
.two-way .svc-name__line { font-size: clamp(1.8rem, 3.5vw, 2.2rem); }
