// Page-level data + section components.

// Resolve image URLs: use inlined blob (window.__resources) when bundled standalone,
// otherwise fall back to the on-disk relative path.
const _res = (id, path) => "url('" + ((window.__resources && window.__resources[id]) || path) + "')";

const EXPEDITIONS = [
  {
    id: "iceland",
    region: "Iceland",
    name: "Iceland Highlands",
    desc: "Venture across Iceland's highlands and go beyond the classic routes. Explore from lava fields, ice caps, and the south region to remote interior landscapes.",
    duration: "8 days · 7 nights",
    fromPrice: "USD $22,050",
    season: "june – september",
    departures: "Limited departures",
    departureCity: "Reykjavik, Iceland",
    accommodation: "Small boutique hotels and countryside guest houses",
    physicalLevel: "Suitable for most travelers",
    allDepartures: [
      { range: "Sept 14 – 20, 2026", status: "Limited", price: "USD $22,050" },
      { range: "June 18 – 25, 2027", status: "Available", price: "USD $22,050" },
      { range: "June 28 – July 5, 2027", status: "Available", price: "USD $22,050" },
      { range: "July 9 – 16, 2027", status: "Limited", price: "USD $22,050" },
      { range: "July 19 – 26, 2027", status: "Available", price: "USD $22,050" },
      { range: "Aug 7 – 14, 2027", status: "Available", price: "USD $22,050" },
      { range: "Aug 17 – 24, 2027", status: "Limited", price: "USD $22,050" },
      { range: "Sept 4 – 11, 2027", status: "Available", price: "USD $22,050" },
      { range: "Sept 14 – 21, 2027", status: "Available", price: "USD $22,050" },
    ],
    photoStyle: { backgroundColor: "#3a4750", backgroundImage: _res('expIceland', 'ds/assets/iceland-card.jpg'), backgroundSize: "cover", backgroundPosition: "center" },
    place: "iceland highlands, midnight sun",
  },
  {
    id: "iceland-winter",
    region: "Iceland",
    badge: "New - Iceland Winter Edition",
    namePrefix: "New",
    name: "Iceland Winter Edition",
    desc: "This expedition constantly inhabits the tension between the rawness of the Artic winter and the luxury of the essential. \nA deep, accesible and transformative experience for curious travelers, not just for experts. ",
    duration: "7 days · 6 nights",
    fromPrice: "USD $17,900",
    season: "june – september",
    departures: "Limited departures",
    departureCity: "Reykjavik, Iceland",
    accommodation: "Small boutique hotels ",
    physicalLevel: "Suitable for most travelers",
    allDepartures: [
      { range: "Dec 5 – 11, 2026", status: "Available", price: "USD $17,900" },
      { range: "Feb 22 – 28, 2027", status: "Available", price: "USD $17,900" },
      { range: "March 3 – 9, 2027", status: "Available", price: "USD $17,900" },
    ],
    photoStyle: { backgroundColor: "#3a4750", backgroundImage: _res('expIcelandWinter', 'ds/assets/iceland-winter-card.jpg'), backgroundSize: "cover", backgroundPosition: "center" },
    place: "iceland highlands, midnight sun",
  },
  {
    id: "peru",
    region: "Peru",
    name: "Sacred Mountains",
    desc: "From the Sacred Valley to Machu Picchu through lesser-traveled Inca routes. Cross cloud forests, high valleys, and remote archaeological sites in a journey deep into Andean landscapes.",
    duration: "9 days · 8 nights",
    fromPrice: "USD $7,840",
    season: "april – october",
    departures: "Limited departures",
    departureCity: "Explora Valle Sagrado",
    accommodation: "Explora Valle Sagrado, luxury tented camps, and boutique hotels",
    physicalLevel: "Physically demanding",
    allDepartures: [
      { range: "May 4 – 12, 2027", status: "Limited", price: "USD $7,840" },
      { range: "May 15 – 23, 2027", status: "Available", price: "USD $7,840" },
      { range: "May 29 – Jun 6, 2027", status: "Available", price: "USD $7,840" },
      { range: "Jun 9 – 17, 2027", status: "Available", price: "USD $7,840" },
      { range: "Jun 26 – Jul 4, 2027", status: "Available", price: "USD $7,840" },
      { range: "Jul 6 – 14, 2027", status: "Available", price: "USD $7,840" },
      { range: "Jul 17 – 25, 2027", status: "Available", price: "USD $7,840" },
      { range: "Aug 7 – 15, 2027", status: "Available", price: "USD $7,840" },
      { range: "Aug 18 – 26, 2027", status: "Available", price: "USD $7,840" },
    ],
    photoStyle: { backgroundColor: "#5a4a3a", backgroundImage: _res('heroPeru', 'ds/assets/hero-peru.jpg'), backgroundSize: "cover", backgroundPosition: "center" },
    place: "vilcabamba range, dawn",
  },
  {
    id: "fuego",
    region: "Chile",
    name: "Tierra del Fuego",
    desc: "Travel across the Chilean side of Tierra del Fuego in a journey to the end of the world. From the Strait of Magellan to subantarctic forests, windswept steppe, and the glaciers of the Darwin Mountain Range.",
    duration: "7 days · 6 nights",
    fromPrice: "USD $10,500",
    season: "october – april",
    departures: "Limited departures",
    departureCity: "Punta Arenas, Chile",
    accommodation: "Local estancias and cabins hosted by local families",
    physicalLevel: "Suitable for most travelers",
    allDepartures: [
      { range: "Dec 5 – 11, 2026", status: "Limited", price: "USD $10,500" },
      { range: "Jan 18 – 24, 2027", status: "Available", price: "USD $10,500" },
      { range: "Feb 8 – 14, 2027", status: "Available", price: "USD $10,500" },
      { range: "Mar 1 – 7, 2027", status: "Limited", price: "USD $10,500" },
      { range: "Apr 3 – 9, 2027", status: "Available", price: "USD $10,500" },
      { range: "Oct 26 – Nov 1, 2027", status: "Available", price: "USD $10,500" },
      { range: "Nov 4 – 10, 2027", status: "Available", price: "USD $10,500" },
      { range: "Nov 13 – 19, 2027", status: "Available", price: "USD $10,500" },
      { range: "Dec 20 – 26, 2027", status: "Available", price: "USD $10,500" },
      { range: "Dec 28, 2027 – Jan 3, 2028", status: "Available", price: "USD $10,500" },
    ],
    photoStyle: { backgroundColor: "#2c3e44", backgroundImage: _res('expFuego', 'ds/assets/fuego-card.jpg'), backgroundSize: "cover", backgroundPosition: "center" },
    place: "tierra del fuego, beagle channel",
  },
];

