/* ClickMyGuide — design system
   Palette: orange primary, navy ink, teal accent, cream hero, mint success. */
:root {
  /* Brand palette — matched to the ClickMyGuide logo (blue + orange + green) */
  --orange: #f48120;
  --orange-dark: #db6408;
  --orange-deep: #b85606;
  /* Small text / icon orange — passes WCAG AA on white and cream */
  --orange-text: #ad5605;
  --orange-soft: #fdeede;
  --blue: #0a5bc4;          /* "Click" */
  --blue-dark: #064a9f;
  --blue-soft: #e8f1fc;
  --green: #0a9d38;         /* "Guide" */
  --green-dark: #077f2d;
  --green-soft: #e4f6ea;
  --teal: #14a085;
  --teal-dark: #0f7f6a;
  --teal-soft: #e4f7f2;
  /* Deep blue-navy used for ink, footer + dark surfaces */
  --navy: #14263f;
  --navy-2: #1c3a68;
  --cream: #fef4ea;
  --cream-2: #fff9f2;
  --mint: var(--green-soft);
  --mint-ink: var(--green-dark);
  --ink: #1e2b40;
  --muted: #64748b;
  --line: #e7ebf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --shadow: 0 6px 24px rgba(20, 38, 63, .07);
  --shadow-lg: 0 18px 48px rgba(20, 38, 63, .12);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 'Outfit', var(--sans);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--bg); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.3px; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
/* Keyboard accessibility — visible focus ring in brand blue */
a:focus-visible, button:focus-visible, .btn:focus-visible, .chip:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(10, 91, 196, .35); outline-offset: 2px; border-radius: 6px;
}
img { max-width: 100%; display: block; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff;
  padding: .7em 1.2em; border-radius: 0 0 10px 10px; font-family: var(--head); font-weight: 600; transition: top .15s; }
.skip-link:focus { top: 0; text-decoration: none; color: #fff; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; width: 100%; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 700; color: var(--orange-text); font-family: var(--head); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--head); font-weight: 600; font-size: .96rem;
  padding: .72em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: .16s ease; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange-dark); color: #fff; box-shadow: 0 4px 12px rgba(244, 122, 23, .28); }
.btn-primary:hover { background: var(--orange-deep); color: #fff; box-shadow: 0 6px 16px rgba(244, 122, 23, .34); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-text); }
.btn-outline { background: transparent; color: var(--orange-text); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange-soft); color: var(--orange-text); }
.btn-block { width: 100%; }
.btn-lg { padding: .9em 1.7em; font-size: 1.05rem; }
.btn-sm { padding: .5em .95em; font-size: .85rem; }

/* ── Badges / chips ──────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: .35em; font-size: .74rem; font-weight: 700;
  padding: .3em .7em; border-radius: 999px; font-family: var(--head); letter-spacing: .2px; }
.badge-featured { background: var(--orange-deep); color: #fff; }
.badge-video { background: #2f5d8c; color: #fff; }
.badge-live { background: var(--mint); color: var(--mint-ink); }
.badge-pending { background: #fff3e0; color: #8a5a10; }
.badge-draft { background: #eef1f6; color: var(--muted); }
.badge-expired { background: #fde7e7; color: #c0392b; }
.badge-cat { background: var(--orange-soft); color: var(--orange-text); }
.badge-lic { background: var(--teal-soft); color: var(--teal-dark); }
.chip { display: inline-block; padding: .5em 1.1em; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; color: var(--navy); font-weight: 600; font-family: var(--head); font-size: .9rem;
  cursor: pointer; transition: .15s; }
.chip:hover { border-color: var(--orange); text-decoration: none; color: var(--orange-text); }
.chip.active { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }

/* ── Header / nav ────────────────────────────────────── */
.site-header { background: rgba(255,255,255,.92); border-bottom: 1px solid transparent; position: sticky; top: 0; z-index: 40;
  backdrop-filter: saturate(1.2) blur(10px); transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.is-scrolled { border-bottom-color: #eee3d6; box-shadow: 0 8px 28px rgba(20, 38, 63, .06); }
.nav { display: flex; align-items: center; gap: 1rem; padding: 12px 0; position: relative; }
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0; font-family: var(--head);
  color: var(--navy); text-decoration: none; line-height: 1.05; flex: none; }
.brand:hover { text-decoration: none; }
.brand-wordmark { font-size: 1.45rem; font-weight: 800; letter-spacing: -.4px; }
.brand-wordmark .wm-click { color: var(--blue); }
.brand-wordmark .wm-my { color: var(--orange); }
.brand-wordmark .wm-guide { color: var(--green); }
.brand-tagline { font-family: var(--sans); font-size: .58rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px; white-space: nowrap; }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--orange);
  display: grid; place-items: center; color: #fff; font-size: 1rem; }
