/* ==========================================================================
   PedalLanka — design system
   Mobile-first. Breakpoints: 720px (tablet), 1024px (desktop).
   ========================================================================== */

:root {
  /* palette */
  --sand: #faf6ef;
  --paper: #ffffff;
  --ink: #15211e;
  --muted: #4e5d57;
  --jungle: #0b3b36;
  --jungle-2: #11524a;
  --teal: #0e7c6b;
  --teal-soft: #e2f0eb;
  --amber: #f5a524;
  --amber-deep: #c97d08;
  --amber-soft: #fdf0d7;
  --coral: #e2593f;
  --coral-soft: #fbe7e1;
  --line: #e7dfd1;
  --line-2: #d8cfbe;

  /* shape + depth */
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;
  --sh-s: 0 2px 8px rgba(11, 59, 54, 0.06);
  --sh-m: 0 10px 28px rgba(11, 59, 54, 0.10);
  --sh-l: 0 24px 60px rgba(11, 59, 54, 0.16);

  /* type */
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --w: 1120px;
}

/* ---- base ------------------------------------------------------------ */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchored/focused elements clear of the sticky tab bar and mini summary */
  scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

p { margin: 0 0 1em; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }

.container { width: min(var(--w), 100% - 2.25rem); margin-inline: auto; }

.section { padding: 3.25rem 0; }
.section--tight { padding: 2.25rem 0; }

.section-head { max-width: 40rem; margin-bottom: 1.75rem; }
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--amber-soft);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.9rem;
}
.kicker--light { color: #ffd98a; background: rgba(255, 255, 255, 0.12); }

.lead { font-size: 1.08rem; color: var(--muted); }

/* ---- buttons + chips -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--amber); color: var(--jungle); box-shadow: 0 6px 20px rgba(245, 165, 36, 0.45); }
.btn--primary:hover { background: #ffb63e; }

.btn--dark { background: var(--jungle); color: #fff; }
.btn--dark:hover { background: var(--jungle-2); }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.btn--ghost-light { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }

.btn--sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
}
.chip--teal { background: var(--teal-soft); color: var(--teal); border-color: transparent; }
.chip--amber { background: var(--amber-soft); color: var(--amber-deep); border-color: transparent; }
.chip--coral { background: var(--coral-soft); color: var(--coral); border-color: transparent; }
.chip--dark { background: var(--jungle); color: #fff; border-color: transparent; }

/* ---- header (desktop nav) ---------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--jungle);
  text-decoration: none !important;
}
.brand__mark { width: 34px; height: 34px; border-radius: 10px; background: var(--jungle); display: grid; place-items: center; }
.brand__mark svg { width: 24px; height: 24px; }
.brand em { font-style: normal; color: var(--teal); }

.topnav { display: none; align-items: center; gap: 0.25rem; }
.topnav a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.topnav a:hover { background: var(--teal-soft); text-decoration: none; }
.topnav a.is-active { background: var(--jungle); color: #fff; }
.topbar .btn { display: none; }

/* ---- mobile tab bar ----------------------------------------------------- */

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.35rem 0;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar .tabbar__ico {
  height: 26px;
  display: grid;
  place-items: center;
}
.tabbar a.is-active { color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); border-radius: 8px 8px 10px 10px; }

body { padding-bottom: 74px; } /* room for the tab bar on mobile */

/* ---- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(14, 124, 107, 0.16), transparent 60%),
    radial-gradient(40rem 24rem at -20% 110%, rgba(245, 165, 36, 0.14), transparent 60%),
    var(--sand);
  padding: 2.25rem 0 2.5rem;
}
.hero .container { position: relative; z-index: 1; }

.hero h1 em { font-style: normal; color: var(--teal); }
.hero__sub { font-size: 1.12rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; max-width: 30rem; }
.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 0.8rem 0.9rem;
  box-shadow: var(--sh-s);
}
.stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--jungle); }
.stat span { font-size: 0.78rem; color: var(--muted); line-height: 1.3; display: block; }

.island-wrap {
  position: relative;
  margin: 1.5rem auto 0;
  max-width: 340px;
}
.island-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.4rem;
}
.island-legend i { display: inline-block; width: 18px; height: 0; border-top: 3px solid; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

.route-dash { stroke-dasharray: 6 7; animation: dashmove 18s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -260; } }

.pulse-dot { animation: pulsering 2.2s ease-out infinite; transform-origin: center; }
@keyframes pulsering {
  0% { opacity: 0.9; r: 4; }
  70% { opacity: 0; r: 13; }
  100% { opacity: 0; r: 13; }
}

/* ---- trust strip ---------------------------------------------------------- */