const PILLARS = [
  {
    n: "01",
    title: "Multi-Day Journeys Across Remote Destinations",
    lede: "Designed and operated by Explora.",
    desc: "Our Expeditions are built as continuous, multi-day journeys through remote regions — exploring from easy to advanced levels, adapting to each traveler. Venture deep into the wildest corners of the planet on routes pioneered by our experts — epic landscapes by day, unique guest houses and camps by night.",
  },
  {
    n: "02",
    title: "Small Groups, Designed for Depth",
    lede: "No more than eight travelers per departure.",
    desc: "More than landscapes. Our Expeditions create space for meaningful connection with nature — at a pace that balances challenge and reflection.",
  },
  {
    n: "03",
    title: "All Logistics, Thoughtfully Handled",
    lede: "Remote logistics, carefully managed.",
    desc: "Accommodations beyond our lodges, including guest houses and camps. Meals, transfers, and field support are fully arranged so travelers can focus entirely on the experience.",
  },
  {
    n: "04",
    title: "Led by Award-Winning Experts",
    lede: "Each Expedition is led by experienced teams with deep knowledge of the territory.",
    desc: "Named the World's Leading Expedition Company for multiple consecutive years — built on over 30 years of exploration and responsible travel.",
  },
];

const ITINERARIES = {
  peru: {
    name: "Sacred Mountains",
    days: [
      {
        n: 1, title: "The Adventure Begins", desc: "Land in Cusco and transfer to Explora Valle Sagrado. Meet your group and Expedition Leader, then head out on your first exploration to Machu Kolka — hiking through archaelogical sites, crop fields, and sweeping mountain views.",
        tags: ["Distance: 2.9 mi", "Max. altitude: 12,979 ft.", "Elevation gain: 776 ft."],
      },
      {
        n: 2, title: "Journey to Ancient Wata", desc: "Walk the salt terraces of Maras and the concentric agricultural terraces of Moray with a resident archaeologist, then set out on sections of the ancient Inca Qhapaq Ñan trail toward Wata, where pre-Incan ruins sit high above the valley. Return to the lodge in the late afternoon.",
        tags: ["Distance: 7.1 mi", "Max. altitude: 12,532 ft.", "Elevation gain: 2,650 ft."],
      },
      {
        n: 3, title: "Shepards´ Route between Lamay and Pisac", desc: "Follow ancient shepherd trails around high-altitude lagoons, acclimatizing to the landscape before the expedition moves to mountain camps. The afternoon back at the lodge is dedicated to gear review and practical preparation for the days ahead.",
        tags: ["Distance: 6.6 mi", "Max. altitude: 14,422 ft.", "Elevation gain: 1,417 ft."],
      },
      {
        n: 4, title: "Misquiyaco Private Conservation Area ", desc: "Leave the lodge and drive into the highlands toward the Misquiyaco Private Conservation Area — an exclusive Explora access buffer zone bordering Machu Picchu. Hike 4.8 miles through Sacred Inca Mountains, ascending from relict Mesoandean forest past the tree line to the first tented campsite",
        tags: ["Distance: 4.8 mi", "Max. altitude: 14,097 ft.", "Elevation gain: 3,959 ft."],
      },
      {
        n: 5, title: "Sacred Salkantay Mountain", desc: "Set out on an 8.1-mile trek toward Apu Salkantay, the revered snow-capped guardian of the Vilcabamba range. The route climbs to 15,324 ft, opening sweeping views of ridgelines and valleys deep in the Andes. The day ends at camp in Pampacahuana, nestled at 12,795 ft.",
        tags: ["Distance: 8 mi", "Max. altitude: 15,324 ft.", "Elevation gain: 2,687 ft."],
      },
      {
        n: 6, title: "Descent Towards the Vilcanota River and the Sacred Valley ", desc: "Descend 9.4 miles through a scenic valley toward the Vilcanota River, passing remnants of Inca agricultural terraces as the landscape shifts from high ridgelines to lush valley. The day ends at camp in Chamana, nestled at 8,448 ft alongside the river.",
        tags: ["Distance: 9.4 mi", "Max. altitude: 12,739 ft.", "Elevation gain: 705 ft."],
      },
      {
        n: 7, title: "Journey to Ollantaytambo and Andean Traditions ", desc: "Walk through Andean scenery to Ollantaytambo, exploring the Temple of the Sun and its monumental Inca stonework before strolling through the village to the main square. The day ends with a traditional pachamanca lunch at the lodge and a free afternoon to rest in the Sacred Valley.",
        tags: ["Distance: 4 mi", "Max. altitude: 8,868 ft.", "Elevation gain: 1,204 ft."],
      },
      {
        n: 8, title: "Inca Trail to the Sun Gate and Machu Picchu", desc: "Take the Vistadome train to the Inca Trail, hiking 10.5 km through cloud forest to Wiñay Wayna and on to Inti Punku — the Sun Gate — before entering Machu Picchu to explore the sanctuary with a guide. The day ends with the return journey to Explora Valle Sagrado for a farewell dinner.",
        tags: ["Distance: 6.5 mi", "Max. altitude: 8,927 ft.", "Elevation gain: 5,150 ft."],
      },
      {
        n: 9, title: "Returning Home", desc: "After breakfast, transfer to Cusco Airport for your departure.",
        tags: ["Departure", "Transfer", "Farewell"],
      },
    ],
  },
  iceland: {
    name: "Iceland Highlands",
    days: [
      { n: 1, title: "The Adventure Begins ", desc: "Check in at the iconic Hotel Borg in the heart of Reykjavik, where you'll meet your fellow travelers and expedition team over an evening aperitif. A full briefing sets the stage for the adventure ahead.", tags: [] },
      { n: 2, title: "The Thorsmork Valley", desc: "Head south to Thorsmork Valley, where hanging glaciers, cascading waterfalls, and the dramatic slopes of Eyjafjallajokull Volcano create one of Iceland's most stunning landscapes.", tags: [] },
      { n: 3, title: "Southern Highlands ", desc: "Venture beyond the tourist path to Tindfjall Mountain, Iceland's deepest canyon, and the otherworldly Maelifell Mountain — home to the hidden Katla Volcano — with an optional 6.2-mile hike to the remote Strutslaug Hot Springs.", tags: [] },
      { n: 4, title: "Vatnajökull Adventure", desc: "Explore Vatnajökull, Europe's largest ice cap, with guided hikes through dramatic canyons, sweeping glacier views, and the option to walk on the ice itself. The day ends with a return to the hotel after a scenic drive through the Icelandic highlands.", tags: [] },
      { n: 5, title: "Into the Highlands", desc: "Return to the Highlands to explore the Lakagígar volcanic fissure — responsible for the devastating European famine of 1783 — alongside the stunning Langisjor Lake and the pristine Fjallabak Nature Reserve.", tags: [] },
      { n: 6, title: "Landmannalaugar", desc: "Head to Landmannalaugar in the Fjallabak Nature Reserve, a kaleidoscopic landscape renowned for Iceland's most iconic hiking trails, with four route options ranging from 1.5 to 12.4 miles. The most challenging day of the journey, with breathtaking views throughout.", tags: [] },
      { n: 7, title: "Valleys, Craters and Sky Lagoon", desc: "Return to Reykjavik via two stunning craters and the scenic Thjorsardalur Valley, stopping at three beautiful waterfalls along the way. The afternoon ends with a soak at Sky Lagoon, followed by a farewell dinner with fellow travelers in the city.", tags: [] },
      { n: 8, title: "Returning Home", desc: "Check out by 10:00 AM and transfer to Reykjavik Airport for your departure.", tags: [] },
    ],
  },
  "iceland-winter": {
    name: "New Iceland Winter Edition",
    days: [
      { n: 1, title: "Reykjavik", desc: "Check in at your hotel in the historic heart of Reykjavik — a landmark that sets the tone for what lies ahead. Join your fellow travelers for an aperitif as night falls early, with few hours of daylight in winter.", tags: [] },
      { n: 2, title: "Golden Circle ", desc: "Head to the Þingvellir National Park, where the earth fractures visibly along the Mid-Atlantic Ridge — still pulling apart. Witness Strokkur in action, as steam and boiling water rise from the ground, then continue to Gullfoss, where glacial waters thunder into a dramatic canyon.", tags: [] },
      { n: 3, title: "Eyjafjallajökull", desc: "Approach Eyjafjallajökull by snowmobile — the volcano that paralyzed European air traffic in 2010, now silent beneath its glacier. If conditions allow, snowshoes take you closer to the summit.", tags: [] },
      { n: 4, title: "Dyrhólaey", desc: "Begin at Dyrhólaey, the headland above Iceland’s south coast, then hike to take in Reynisfjara’s black sands, sea stacks, and pounding Atlantic waves from above. The day ends at Jökulsárlón, where icebergs drift slowly toward the sea.", tags: [] },
      { n: 5, title: "Vatnajökull", desc: "Walk across Europe's largest glacier with crampons and ice axe, where crevasses and ice formations are a living reminder that the earth is still forming. The day ends in the hotel's outdoor hot tubs and sauna, the glacier watching from the horizon.", tags: [] },
      { n: 6, title: "South Coast", desc: "Skógafoss in winter reveals itself differently — ice clinging to the rock face, rainbows forming as the sun barely clears the horizon. The expedition closes at Sky Lagoon: submerged in 38°C geothermal water while the air bites at -5°C.", tags: [] },
      { n: 7, title: "Back Home ", desc: "The final morning is time to absorb what was lived. Check out, a last breakfast in Reykjavik, and a noon transfer to Keflavík Airport.", tags: [] },
    ],
  },
  fuego: {
    name: "Tierra del Fuego",
    days: [
      { n: 1, title: "Welcome ", desc: "Arrive in Punta Arenas and check in to the Yegua Loca Hotel, where your expedition team will be waiting. The evening begins with an introductory briefing and dinner to kick off the journey ahead.", tags: [] },
      { n: 2, title: "Strait of Magellan and Pampa", desc: "Cross the Strait of Magellan by boat at dawn, arriving at Porvenir before journeying across vast Patagonian pampas and historic estancias. The day includes a stop at Tierra del Fuego's only king penguin colony, lunch among locals, and an overnight stay at a traditional estancia.", tags: [] },
      { n: 3, title: "Transition to Patagonian Forest", desc: "Cross into the forests of Tierra del Fuego and explore Karukinka Park, a 741,000-acre private reserve, with a 4.3-mile hike to Cerro Pietro Grande through diverse ecosystems shaped by nature and beavers alike. The day ends at Lake Fagnano, where the Genkowsky family — the last settlers on the island — welcome you to their cabin with stories of life at the edge of the world.", tags: [] },
      { n: 4, title: "Navigating Patagonian Fjords", desc: "Navigate by boat to Parry Fjord across the Almirantazgo Sound — Tierra del Fuego's first protected marine area — hiking through forests with glacier views. The return journey brings encounters with sea elephants, leopard seals, and black-browed albatrosses before dinner at Estancia Fagnano.", tags: [] },
      { n: 5, title: "Mountains & Forests", desc: "Venture into Yendegaia National Park — closed to the public but accessible exclusively through Explora — for a full-day advanced hike through varied terrain and high-altitude lagoons at the end of the world.", tags: [] },
      { n: 6, title: "Andean Treeline", desc: "Explore the southeastern edge of Karukinka Park on a moderate hike along the tree line, with sweeping views of mountains, valleys, and the park's richest concentration of endemic plant species. The day ends back at the cabins with a farewell dinner among fellow travelers.", tags: [] },
      { n: 7, title: "Returning Home / Flight to Punta Arenas", desc: "After breakfast, transfer to Pampa Guanaco for a scenic 30-minute DAP Airlines flight back to Punta Arenas, marking the end of an extraordinary journey.", tags: [] },
    ],
  },
};

