/* Plus Jakarta Sans, served from this website (no trip to Google on each first visit). SIL Open Font License,
   see static/fonts/OFL.txt. One variable file per alphabet covers every weight from 400 to 800. */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.7660bd9909fb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.341687eeeb6a.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Tourism website — mobile-first stylesheet
   Change the brand colours in :root below to re-theme the whole site.
   ========================================================================== */

:root {
  --scroll-thumb: #d9c3b3;
  --scroll-thumb-hover: #8c1d40;
  --brand: #8c1d40;
  --brand-dark: #6e1431;
  --brand-tint: #f8e8ec;
  --accent: #f2a516;
  --accent-dark: #c9820a;
  --ink: #2b1b17;
  --muted: #6e5f57;
  --line: #ebddcb;
  --bg: #fff9f0;
  --card: #ffffff;
  --tint: #fbefdd;
  --star: #f5a623;
  --success: #1e8a4c;
  --warn: #b75d00;
  --error: #b42318;
  --whatsapp: #25d366;

  --ring: rgba(140, 29, 64, .22);  /* focus ring around form fields */
  --accent-ink: #2b1b17;  /* text on marigold (white would be unreadable) */

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(43, 27, 23, .06), 0 6px 20px rgba(43, 27, 23, .07);
  --shadow-lg: 0 10px 40px rgba(43, 27, 23, .14);
  --header-h: 64px;
  --gutter: 16px;

  /* Surfaces & states (overridden by the dark theme) */
  --bg-2: #fbf3e8;
  --surface-2: #fdf6ec;
  --input-border: #e3d2be;
  --muted-2: #b39c8a;
  --star-empty: #e6d8c8;
  --ph-a: #f3e6d3;
  --ph-b: #f8eedf;
  --ok-bg: #e3f5ea;
  --ok-border: #b8e2c8;
  --ok-ink: #14532d;
  --warn-bg: #fff1e0;
  --warn-border: #f6d7a7;
  --warn-ink: #7a3d00;
  --err-bg: #fdf0ee;
  --err-border: #f0c4be;
  --info-border: #e9c3ce;
  color-scheme: light;
}