.truststrip {
  background: var(--jungle);
  color: #fff;
  padding: 0.9rem 0;
  font-size: 0.82rem;
}
.truststrip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  justify-content: center;
}
.truststrip span { display: inline-flex; align-items: center; gap: 0.45rem; opacity: 0.92; }
.truststrip svg { width: 16px; height: 16px; color: var(--amber); flex: none; }

/* ---- how it works ---------------------------------------------------------- */

.steps { display: grid; gap: 1rem; }
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 1.4rem 1.4rem 1.2rem;
  position: relative;
  box-shadow: var(--sh-s);
}
.step__n {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---- route cards ------------------------------------------------------------ */

.grid { display: grid; gap: 1.1rem; }
.route-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-s);
  display: flex;
  flex-direction: column;
}
.route-card__bar { height: 7px; }
.route-card__body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.route-card__meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.route-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; border-block: 1px dashed var(--line-2); padding-block: 0.7rem; }
.route-card__facts div b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.route-card__facts div span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.route-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.route-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 700; color: var(--jungle); }
.price small { font-weight: 500; color: var(--muted); font-family: var(--font-body); font-size: 0.78rem; }

.stage-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin-top: 0.4rem; }
.stage-table th { text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
.stage-table td { padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.stage-table tr:last-child td { border-bottom: 0; }
.stage-table .stage-day { font-family: var(--font-display); font-weight: 700; color: var(--teal); white-space: nowrap; }

details.stages { margin-top: 0.6rem; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
details.stages summary {
  cursor: pointer;
  list-style: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal);
  background: var(--teal-soft);
}
details.stages summary::-webkit-details-marker { display: none; }
details.stages[open] summary { border-bottom: 1px solid var(--line); }
details.stages .stage-table { padding: 0 0.6rem 0.6rem; }
details.stages td, details.stages th { padding-inline: 0.4rem; }

/* ---- service cards ------------------------------------------------------------ */

.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 1.35rem;
  box-shadow: var(--sh-s);
}
.svc-card__ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  background: var(--teal-soft);
  color: var(--teal);
}
.svc-card__ico svg { width: 24px; height: 24px; }
.svc-card--alert .svc-card__ico { background: var(--coral-soft); color: var(--coral); }
.svc-card--amber .svc-card__ico { background: var(--amber-soft); color: var(--amber-deep); }
.svc-card h3 { font-size: 1.05rem; }
.svc-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.svc-card ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.88rem; }

/* ---- season strip --------------------------------------------------------------- */

.season-strip {
  background: var(--jungle);
  border-radius: var(--r-xl);
  color: #fff;
  padding: 1.6rem 1.4rem;
  background-image: radial-gradient(30rem 14rem at 90% 0%, rgba(245, 165, 36, 0.22), transparent 65%);
}
.season-strip h2 { color: #fff; }
.season-strip .seasons { display: grid; gap: 0.7rem; }
.season {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-m);
  padding: 0.8rem 1rem;
}
.season b { font-family: var(--font-display); white-space: nowrap; }
.season span { font-size: 0.85rem; opacity: 0.85; }

/* ---- pricing ------------------------------------------------------------------ */

.price-cards { display: grid; gap: 1rem; }
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--sh-s);
  display: flex;
  flex-direction: column;
}
.price-card--hero { border: 2px solid var(--amber); box-shadow: var(--sh-m); position: relative; }
.price-card--hero::before {
  content: "Most popular";
  position: absolute;
  top: -13px;
  left: 1.4rem;
  background: var(--amber);
  color: var(--jungle);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
}
.price-card .amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 700; color: var(--jungle); line-height: 1; }
.price-card .amount small { font-size: 0.95rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.price-card ul { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; display: grid; gap: 0.55rem; font-size: 0.92rem; color: var(--muted); }
.price-card li { display: flex; gap: 0.55rem; align-items: flex-start; }
.price-card li svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---- quotes ------------------------------------------------------------------ */

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 1.4rem;
  box-shadow: var(--sh-s);
}
.quote-card .stars { color: var(--amber); letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 0.6rem; }
.quote-card blockquote { margin: 0 0 1rem; font-size: 0.97rem; }
.quote-card figcaption { font-size: 0.82rem; color: var(--muted); }
.quote-card figcaption b { color: var(--ink); }