.brand-logo { height: 72px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 52px; } .brand-wordmark { font-size: 1.2rem; } .brand-tagline { font-size: .5rem; } }
.nav-links { display: flex; gap: .55rem; margin-left: auto; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { color: #5f6b7c; font-weight: 600; font-size: .84rem; white-space: nowrap; letter-spacing: .01em;
  padding: .35em .45em; border-radius: 8px; }
.nav-links a:hover { color: var(--navy); text-decoration: none; background: rgba(20, 38, 63, .04); }
.nav-links a.active { color: var(--navy); font-weight: 700; background: rgba(244, 129, 32, .08); }
.nav-links .nav-b2b { margin-left: .35rem; color: #fff !important; box-shadow: 0 4px 14px rgba(244,129,32,.28);
  padding: .5em 1em !important; background: var(--orange-dark) !important; }
.nav-links .nav-b2b:hover { background: var(--orange-deep) !important; }
.nav-logout { display: inline; margin: 0; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ── Hero ────────────────────────────────────────────── */
.hero { background: linear-gradient(180deg, #fff8f0 0%, #ffe8d2 100%); padding: 62px 0 54px; text-align: center; position: relative; overflow: hidden; }
.hero-home { padding: 56px 0 64px; min-height: clamp(560px, 82vh, 720px); display: flex; align-items: center; }
.hero-art { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center 40%;
  transform: scale(1.02); animation: heroDrift 22s ease-in-out infinite alternate; }
.hero-veil { position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,248,240,.88) 0%, rgba(255,236,214,.78) 42%, rgba(255,228,200,.9) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.35), transparent 55%); }
/* Photo hero — light veil so the admin image actually shows through */
.hero-has-photo {
  background: #1c2a3d;
}
.hero-has-photo .hero-photo {
  filter: brightness(.92) saturate(1.05);
  opacity: 1;
}
.hero-has-photo .hero-veil {
  background:
    linear-gradient(180deg,
      rgba(10, 18, 32, .58) 0%,
      rgba(10, 18, 32, .48) 38%,
      rgba(10, 18, 32, .40) 62%,
      rgba(255, 244, 232, .78) 100%);
}
.hero-has-photo .hero-copy {
  max-width: 820px;
  margin: 0 auto 1.6rem;
  padding: 20px 24px 16px;
  border-radius: 18px;
  background: rgba(8, 16, 28, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
}
.hero-has-photo h1 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.hero-has-photo h1 .accent {
  color: #ffb05a;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.hero-has-photo .lede {
  color: #fff !important;
  opacity: 1;
  text-shadow: none;
  max-width: 560px;
  margin-bottom: .35rem;
  font-weight: 500;
}
.hero-has-photo .hero-pill {
  background: rgba(255, 255, 255, .95);
  color: var(--orange-text);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.hero-has-photo .searchbar {
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  border-color: rgba(255, 255, 255, .9);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy { margin: 0 auto 1.4rem; }
.hero-pill { display: inline-flex; align-items: center; gap: .4em; padding: .48em 1.1em; border-radius: 999px;
  border: 1.5px solid rgba(244,129,32,.42); background: rgba(255,255,255,.72); color: var(--orange-dark);
  font-family: var(--head); font-weight: 600; font-size: .86rem; margin-bottom: 1.05rem; backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(244,129,32,.08); }
.hero h1 { max-width: 860px; margin: .1em auto .4em; font-weight: 800; letter-spacing: -.6px;
  text-wrap: balance; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { max-width: 560px; margin: 0 auto 1.85rem; font-size: 1.08rem; color: #5c6b80; text-wrap: pretty; }
.searchbar { background: rgba(255,255,255,.96); border-radius: 20px; box-shadow: 0 20px 50px rgba(20, 38, 63, .14);
  padding: 20px 20px 18px; max-width: 940px; margin: 0 auto; border: 1px solid rgba(255,255,255,.8); }
.searchbar-stack { display: flex; flex-direction: column; gap: 14px; }
.search-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; }
.search-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.search-submit { min-width: min(100%, 360px); width: min(100%, 420px); border-radius: 12px;
  box-shadow: 0 8px 22px rgba(20,160,133,.28); }
.btn-teal:hover { box-shadow: 0 10px 26px rgba(20,160,133,.34); }
.more-filters { border-radius: 999px; padding: .55em 1.45em; background: #fff7ef; }
.searchbar .field { text-align: left; }
.searchbar label { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: 1.2px;
  color: #8090a3; font-weight: 700; margin: 0 0 6px 4px; }
.searchbar select, .searchbar input { width: 100%; border: 1px solid #e5ebf3; border-radius: 11px;
  padding: .78em .9em; font-size: .95rem; font-family: var(--sans); background: #fff; color: var(--ink);
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 2em; transition: border-color .15s, box-shadow .15s; }
.searchbar select:hover, .searchbar input:hover { border-color: #cfd8e6; }
.searchbar select:focus, .searchbar input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20,160,133,.15); outline: none; }

/* Trust props under hero */
.trust-props { background: #fff; padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 6px 10px;
  position: relative; }
.trust-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.trust-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-soft); color: var(--orange-dark); margin-bottom: .35rem; }
.trust-item:nth-child(2) .trust-ico { background: var(--teal-soft); color: var(--teal-dark); }
.trust-item:nth-child(3) .trust-ico { background: var(--blue-soft); color: var(--blue); }
.trust-item:nth-child(4) .trust-ico { background: var(--green-soft); color: var(--green-dark); }
.trust-item strong { font-family: var(--head); color: var(--navy); font-size: 1.02rem; font-weight: 700; }
.trust-item span { color: var(--muted); font-size: .9rem; }
.trust-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem 2.4rem; margin-top: 1.8rem; }
.trust-strip span { color: var(--teal-dark); font-weight: 600; font-size: .95rem; display: inline-flex; gap: .4em; align-items: center; }
.link-all { font-family: var(--head); font-weight: 600; color: var(--teal); font-size: .98rem; }
.link-all:hover { color: var(--teal-dark); text-decoration: none; }
.featured-section { padding-top: 48px; }
.section-intro { margin-bottom: 34px; max-width: 640px; margin-left: auto; margin-right: auto; }
.section-intro h2 { margin-bottom: .35em; }
.section-intro .muted { margin: 0; }

/* Guest stories */
.stories-section { background: #fff; padding-top: 20px; }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card { margin: 0; background: var(--cream-2); border: 1px solid #f0e4d6; border-radius: 18px;
  padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.story-card p { margin: 0; color: var(--ink); font-size: 1.02rem; line-height: 1.55; flex: 1; }
.story-card footer { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; color: var(--muted); }
.story-card footer strong { color: var(--navy); font-family: var(--head); font-size: .95rem; }
.story-card footer a { color: var(--teal); }
.story-stars { color: #d7dde7; letter-spacing: 2px; font-size: 1rem; line-height: 1; }
.story-stars .on { color: var(--orange); }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.08) translate3d(0,-1.2%,0); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: riseIn .7s ease both; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo, .reveal, .tour-card { animation: none !important; transition: none !important; }
}

/* ── Sections ────────────────────────────────────────── */
section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.6rem; gap: 1rem; flex-wrap: wrap; }
.section-head .eyebrow { display: block; margin-bottom: .3rem; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--cream-2); }

/* ── Tour card grid ──────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tour-card { background: #fff; border: 1px solid rgba(20, 38, 63, .08); border-radius: 16px;
  overflow: hidden; box-shadow: 0 8px 24px rgba(20, 38, 63, .06); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20, 38, 63, .12); }
.tour-card .thumb { aspect-ratio: 3/2; position: relative; background: var(--cream); overflow: hidden; display: block; }
.tour-card .thumb-wrap { position: relative; }
.tour-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .45s ease; }
.tour-card:hover .thumb img { transform: scale(1.04); }
.tour-card .thumb .placeholder { width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.7), transparent 45%),
    linear-gradient(145deg, var(--ph-c), var(--ph-a)); }
.tour-card .thumb .ph-art { width: 68%; max-width: 180px; height: auto; }
.tour-card .thumb .ph-label { font-family: var(--head); font-weight: 700; font-size: .72rem;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--ph-b); opacity: .9; }
.tour-card .badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.tour-card .card-video-btn { cursor: pointer; border: 0; font: inherit; }
.tour-card .card-video-btn:hover { filter: brightness(1.08); }
.tour-card .card-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.94); color: var(--navy); box-shadow: 0 10px 28px rgba(20,38,63,.28);
  display: grid; place-items: center; transition: transform .15s ease, background .15s ease;
}
.tour-card .card-play:hover { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.tour-card .card-play-icon { font-size: 1.05rem; margin-left: 2px; line-height: 1; }
.tour-card .body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: .42rem; flex: 1; }
.tour-card .meta-row { display: flex; gap: .35rem; align-items: center; font-size: .78rem; color: var(--muted);
  flex-wrap: wrap; font-weight: 600; letter-spacing: .01em; }
.tour-card .dot-sep { opacity: .45; font-weight: 500; }
.tour-card h3 { font-size: 1.02rem; margin: 0; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card h3 a { color: var(--navy); }
.tour-card h3 a:hover { color: var(--orange-dark); text-decoration: none; }
.tour-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: .65rem; border-top: 1px solid rgba(20, 38, 63, .06); }
.tour-card .price { font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 1.05rem;
  display: inline-flex; align-items: baseline; gap: .28rem; }
.tour-card .price-from { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .02em;
  text-transform: uppercase; }
.tour-card .guide-chip { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; }
.tour-card .guide-chip .av, .tour-card .guide-chip .av-img { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.tour-card .guide-chip .av { background: linear-gradient(135deg, #ffb070, var(--orange));
  color: #fff; font-family: var(--head); font-weight: 700; font-size: .75rem; display: grid; place-items: center; }
.tour-card .guide-chip .av-img { object-fit: cover; }
.tour-card .guide-chip .gname { font-size: .78rem; color: var(--navy); font-weight: 600; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 88px; }
.tour-card .guide-chip .gname small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }

/* ── Single tour page ────────────────────────────────── */
.tour-title { margin-bottom: .3em; }
.tour-guide-line { font-size: 1rem; margin-bottom: 6px; color: var(--muted); }
.tour-guide-link { color: inherit; text-decoration: none; }
.tour-guide-link strong { color: var(--navy); }
.tour-meta { margin-bottom: 20px; }
.guide-note-body { margin: 0 0 4px; }
.guide-note-by { color: var(--navy); }
.guide-note-by a { color: inherit; }
.day-title { color: var(--navy); }
.review-body { margin: .3em 0; }
.book-type { margin: 2px 0 16px; }
.payment-label { color: var(--muted); }
.payment-copy { font-size: .9rem; margin: 0; }
.payment-copy strong { color: var(--navy); }

/* Airbnb-style mosaic gallery */
.gallery-mosaic {
  --gm-gap: 8px;
  --gm-radius: 16px;
  display: grid;
  gap: var(--gm-gap);
  margin-top: 18px;
  position: relative;
  border-radius: var(--gm-radius);
  overflow: hidden;
  background: #eef2f7;
  box-shadow: 0 14px 36px rgba(20, 38, 63, .1);
}
.gallery-mosaic.is-one {
  grid-template-columns: 1fr;
  min-height: min(480px, 58vh);
}
.gallery-mosaic.is-two {
  grid-template-columns: 1.4fr 1fr;
  min-height: min(420px, 52vh);
}
.gallery-mosaic.is-three,
.gallery-mosaic.is-many {
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: 1fr 1fr auto;
  min-height: min(480px, 58vh);
}
.gallery-mosaic.is-many {
  grid-template-rows: 1.15fr 1.15fr auto;
}
.gm-main { grid-column: 1; grid-row: 1 / span 2; min-height: 280px; }
.gallery-mosaic.is-one .gm-main { grid-row: 1; min-height: min(480px, 58vh); }
.gallery-mosaic.is-two .gm-main { grid-row: 1; min-height: min(420px, 52vh); }
.gm-side {
  grid-column: 2; grid-row: 1 / span 2;
  display: grid; gap: var(--gm-gap); grid-template-rows: 1fr 1fr; min-height: 0;
}
.gallery-mosaic.is-two .gm-side { grid-template-rows: 1fr; }
.gm-bottom {
  grid-column: 1 / -1; grid-row: 3;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--gm-gap);
}
.gm-cell {
  position: relative; margin: 0; padding: 0; border: 0; cursor: pointer;
  overflow: hidden; background: #dfe6ef; display: block; width: 100%; height: 100%;
  min-height: 0;
}
.gm-cell img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  display: block; transition: transform .35s ease;
}
.gm-cell:hover img { transform: scale(1.04); }
.gm-bottom .gm-cell { aspect-ratio: 4/3; }
.gm-video { background: #12294f; }
.gm-video-bg { opacity: .35; filter: blur(2px); }
.gm-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-family: var(--head); font-weight: 700; font-size: .95rem;
  background: rgba(18, 41, 79, .35); gap: .4rem; text-align: center; padding: 12px;
}
.gm-play span {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--navy); font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); margin: 0 auto .35rem;
}
.gm-more::after {
  content: ''; position: absolute; inset: 0; background: rgba(20, 38, 63, .55);
}
.gm-more-label {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .02em;
}
.gm-badges {
  position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 3;
  pointer-events: none;
}
.gm-all-btn {
  position: absolute; right: 14px; bottom: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45em;
  background: #fff; color: var(--navy); border: 1px solid rgba(20,38,63,.12);
  border-radius: 10px; padding: .55em .9em; font-family: var(--head); font-weight: 700;
  font-size: .86rem; cursor: pointer; box-shadow: 0 6px 18px rgba(20,38,63,.14);
}
.gm-all-btn:hover { border-color: var(--orange); color: var(--orange-text); }
.gallery-mosaic .tour-hero-ph {
  min-height: min(420px, 52vh); width: 100%; position: relative;
  display: grid; place-items: center; overflow: hidden;
}
.tour-hero-ph .watermark { position: absolute; right: -10px; bottom: -30px; font-size: 12rem; opacity: .16; line-height: 1; transform: rotate(-8deg); }
.tour-hero-ph .th-title { position: relative; color: #fff; font-family: var(--head); font-weight: 800;
  font-size: 2rem; text-align: center; padding: 0 24px; text-shadow: 0 2px 10px rgba(0,0,0,.15); }