/* Dark theme — only when the visitor switches it on (light is always the default). */
:root[data-theme="dark"] {
  --scroll-thumb: #4a3438;
  --scroll-thumb-hover: #d4527c;
  --brand: #d4527c;
  --brand-dark: #e7759a;
  --brand-tint: #3a1d27;
  --accent: #f2a516;
  --accent-dark: #f7b93b;
  --ink: #f4ebe6;
  --muted: #bba9a1;
  --line: #3d2d30;
  --bg: #161012;
  --bg-2: #120d0f;
  --card: #221a1c;
  --surface-2: #2a2023;
  --tint: #1d1517;
  --star-empty: #4a3a3d;
  --success: #52c47f;
  --warn: #f0b35c;
  --error: #ff8a80;
  --ring: rgba(212, 82, 124, .4);
  --input-border: #4a3a3d;
  --muted-2: #8a7a73;
  --ph-a: #2a2023;
  --ph-b: #30252a;
  --ok-bg: #16301f;
  --ok-border: #245a38;
  --ok-ink: #9be3b6;
  --warn-bg: #3a2a12;
  --warn-border: #6b4a1a;
  --warn-ink: #f7cf8f;
  --err-bg: #3a1a1a;
  --err-border: #6b2a2a;
  --info-border: #6b3346;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
:root[data-theme="dark"] img { filter: brightness(.92); }
.theme-toggle { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.theme-toggle .i-moon, [data-theme="dark"] .theme-toggle .i-sun { display: block; }
.theme-toggle .i-sun, [data-theme="dark"] .theme-toggle .i-moon { display: none; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: .9rem; }
.cookie-bar p { margin: 0; flex: 1 1 260px; }
.cookie-bar .btn + .btn { margin-left: 0; }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset, var(--header-h)) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3, .h3 { font-family: var(--font); font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 16px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.underline { text-decoration: underline; }
.inline-icon { display: inline-block; vertical-align: -.2em; margin-right: .3em; width: 1em; height: 1em; }
.hp { position: absolute; left: -9999px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--brand); margin-bottom: .4em; }
.lead { font-size: 1.125rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.4em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-dark); color: var(--accent-ink); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand); color: #fff; }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--light:hover { border-color: var(--ink); color: var(--ink); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1ebe5b; color: #fff; }
.btn--disabled, .btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; border-color: transparent; }
.btn--sm { padding: .5em 1em; font-size: .875rem; }
.btn--lg { padding: .95em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn + .btn { margin-left: .5em; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 1em; height: 1em; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Owner bar (only visible to the logged-in owner) ---------- */
.owner-bar { display: flex; justify-content: center; align-items: center; gap: 16px; height: 30px; padding: 0 16px; background: #3a1420; color: #e8d3d8; font-size: .82rem; white-space: nowrap; overflow: hidden; }
.has-owner-bar .main-nav { top: calc(var(--header-h) + 30px); }
.owner-bar a { color: #fff; font-weight: 600; }
.preview-bar { padding: 10px 16px; background: var(--warn-bg); color: var(--warn-ink); text-align: center; font-size: .9rem; border-bottom: 1px solid var(--warn-border); }

/* ---------- Header ---------- */
/* No backdrop-filter here: it would trap the fixed mobile menu inside the header. */
/* var(--card), not var(--bg): the header used to match the page background exactly (both --bg), so in
   light mode there was nothing but a faint 1px line marking where the header actually ends -- --card
   (white in light mode) reads as a clearly separate bar; still subtle in dark mode too. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.header-sticky-title { height: 0; overflow: hidden; opacity: 0; font-weight: 700; display: flex; align-items: center;
  transition: height .18s ease, opacity .15s ease; }
.header-sticky-title.is-stuck { height: 48px; opacity: 1; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.logo img { max-height: 40px; width: auto; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; }
.logo-mark svg { width: 22px; height: 22px; }
.logo--light { color: #fff; }
.logo--light .logo-mark { background: var(--accent); color: var(--accent-ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 50%; cursor: pointer; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.hide-sm { display: none; }

.main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; visibility: hidden; }
.menu-open .main-nav { transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.main-nav > ul { list-style: none; padding: 0; margin: 0; }
.main-nav > ul > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav .chev { display: none; }
.dropdown { list-style: none; padding: 4px 0 8px 12px; margin: 0; }
.dropdown a { display: block; padding: 8px 4px; color: var(--muted); text-decoration: none; }
.nav-contact { margin-top: 24px; display: grid; gap: 12px; }
.nav-contact a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }

/* ---------- Alerts ---------- */
.messages { margin-top: 16px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid; }
.alert--success { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-ink); }
.alert--info { background: var(--brand-tint); border-color: var(--info-border); color: var(--brand-dark); }
.alert--error, .alert--danger { background: var(--err-bg); border-color: var(--err-border); color: var(--error); }
.alert--warning { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn); }

/* ---------- Image placeholders ---------- */
.ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 120px; padding: 12px; text-align: center; color: var(--muted); font-size: .8rem; font-weight: 600;
  background: repeating-linear-gradient(135deg, var(--ph-a) 0 12px, var(--ph-b) 12px 24px); }
.ph svg { width: 34px; height: 34px; opacity: .6; }
.ph span { max-width: 24ch; line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding-block: 56px; }
.section--tight { padding-block: 28px 56px; }
.section--tint { background: var(--tint); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media > * { width: 100%; height: 100%; object-fit: cover; }
.hero__media .ph { color: #fff; background: linear-gradient(135deg, #8c1d40 0%, #b8325a 45%, #f2a516 100%); align-items: flex-end; justify-content: flex-start; padding: 16px; flex-direction: row; font-weight: 500; }
.hero__media .ph svg { width: 20px; height: 20px; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%); }
.hero__content { padding-top: 96px; padding-bottom: 48px; }
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: .3em; }
.hero__lead { font-size: 1.15rem; max-width: 52ch; opacity: .95; }
.hero__rating { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.35); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.hero-search { display: flex; align-items: center; background: var(--card); border-radius: 999px; padding: 6px 6px 6px 16px; max-width: 560px; margin: 24px 0 16px; box-shadow: var(--shadow-lg); color: var(--ink); }
.hero-search svg { color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: 0; padding: 10px; background: transparent; outline: none; }
.hero__usps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 500; }
.hero__usps li { display: flex; align-items: center; gap: 6px; }
.hero__usps svg { color: #f2a516; }

.page-hero { background: var(--tint); padding: 28px 0 32px; position: relative; isolation: isolate; }
.page-hero h1 { margin-bottom: .2em; }
.page-hero .lead { margin: 0; }
.page-hero--image { color: #fff; padding: 80px 0 40px; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero--image .ph.page-hero__bg { background: linear-gradient(135deg, #8c1d40, #b8325a 60%, #f2a516); color: rgba(255,255,255,.7); align-items: flex-end; flex-direction: row; justify-content: flex-end; }
.page-hero--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.55)); }
.page-hero--image h1, .page-hero--image .lead, .page-hero--image .breadcrumbs, .page-hero--image .breadcrumbs a { color: #fff; }

.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumbs a { color: inherit; }

/* ---------- Stars & rating ---------- */
.stars { display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .star { width: 18px; height: 18px; fill: var(--star); }
.stars .star--empty { fill: var(--star-empty); }
.stars--sm .star { width: 14px; height: 14px; }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
/* Tour types: landscape photo with the name underneath (no dark overlay, not tall). */
.category-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.category-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.category-card__media { aspect-ratio: 3 / 2; overflow: hidden; }
.category-card__media > img, .category-card__media > .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.category-card:hover .category-card__media > * { transform: scale(1.04); }
.category-card__body { padding: 12px 14px 14px; }
.category-card h3 { margin: 0; font-size: 1rem; }
.category-card p { margin: 4px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Tour cards ---------- */
.tour-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.tour-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.tour-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tour-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.tour-card__media > img, .tour-card__media > .ph { width: 100%; height: 100%; object-fit: cover; }
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.tour-card__cat { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--brand); margin: 0 0 4px; }
.tour-card__title { font-size: 1.1rem; margin: 0 0 6px; }
.tour-card__title a { color: var(--ink); text-decoration: none; }
.tour-card__title a:hover { color: var(--brand); }
.tour-card__rating { display: flex; align-items: center; gap: 6px; font-size: .88rem; margin: 0 0 8px; }
.tour-card__facts { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .88rem; }
.tour-card__facts li { display: flex; align-items: center; gap: 6px; }
.tour-card__facts svg { width: 16px; height: 16px; }
.tour-card__footer { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.tour-card__footer .price { margin: 0; }
.tour-grid--scroll { grid-auto-flow: column; grid-auto-columns: 82%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.tour-grid--scroll > * { scroll-snap-align: start; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--brand-tint); color: var(--brand-dark); }
.badge--float { position: absolute; top: 12px; left: 12px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--muted { background: var(--line); color: var(--muted); }

.price { line-height: 1.25; }
.price strong { font-size: 1.2rem; }
.price__from, .price__unit { font-size: .82rem; color: var(--muted); }
.price__approx { display: block; font-size: .8rem; color: var(--muted); }
.price--lg strong { font-size: 1.6rem; }

/* ---------- Features / steps / stats ---------- */
.features { display: grid; gap: 20px; }
.feature { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); margin-bottom: 14px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; counter-reset: step; }
.steps li { text-align: center; }
.steps span { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; }
.steps p { opacity: .85; margin: 0; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 36px; margin: 20px 0 24px; }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--brand); line-height: 1.1; }
.stats span { font-size: .85rem; color: var(--muted); }

.split { display: grid; gap: 28px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split__media > * { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.review-grid > * { scroll-snap-align: start; }
.review-card { margin: 0; background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__head p { margin: 0; }
.review-card__title { font-weight: 700; margin: 0; }
.review-card__text { margin: 0; color: var(--ink); }
.review-card__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; text-align: left; text-decoration: underline; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-weight: 700; flex-shrink: 0; object-fit: cover; }
.review-list { display: grid; gap: 16px; margin-bottom: 20px; }
.review-list .review-card { box-shadow: none; border: 1px solid var(--line); }
.review-masonry { columns: 1; column-gap: 16px; }
.review-masonry .review-card { break-inside: avoid; margin-bottom: 16px; }
.google-badge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--card); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); margin-bottom: 20px; }
.google-badge svg { width: 22px; height: 22px; }
.review-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 10px; margin-bottom: 24px; }
.accordion details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.accordion summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); }
.accordion details[open] summary::after { content: "–"; }
.accordion details > :not(summary) { padding-bottom: 16px; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; gap: 20px; }
.post-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 9; }
.post-card__media > * { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 16px 18px 20px; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card p:last-child { margin: 0; color: var(--muted); }
.post-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 28px; }
.post-cover > * { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose img { border-radius: var(--radius-sm); }
.prose--article { font-size: 1.075rem; }
.prose.is-collapsed { max-height: 11em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand); color: #fff; padding: 44px 0; }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band p { opacity: .9; margin: 0; }
.cta-band__inner { display: grid; gap: 20px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band__actions .btn + .btn { margin-left: 0; }

/* ---------- Filters & chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; scrollbar-width: none; }
.chip { flex-shrink: 0; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
/* Phones: tour filters stay reachable. They slide away while you scroll down through tours and
   come back as soon as you scroll up a little (site.js), so they don't take screen space all the time. */
@media (max-width: 699px) {
  .filter-bar { position: sticky; top: var(--header-offset, var(--header-h)); z-index: 30; margin: 0 calc(var(--gutter) * -1) 4px;
    padding: 10px var(--gutter) 2px; background: var(--bg); transition: transform .25s ease, box-shadow .25s; }
  .filter-bar.is-stuck { box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .25); }
  .filter-bar.is-away { transform: translateY(-110%); box-shadow: none; }
  .filter-bar .chips { margin-bottom: 10px; }
  .filter-bar .filters { margin-bottom: 8px; }
}
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.filters__search { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; }
.filters__search input { border: 0; outline: none; flex: 1; min-width: 0; padding: 10px 0; background: transparent; }
.filters select { width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.filters .btn { grid-column: 1 / -1; }
.js .filters .btn { display: none; }
.results-count { margin-bottom: 16px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 32px; }

/* ---------- Tour detail ---------- */
.tour-page { padding-top: 20px; }
.tour-header__tagline { font-size: 1.1rem; color: var(--muted); margin-bottom: 8px; }
.tour-header__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .92rem; margin-bottom: 20px; }
.tour-header__meta span, .rating-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); }
.rating-link { text-decoration: none; }
.tour-header__meta svg { width: 16px; height: 16px; }