/* ---- CTA band ------------------------------------------------------------------ */

.cta-band {
  background-image:
    radial-gradient(26rem 12rem at 85% 10%, rgba(245, 165, 36, 0.25), transparent 60%),
    linear-gradient(135deg, var(--jungle), var(--teal));
  color: #fff;
  border-radius: var(--r-xl);
  padding: 2.5rem 1.6rem;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 34rem; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin-bottom: 0; }

/* ---- footer ------------------------------------------------------------------ */

.site-footer { background: var(--jungle); color: rgba(255, 255, 255, 0.85); padding: 2.75rem 0 3.5rem; font-size: 0.9rem; margin-top: 3.5rem; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.8rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); display: inline-block; padding: 0.32rem 0; }
.site-footer .cols { display: grid; gap: 1.75rem; }
.site-footer .brand { color: #fff; }
.site-footer small { display: block; margin-top: 2rem; color: rgba(255, 255, 255, 0.55); font-size: 0.75rem; line-height: 1.5; }

/* ---- filter chips (tours page) ------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filters .chip { cursor: pointer; transition: all 0.12s ease; padding: 0.45rem 0.95rem; font-size: 0.86rem; }
.filters .chip:hover { border-color: var(--teal); }
.filters .chip.is-on { background: var(--jungle); color: #fff; border-color: var(--jungle); }

/* ---- planner ------------------------------------------------------------------ */

.plan-layout { display: grid; gap: 1.25rem; }
.planner h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 0.6rem; }
.planner h2 .chip { font-size: 0.7rem; }

.opt-list { display: grid; gap: 0.75rem; }
.opt {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--r-m);
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.opt:hover { border-color: var(--line-2); }
.opt.is-on { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 124, 107, 0.14); }
.opt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.opt__head b { font-family: var(--font-display); font-size: 1.02rem; }
.opt__head span { color: var(--teal); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }
.opt p { margin: 0.25rem 0 0; font-size: 0.85rem; color: var(--muted); }
.opt__mini { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.35rem; }
.field input, .field select {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-s);
  border: 1.5px solid var(--line-2);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.summary-card {
  background: var(--jungle);
  color: #fff;
  border-radius: var(--r-l);
  padding: 1.4rem;
  position: sticky;
  top: 84px;
}
.summary-card h3 { color: #fff; font-size: 1.05rem; }
.summary-card dl { margin: 0; font-size: 0.88rem; }
.summary-card dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.2); }
.summary-card dt { opacity: 0.8; }
.summary-card dd { margin: 0; font-weight: 600; text-align: right; }
.summary-card .total { border-bottom: 0; padding-top: 0.8rem; }
.summary-card .total dt { font-family: var(--font-display); font-size: 1.05rem; opacity: 1; }
.summary-card .total dd { font-family: var(--font-display); font-size: 1.45rem; color: var(--amber); }
.summary-card .btn { margin-top: 1rem; }
.summary-card .season-note { font-size: 0.78rem; opacity: 0.85; margin: 0.8rem 0 0; line-height: 1.45; }

.saved-plans { display: grid; gap: 0.75rem; }
.saved-plan {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.saved-plan b { font-family: var(--font-display); }
.saved-plan .meta { font-size: 0.8rem; color: var(--muted); }
.saved-plan button { border: 0; background: none; color: var(--coral); font-weight: 600; cursor: pointer; font-size: 0.82rem; padding: 0.25rem 0.4rem; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
  max-width: min(92vw, 26rem);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.toast button {
  border: 0;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  font-size: 0.85rem;
  cursor: pointer;
  flex: none;
}

.install-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--amber);
  color: var(--jungle);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
}

/* ---- real map (Leaflet) --------------------------------------------------- */

.map-wrap {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-m);
  background: var(--teal-soft);
}
.map-wrap--tall { height: 480px; }
.map-wrap--mini { height: 300px; }
@media (max-width: 719px) { .map-wrap--tall { height: 400px; } }
.map-wrap .leaflet-container { height: 100%; width: 100%; background: #dceee8; }
/* Leaflet controls: match the design system */
.map-wrap .leaflet-control-zoom a {
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 12px !important;
  font-size: 1.1rem;
}
.map-wrap .leaflet-control-layers {
  border-radius: 12px;
  overflow: hidden;
}
.map-wrap .leaflet-control-layers label {
  font-size: 0.85rem;
  padding: 0.3rem 0.4rem;
  margin: 0;
}
.map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  justify-content: center;
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 6px; vertical-align: middle; }