const EXPERTS = [
  { name: "Sebastián Navarro", role: "Operations Manager", bio: "Leads field operations across all three Expeditions. Plans logistics, weather windows, and the moving pieces that keep small groups safe in remote terrain.", photo: { backgroundColor: "#4a4a4a", backgroundImage: _res('expSebastian', 'ds/assets/expert-sebastian.png'), backgroundSize: "cover", backgroundPosition: "center" }, place: "portrait, jökulsárlón" },
  { name: "Victor Ide", role: "Team Leader", bio: "Sales and guest experience lead for Expeditions. The first person you'll talk to when you call.", photo: { backgroundColor: "#5a504a", backgroundImage: _res('expVictor', 'ds/assets/expert-victor.jpg'), backgroundSize: "cover", backgroundPosition: "center" }, place: "portrait, patagonia" },
  { name: "Camila Chamorro", role: "Team Leader", bio: "Shapes the experience across all Expeditions, ensuring every journey is thoughtfully prepared from the very beginning.", photo: { backgroundColor: "#4a504a", backgroundImage: _res('expCamila', 'ds/assets/expert-camila.jpg'), backgroundSize: "cover", backgroundPosition: "center" }, place: "portrait, andes" },
  { name: "Josefina Bazán", role: "Expeditions Coordinator", bio: "Coordinates traveler logistics. The person who makes a complicated itinerary feel simple.", photo: { backgroundColor: "#504a4a", backgroundImage: _res('expJosefina', 'ds/assets/expert-josefina.jpg'), backgroundSize: "cover", backgroundPosition: "center" }, place: "portrait, patagonia" },
  { name: "Henry Jara", role: "Sacred Mountains Coordinator", bio: "On-the-ground lead for the Peru Expedition. Knows the Vilcabamba range and the Sacred Valley like a local — because he is one.", photo: { backgroundColor: "#4a4a50", backgroundImage: _res('expHenry', 'ds/assets/expert-henry.jpg'), backgroundSize: "cover", backgroundPosition: "center" }, place: "portrait, peru" },
  { name: "Óskar Björnsson", role: "Iceland Expedition Partner ", bio: "Born and raised in Iceland, Óskar knows the country’s terrain firsthand. As a member of Icelandic Search and Rescue (ICE-SAR), he brings deep local expertise and a steady focus on safety to every day of the expedition.", photo: { backgroundColor: "#4a4a50", backgroundImage: _res('expOskar', 'ds/assets/expert-oskar-v3.jpg'), backgroundSize: "cover", backgroundPosition: "center" }, place: "portrait, iceland" },
];