.gallery { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; border-radius: var(--radius); overflow: hidden; margin: 0 0 24px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; }
.gallery__main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.gallery__thumb { aspect-ratio: 1; }
.gallery__main > *, .gallery__thumb > * { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb .ph span { display: none; }
.gallery .gallery__all { position: absolute; right: 12px; bottom: 12px; padding: .5em 1em; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); cursor: pointer; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(30, 12, 18, .96); }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; }
.lightbox__track figure { flex: 0 0 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; scroll-snap-align: center; padding: 56px 16px 24px; }
.lightbox__track img, .lightbox__track .ph { max-height: 82vh; width: auto; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox__track .ph { width: min(900px, 100%); aspect-ratio: 3/2; }
.lightbox figcaption { color: #fff; margin-top: 12px; }
.lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--card); cursor: pointer; }

.tour-layout { display: grid; gap: 32px; }
.tour-main { min-width: 0; }
.key-facts { list-style: none; padding: 0 0 24px; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-bottom: 1px solid var(--line); }
.key-facts li { display: flex; gap: 10px; align-items: flex-start; }
.key-facts svg { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.key-facts div { display: flex; flex-direction: column; font-size: .92rem; line-height: 1.35; }
.key-facts span { color: var(--muted); font-size: .82rem; }

.host { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.host__photo, .host .ph.host__photo { width: 72px; height: 72px; min-height: 0; border-radius: 50%; object-fit: cover; flex-shrink: 0; padding: 0; }
.host .ph span { display: none; }
.host .ph svg { width: 24px; height: 24px; }
.host h2 { margin-bottom: 4px; }
.host--team { align-items: center; }
.host__faces { display: flex; flex-shrink: 0; }
.host__faces .host__photo, .host__faces .ph.host__photo { width: 48px; height: 48px; border: 2px solid var(--bg); }
.host__faces > * + * { margin-left: -12px; }

.tour-section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tour-section:last-of-type { border-bottom: 0; }
.tour-section h2 { font-size: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { color: var(--success); width: 20px; height: 20px; margin-top: 3px; }
.checklist--no svg { color: var(--error); }
.two-col { display: grid; gap: 16px; }

.itinerary { list-style: none; padding: 0; margin: 0; position: relative; }
.itinerary__stop { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-bottom: 24px; }
.itinerary__stop::before { content: ""; position: absolute; left: 47px; top: 96px; bottom: 0; border-left: 2px dashed var(--line); }
.itinerary__stop:last-child::before { display: none; }
.itinerary__media { width: 96px; height: 96px; border-radius: 12px; overflow: hidden; }
.itinerary__media > * { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.itinerary__media .ph span { display: none; }
.itinerary__media .ph svg { width: 24px; height: 24px; }
.itinerary h3 { margin-bottom: 4px; }
.itinerary p { margin: 0 0 6px; }

.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); margin: 12px 0; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map--small { aspect-ratio: 4 / 3; }

.dates { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.date-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.date-row > div:first-child { display: flex; flex-direction: column; }
.date-row__price { grid-row: 2; }
.date-row .btn { grid-row: 1 / span 2; grid-column: 2; }
.date-row.is-hidden { display: none; }

.things { display: grid; gap: 24px; }
.things h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.things h3 svg { color: var(--brand); }
.things ul { padding-left: 1.1em; margin: 0; }
.things p { margin: 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.share svg { width: 18px; height: 18px; }

.tour-aside { min-width: 0; }
.booking-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-lg); }
.booking-card .price { margin-bottom: 2px; }
.booking-card .price__approx { margin-bottom: 14px; }
.booking-card__total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; margin: 4px 0 12px; border-top: 1px solid var(--line); }
.booking-card__total strong { font-size: 1.2rem; }
.reassure { list-style: none; padding: 0; margin: 16px 0 12px; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.reassure li { display: flex; gap: 8px; align-items: flex-start; }
.reassure svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.mobile-bar .price { margin: 0; line-height: 1.3; }
.has-mobile-bar { padding-bottom: 76px; }
.has-mobile-bar .whatsapp-float { bottom: 88px; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field > span { font-weight: 600; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--input-border); border-radius: var(--radius-sm); background: var(--card); }
/* Form fields: a soft ring that hugs the box (a detached outline would bump into the label above). */
input:focus-visible, select:focus-visible, textarea:focus-visible,
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible { box-shadow: none; outline: 3px solid var(--brand); outline-offset: 2px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.error { color: var(--error); font-size: .85rem; display: block; }
.field-row { display: flex; flex-wrap: wrap; gap: 0 12px; }
.field-row > .field { flex: 1 1 140px; }
@media (min-width: 700px) {
  .field-row .field > span:first-child { min-height: 2.5em; display: flex; align-items: flex-end; }
}
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }

.diet { border: 0; padding: 0; margin: 0 0 14px; }
.diet legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.diet__options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.diet__option { position: relative; cursor: pointer; }
.diet__option input { position: absolute; opacity: 0; }
.diet__option span { display: inline-block; padding: 8px 14px; border: 1px solid var(--input-border); border-radius: 999px; background: var(--card); font-size: .9rem; }
.diet__option input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.diet__option input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.panel--sticky { box-shadow: var(--shadow); }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .9rem; margin-right: 6px; }

.checkout { display: grid; gap: 20px; }
.pay-options { display: grid; gap: 10px; margin-bottom: 12px; }
.pay-option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.pay-option input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex-shrink: 0; }
.pay-option span { display: flex; flex-direction: column; }
.pay-option small { color: var(--muted); }
.pay-marks { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.pay-marks img { width: 38px; height: 24px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); }
.summary-tour { display: grid; grid-template-columns: 84px 1fr; gap: 12px; margin-bottom: 16px; }
.summary-tour > img, .summary-tour > .ph { width: 84px; height: 84px; min-height: 0; border-radius: var(--radius-sm); object-fit: cover; padding: 0; }
.summary-tour .ph span { display: none; }
.summary-tour p { margin: 0; }
.summary-lines { margin: 0 0 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.summary-lines > div { display: flex; justify-content: space-between; padding: 4px 0; }
.summary-lines dt, .summary-lines dd { margin: 0; }
.summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px !important; font-weight: 700; font-size: 1.1rem; }

.pay-buttons { display: grid; gap: 10px; margin-bottom: 24px; }
.pay-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 16px 18px; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--card); cursor: pointer; }
.pay-button:hover { border-color: var(--brand); }
.pay-button span { display: flex; flex-direction: column; }
.pay-button small { color: var(--muted); }
.pay-button svg { color: var(--brand); }