/* Lightbox */
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 80; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10, 16, 28, .88); }
.lightbox-dialog {
  position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 56px 16px 24px; gap: 14px;
}
.lightbox-stage {
  flex: 1; min-height: 0; width: min(1100px, 100%); display: grid; place-items: center;
}
.lightbox-stage img {
  max-width: 100%; max-height: calc(100vh - 200px); object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.lightbox-video { width: min(960px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.lightbox-video iframe { width: 100%; height: 100%; border: 0; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  border-radius: 999px; cursor: pointer; font-size: 1.4rem; line-height: 1;
  width: 44px; height: 44px; display: grid; place-items: center;
}
.lightbox-close { top: 16px; right: 16px; font-size: 1.1rem; }
.lightbox-nav.prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,.22); }
.lightbox-meta { color: #cbd5e1; font-family: var(--head); font-weight: 600; font-size: .92rem; }
.lightbox-thumbs {
  display: flex; gap: 8px; overflow-x: auto; max-width: min(900px, 100%);
  padding: 4px; scrollbar-width: thin;
}
.lightbox-thumb {
  flex: none; width: 72px; height: 54px; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: #1e293b;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb.active { border-color: #fff; }
.lightbox-thumb-video {
  display: grid; place-items: center; color: #fff; font-size: 1.1rem;
}

.tour-layout { display: grid; grid-template-columns: 1fr 360px; gap: 34px; align-items: start; margin: 26px 0 40px; }
.breadcrumb { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.breadcrumb a { color: var(--muted); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.fact-grid-3 { grid-template-columns: repeat(3, 1fr); }
.fact { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.fact .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); font-weight: 700; }
.fact .v { font-weight: 600; color: var(--navy); font-size: .95rem; }
.guide-note { background: var(--orange-soft); border-radius: 12px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; margin: 8px 0 24px; }
.guide-note .av { width: 46px; height: 46px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 30px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: .25em 0 .25em 1.6em; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--teal-dark); font-weight: 700; }
.checklist.no li::before { content: '✕'; color: #c0392b; }
.daybox { border-left: 3px solid var(--orange); padding: 4px 0 4px 16px; margin-bottom: 16px; }
.daybox .dno { font-family: var(--head); font-weight: 700; color: var(--orange); font-size: .82rem; text-transform: uppercase; letter-spacing: 1px; }
.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.photo-strip img { aspect-ratio: 4/3; width: 100%; object-fit: cover; object-position: center 40%;
  border-radius: 12px; background: var(--cream); transition: transform .25s ease, box-shadow .25s ease; }
.photo-strip a:hover img, .photo-strip img:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.photo-strip a { display: block; border-radius: 12px; overflow: hidden; }
.tour-section { margin-bottom: 30px; }
.tour-section h2 { border-bottom: 2px solid var(--line); padding-bottom: .3em; }

/* contact / booking box */
.book-box { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; position: sticky; top: 90px; background: #fff; }
.book-box .price-lg { font-family: var(--head); font-weight: 800; font-size: 2rem; color: var(--navy); }
.book-box .price-lg small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.reveal-field { display: block; background: var(--teal-soft); color: var(--teal-dark); border-radius: 10px; padding: .8em 1em;
  font-weight: 600; letter-spacing: 1px; margin-bottom: 10px; font-family: var(--head); }
a.reveal-field { text-decoration: none; }
a.reveal-field:hover { background: #d3f0e8; text-decoration: none; color: var(--teal-dark); }
.reveal-note { font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.rating { color: var(--orange); letter-spacing: 2px; }
.review { padding: 14px 0; border-bottom: 1px solid var(--line); }
.review .av { width: 34px; height: 34px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark);
  display: inline-grid; place-items: center; font-weight: 700; font-size: .8rem; margin-right: 8px; }

/* ── How it works page ───────────────────────────────── */
.page-hero { background: linear-gradient(180deg, #fff8f0 0%, #fff 100%); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero-inner { max-width: 760px; text-align: center; margin: 0 auto; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lede { color: var(--muted); font-size: 1.12rem; margin: 0 auto 1.5rem; }
.page-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.how-audience { padding: 64px 0; }
.how-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.how-split-flip .how-copy { order: 2; }
.how-split-flip .process-list { order: 1; }
.how-copy h2 { margin-bottom: .45em; }
.how-copy .muted { margin-bottom: 1.2rem; max-width: 420px; }

.process-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.process-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line); }
.process-item:first-child { padding-top: 0; }
.process-item:last-child { border-bottom: 0; padding-bottom: 0; }
.process-num { font-family: var(--head); font-weight: 800; font-size: 1.05rem; color: var(--orange);
  letter-spacing: .04em; line-height: 1.2; padding-top: 2px; }
.process-item h3 { margin: 0 0 .25em; font-size: 1.12rem; }
.process-item p { margin: 0; color: var(--muted); font-size: .98rem; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line);
  font-size: .96rem; vertical-align: top; }
.compare-table thead th { background: #f8fafc; font-family: var(--head); font-size: .82rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.compare-table tbody th { font-family: var(--head); color: var(--navy); font-weight: 700; width: 28%; }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .highlight { background: rgba(20,160,133,.06); color: var(--teal-dark); font-weight: 600; }
.compare-table thead th.highlight { background: rgba(20,160,133,.12); color: var(--teal-dark); }
.how-faq { max-width: 900px; margin: 0 auto; }

/* ── Browse / tours index ────────────────────────────── */
.browse-hero { text-align: left; padding-bottom: 36px; }
.browse-hero .page-hero-inner, .browse-hero-top { max-width: none; text-align: left; }
.browse-hero h1 { margin-bottom: .3em; }
.browse-hero .lede { max-width: 640px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.browse-filters { margin-top: 26px; background: #fff; border: 1px solid #f0e4d6; border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px; }
.browse-fields { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; align-items: end; }
.browse-fields .field { text-align: left; margin: 0; }
.browse-fields label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: 1.1px;
  color: #5b6b80; font-weight: 700; margin: 0 0 6px 2px; }
.browse-fields input, .browse-fields select { width: 100%; border: 1px solid #e5ebf3; border-radius: 11px;
  padding: .72em .85em; font-size: .95rem; font-family: var(--sans); background: #fff; }
.browse-fields select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.2 1.3 6 6.1l4.8-4.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 2em; }
.browse-filter-actions { display: flex; gap: 10px; align-items: center; margin-top: 14px; flex-wrap: wrap; }

.browse-results { padding-top: 28px; padding-bottom: 56px; }
.cat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.af-label { font-size: .85rem; color: var(--muted); font-weight: 600; margin-right: 4px; }
.af-pill { display: inline-flex; align-items: center; gap: .4em; padding: .35em .75em; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-text); font-size: .85rem; font-weight: 600;
  font-family: var(--head); text-decoration: none; }
.af-pill:hover { background: #fbd7b5; text-decoration: none; color: var(--orange-text); }
.af-pill span { font-size: 1.05rem; line-height: 1; opacity: .75; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.results-count { margin: 0; color: var(--muted); }
.results-count strong { color: var(--navy); font-family: var(--head); font-size: 1.05rem; }
.sort-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.sort-form label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.sort-form select { border: 1px solid var(--line); border-radius: 10px; padding: .5em .8em; font-size: .9rem;
  background: #fff; min-width: 180px; }

.empty-state { text-align: center; background: #fff; border: 1px dashed #d7dee8; border-radius: 18px;
  padding: 56px 24px; margin-top: 8px; }
.empty-state h3 { margin-bottom: .35em; }
.empty-state .muted { margin-bottom: 1.2rem; }

/* ── Guides directory + profile ──────────────────────── */
.guides-section { padding: 36px 0 64px; }
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; }
.guide-face { position: relative; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.guide-face img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.guide-card:hover .guide-face img { transform: scale(1.04); }
.guide-lic-pill { position: absolute; left: 12px; bottom: 12px; background: rgba(20,38,63,.82); color: #fff;
  font-family: var(--head); font-size: .72rem; font-weight: 700; padding: .35em .7em; border-radius: 999px;
  letter-spacing: .3px; }
.guide-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.guide-card-body h3 { margin: 0; font-size: 1.2rem; }
.guide-biz { margin: 0; color: var(--teal-dark); font-weight: 600; font-size: .92rem; }
.guide-bio { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.45; flex: 1; }
.guide-meta { margin-top: .55rem; font-size: .85rem; color: var(--muted); }
.guide-cta { margin-top: .7rem; font-family: var(--head); font-weight: 700; color: var(--orange-text);
  font-size: .92rem; }

.guide-detail-hero { padding-bottom: 18px; }
.guide-profile { padding: 10px 0 64px; }
.guide-profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: start; }
.guide-profile-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg); position: sticky; top: 88px; }
.guide-profile-face { aspect-ratio: 1; background: var(--cream); }
.guide-profile-face img { width: 100%; height: 100%; object-fit: cover; }
.guide-profile-info { padding: 22px 22px 24px; }
.guide-profile-info h1 { font-size: 1.7rem; margin: .55rem 0 .2em; }
.guide-profile-info .guide-biz { margin-bottom: .9rem; }
.guide-about { color: var(--ink); line-height: 1.55; margin: 0 0 1rem; }
.guide-facts { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: 8px; }
.guide-facts li { font-size: .92rem; color: var(--muted); padding: 10px 12px; background: var(--bg-soft);
  border-radius: 10px; }
.guide-facts strong { color: var(--navy); font-family: var(--head); margin-right: .25em; }
.guide-profile-info .btn { margin-bottom: 8px; }
.guide-note .av-photo { overflow: hidden; padding: 0; background: transparent; }
.guide-note .av-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-card .guide-chip { text-decoration: none; }
.tour-card .guide-chip:hover { text-decoration: none; }
.tour-card .guide-chip:hover .gname { color: var(--orange-dark); }

@media (max-width: 980px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-profile-grid { grid-template-columns: 1fr; }
  .guide-profile-card { position: static; max-width: 420px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .guides-grid { grid-template-columns: 1fr; }
}

.how-section { padding-top: 56px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; }
.step-media { position: relative; width: 148px; height: 148px; margin: 0 auto 16px; }
.step .num { width: 100%; height: 100%; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark);
  font-family: var(--head); font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; }
.step .step-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  background: #fff; display: block; border: 4px solid #fff; box-shadow: 0 12px 28px rgba(20,38,63,.1); }
.step-no { position: absolute; right: -2px; bottom: 4px; min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: 999px; background: var(--navy); color: #fff; font-family: var(--head); font-weight: 700;
  font-size: .78rem; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(20,38,63,.2); }
.step h3 { margin-bottom: .35em; }
.step p { max-width: 220px; margin: 0 auto; }
.hero-img { width: min(340px, 78vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  margin: 26px auto 0; display: block; box-shadow: 0 22px 55px rgba(20, 41, 79, .16);
  border: 6px solid #fff; }

/* ── Forms ───────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.three { grid-template-columns: 1fr 1fr 1fr; }
label.fld { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .35em; font-family: var(--head); }
label.fld .req { color: var(--orange); }
label.fld .hint { font-weight: 400; color: var(--muted); font-size: .82rem; }
.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .72em .85em; font-size: .96rem;
  font-family: var(--sans); background: #fff; color: var(--ink); }
.input:focus, input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
textarea { resize: vertical; min-height: 90px; }
.form-section { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 22px; }
.form-section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.form-section .sec-label { font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px; font-size: .78rem; color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.field { margin-bottom: 4px; }
.verified-bar { background: var(--mint); color: var(--mint-ink); border-radius: 10px; padding: .7em 1em; font-weight: 600; font-size: .9rem; display: flex; gap: .5em; align-items: center; }
.day-row { display: grid; grid-template-columns: 200px 1fr auto; gap: 10px; margin-bottom: 10px; align-items: start; }
.errors { background: #fdecec; border: 1px solid #f5c6c6; color: #a93226; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.errors ul { margin: .3em 0 0; padding-left: 1.2em; }

/* ── Flash ───────────────────────────────────────────── */
.flash { padding: 12px 18px; border-radius: 10px; margin: 16px 0; font-weight: 500; }
.flash-success { background: var(--mint); color: var(--mint-ink); }
.flash-error { background: #fdecec; color: #a93226; }
.flash-info { background: #eaf4fb; color: #1a5f8a; }

/* ── Dashboard ───────────────────────────────────────── */
.dash-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.stat .lbl { color: var(--muted); font-weight: 500; font-size: .95rem; }
.stat .num { font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: var(--navy); line-height: 1.1; }
.stat .num.teal { color: var(--teal-dark); }
.stat .num small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.listing-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.listing-row .lthumb { width: 58px; height: 58px; border-radius: 12px; flex: none; background: var(--teal); object-fit: cover; }
.listing-row .linfo { flex: 1; min-width: 0; }
.listing-row .linfo h3 { margin: 0 0 3px; font-size: 1.05rem; }
.listing-row .lstatus { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot.green { background: #2ecc71; } .dot.amber { background: #f39c12; } .dot.grey { background: #b0b8c4; }
.listing-row .lnums { text-align: right; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.listing-row .lnums b { color: var(--navy); font-family: var(--head); }
.promo-band { background: var(--teal-soft); border-radius: var(--radius); padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.promo-band h3 { color: var(--teal-dark); margin: 0 0 3px; }

/* ── Upgrade cards ───────────────────────────────────── */
.upgrade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.up-card { border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; background: #fff; display: flex; flex-direction: column; }
.up-card.popular { border-color: var(--orange); }
.up-card .tag { position: absolute; top: -12px; left: 22px; background: var(--orange); color: #fff; font-size: .72rem; font-weight: 700; padding: .3em .8em; border-radius: 999px; font-family: var(--head); }
.up-card .price { font-family: var(--head); font-weight: 800; font-size: 1.9rem; color: var(--orange-dark); }
.up-card .price small { font-size: .85rem; color: var(--muted); font-weight: 500; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
details.qa { border: 1px solid var(--line); border-radius: 10px; padding: 2px 16px; background: #fff; }
details.qa summary { cursor: pointer; font-weight: 600; color: var(--navy); font-family: var(--head); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.qa summary:focus-visible { outline: 3px solid rgba(10, 91, 196, .35); outline-offset: 2px; border-radius: 6px; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; }
details.qa[open] summary::after { content: '–'; }
details.qa p { padding-bottom: 14px; margin: 0; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 50px 0 26px; margin-top: 30px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 26px; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; font-size: .92rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand .logo { background: var(--teal); }
.site-footer .footer-logo { height: 44px; background: #fff; border-radius: 10px; padding: 6px 10px; }
.site-footer .footer-brand { display: inline-flex; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #93a3b8; }

/* ── CTA banner ──────────────────────────────────────── */
.cta-wrap { padding-top: 20px; }
.cta-band { background: linear-gradient(125deg, var(--navy) 0%, #1a3a66 55%, #174a5e 100%); color: #fff;
  border-radius: 22px; padding: 48px 40px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c8d3e0; max-width: 540px; margin: 0 auto 1.4rem; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-ghost:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }

/* ── Utility ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose.narrow ul.checklist { padding-left: 0; }
/* Shared content widths — keeps every page on the same measure */
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.narrow-sm { max-width: 460px; margin-left: auto; margin-right: auto; }
/* Visible to screen readers only — keeps heading order without visual noise */
.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; }

/* ── Shared inner-page pieces ────────────────────────── */
.page-hero-sm { padding: 40px 0 32px; }
.page-hero-sm h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.page-hero .breadcrumb { margin: 0 0 10px; }
.page-hero .notfound-icon { font-size: 3.4rem; line-height: 1; margin-bottom: 10px; }
.notfound-links { justify-content: center; margin-top: 6px; }

.about-media { margin: 0 0 26px; }
.about-media img { border-radius: 14px; width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.promo-band.stacked { flex-direction: column; text-align: center; justify-content: center;
  margin-top: 36px; padding: 28px 26px; }
.promo-band.stacked .btn { margin-top: 6px; }

.doc-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.legal-note { margin-top: 2rem; padding: 14px 16px; border-left: 3px solid var(--orange);
  background: var(--cream-2); color: var(--muted); border-radius: 0 10px 10px 0; }

.confirm-card { padding: 44px 26px; }
.confirm-icon { font-size: 3rem; line-height: 1; margin-bottom: 8px; }
.form-footnote { margin-top: 18px; font-size: .9rem; }
.fieldset-plain { border: 0; padding: 0; margin: 0; min-width: 0; }
.fieldset-plain legend { padding: 0; }
.chip-radio { cursor: pointer; display: inline-flex; align-items: center; gap: .45em; }
.chip-radio:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-dark); }
input.upper { text-transform: uppercase; }

.up-card ul.checklist { margin: 14px 0 20px; }
.up-cta { margin-top: auto; }
.pricing-note { margin-top: 26px; }

/* Hero variant flags used by the templates */
.hero-has-photo .hero-art { display: block; } /* photo lives inside .hero-art — never hide it */
.field-grow { grid-column: span 2; }
.guide-profile-main { min-width: 0; }

/* ── Responsive (all screens) ────────────────────────── */
@media (max-width: 1200px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .browse-fields { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 1100px) {
  /* Hamburger earlier — many nav links + large logo */
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 45;
    margin: 0; padding: 78px 20px 24px; background: #fff; flex-direction: column; align-items: stretch;
    gap: .1rem; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20,38,63,.14);
    max-height: 100vh; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.02rem; color: var(--navy); padding: .78rem .35rem; border-bottom: 1px solid #f1f4f8; }
  .nav-links a:last-of-type { border-bottom: 0; }
  .nav-links .nav-b2b { margin: 12px 0 6px; align-self: stretch; text-align: center; justify-content: center; width: 100%; }
  .nav-toggle { display: block; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--line); background: #fff; font-size: 1.35rem; line-height: 1; position: relative; z-index: 50; }
  .nav-toggle:hover { border-color: var(--orange); color: var(--orange-dark); }
  .brand { position: relative; z-index: 50; }
  .brand-logo { height: 64px; }
}

@media (max-width: 980px) {
  .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stories-grid { grid-template-columns: 1fr; }
  .tour-layout { grid-template-columns: 1fr; gap: 22px; }
  .book-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .browse-fields { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .trust-item:not(:last-child)::after { display: none; }
  .steps, .upgrade-grid, .stat-grid, .fact-grid, .fact-grid-3 { grid-template-columns: 1fr 1fr; }
  .faq-grid, .form-grid.two, .form-grid.three, .grid-2, .two-col { grid-template-columns: 1fr; }
  .hero-home { min-height: 0; padding: 42px 0 48px; }
  .how-split, .how-split-flip { grid-template-columns: 1fr; gap: 28px; }
  .how-split-flip .how-copy, .how-split-flip .process-list { order: unset; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero-sm { padding: 32px 0 26px; }
  .field-grow { grid-column: auto; }
  .how-audience { padding: 48px 0; }
  .gallery-mosaic.is-three,
  .gallery-mosaic.is-many,
  .gallery-mosaic.is-two {
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
  }
  .gm-bottom { grid-template-columns: repeat(3, 1fr); }
  .gm-bottom .gm-cell:nth-child(n+4) { display: none; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 40px 0; }
  h1 { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .brand-logo { height: 48px; }
  .site-footer .footer-logo { height: 38px; }
  .card-grid, .card-grid.cols-3, .steps, .upgrade-grid, .stat-grid,
  .photo-strip, .trust-grid, .guides-grid, .footer-grid { grid-template-columns: 1fr; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .fact-grid, .fact-grid-3 { grid-template-columns: 1fr 1fr; }
  .search-fields, .browse-fields { grid-template-columns: 1fr; }
  .day-row { grid-template-columns: 1fr; }
  .listing-row { flex-wrap: wrap; }
  .listing-row .lnums { text-align: left; width: 100%; }
  .hero { padding: 32px 0 36px; }
  .hero-pill { font-size: .78rem; padding: .4em .85em; }
  .hero .lede, .page-hero .lede, .browse-hero .lede { font-size: 1rem; }
  .searchbar { padding: 14px; border-radius: 16px; }
  .search-submit, .browse-filter-actions .btn-teal { width: 100%; }
  .browse-filter-actions { width: 100%; }
  .browse-filter-actions .btn { flex: 1; justify-content: center; }
  .browse-hero { padding-bottom: 24px; }
  .browse-results { padding-top: 20px; }
  .results-bar { align-items: stretch; flex-direction: column; gap: 10px; }
  .sort-form { width: 100%; }
  .sort-form select { flex: 1; min-width: 0; width: 100%; }
  .cat-row { gap: 6px; }
  .chip { padding: .42em .85em; font-size: .82rem; }
  .cta-band { padding: 32px 18px; border-radius: 16px; }
  .cta-actions .btn { width: 100%; }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn { width: 100%; justify-content: center; }
  .gallery-mosaic,
  .gallery-mosaic.is-one,
  .gallery-mosaic.is-two,
  .gallery-mosaic.is-three,
  .gallery-mosaic.is-many {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .gm-main { grid-column: 1; grid-row: auto; min-height: 220px; aspect-ratio: 4/3; }
  .gm-side { grid-column: 1; grid-row: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gm-side .gm-cell { aspect-ratio: 4/3; }
  .gm-bottom { grid-template-columns: 1fr 1fr; }
  .gm-bottom .gm-cell { display: block; }
  .gm-all-btn { right: 10px; bottom: 10px; font-size: .8rem; padding: .45em .7em; }
  .tour-hero-ph .th-title { font-size: 1.35rem; }
  .lightbox-nav { display: none; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .guide-note { flex-direction: column; align-items: flex-start; }
  .guide-profile-info h1 { font-size: 1.45rem; }
  .step-media { width: 120px; height: 120px; }
  .step p { max-width: none; padding: 0 8px; }
  .form-card { padding: 18px; }
  .promo-band { padding: 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dash-header { flex-direction: column; align-items: stretch; }
  .btn, .btn-lg { white-space: normal; text-align: center; }
  .tour-card .foot { flex-wrap: wrap; gap: 8px; }
  .compare-table th, .compare-table td { padding: 12px 10px; font-size: .88rem; }
  .about-media { gap: 14px; }
  .confirm-card { padding: 30px 18px; }
  .doc-nav { gap: 6px; }
}

@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .brand-logo { height: 42px; }
  .fact-grid, .fact-grid-3, .photo-strip { grid-template-columns: 1fr; }
  .trust-item strong { font-size: .95rem; }
  .hero-pill { max-width: 100%; text-wrap: balance; }
}

/* Large / wide desktops keep 4-col cards */
@media (min-width: 1201px) {
  .card-grid { grid-template-columns: repeat(4, 1fr); }
}