.leaflet-container .leaflet-popup-content { font-family: var(--font-body); font-size: 0.85rem; line-height: 1.45; }
.leaflet-container .leaflet-popup-content b { font-family: var(--font-display); }

/* ---- concierge contact: WhatsApp ------------------------------------------ */

.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  border: 2.5px solid #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.15s ease;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; }

@media (min-width: 1024px) {
  .wa-fab { bottom: 1.25rem; }
}

.btn--wa {
  background: #25d366;
  color: #06331a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.btn--wa:hover { background: #2fe173; }

/* ---- beyond-Colombo transport cards --------------------------------------- */

.dest-card__transport { display: grid; gap: 0.75rem; }
.transport-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 1rem 1.1rem;
  box-shadow: var(--sh-s);
}
.transport-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.transport-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.transport-card .negotiable {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-deep);
  background: var(--amber-soft);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

/* ---- mini summary bar (planner, mobile) ---------------------------------- */

.mini-summary {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  background: var(--jungle);
  color: #fff;
  border-radius: 16px;
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  box-shadow: var(--sh-l);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  cursor: pointer;
}
.mini-summary.is-on { transform: translateY(0); opacity: 1; }
.mini-summary__info b { font-family: var(--font-display); font-size: 0.95rem; display: block; }
.mini-summary__info span { font-size: 0.72rem; opacity: 0.8; }
.mini-summary__total { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--amber); white-space: nowrap; }
.mini-summary__total small { display: block; font-size: 0.66rem; color: #fff; opacity: 0.75; font-weight: 500; text-align: right; }

/* ---- stepper ---------------------------------------------------------------- */

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--r-s); overflow: hidden; background: var(--paper); }
.stepper button {
  width: 46px; height: 46px;
  border: 0; background: var(--teal-soft); color: var(--teal);
  font-size: 1.4rem; font-weight: 700; cursor: pointer;
}
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 3.2rem; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

/* ---- empty state + misc UX --------------------------------------------------- */

.empty-state { text-align: center; padding: 2.2rem 1rem; color: var(--muted); }
.empty-state .btn { margin-top: 0.9rem; }

.season-hint { font-size: 0.82rem; margin-top: 0.4rem; line-height: 1.45; }
.season-hint.ok { color: var(--teal); }
.season-hint.warn { color: var(--amber-deep); }

.trust-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.8rem; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -48px;
  z-index: 100;
  background: var(--jungle);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.field input, .field select { font-size: 1rem; }

details.stages summary { display: flex; justify-content: space-between; align-items: center; }
details.stages summary::after { content: "▾"; transition: transform 0.15s ease; }
details.stages[open] summary::after { transform: rotate(180deg); }

@media (min-width: 720px) {
  .mini-summary { display: none; }
}

@media (max-width: 719px) {
  /* let planner content scroll fully clear of the mini summary + tab bar */
  .plan-layout { padding-bottom: 92px; }
}

/* ---- adventure page ------------------------------------------------------------- */

.adv-hero {
  border-radius: var(--r-l);
  padding: 1.6rem 1.4rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.adv-hero h3 { color: #fff; margin: 0; }
.adv-hero p { margin: 0; font-size: 0.92rem; opacity: 0.92; }
.adv-grid { display: grid; gap: 0.9rem; }

/* ---- tables (services) ------------------------------------------------------------ */

.rate-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--paper); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-s); }
.rate-table th { background: var(--jungle); color: #fff; text-align: left; padding: 0.7rem 0.9rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.rate-table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.rate-table tr:last-child td { border-bottom: 0; }
.rate-table td:last-child { font-weight: 700; white-space: nowrap; color: var(--jungle); }

/* ---- utilities ------------------------------------------------------------------ */

.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.note { font-size: 0.8rem; color: var(--muted); }
.hide { display: none !important; }

/* reveal: hidden only when JS is present AND the user allows motion */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
  html.js .reveal.in { opacity: 1; transform: none; }
}

/* ---- breakpoints ------------------------------------------------------------------ */

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .price-cards { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 2.5rem; }
  .island-wrap { margin: 0; max-width: 420px; }
  .plan-layout { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .topnav { display: flex; }
  .topbar .btn { display: inline-flex; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 4.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