.confirm-hero { text-align: center; padding: 16px 0 24px; }
.confirm-hero__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); color: var(--success); margin-bottom: 12px; }
.confirm-hero__icon svg { width: 36px; height: 36px; }
.booking-summary__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; }
.booking-summary__head p { margin: 0; }
.ref { font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; }
.status { display: inline-block; white-space: nowrap; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--line); }
.status--paid { background: var(--ok-bg); color: var(--success); }
.status--pending { background: var(--warn-bg); color: var(--warn); }
.status--failed, .status--cancelled { background: var(--err-bg); color: var(--error); }
.details { margin: 0; display: grid; gap: 10px; }
.details > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.details dt { color: var(--muted); font-size: .9rem; }
.details dd { margin: 0; }

/* ---------- Contact / about ---------- */
.contact-layout { display: grid; gap: 24px; }
.contact-cards { display: grid; gap: 12px; align-content: start; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.contact-card svg { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.contact-card div { display: flex; flex-direction: column; }
.contact-card span { color: var(--muted); font-size: .9rem; }
.contact-card--wa { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; }
.contact-card--wa svg, .contact-card--wa span { color: #fff; }
.guide-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.guide-card { background: var(--card); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.guide-card__photo { width: 120px; height: 120px; min-height: 0; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; padding: 0; }
.guide-card .ph span { display: none; }
.category-intro { margin-top: 48px; }

/* ---------- Footer ---------- */
.site-footer { background: #3a1420; color: #e8d3d8; padding: 40px 0 24px; font-size: .92rem; }
.site-footer a { color: #e7eeec; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); text-align: center; }
.trust-strip div { display: flex; flex-direction: column; }
.trust-strip strong { color: #fff; font-size: 1.3rem; }
.footer-grid { display: grid; gap: 28px; margin-bottom: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-title { font-family: var(--font); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-brand p { margin: 12px 0 16px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.social { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--accent); color: var(--accent-ink); }
.social svg { width: 18px; height: 18px; }
.payment-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 32px 0 20px; }
.payment-badges ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.payment-badges li { display: block; line-height: 0; }
.payment-badges img { width: 48px; height: 30px; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.footer-bottom p { margin: 0 0 4px; }

.whatsapp-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, .45); transition: transform .15s; }
.whatsapp-float:hover { transform: scale(1.07); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ==========================================================================
   Tablet ≥ 640px
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .tour-grid--scroll { grid-auto-columns: 45%; grid-template-columns: none; }
  .review-grid { grid-auto-columns: 46%; }
  .review-masonry { columns: 2; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 2fr 1fr 1fr auto; }
  .filters__search { grid-column: auto; }
  .filters .btn { grid-column: auto; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .things { grid-template-columns: 1fr 1fr; }
  .key-facts { grid-template-columns: repeat(4, 1fr); }
  .gallery { margin: 0 0 32px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); aspect-ratio: 2 / 1; }
  .gallery__main { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .gallery__thumb { aspect-ratio: auto; }
  .date-row { grid-template-columns: 1.4fr 1fr auto; }
  .date-row__price { grid-row: auto; }
  .date-row .btn { grid-row: auto; grid-column: auto; }
  .itinerary__stop { grid-template-columns: 140px 1fr; gap: 20px; }
  .itinerary__media { width: 140px; height: 110px; }
  .itinerary__stop::before { left: 69px; top: 110px; }
}

/* ==========================================================================
   Desktop ≥ 1000px
   ========================================================================== */
@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .hide-sm { display: inline-flex; }
  .menu-toggle { display: none; }
  .main-nav { position: static; transform: none; visibility: visible; background: none; padding: 0; overflow: visible; display: flex; }
  .main-nav > ul { display: flex; gap: 4px; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a { border: 0; font-size: .95rem; padding: 10px 14px; border-radius: 999px; gap: 4px; }
  .main-nav > ul > li > a:hover { background: var(--tint); }
  .main-nav .chev { display: block; width: 14px; height: 14px; }
  .dropdown { position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s; }
  .has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .dropdown a { color: var(--ink); padding: 8px 12px; border-radius: 6px; }
  .dropdown a:hover { background: var(--tint); }
  .nav-contact { display: none; }

  .section { padding-block: 80px; }
  .hero { min-height: 640px; }
  .hero__content { padding-bottom: 72px; }
  .category-grid { grid-template-columns: repeat(4, 1fr); }
  .category-grid:has(> :nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
  .tour-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .tour-grid--scroll { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .review-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .review-masonry { columns: 3; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
  .cta-band__inner { grid-template-columns: 1fr auto; align-items: center; }

  .tour-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; }
  .tour-aside { position: relative; }
  /* The card can be taller than the screen (many options, date picker, guest counts...). Sticky alone
     would lock it at `top` and leave its bottom -- including the Book now button -- permanently out of
     reach, since a stuck sticky element doesn't scroll itself and the page scrolls around it instead.
     max-height + its own scrollbar means a tall card scrolls internally once you're hovering over it. */
  .booking-card { position: sticky; top: calc(var(--header-offset, var(--header-h)) + 20px);
    max-height: calc(100vh - var(--header-offset, var(--header-h)) - 40px); overflow-y: auto; }
  .mobile-bar { display: none; }
  .has-mobile-bar { padding-bottom: 0; }
  .has-mobile-bar .whatsapp-float { bottom: 16px; }
  .whatsapp-float { right: 24px; bottom: 24px; }

  .checkout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; gap: 32px; }
  .checkout__summary { align-self: stretch; }  /* full column height, so the summary can stick while scrolling */
  .panel--sticky { position: sticky; top: calc(var(--header-offset, var(--header-h)) + 20px); }
  .contact-layout { grid-template-columns: 1.5fr 1fr; gap: 32px; }
}

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

@media print {
  .site-header, .site-footer, .whatsapp-float, .mobile-bar, .pay-buttons { display: none !important; }
}

/* Search pills: ring the whole pill, not the borderless input inside it */
.hero-search input:focus-visible, .filters__search input:focus-visible, .o-search input:focus-visible { box-shadow: none; }
.hero-search:focus-within, .filters__search:focus-within, .o-search:focus-within { box-shadow: 0 0 0 3px var(--ring); }

.manage-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; margin: 12px 0; }
.manage-form .field { margin: 0; flex: 1 1 240px; }
.manage-form .check { margin: 0; flex: 1 1 100%; }
.btn--danger { background: var(--card); color: var(--error); border-color: var(--err-border); }
.btn--danger:hover { background: var(--error); color: #fff; border-color: var(--error); }

/* Dropdowns: our own chevron with breathing room (the browser's arrow sits on the rounded edge). */
select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e5f57' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 14px 14px !important;
  padding-right: 40px !important;
  text-overflow: ellipsis;
  cursor: pointer;
}
:root[data-theme="dark"] select:not([multiple]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bba9a1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
}
select::-ms-expand { display: none; }

/* ---------- Styled dropdown list (computers; phones keep their native picker) ---------- */
.cselect { position: relative; min-width: 0; }
.cselect__native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; }
.cselect__button { display: flex; align-items: center; width: 100%; min-width: 0; text-align: left; color: var(--ink); background-color: var(--card);
  border: 1px solid var(--input-border); padding-right: 40px; cursor: pointer; line-height: 1.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e5f57' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px 14px; transition: border-color .15s, box-shadow .15s; }
:root[data-theme="dark"] .cselect__button { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bba9a1' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.cselect__button:hover { border-color: var(--muted-2); }
.cselect__button:focus-visible, .cselect.is-open .cselect__button { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--ring); }
.cselect.is-open .cselect__button { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c1d40' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E"); }
.cselect__button.is-invalid { border-color: var(--error); }
.cselect__button.is-placeholder .cselect__text { color: var(--muted); }
.cselect__text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__list { position: absolute; left: 0; top: calc(100% + 6px); z-index: 80; max-height: 300px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-width: min(92vw, 520px); }
.cselect.opens-up .cselect__list { top: auto; bottom: calc(100% + 6px); }
.cselect__option { position: relative; padding: 9px 36px 9px 12px; border-radius: 8px; cursor: pointer; font-size: .93rem; line-height: 1.35; }
.cselect__option.is-active { background: var(--tint); }
.cselect__option[aria-selected="true"] { color: var(--brand); font-weight: 600; }
.cselect__option[aria-selected="true"]::after { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cselect__option[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.cselect__group { padding: 10px 12px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.filters .cselect__button, .o-toolbar .cselect__button { border-color: var(--line); }
:root[data-theme="dark"] .cselect.is-open .cselect__button { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4527c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E"); }

/* Live filter updates */
[data-results] { transition: opacity .15s; }
[data-results].is-loading { opacity: .5; pointer-events: none; }
.confirm-hero__icon--pending { background: var(--warn-bg); color: var(--warn); }
.coming-soon { line-height: 1.5; }

/* File pickers: styled button instead of the browser's grey "Browse…" */
input[type="file"] { font-size: .9rem; color: var(--muted); max-width: 100%; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 1px solid var(--input-border);
  border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s; }
input[type="file"]::file-selector-button:hover { border-color: var(--brand); background: var(--brand-tint); }

/* ---------- Calendar (flatpickr) in the site's colours, light and dark ---------- */
.flatpickr-calendar { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-family: inherit; color: var(--ink); width: 312px; padding: 6px; }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before, .flatpickr-calendar.arrowBottom::after { display: none; }
.flatpickr-months { padding: 4px 0 6px; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month, .flatpickr-current-month input.cur-year,
.flatpickr-current-month .flatpickr-monthDropdown-months { color: var(--ink); fill: var(--ink); font-weight: 700; font-size: 1rem; }
.flatpickr-current-month .flatpickr-monthDropdown-months { background: var(--card); border-radius: 8px; }
.flatpickr-current-month .flatpickr-monthDropdown-months:hover, .numInputWrapper:hover { background: var(--brand-tint); }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { color: var(--ink); fill: var(--ink); top: 6px;
  border-radius: 50%; padding: 8px; height: 34px; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--brand); }
span.flatpickr-weekday { color: var(--muted); font-weight: 600; font-size: .78rem; }
.flatpickr-days, .dayContainer { width: 298px; min-width: 298px; max-width: 298px; }
.flatpickr-day { color: var(--ink); border-radius: 50%; font-weight: 500; max-width: 40px; height: 40px; line-height: 38px; }
.flatpickr-day:hover, .flatpickr-day:focus { background: var(--brand-tint); border-color: var(--brand-tint); color: var(--ink); }
.flatpickr-day.today { border-color: var(--brand); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--brand); border-color: var(--brand); color: #fff; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: var(--muted); opacity: .55; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: var(--muted); opacity: .35; background: none; }
.flatpickr-time { border-top: 1px solid var(--line) !important; margin-top: 4px; }
.flatpickr-time input, .flatpickr-time .flatpickr-time-separator { color: var(--ink); font-weight: 600; }
.flatpickr-time input:hover, .flatpickr-time input:focus { background: var(--brand-tint); }
.numInputWrapper span.arrowUp::after { border-bottom-color: var(--ink); }
.numInputWrapper span.arrowDown::after { border-top-color: var(--ink); }
.flatpickr-current-month .numInputWrapper span { display: none; }  /* year: no tiny spinner arrows */
.flatpickr-current-month .cur-month { margin-left: 0; font-weight: 700; }
.flatpickr-current-month input.cur-year { font-weight: 700; }
input.flatpickr-input[readonly], input.form-control.input { cursor: pointer; }
input.is-invalid { border-color: var(--error) !important; }

/* ---------- Error pages (404 / 403) ---------- */
.error-page { padding: clamp(48px, 10vw, 110px) 0; }
.error-page__mark { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-tint);
  color: var(--brand); display: grid; place-items: center; }
.error-page__mark svg { width: 40px; height: 40px; }
.error-page h1 { margin-bottom: 12px; }
.error-page__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.error-page__more { margin-top: 28px; }

/* ---------- Booking widget: options, date, time, guests (booking.js) ---------- */
.booker__label { margin: 4px 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.booker__options { display: grid; gap: 8px; margin-bottom: 14px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer;
  transition: border-color .15s, background .15s; }
.opt:hover { border-color: var(--brand); }
.opt.is-selected, .opt:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.opt input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; }
.opt__body strong { display: block; font-size: .98rem; }
.opt__body small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.opt__price { font-weight: 800; white-space: nowrap; }
.opt__price small { display: block; text-align: right; font-weight: 500; font-size: .78rem; color: var(--muted); }
.booker .field-row { gap: 10px; }
.booker .field input[data-booker-date] + input, .booker .field input.input { cursor: pointer; }
.field-row--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.field-row--3 .field span small { display: block; font-weight: 400; }
.booker__status { min-height: 1.2em; margin: 4px 0 0; font-size: .85rem; color: var(--warn); }
.booking-card__note { margin: 10px 0 0; line-height: 1.45; }
.summary-when { margin: 0 0 10px; }
.pickup { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 4px; margin: 0 0 14px; background: var(--surface-2, var(--bg)); }
.pickup legend { font-weight: 700; padding: 0 6px; }
@media (max-width: 420px) { .field-row--3 { grid-template-columns: 1fr 1fr; } }

/* "Save by combining" box and the multi-tour note on tour pages */
.combo { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: linear-gradient(120deg, var(--brand-tint), var(--card)); border: 1px solid var(--line); max-width: 760px; }
.combo:hover { box-shadow: var(--shadow); color: var(--ink); }
.combo__tag { justify-self: start; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.combo__title { font-size: 1.2rem; }
.combo__text { color: var(--muted); }
.combo__price { display: flex; align-items: center; gap: 14px; font-weight: 700; margin-top: 6px; }
.multi-tour-note { margin: 18px 0 0; padding: 14px 18px; border-left: 4px solid var(--brand); background: var(--card);
  border-radius: 0 12px 12px 0; }

/* Show / hide password (passwords.js) */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 46px !important; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0;
  border-radius: 8px; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.pw-toggle:hover, .pw-toggle:focus-visible { color: var(--brand); background: var(--brand-tint); }
.pw-toggle svg { width: 20px; height: 20px; }

/* Demo logins under the dashboard login (this computer only) */
.dev-hint { margin: 18px 0 10px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); font-size: .88rem; line-height: 1.6; }
.dev-hint > strong { display: inline-block; margin-bottom: 4px; }
.dev-hint code { padding: 1px 7px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); font-size: .82rem; }
.dev-hint__row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 3px 0; }
.dev-hint__use { margin-left: auto; border: 1px solid var(--line); background: var(--card); color: var(--brand);
  border-radius: 999px; padding: 2px 12px; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.dev-hint__use:hover { border-color: var(--brand); }

/* Two-factor login: app code OR recovery code (twofactor.js) */
[data-2fa] [data-recovery-code], .owner-login [data-switch-2fa] [data-recovery-code] { display: none; }
[data-2fa][data-recovery] [data-recovery-code], .is-recovery [data-switch-2fa] [data-recovery-code] { display: block; }
[data-2fa][data-recovery] [data-app-code], .is-recovery [data-switch-2fa] [data-app-code] { display: none; }
.code-input { letter-spacing: .25em; font-variant-numeric: tabular-nums; font-size: 1.15rem; }
.linklike { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; text-decoration: underline; cursor: pointer; }
.login-theme { position: fixed; top: 16px; right: 16px; z-index: 5; }

/* Loading bar along the very top while the next page loads (static/js/progress.js) */
.page-progress { position: fixed; top: 0; left: 0; z-index: 9999; height: 3px; width: 0; opacity: 0; pointer-events: none;
  background: var(--accent); box-shadow: 0 0 8px var(--accent); border-radius: 0 3px 3px 0;
  transition: width 6s cubic-bezier(.08, .8, .2, 1), opacity .2s; }
.page-progress.is-running { width: 88%; opacity: 1; }
.page-progress.is-done { width: 100%; opacity: 0; transition: width .2s ease-out, opacity .35s .2s; }
@media (prefers-reduced-motion: reduce) { .page-progress { transition: opacity .2s; } }

/* Scrollbars: slim rounded thumb in the site's colours (light + dark) instead of the browser's grey block.
   Chrome/Edge/Safari use ::-webkit-scrollbar (which Chrome ignores if scrollbar-color is set, so that one is
   only for Firefox, which has no ::-webkit-scrollbar). */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border-radius: 999px; border: 3px solid transparent;
  background-clip: padding-box; min-height: 40px; }
::-webkit-scrollbar-thumb:hover { background-color: var(--scroll-thumb-hover); }
::-webkit-scrollbar-corner { background: transparent; }
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
}
.footer-contact__who { opacity: .7; font-size: .85em; margin-left: 4px; }

/* Phone fields: country dropdown with flags (static/js/phone.js, intl-tel-input) in the site's colours */
.iti { display: block; width: 100%;
  --iti-border-color: var(--line); --iti-dialcode-color: var(--muted); --iti-dropdown-bg: var(--card);
  --iti-hover-color: var(--brand-tint); --iti-arrow-color: var(--muted); }
.iti input[type="tel"] { width: 100%; }
.iti__selected-country { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.iti__selected-country-primary { padding: 0 6px 0 14px; }
.iti__selected-dial-code { color: var(--ink); font-weight: 500; }
.iti__dropdown-content { border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); color: var(--ink); overflow: hidden; }
.iti__search-input { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.iti__search-input:focus { outline: none; }
.iti__country { padding: 8px 12px; }
.iti__country-name { color: var(--ink); }
.iti--fullscreen-popup .iti__dropdown-content { max-height: none; }