const AWARDS = [
  { years: "2019—25", note: "7 consecutive years", title: "World's Leading Expedition Company", org: "World Travel Awards" },
  { years: "2023—25", note: "3 consecutive years", title: "Readers' Choice Awards", org: "Condé Nast Traveler" },
  { years: "2023—25", note: "3 consecutive years", title: "World's Best Awards", org: "Travel + Leisure" },
  { years: "2025", note: "inaugural recipient", title: "Lodge of the Year", org: "Latin America Travel Assoc." },
];

const FAQS = [
  { q: "Who leads the Expeditions?", a: "Each Expedition is led by senior guides who accompany the group throughout the journey." },
  { q: "How fit do I need to be?", a: "Most Expeditions require active fitness, with several hours of walking on some days. We design routes that adapt to the group when possible. Our team will guide you on the right Expedition for your level." },
  { q: "What is included in the price?", a: "All meals, beverages, guide-led activities, and in-country transfers from the arrival airport onward. International flights are not included." },
  { q: "Can I book a private departure?", a: "Yes. Expeditions can be arranged privately for groups of four or more, on custom dates." },
  { q: "What is the conservation contribution?", a: "A portion of each journey supports conservation initiatives in the territory visited. We share updates with our travelers." },
  { q: "What is your cancellation policy?", a: "You may cancel your booking up to 60 days before check-in without penalty.\n• 60+ days: no fee\n• 59–30 days: 50% fee\n• 29–0 days: 100% fee" },
];

window.EXPEDITIONS = EXPEDITIONS;
window.PILLARS = PILLARS;
window.ITINERARIES = ITINERARIES;
window.EXPERTS = EXPERTS;
window.AWARDS = AWARDS;
window.FAQS = FAQS;
