@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; src: url(/fonts/instrument-serif-italic.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Figtree'; font-weight: 300 900; src: url(/fonts/figtree.woff2) format('woff2'); font-display: swap; }

:root {
  --teal: #0e7c74; --teal-dark: #0a5d57; --ink: #0f262d; --ink-2: #163640; --muted: #5b6b70;
  --sand: #faf6ef; --sky: #e8f4f2; --card: #fff; --line: #e8e2d8; --gold: #f2a900; --wa: #1fb855;
  --err: #b42318; --ok: #067647; --radius: 20px;
  --shadow: 0 1px 2px rgb(15 38 45 / .06), 0 12px 32px -12px rgb(15 38 45 / .18);
  --serif: 'Instrument Serif', Georgia, serif; --sans: 'Figtree', system-ui, sans-serif;
  --deep: #0f262d; --glass: rgb(255 255 255 / .96); color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 var(--sans); background: var(--sand); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
small { font-size: .8em; opacity: .75; font-weight: 500; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; padding-top: 140px; min-height: 60vh; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 16px; border-radius: 8px; background: var(--deep); color: #fff; }
.skip:focus { top: 12px; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i.fill { fill: currentColor; stroke: none; }
.eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.note { color: var(--muted); font-size: .95rem; }
.quote { font-family: var(--serif); font-style: italic; font-size: 1.6rem; line-height: 1.3; color: var(--teal); }
.flag { height: 5px; background: linear-gradient(90deg, #ea2839 25%, #1a206d 25% 50%, #ffd500 50% 75%, #00a551 75%); }
html:not(.js) .js-only { display: none !important; }

/* Buttons */
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 999px;
  background: var(--teal); color: #fff; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover, button:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn .i, button .i { transition: transform .2s; }
.btn:hover .i:last-child, button:hover .i:last-child { transform: translateX(3px); }
.wa-btn { background: var(--wa); }
.wa-btn:hover { background: #18a049; }
.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.ghost:hover { background: #fff; }
.light { background: #fff; color: var(--deep); }
.light:hover { background: var(--sky); }
.wide { width: 100%; margin-top: 10px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled, .site-header.solid, .site-header.nav-open { background: var(--glass); color: var(--ink); box-shadow: 0 6px 24px -12px rgb(0 0 0 / .25); backdrop-filter: blur(10px); }
.topbar { font-size: .85rem; max-height: 40px; overflow: hidden; transition: max-height .3s, opacity .3s; border-bottom: 1px solid rgb(255 255 255 / .15); }
.scrolled .topbar, .solid .topbar { max-height: 0; opacity: 0; }
.topbar .wrap { display: flex; gap: 24px; align-items: center; height: 38px; }
.topbar a { display: inline-flex; gap: 6px; align-items: center; color: inherit; text-decoration: none; opacity: .9; }
.topbar .social { margin-left: auto; display: flex; gap: 14px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.brand img { background: #fff; border-radius: 12px; padding: 3px; }
.brand small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu > a:not(.btn) { position: relative; color: inherit; text-decoration: none; font-weight: 600; }
.menu > a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: currentColor; transition: right .25s; }
.menu > a:not(.btn):hover::after { right: 0; }
.menu .wa-btn { padding: 10px 18px; }
.menu-btn { display: none; padding: 10px; background: none; color: inherit; }
.menu-btn:hover { background: rgb(127 127 127 / .15); transform: none; }
.menu-btn .i { width: 26px; height: 26px; }
.langs { position: relative; }
.langs summary { display: flex; gap: 6px; align-items: center; cursor: pointer; list-style: none; font-weight: 700; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px currentColor; }
.langs summary::-webkit-details-marker { display: none; }
.langs div { position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 8px; border-radius: 14px; background: var(--card); box-shadow: var(--shadow); animation: pop .18s ease-out; }
.langs div a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langs div a:hover { background: var(--sky); }
.langs div a[aria-current] { background: var(--teal); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 960px) {
  .topbar { display: none; }
  .js .menu-btn { display: inline-flex; }
  .js .menu { display: none; }
  .nav-open .menu { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 24px; background: var(--card); color: var(--ink); box-shadow: 0 20px 30px -20px rgb(0 0 0 / .3); }
  .nav-open .menu > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-open .langs div { position: static; box-shadow: none; padding: 0; }
  .nav-open .langs summary { align-self: flex-start; margin: 12px 0; }
  html:not(.js) .menu { flex-wrap: wrap; gap: 12px; font-size: .9rem; }
  html:not(.js) .nav { height: auto; flex-wrap: wrap; padding: 12px 20px; }
}

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(100vh, 940px); min-height: min(100svh, 940px); overflow: hidden; color: #fff; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out both; }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(8 28 34 / .55) 0%, rgb(8 28 34 / .15) 35%, rgb(8 28 34 / .7) 100%); }
.hero-inner, .planner { position: relative; z-index: 1; }
.hero-inner { width: 100%; padding-top: 150px; padding-bottom: 32px; }
.hero .eyebrow { color: #fff; opacity: .9; }
.hero-title { font-size: clamp(3rem, 9vw, 7rem); line-height: .95; max-width: 11em; margin-bottom: 20px; text-shadow: 0 2px 30px rgb(0 0 0 / .3); }
.hero-title span { display: inline-block; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-title span:nth-child(2) { animation-delay: .08s; } .hero-title span:nth-child(3) { animation-delay: .16s; }
.hero-title span:nth-child(4) { animation-delay: .24s; } .hero-title span:nth-child(5) { animation-delay: .32s; }
.hero-title span:nth-child(n+6) { animation-delay: .4s; }
.hero-sub { max-width: 36em; font-size: 1.2rem; margin: 0 0 24px; opacity: .95; animation: rise .9s .45s both; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; animation: rise .9s .6s both; }
.badges li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: rgb(255 255 255 / .14); backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .25); }
.badges .fill { color: var(--gold); }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

.planner { display: grid; grid-template-columns: 2fr 1.2fr .8fr auto; gap: 12px; align-items: end; margin-bottom: 40px; padding: 20px; border-radius: 24px;
  background: var(--glass); color: var(--ink); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); animation: rise .9s .75s both; }
.planner-title { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-size: 1.6rem; }
.planner label { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: center; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.planner label .i { color: var(--teal); }
.planner select, .planner input { grid-column: 1 / -1; }
.planner button { height: 50px; }
@media (max-width: 860px) { .planner { grid-template-columns: 1fr 1fr; } .planner label:first-of-type, .planner button { grid-column: 1 / -1; } }
@media (max-width: 560px) { .planner { grid-template-columns: 1fr; } } /* phones: one field per line, long labels never squeeze the fields */

.tour-hero { min-height: min(72vh, 680px); }
.back { color: #fff; text-decoration: none; font-weight: 600; opacity: .9; }
.back:hover { opacity: 1; text-decoration: underline; }
.hero-price { display: inline-block; margin: 0; padding: 10px 18px; border-radius: 999px; background: rgb(255 255 255 / .16); backdrop-filter: blur(8px); font-weight: 700; animation: rise .9s .6s both; }
.hero-price small { opacity: .85; }
.tour-hero .hero-title { font-size: clamp(2.6rem, 7vw, 5.2rem); }

/* Sections */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .about h2, .contact h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }

/* Tours: each category has its own colour (--c) and highlight (--c2) */
[data-cat="transfer"] { --c: #2563eb; --c2: #38bdf8; }
[data-cat="inland"] { --c: #e4572e; --c2: #f59e0b; }
[data-cat="park"] { --c: #15803d; --c2: #84cc16; }
[data-cat="hiking"] { --c: #7c3aed; --c2: #e879f9; }
[data-cat="sea"] { --c: #0e7490; --c2: #2dd4bf; }
.tours-sec { position: relative; overflow: hidden; background:
  radial-gradient(520px 420px at -5% 5%, #fde3d3 0, transparent 70%),
  radial-gradient(520px 420px at 105% 25%, #d3f1f6 0, transparent 70%),
  radial-gradient(560px 460px at 20% 75%, #e9e0fb 0, transparent 70%),
  radial-gradient(520px 420px at 95% 95%, #dcf5d6 0, transparent 70%), var(--sand); }
.rainbow { width: fit-content; background: linear-gradient(90deg, #2563eb, #0e7490 30%, #15803d 55%, #e4572e 80%, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip[data-filter="all"] { --c: var(--ink); --c2: var(--teal); }
.chip { gap: 8px; padding: 9px 10px 9px 16px; font-size: .95rem; color: var(--c);
  background: color-mix(in srgb, var(--c) 9%, var(--card)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 25%, transparent); }
.chip:hover { background: color-mix(in srgb, var(--c) 16%, var(--card)); transform: translateY(-2px); }
.chip .count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; font-size: .8rem; background: color-mix(in srgb, var(--c) 15%, var(--card)); }
.chip[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 10px 24px -10px var(--c); }
.chip[aria-pressed="true"] .count { background: rgb(255 255 255 / .25); }

.tour-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: -200px; position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); color: inherit; text-decoration: none; will-change: transform;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.card[hidden] { display: none; }
.card:hover, .js .card.reveal.in:hover { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-8px); box-shadow: 0 30px 50px -24px color-mix(in srgb, var(--c, var(--ink)) 70%, transparent); }
.card.tilting { transition: transform .1s linear, box-shadow .35s; }
/* colour bar that sweeps in along the bottom on hover */
.card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--c), var(--c2)); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.card:hover::after { transform: scaleX(1); }
.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky); }
.card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--c) 75%, transparent), transparent 55%); opacity: .35; transition: opacity .4s; }
.card:hover .card-img img { transform: scale(1.08); }
.card:hover .card-img::after { opacity: .85; }
.badge, .hl { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; color: #fff; }
.badge { left: 14px; top: 14px; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 6px 16px -6px var(--c); }
.hl { right: 14px; bottom: 14px; background: rgb(255 255 255 / .2); backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .35); transform: translateY(8px); opacity: 0; transition: opacity .35s, transform .35s; }
.hl .i { color: #fde047; }
.card:hover .hl, .card:focus-visible .hl { opacity: 1; transform: none; }
@media (hover: none) { .hl { opacity: 1; transform: none; } }
/* soft spotlight that follows the mouse */
.card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 24px;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 12%, transparent), transparent 70%); }
.card-body h3 { transition: color .25s; }
.card:hover .card-body h3 { color: var(--c); }
.card-body p { margin: 0 0 16px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed color-mix(in srgb, var(--c) 30%, var(--line)); }
.price { font-weight: 700; color: var(--c); }
.price small { color: var(--muted); opacity: 1; }
.more { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--c); background: color-mix(in srgb, var(--c) 12%, var(--card)); transition: background .3s, color .3s, transform .3s; }
.card:hover .more { color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); transform: rotate(-45deg) scale(1.08); }
.card.pop { animation: pop-in .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(.94); } }
.tour-grid + .note { margin-top: 28px; text-align: center; }

/* Why */
.why { background: var(--sky); }
.why-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-item { padding: 32px 26px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); transition: transform .3s; }
.why-item:hover { transform: translateY(-4px); }
.why-item p { margin: 0; color: var(--muted); }
.why-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 20px; border-radius: 18px; background: var(--teal); color: #fff; transition: transform .4s; }
.why-icon .i { width: 28px; height: 28px; }
.why-item:hover .why-icon { transform: rotate(-8deg) scale(1.06); }

/* Marquee */
.marquee { overflow: hidden; padding: 26px 0; background: var(--teal); color: #fff; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.4rem); white-space: nowrap; }
.spark { color: #ffd500; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.about-media { position: relative; padding: 0 40px 40px 0; }
.about-media > img:first-child { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.about-small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--sand); border-radius: 24px; box-shadow: var(--shadow); }
.about-text > p:not(.eyebrow):not(.quote) { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.stats dt { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.2rem); line-height: 1; color: var(--teal); }
.stats dd { margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } .about-media { max-width: 460px; } }

/* Reviews */
.reviews { background: linear-gradient(180deg, var(--sand), #f1ebe0); }
.stars { margin: 0 0 8px; color: var(--gold); letter-spacing: 2px; }
.carousel { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
html:not(.js) .carousel { grid-template-columns: 1fr; }
.car-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px 4px 24px; }
.car-track::-webkit-scrollbar { display: none; }
.review { flex: 0 0 min(460px, 86%); scroll-snap-align: start; margin: 0; padding: 32px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; }
.review blockquote { margin: 0 0 20px; font-size: 1.02rem; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden; } /* long reviews: the rest is on Tripadvisor */
.review figcaption { margin-top: auto; }
.review figcaption { color: var(--muted); font-size: .95rem; }
.review strong { color: var(--ink); }
.car-btn { width: 52px; height: 52px; padding: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.car-btn:hover { background: var(--deep); color: #fff; transform: none; }
@media (max-width: 640px) { .carousel { grid-template-columns: 1fr 1fr; } .car-track { grid-column: 1 / -1; grid-row: 1; } .car-btn { justify-self: center; } }

/* Contact */
.contact { background: var(--deep); color: #fff; }
.contact .eyebrow { color: #8fd3c7; }
.contact p { color: #c9d6d9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tiles { display: grid; gap: 14px; }
.tile { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: #fff; text-decoration: none; font-size: 1.2rem; overflow-wrap: anywhere; transition: background .25s, transform .25s; }
.tile:hover { background: rgb(255 255 255 / .12); transform: translateX(6px); }
.tile > .i { width: 52px; height: 52px; padding: 13px; border-radius: 16px; background: var(--teal); }
.tile.wa > .i { background: var(--wa); }
.tile small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .2s, color .2s; }
.contact .social a, .site-footer .social a { color: #fff; }
.social a:hover { background: #fff; color: var(--deep) !important; }
.topbar .social a { width: auto; height: auto; box-shadow: none; }
.topbar .social a:hover { background: none; color: inherit !important; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Footer */
.site-footer { background: #0a1c21; color: #b8c7ca; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 1.2rem; }
.footer-brand img { background: #fff; border-radius: 12px; padding: 3px; }
.site-footer .quote { color: #8fd3c7; font-size: 1.35rem; }
.site-footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { display: inline-flex; gap: 8px; align-items: center; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.site-footer li a:hover { color: #fff; }
.copy { margin: 0; padding: 20px; text-align: center; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgb(31 184 85 / .6); transition: transform .2s; }
.wa-float .i { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; z-index: -1; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }

/* Tour page */
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: 'prose calc' 'book calc'; gap: 48px 56px; padding-top: 72px; padding-bottom: 40px; }
.prose { grid-area: prose; font-size: 1.08rem; }
.prose > p:first-child { font-size: 1.25rem; }
.stops { list-style: none; counter-reset: stop; margin: 28px 0; padding: 0; }
.stops li { position: relative; counter-increment: stop; padding: 0 0 26px 64px; color: var(--muted); }
.stops li::before { content: counter(stop, decimal-leading-zero); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2px var(--teal); color: var(--teal); font-family: var(--serif); font-size: 1.2rem; }
.stops li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: linear-gradient(var(--teal), transparent); opacity: .35; }
.stops strong { display: block; margin-bottom: 2px; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.2; }

.calc { grid-area: calc; align-self: start; position: sticky; top: 100px; padding: 28px; border-radius: 26px; background: var(--deep); color: #fff; box-shadow: 0 30px 60px -30px rgb(15 38 45 / .6); }
.calc h2 { margin: 0 0 12px; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8fd3c7; }
.calc table { width: 100%; border-collapse: collapse; }
.calc td { padding: 10px 8px; border-bottom: 1px solid rgb(255 255 255 / .1); transition: background .25s; }
.calc td + td { text-align: right; font-weight: 700; white-space: nowrap; }
.calc tr.active td { background: rgb(143 211 199 / .16); color: #fff; }
.calc tr.active td:first-child { border-radius: 10px 0 0 10px; box-shadow: inset 3px 0 0 #8fd3c7; }
.calc tr.active td:last-child { border-radius: 0 10px 10px 0; }
.calc-note { margin: 10px 0 0; font-size: .85rem; color: #b9c9cd; }
.calc-extra { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 14px 16px; border-radius: 14px; background: rgb(255 255 255 / .06); }
.calc-box { margin: 20px 0 8px; padding: 20px; border-radius: 18px; background: rgb(255 255 255 / .07); }
.calc-title { margin: 0 0 12px; font-family: var(--serif); font-size: 1.5rem; }
.stepper { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.stepper button { width: 44px; height: 44px; padding: 0; font-size: 1.4rem; background: #fff; color: var(--deep); }
.stepper button:hover { background: #8fd3c7; transform: none; }
.stepper output { min-width: 2ch; font-family: var(--serif); font-size: 2.2rem; text-align: center; }
.stepper span { color: #b9c9cd; }
.calc dl { margin: 0; }
.calc dl div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.calc dt { color: #c9d6d9; }
.calc dd { margin: 0; font-weight: 700; text-align: right; }
.calc .total { margin-top: 8px; padding-top: 12px; border-top: 1px dashed rgb(255 255 255 / .25); font-size: 1.15rem; }
.calc .total dd { color: #8fd3c7; font-size: 1.3rem; }

.book { grid-area: book; padding: 36px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.book h2 { font-size: 2.4rem; margin-bottom: 4px; }
.book-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.book-form .full, .book-form button { grid-column: 1 / -1; }
.book-form button { justify-self: start; }
.related { padding-top: 40px; }
@media (max-width: 960px) {
  .tour-layout { grid-template-columns: 1fr; grid-template-areas: 'prose' 'calc' 'book'; gap: 32px; }
  .calc { position: static; }
}
@media (max-width: 560px) { .book { padding: 24px 20px; } .book-form { grid-template-columns: 1fr; } }

/* Forms (site + admin) */
label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
input, textarea, select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); font: 400 1rem var(--sans); transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgb(14 124 116 / .15); }
/* iPhone/iPad: date fields are drawn wider than their box and stay blank until tapped. Keep them in the box, show a calendar. */
@supports (-webkit-touch-callout: none) {
  input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; min-height: 50px; padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; }
  input[type="date"]::-webkit-date-and-time-value { text-align: left; }
}
.ok { padding: 14px 18px; border-radius: 12px; background: #e3f6ea; color: var(--ok); font-weight: 600; }
.err { color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* Scroll progress + back to top */
.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 4px; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, #ea2839, #1a206d, #ffd500, #00a551); pointer-events: none; }
.to-top { position: fixed; right: 28px; bottom: 92px; z-index: 30; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--deep); color: #fff; }

/* Tour search + sort */
.tour-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: -12px 0 28px; }
.search { position: relative; flex: 1 1 320px; display: block; }
.search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search input { padding: 14px 18px 14px 46px; border-radius: 999px; box-shadow: var(--shadow); border-color: transparent; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.sort select { width: auto; border-radius: 999px; padding: 12px 16px; box-shadow: var(--shadow); border-color: transparent; }
.results { margin: 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.no-results { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.no-results[hidden] { display: none; }

/* Round button over photos (close button of the circles viewer) */
.lb-btn { position: absolute; width: 50px; height: 50px; padding: 0; background: rgb(255 255 255 / .15); color: #fff; backdrop-filter: blur(6px); }
.lb-btn:hover { background: #fff; color: var(--deep); transform: none; }

/* FAQ accordion */
.faq { background: var(--sky); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: 18px; background: var(--card); box-shadow: var(--shadow); transition: box-shadow .3s; }
.faq-item[open] { box-shadow: 0 0 0 2px var(--teal), var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--muted); animation: rise .35s ease-out; }
.plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--sky); transition: transform .3s, background .3s; }
.plus::before, .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--teal); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item[open] .plus { background: var(--teal); transform: rotate(180deg); }
.faq-item[open] .plus::before, .faq-item[open] .plus::after { background: #fff; }
.faq-item[open] .plus::after { transform: rotate(0); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Generic 3D tilt (driven by --rx/--ry from app.js) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.tilt.tilting { transition: transform .1s linear, box-shadow .3s; }

/* Tour banner: layered 3D parallax */
.tour-hero { --px: 0; --py: 0; --sy: 0; }
.tour-hero .hero-bg { animation: none; transform: translate3d(calc(var(--px) * -26px), calc(var(--py) * -18px + var(--sy) * .3px), 0) scale(1.14); transition: transform .4s ease-out; }
/* Tour page: the whole photo, sharp, in the middle (any shape fits); a blurred copy fills the rest of the banner */
.tour-hero .hero-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(1.2) brightness(.7);
  transform: translate3d(calc(var(--px) * -26px), calc(var(--py) * -18px + var(--sy) * .3px), 0) scale(1.3); transition: transform .4s ease-out; }
.tour-hero .hero-fill + .hero-bg { object-fit: contain; transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -6px + var(--sy) * .12px), 0); }
@media (min-width: 901px) { .tour-hero .hero-fill + .hero-bg { object-position: 88% 50%; } } /* photo on the right, title on the blurred side */
.tour-hero .hero-inner { padding-bottom: 96px; transform: perspective(1200px) rotateX(calc(var(--py) * -6deg)) rotateY(calc(var(--px) * 7deg)); transform-style: preserve-3d; transition: transform .4s ease-out; }
.depth-1 { transform: translateZ(20px); } .depth-2 { transform: translateZ(45px); } .depth-3 { transform: translateZ(70px); } .depth-4 { transform: translateZ(100px); }
.tour-hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, var(--c), var(--c2)); }

/* Quick facts: floating tiles that flip in over the banner */
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: -56px; }
.fact { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: 0 24px 44px -22px rgb(15 38 45 / .4);
  animation: flip-in .9s cubic-bezier(.2, .7, .2, 1) both; }
.fact:nth-child(2) { animation-delay: .12s; } .fact:nth-child(3) { animation-delay: .24s; } .fact:nth-child(4) { animation-delay: .36s; }
.fact-icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 10px 20px -10px var(--c); }
.fact-icon .i { width: 24px; height: 24px; }
.fact > span > small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: 1; }
.fact strong { font-size: 1.05rem; }
@keyframes flip-in { from { opacity: 0; transform: perspective(800px) rotateX(-75deg) translateY(24px); } }

/* Itinerary journey: route line + car driven by --p (0..1) */
.journey { --p: 0; position: relative; margin: 28px 0; }
.journey .stops { margin: 0; }
.route { position: absolute; left: 21px; top: 22px; bottom: 30px; width: 3px; border-radius: 3px; background: color-mix(in srgb, var(--c, var(--teal)) 16%, transparent); }
.route-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(var(--c, var(--teal)), var(--c2, #8fd3c7)); transform: scaleY(var(--p)); transform-origin: top; }
.route-car { position: absolute; z-index: 3; left: 50%; top: calc(var(--p) * 100%); display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; background: var(--card); color: var(--c, var(--teal)); box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--c, var(--teal)) 70%, transparent), 0 0 0 3px color-mix(in srgb, var(--c, var(--teal)) 25%, transparent); }
.route-car .i { width: 20px; height: 20px; }
.journey .stops li { padding-bottom: 20px; }
.journey .stops li::after { display: none; }
.journey .stops li::before { z-index: 2; color: var(--c, var(--teal)); box-shadow: inset 0 0 0 2px var(--c, var(--teal)); transition: background .4s, color .4s, box-shadow .4s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.journey .stops li.reached::before { background: var(--c, var(--teal)); color: #fff; transform: rotateY(360deg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c, var(--teal)) 18%, transparent); }
.stop-card { padding: 16px 20px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); color: var(--muted); }
.stop-card:hover { box-shadow: 0 24px 40px -22px color-mix(in srgb, var(--c, var(--teal)) 60%, transparent); }
.journey .stops li.reached .stop-card { box-shadow: inset 4px 0 0 var(--c, var(--teal)), var(--shadow); }
.js .journey .stops li.reveal { transform: perspective(900px) rotateX(-32deg) translateY(30px); transform-origin: 50% 0; }
.js .journey .stops li.reveal.in { transform: none; }

/* Price calculator extras */
.crowd { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; min-height: 26px; margin: 2px 0 16px; }
.person { position: relative; width: 16px; height: 24px; color: #8fd3c7; transition: color .3s; }
.person::before { content: ''; position: absolute; left: 4px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.person::after { content: ''; position: absolute; left: 1px; top: 10px; width: 14px; height: 13px; border-radius: 7px 7px 3px 3px; background: currentColor; }
.person.empty { color: rgb(255 255 255 / .16); }
.person.pop { animation: person-in .45s cubic-bezier(.3, 1.6, .5, 1) both; }
.crowd[data-more]:not([data-more=""])::after { content: attr(data-more); margin-left: 4px; color: #8fd3c7; font-weight: 700; }
@keyframes person-in { from { transform: translateY(12px) scale(.2); opacity: 0; } }
.calc .total dd.bump { animation: bump .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes bump { 40% { transform: perspective(400px) rotateX(-30deg) scale(1.1); } }
.calc.tilt { transform-origin: 50% 0; }
@media (max-width: 960px) { .facts { margin-top: -40px; } }

/* Custom tour builder */
[data-reg="north"] { --rc: #2563eb; } [data-reg="west"] { --rc: #7c3aed; } [data-reg="centre"] { --rc: #15803d; }
[data-reg="south"] { --rc: #e4572e; } [data-reg="east"] { --rc: #0e7490; }
.custom-hero { min-height: min(62vh, 560px); }
.custom-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px 48px; align-items: start; padding-top: 72px; padding-bottom: 80px; }
.custom-layout > .custom-done { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.custom-done .ok { margin: 0; flex: 1; }
.wizard, .wizard.book-form { display: block; min-width: 0; margin-top: 0; scroll-margin-top: 100px; }
.dest-preview[hidden] { display: none; }
.wizard .err:not(.step-err) { margin-top: 0; }

.step-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: none; }
.step-tab { width: 100%; justify-content: flex-start; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--card); color: var(--muted); box-shadow: var(--shadow); font-size: .95rem; }
.step-tab span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--teal); font-weight: 800; transition: background .3s, color .3s, transform .4s; }
.step-tab:hover { background: var(--card); color: var(--ink); }
.step-tab.active { color: var(--ink); box-shadow: 0 0 0 2px var(--teal), var(--shadow); }
.step-tab.active span { background: var(--teal); color: #fff; transform: rotateY(360deg); }
.step-tab.done span { background: #d1fae5; color: #047857; }
.step-tab.done span { font-size: 0; }
.step-tab.done span::after { content: '✓'; font-size: 1rem; }
@media (max-width: 640px) { .step-tab { flex-direction: column; gap: 4px; font-size: .8rem; text-align: center; } }

.step { padding: 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); }
.wizard:not(.on) .step + .step { margin-top: 24px; }
.step[hidden] { display: none; }
.step.enter { animation: step-in .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes step-in { from { opacity: 0; transform: perspective(1000px) rotateY(-8deg) translateX(30px); } }
.step-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.step-num { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(135deg, var(--teal), #2dd4bf); color: #fff; font: 2rem/1 var(--serif); }
.step-head h2 { margin: 0 0 4px; font-size: clamp(1.8rem, 4vw, 2.4rem); }
.step-head .note { margin: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .step { padding: 20px; } }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.step-err { margin: 16px 0 0; font-weight: 600; }

.map-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.region-chips { margin: 0; }
.region-chips .chip:not([data-region="all"]) { --c: var(--rc); }
.region-chips .chip[data-region="all"] { --c: var(--ink); --c2: var(--teal); }
.region-chips .chip { --c2: color-mix(in srgb, var(--rc, var(--teal)) 60%, var(--card)); padding: 8px 14px; font-size: .9rem; }

.dest-preview { position: absolute; left: 14px; bottom: 14px; display: grid; gap: 6px; justify-items: start; width: min(320px, calc(100% - 28px)); padding: 16px 18px; border-radius: 18px;
  background: var(--glass); backdrop-filter: blur(8px); box-shadow: var(--shadow); animation: swap .35s ease-out; }
.dest-preview .badge { position: static; --c: var(--rc); --c2: color-mix(in srgb, var(--rc) 60%, var(--card)); }
.dest-preview h3 { margin: 0; }
.dest-preview p { margin: 0; color: var(--muted); font-size: .92rem; }
.dest-preview button { padding: 8px 16px; font-size: .9rem; background: var(--rc); }
.dest-preview button.ghost { background: #fff; color: var(--err); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 560px) { .dest-preview { position: static; width: auto; margin: 10px; } }

.dest-list { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; border: 0; }
.dest-group h3 { margin: 0 0 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rc); }
.dest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-chip { position: relative; display: inline-flex; cursor: pointer; font-weight: 600; font-size: .9rem; }
.dest-chip input { position: absolute; opacity: 0; pointer-events: none; }
.dest-chip span { padding: 7px 14px; border-radius: 999px; color: var(--rc); background: color-mix(in srgb, var(--rc) 9%, var(--card)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--rc) 25%, transparent); transition: background .2s, color .2s, transform .2s; }
.dest-chip:hover span { transform: translateY(-2px); }
.dest-chip input:checked + span { background: var(--rc); color: #fff; }
.dest-chip input:checked + span::before { content: '✓ '; }
.dest-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.custom-summary { grid-area: auto; position: sticky; top: 100px; }
.my-route { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.my-route h2 { display: flex; justify-content: space-between; align-items: center; }
.route-count { padding: 3px 10px; border-radius: 999px; background: rgb(143 211 199 / .18); color: #fff; letter-spacing: 0; text-transform: none; font-size: .8rem; }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 440px; overflow: auto; }
.route-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgb(255 255 255 / .07); animation: swap .3s ease-out; }
.route-list .rl-empty { color: #b9c9cd; font-size: .9rem; }
.rl-num { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #8fd3c7; color: var(--ink); font-weight: 800; font-size: .8rem; }
.rl-name { flex: 1; font-size: .92rem; line-height: 1.3; }
.rl-actions { display: flex; gap: 4px; }
.rl-actions button { width: 28px; height: 28px; padding: 0; font-size: .9rem; background: rgb(255 255 255 / .12); color: #fff; }
.rl-actions button:hover { background: #fff; color: var(--deep); transform: none; }
.rl-actions button:disabled { opacity: .3; cursor: default; }
.rl-actions button:disabled:hover { background: rgb(255 255 255 / .12); color: #fff; }
@media (max-width: 960px) { .custom-layout { grid-template-columns: 1fr; } .custom-summary { position: static; } }

/* Home teaser for the builder */
.custom-teaser { background: linear-gradient(135deg, #0f262d, #0e5c63); color: #fff; }
.custom-teaser .eyebrow { color: #8fd3c7; }
.custom-teaser p { color: #c9d6d9; }
.custom-teaser h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.teaser-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.teaser-steps li { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 20px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .1); transition: transform .3s, background .3s; }
.teaser-steps li:hover { transform: translateX(8px); background: rgb(255 255 255 / .12); }
.teaser-steps li > span { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #2dd4bf, #0e7490); font: 2rem/1 var(--serif); }
.teaser-steps strong { display: block; font-size: 1.1rem; }
.teaser-steps small { opacity: .75; }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Real map (Leaflet + OpenStreetMap) for the custom tour builder */
.mu-map-wrap { position: relative; overflow: hidden; border-radius: 22px; box-shadow: var(--shadow); isolation: isolate; }
.mu-map { height: min(64vh, 560px); min-height: 380px; background: #cdeef3; font: inherit; }
.mu-map:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.mm-icon { background: none; border: 0; }
.mm-pin { --rc: var(--teal); display: grid; place-items: center; width: 22px; height: 22px; margin: 4px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px var(--rc), 0 4px 10px -2px rgb(0 0 0 / .35);
  color: #fff; font: 800 12px/1 var(--sans); transition: transform .2s; }
.mm-pin.reg-north { --rc: #2563eb; } .mm-pin.reg-west { --rc: #7c3aed; } .mm-pin.reg-centre { --rc: #15803d; } .mm-pin.reg-south { --rc: #e4572e; } .mm-pin.reg-east { --rc: #0e7490; }
.mm-pin.point { --rc: #f2a900; }
.mm-pin.picked { width: 30px; height: 30px; margin: 0; background: var(--rc); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgb(0 0 0 / .45); animation: pin-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.mm-pin.dim { opacity: .3; }
.leaflet-marker-icon:hover .mm-pin, .leaflet-marker-icon:focus-visible .mm-pin { transform: scale(1.25); }
.leaflet-marker-draggable .mm-pin { cursor: grab; }
@keyframes pin-pop { from { transform: scale(.4); } }
.mm-route { stroke: var(--teal); stroke-linecap: round; stroke-linejoin: round; animation: route-dash 1.2s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -18; } }
.leaflet-tooltip { padding: 5px 10px; border: 0; border-radius: 10px; font: 700 .85rem var(--sans); color: var(--ink); box-shadow: var(--shadow); }
.leaflet-container a { color: var(--teal); }
.dest-preview { z-index: 500; }
.map-toast { position: absolute; z-index: 600; left: 50%; top: 14px; transform: translateX(-50%); margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); }
.map-toast[hidden] { display: none; }
.map-hint { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; color: var(--muted); font-size: .92rem; }
.map-hint .i { color: #f2a900; }
.place-search { position: relative; z-index: 700; margin-bottom: 14px; }
.place-search .search { display: block; }
.place-results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; border-radius: 16px; background: var(--card); box-shadow: 0 20px 40px -16px rgb(15 38 45 / .4); max-height: 320px; overflow: auto; }
.place-results[hidden] { display: none; }
.place-results button { width: 100%; justify-content: flex-start; padding: 10px 12px; border-radius: 10px; background: none; color: var(--ink); font-weight: 600; text-align: left; }
.place-results button:hover, .place-results button:focus-visible { background: var(--sky); transform: none; }
.place-results button::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #f2a900; }
.place-results button.is-suggested::before { background: var(--teal); }
.place-results .none { padding: 10px 12px; color: var(--muted); font-size: .92rem; }
.dest-list legend { margin-bottom: 4px; font-weight: 700; font-size: 1.05rem; }
.route-list li.is-point .rl-num { background: #f2a900; }

/* Scroll reveal (only with JS, so content never stays hidden) */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: opacity .8s ease, transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.js .card.reveal.in.tilting { transition: transform .1s linear, box-shadow .35s; }
.tour-grid .card:nth-child(3n+2), .why-item:nth-child(2) { transition-delay: .08s; }
.tour-grid .card:nth-child(3n), .why-item:nth-child(3) { transition-delay: .16s; }
.why-item:nth-child(4) { transition-delay: .24s; }
.card:hover { transition-delay: 0s !important; }

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

/* Admin */
.admin { font-size: 16px; }
.admin .top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.admin .brand { color: var(--ink); }
.admin main { padding-top: 24px; padding-bottom: 48px; }
.admin h1 { font-size: 2.4rem; margin-top: 24px; }
.admin form.stack { display: grid; gap: 16px; max-width: 760px; }
.admin form.stack button, .admin .danger { justify-self: start; }
.admin .meta { color: var(--muted); font-size: .9rem; }
.admin fieldset { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 12px; }
button.link { padding: 0; background: none; color: var(--teal); }
button.link:hover { transform: none; text-decoration: underline; }
button.danger { margin-top: 24px; background: var(--err); }
.scroll { overflow-x: auto; }
.admin table { width: 100%; border-collapse: collapse; background: #fff; }
.admin th, .admin td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin .top { flex-wrap: wrap; gap: 10px 20px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-right: auto; font-size: .95rem; }
.admin-nav a { color: var(--ink); text-decoration: none; }
.admin-nav a:hover { color: var(--teal); text-decoration: underline; }
.admin h2 { margin-top: 36px; }
.admin button.small { padding: 6px 12px; font-size: .85rem; white-space: nowrap; }
.admin .bookings td.actions { display: grid; gap: 6px; justify-items: start; min-width: 130px; }
.admin .bookings td.msg { min-width: 220px; white-space: pre-line; }
.admin .bookings tr.done td:not(.actions) { opacity: .5; }
.admin details.del summary { cursor: pointer; color: var(--err); font-size: .85rem; }
.admin details.del button.danger { margin-top: 6px; padding: 6px 12px; font-size: .85rem; }
.admin-photo { display: block; max-width: 100%; border-radius: 12px; }
.admin-photo.main { width: 420px; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 16px; }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-bottom: 20px; }
.admin-photos figure { margin: 0; }
.admin-photos .admin-photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 6px; }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-tabs a { padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); text-decoration: none; }
.lang-tabs a[aria-current] { background: var(--teal); color: #fff; box-shadow: none; }
.admin .changed { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fdf0d2; color: #8a5a00; font-size: .75rem; font-weight: 600; }

/* Tripadvisor link */
.tile.ta > .i { background: #34e0a1; color: #000; }
.ta-cta { margin: 28px 0 0; text-align: center; }
.ta-btn { background: #000; }
.ta-btn .i:first-child { color: #34e0a1; }
.ta-btn:hover { background: #1f1f1f; }

/* Hero video. The clip is a small vertical phone video, so on wide screens it plays at its real size (sharp)
   on the right, while a blurred copy (drawn on a tiny canvas by app.js) fills the rest of the banner.
   On phones, which are tall like the video, it simply fills the banner. */
.hero-video { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #0f262d; }
.hv-blur { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px);
  background: url(/img/video-poster.jpg) center / cover; filter: blur(32px) saturate(1.3) brightness(.8); }
.hv-main { position: absolute; top: 0; height: 100%; width: auto; aspect-ratio: 576 / 1020; right: max(0px, calc((100% - 1180px) / 2));
  object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
@media (min-width: 901px) { .has-video .hero-inner { padding-right: calc(min(56svh, 530px) + 24px); } }
@media (max-width: 900px) {
  .hv-blur { display: none; }
  .hv-main { inset: 0; width: 100%; height: 100%; -webkit-mask-image: none; mask-image: none; }
}
.sound-btn { position: absolute; z-index: 2; right: max(20px, calc((100% - 1180px) / 2 + 20px)); top: 132px; width: 48px; height: 48px; padding: 0;
  background: rgb(15 38 45 / .55); backdrop-filter: blur(6px); box-shadow: 0 0 0 1px rgb(255 255 255 / .35); }
.sound-btn:hover { background: var(--deep); transform: none; }
.sound-btn .i:last-child { display: none; }
.sound-btn[aria-pressed="true"] .i:first-child { display: none; }
.sound-btn[aria-pressed="true"] .i:last-child { display: block; }
@media (max-width: 960px) { .sound-btn { top: 96px; } }

/* Currency switcher (shares the language dropdown look) */
.langs div button { display: flex; width: 100%; justify-content: flex-start; padding: 8px 12px; border-radius: 8px; background: none; color: var(--ink); font-weight: 600; }
.langs div button:hover { background: var(--sky); transform: none; }
.langs div button[aria-current="true"] { background: var(--teal); color: #fff; }
.cur-switch summary { min-width: 48px; justify-content: center; }

/* Rotating headline word */
.rotator { margin: -4px 0 18px; font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.1; text-shadow: 0 2px 20px rgb(0 0 0 / .35); animation: rise .9s .35s both; }
.rot-words { display: inline-grid; vertical-align: bottom; perspective: 500px; }
.rot-words b { grid-area: 1 / 1; font-weight: 400; color: #ffd500; opacity: 0; transform: translateY(.5em) rotateX(-80deg); transform-origin: 50% 100%; transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); }
.rot-words b.on { opacity: 1; transform: none; }

/* Live time + weather pill */
.badges .today { display: none; }
.badges .today.ready { display: inline-flex; }
.today b { font-weight: 800; margin-right: 2px; }

/* WhatsApp quick menu */
.wa-menu { position: fixed; right: 20px; bottom: 20px; z-index: 45; }
.wa-menu > summary { list-style: none; cursor: pointer; position: relative; right: auto; bottom: auto; }
.wa-menu > summary::-webkit-details-marker { display: none; }
.wa-pop { position: absolute; right: 0; bottom: 74px; width: min(290px, calc(100vw - 40px)); padding: 10px; border-radius: 20px; background: var(--card); box-shadow: 0 24px 50px -16px rgb(15 38 45 / .45); animation: pop .2s ease-out; }
.wa-pop p { margin: 4px 8px 8px; font-weight: 800; }
.wa-pop a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.wa-pop a .i { color: var(--wa); }
.wa-pop a:hover { background: #e3f6ea; }
.wa-menu[open] > summary::before { animation: none; }

/* Tour stories */
.stories { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 18px; margin: -8px 0 18px; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; display: grid; justify-items: center; gap: 6px; width: 86px; padding: 0; background: none; color: var(--ink); }
.story:hover { background: none; transform: translateY(-3px); }
.story-ring { display: block; width: 76px; height: 76px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--c), var(--c2), #ffd500, var(--c)); transition: transform .3s; }
.story:hover .story-ring { transform: rotate(8deg) scale(1.04); }
.story-ring img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--sand); }
.story.seen .story-ring { background: #cfd8da; }
.story-name { max-width: 86px; font-size: .74rem; font-weight: 700; line-height: 1.2; text-align: center; }
.story-viewer { width: min(430px, 100vw); height: min(92vh, 780px); max-height: 100vh; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #000; color: #fff; touch-action: pan-y; user-select: none; }
.story-viewer::backdrop { background: rgb(6 20 24 / .92); }
.story-viewer[open] { animation: pop .25s ease-out; }
.sv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sv-img.zoom { animation: kenburns 6s ease-out both; }
.story-viewer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / .45), transparent 22%, transparent 45%, rgb(0 0 0 / .85)); pointer-events: none; }
.sv-bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.sv-bars span { flex: 1; height: 3px; border-radius: 3px; overflow: hidden; background: rgb(255 255 255 / .35); }
.sv-bars i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.sv-info { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 6px; padding: 24px; }
.sv-info .badge { position: static; }
.sv-info h3 { margin: 0; font: 400 2rem/1.1 var(--serif); }
.sv-info p { margin: 0; color: #e5eef0; }
.sv-price small { color: #c9d6d9; }
.sv-arrow { position: absolute; z-index: 3; top: 50%; width: 44px; height: 44px; margin-top: -22px; padding: 0; background: rgb(0 0 0 / .35); color: #fff; backdrop-filter: blur(6px); }
.sv-arrow:hover { background: rgb(0 0 0 / .6); transform: none; }
.sv-arrow[data-dir="-1"] { left: 10px; }
.sv-arrow[data-dir="1"] { right: 10px; }
/* "Tap a circle…" line above the circles */
.stories-hint { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: .95rem; font-weight: 600; }
.stories-hint .i { color: var(--teal); }
/* arrows beside the row of circles */
.stories-wrap { position: relative; }
.st-arrow { position: absolute; z-index: 2; top: 14px; width: 42px; height: 42px; padding: 0; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.st-arrow:hover { background: var(--deep); color: #fff; transform: none; }
.st-arrow[data-dir="-1"] { left: -8px; }
.st-arrow[data-dir="1"] { right: -8px; }
.st-arrow[hidden] { display: none; }
.sv-close { z-index: 4; top: 26px; right: 12px; }

/* Quiz */
.quiz { background: linear-gradient(135deg, #fff4e6, #e8f4f2 55%, #ede4fb); }
.quiz-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.quiz-intro h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.quiz-intro p:not(.eyebrow) { color: var(--muted); }
.quiz-card { padding: 28px; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); min-height: 320px; }
.quiz-progress { height: 6px; margin-bottom: 22px; border-radius: 6px; background: var(--sky); overflow: hidden; }
.quiz-progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2563eb, #0e7490, #15803d, #e4572e, #7c3aed); transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.quiz-q { margin: 0; padding: 0; border: 0; }
.quiz-q[hidden], .quiz-result[hidden] { display: none; }
.quiz-q legend { display: grid; gap: 4px; margin-bottom: 16px; font: 400 clamp(1.6rem, 3.5vw, 2.1rem)/1.15 var(--serif); }
.quiz-q legend small { font: 700 .75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); opacity: 1; }
.quiz-opts { display: grid; gap: 10px; }
.quiz-opt { justify-content: flex-start; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--sand); color: var(--ink); font-size: 1.05rem; box-shadow: inset 0 0 0 1.5px var(--line); text-align: left; }
.quiz-opt:hover { background: var(--sky); box-shadow: inset 0 0 0 2px var(--teal); transform: translateX(6px); }
.qo-emoji { font-size: 1.6rem; line-height: 1; }
.quiz-q.enter, .quiz-result.enter { animation: step-in .45s cubic-bezier(.2, .7, .2, 1); }
.quiz-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.quiz-pick { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--sand); color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .3s, box-shadow .3s; }
.quiz-pick:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 2px var(--c), var(--shadow); }
.quiz-pick img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.quiz-pick div { display: grid; gap: 6px; padding: 14px; }
.quiz-pick h3 { margin: 0; font-size: 1.05rem; }
.quiz-pick p { margin: 0; color: var(--muted); font-size: .9rem; }
.quiz-pick .btn { justify-self: start; padding: 8px 16px; font-size: .9rem; background: linear-gradient(135deg, var(--c), var(--c2)); }
@media (max-width: 860px) { .quiz-grid { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 520px) { .quiz-picks { grid-template-columns: 1fr; } }

/* Confetti */
.confetti { position: fixed; inset: 0; z-index: 100; pointer-events: none; }

/* Sticky "Book now" bar on tour pages (phones) */
.sticky-book { display: none; }
@media (max-width: 900px) {
  .sticky-book { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 16px; border-radius: 18px;
    background: rgb(15 38 45 / .96); color: #fff; box-shadow: 0 20px 40px -12px rgb(0 0 0 / .5); transform: translateY(150%); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .sticky-book.show { transform: none; }
  .sb-price { flex: 1; font-weight: 700; font-size: .92rem; line-height: 1.2; }
  .sb-price small { color: #b9c9cd; }
  .sticky-book .btn { padding: 10px 16px; }
  .sticky-book .wa-btn { padding: 10px; }
  body.sticky-on .wa-menu, body.sticky-on .to-top { display: none; }
}

/* World currency picker */
.cur-switch .cur-pop { width: min(320px, calc(100vw - 32px)); padding: 10px; }
.cur-search { margin-bottom: 8px; padding: 10px 12px; border-radius: 10px; font-size: .95rem; }
.cur-list { max-height: 320px; overflow: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; }
.cur-list button { display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 8px; text-align: left; }
.cur-list button b { font-weight: 800; }
.cur-list button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; color: var(--muted); }
.cur-list button[aria-current="true"] span { color: #e5f6f3; }
.nav-open .cur-switch .cur-pop { width: auto; }

/* Custom tour: price on request */
.quote-box { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 14px; padding: 16px; border-radius: 16px; background: rgb(255 255 255 / .07); }
.quote-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #f2a900, #f97316); color: #fff; }
.quote-box strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.quote-box p { margin: 0; color: #c9d6d9; font-size: .92rem; }

/* Page-to-page transitions (View Transitions API) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s ease both; }
::view-transition-new(root) { animation: vt-in .45s cubic-bezier(.2, .7, .2, 1) both; }
::view-transition-group(tour-photo) { animation-duration: .55s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
::view-transition-image-pair(tour-photo) { isolation: auto; }
::view-transition-old(tour-photo), ::view-transition-new(tour-photo) { animation: none; mix-blend-mode: normal; height: 100%; object-fit: cover; overflow: clip; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Headings that rise in word by word */
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .reveal .split .w > span, .js .reveal.split .w > span { transform: translateY(110%); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in .split .w > span { transform: none; }

/* Scroll-driven parallax (Chrome, Edge, Safari 26+; elsewhere the page simply doesn't move) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-media > img:first-child { animation: drift linear both; animation-timeline: view(); }
    .about-small { animation: drift-fast linear both; animation-timeline: view(); }
    .why-item { animation: tilt-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .marquee { animation: tilt-band linear both; animation-timeline: view(); }
  }
  @keyframes drift { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
  @keyframes drift-fast { from { transform: translateY(90px) rotate(4deg); } to { transform: translateY(-60px) rotate(-2deg); } }
  @keyframes tilt-in { from { transform: perspective(900px) rotateX(28deg) translateY(50px); opacity: .2; } to { transform: none; opacity: 1; } }
  @keyframes tilt-band { from { transform: rotate(-2deg) scale(1.05); } to { transform: rotate(1.5deg) scale(1.05); } }
}

/* Globe: "Your journey to Mauritius" */
.globe-sec { position: relative; overflow: hidden; color: #fff; background: radial-gradient(800px 600px at 75% 50%, #0f4f55 0, transparent 70%), linear-gradient(160deg, #081a1f, #0f262d 60%, #0a2e33); }
.globe-sec .eyebrow { color: #8fd3c7; }
.globe-sec p { color: #c9d6d9; }
.globe-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.globe-text h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.globe-pick { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 10px; margin: 24px 0 8px; color: #8fd3c7; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.globe-pick select { grid-column: 1 / -1; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .08); color: #fff; font-size: 1.05rem; }
.globe-pick select option { color: var(--ink); }
.globe-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 24px; }
.globe-stats div { padding: 16px 18px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.globe-stats dt { font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--serif); color: #ffd500; }
.globe-stats dd { margin: 6px 0 0; color: #b9c9cd; font-size: .88rem; }
.globe-home { color: #ffd500 !important; font-weight: 600; }
.globe-wrap { position: relative; aspect-ratio: 1; max-width: 620px; width: 100%; justify-self: center; }
.globe-wrap canvas { width: 100%; height: 100%; cursor: grab; opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; }
.globe-wrap.ready canvas { opacity: 1; }
.globe-wrap canvas:active { cursor: grabbing; }
.globe-hint { position: absolute; left: 0; right: 0; bottom: 4px; margin: 0; text-align: center; font-size: .85rem; color: #8fb3b8 !important; }
@media (max-width: 860px) { .globe-grid { grid-template-columns: 1fr; gap: 12px; } .globe-wrap { max-width: 440px; order: -1; } }

/* "More languages" link in the language menu */
.langs div a.more-langs { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); border-radius: 0; color: var(--teal); font-size: .9rem; font-weight: 600; }

/* ===== Dark mode =====
   Same design with darker surfaces. app.js sets data-theme on <html> (the visitor's saved choice, else the
   device setting). The dark panels (price box, contact, footer, globe) look the same in both themes. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e4eeef; --muted: #9db2b6; --sand: #0a171b; --sky: #0f242a; --card: #12282f; --line: #22404a;
  --glass: rgb(10 25 30 / .9); --shadow: 0 1px 2px rgb(0 0 0 / .35), 0 16px 36px -16px rgb(0 0 0 / .7);
  --err: #f97066; --ok: #6ee7a0;
}
[data-theme="dark"] [data-cat="transfer"] { --c: #5b8dff; --c2: #38bdf8; }
[data-theme="dark"] [data-cat="inland"] { --c: #ff7a52; --c2: #fbbf24; }
[data-theme="dark"] [data-cat="park"] { --c: #34c96a; --c2: #a3e635; }
[data-theme="dark"] [data-cat="hiking"] { --c: #a78bfa; --c2: #f0abfc; }
[data-theme="dark"] [data-cat="sea"] { --c: #22b8cf; --c2: #5eead4; }
[data-theme="dark"] [data-reg="north"] { --rc: #5b8dff; } [data-theme="dark"] [data-reg="west"] { --rc: #a78bfa; }
[data-theme="dark"] [data-reg="centre"] { --rc: #34c96a; } [data-theme="dark"] [data-reg="south"] { --rc: #ff7a52; }
[data-theme="dark"] [data-reg="east"] { --rc: #22b8cf; }
[data-theme="dark"] .chip[data-filter="all"], [data-theme="dark"] .region-chips .chip[data-region="all"] { --c: #2a7a78; --c2: #2dd4bf; }
[data-theme="dark"] .chip[data-filter="all"]:not([aria-pressed="true"]) { color: var(--ink); }
[data-theme="dark"] main a:not([class]), [data-theme="dark"] .eyebrow, [data-theme="dark"] .quote, [data-theme="dark"] .stats dt,
[data-theme="dark"] button.link, [data-theme="dark"] .more-langs { color: #5fd4c6; }
[data-theme="dark"] .hero .eyebrow { color: #fff; }
[data-theme="dark"] .rainbow { background-image: linear-gradient(90deg, #7aa7ff, #22d3ee 30%, #4ade80 55%, #ff8a65 80%, #c4b5fd); }
[data-theme="dark"] .tours-sec { background:
  radial-gradient(520px 420px at -5% 5%, rgb(228 87 46 / .12) 0, transparent 70%),
  radial-gradient(520px 420px at 105% 25%, rgb(34 184 207 / .12) 0, transparent 70%),
  radial-gradient(560px 460px at 20% 75%, rgb(124 58 237 / .12) 0, transparent 70%),
  radial-gradient(520px 420px at 95% 95%, rgb(21 128 61 / .12) 0, transparent 70%), var(--sand); }
[data-theme="dark"] .reviews { background: linear-gradient(180deg, var(--sand), #0d1f24); }
[data-theme="dark"] .quiz { background: linear-gradient(135deg, #1a1712, #0f242a 55%, #17142a); }
[data-theme="dark"] .ok { background: rgb(31 184 85 / .14); }
[data-theme="dark"] .wa-pop a:hover { background: rgb(31 184 85 / .14); }
[data-theme="dark"] .calc, [data-theme="dark"] .contact { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); }
[data-theme="dark"] .card-img img, [data-theme="dark"] .quiz-pick img { filter: brightness(.9) saturate(1.05); }
[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.9) contrast(.9) saturate(.8); } /* dark map */
[data-theme="dark"] .mu-map { background: #0d2328; }
[data-theme="dark"] .leaflet-bar a { background: var(--card); color: var(--ink); border-color: var(--line); }
[data-theme="dark"] .leaflet-control-attribution { background: rgb(10 25 30 / .8); color: var(--muted); }
[data-theme="dark"] .leaflet-tooltip { background: var(--card); color: var(--ink); }
[data-theme="dark"] .leaflet-tooltip-top::before { border-top-color: var(--card); }

/* Theme switch button + the circular reveal when switching (View Transitions) */
.theme-btn { width: 42px; height: 42px; padding: 0; background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.theme-btn:hover { background: rgb(127 127 127 / .15); transform: none; }
.theme-btn .i { width: 20px; height: 20px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.theme-btn .i:last-child, [data-theme="dark"] .theme-btn .i:first-child { display: none; }
[data-theme="dark"] .theme-btn .i:last-child { display: block; }
.theme-btn:hover .i { transform: rotate(-25deg); }
html.theme-switching::view-transition-old(root), html.theme-switching::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ===== Living background ===== */
/* 1. Lagoon aurora: soft colour glows drifting behind the whole site (shows through the sections without their own colour) */
body::before { content: ""; position: fixed; inset: -20vmax; z-index: -2; pointer-events: none; will-change: transform;
  background:
    radial-gradient(40vmax 30vmax at 18% 28%, rgb(45 212 191 / .22), transparent 70%),
    radial-gradient(34vmax 26vmax at 82% 18%, rgb(251 146 60 / .15), transparent 70%),
    radial-gradient(38vmax 30vmax at 62% 82%, rgb(250 204 21 / .13), transparent 70%),
    radial-gradient(30vmax 26vmax at 8% 88%, rgb(14 165 233 / .14), transparent 70%);
  animation: aurora 38s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(4vmax, -3vmax) rotate(7deg) scale(1.05); } 100% { transform: translate(-3vmax, 2vmax) rotate(-5deg); } }
[data-theme="dark"] body::before { opacity: .75; }
/* fine sand grain over everything, very light */
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
[data-theme="dark"] body::after { opacity: .07; }
.tours-sec { background-color: transparent !important; }
[data-theme="dark"] .tours-sec { background-color: transparent !important; }

/* 2. Ocean waves on the top edge of coloured sections (two layers moving at different speeds) */
.wave-top { position: relative; --wave: var(--sky); }
.custom-teaser.wave-top { --wave: #0f262d; }
.globe-sec.wave-top { --wave: #081a1f; overflow: visible; }
.contact.wave-top { --wave: var(--deep); }
.site-footer.wave-top { --wave: #0a1c21; }
.wave-top::before, .wave-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 46px; background: var(--wave); pointer-events: none;
  -webkit-mask: url(/img/wave.svg) repeat-x 0 100% / 1200px 100%; mask: url(/img/wave.svg) repeat-x 0 100% / 1200px 100%;
  animation: wave-move 26s linear infinite; }
.wave-top::after { height: 30px; opacity: .5; animation-duration: 15s; animation-direction: reverse; }
@keyframes wave-move { to { -webkit-mask-position: 1200px 100%; mask-position: 1200px 100%; } }

/* 3. Water ripples under the mouse (app.js adds them; light sections on the home page) */
.has-ripples { position: relative; }
.has-ripples > .wrap { position: relative; z-index: 1; }
.ripples { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.ripple { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 1.5px solid rgb(14 124 116 / .32);
  animation: ripple 1.7s cubic-bezier(.2, .6, .3, 1) forwards; }
.ripple.big { border-width: 2px; box-shadow: 0 0 0 5px rgb(45 212 191 / .07), inset 0 0 0 5px rgb(45 212 191 / .05); animation: ripple-big 2.3s cubic-bezier(.2, .6, .3, 1) forwards; }
[data-theme="dark"] .ripple { border-color: rgb(94 234 212 / .32); }
@keyframes ripple { from { transform: scale(.2); opacity: .9; } to { transform: scale(8); opacity: 0; } }
@keyframes ripple-big { from { transform: scale(.2); opacity: 1; } to { transform: scale(16); opacity: 0; } }

/* 4. Mauritius contour lines, faint, drifting as you scroll */
.contours { position: relative; }
.contours > .wrap { position: relative; z-index: 1; }
.contours::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .1;
  background: url(/img/contours.svg) center / cover no-repeat;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
[data-theme="dark"] .contours::before { opacity: .16; filter: brightness(1.8); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .contours::before { animation: contour-drift linear both; animation-timeline: view(); }
  }
  @keyframes contour-drift { from { transform: translateY(-40px) scale(1.06); } to { transform: translateY(40px) scale(1.06); } }
}
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

/* phone number shown once: call link + WhatsApp icon beside it */
.tel-wa { display: inline-flex; align-items: center; gap: 10px; }
.tel-wa a[aria-label] { color: var(--wa) !important; opacity: 1; }
.tel-wa a[aria-label] .i { width: 1.25em; height: 1.25em; }
[data-theme="dark"] .stories-hint .i { color: #5fd4c6; }
