/* global React */
// ===== i18n: EN + LV translations =====
// Latvian translations are working drafts — please review/refine.

const TRANSLATIONS = {
  en: {
    // nav
    "nav.how": "How it works",
    "nav.services": "Services",
    "nav.who": "Who it's for",
    "nav.faq": "FAQ",
    "nav.cta": "Request availability",

    // hero
    "hero.eyebrow": "Riga · Group coordination service",
    "hero.h1_pre": "Your ",
    "hero.h1_em": "local fixer",
    "hero.h1_post": " for groups in Riga.",
    "hero.sub": "An English-speaking host who walks the day with your group — handling suppliers, timing, taxis, restaurants and the small problems before they become big ones.",
    "hero.cta1": "Request availability",
    "hero.cta2": "Tell us your plan",
    "hero.pill_lead": "Stag & hen",
    "hero.pill_friends": "Friend groups",
    "hero.pill_corp": "Corporate teams",
    "hero.pill_sports": "Sports teams",
    "hero.pill_events": "Event visitors",
    "hero.tag": "10–25 people · half-day or full-day",
    "hero.img_alt": "A local host pointing out a landmark to a small group of friends in Riga Old Town",
    "hero.marquee1": "English · Latvian",
    "hero.marquee2": "Hourly · Half-day · Full-day",
    "hero.marquee3": "10–25 people",
    "hero.marquee4": "On the ground in Riga since day one",

    // differentiator
    "diff.eyebrow": "What we are not",
    "diff.title_pre": "Not a museum guide.",
    "diff.title_em": "A local problem-solver.",
    "diff.lead": "Our role isn't long historical lectures. We help your group move through the day — from meeting points and supplier communication to restaurants, activities, transport and last-minute changes.",
    "diff.c1.tag": "01 / Local communication",
    "diff.c1.h": "We speak the local language so you don't have to.",
    "diff.c1.p": "Calls and texts with venues, drivers, restaurants and activity providers — in Latvian, on your behalf.",
    "diff.c2.tag": "02 / Group coordination",
    "diff.c2.h": "Everyone informed, on time, in the right place.",
    "diff.c2.p": "Headcounts, meeting points, schedule reminders. We make sure no one is the reason the next thing starts late.",
    "diff.c3.tag": "03 / Practical support",
    "diff.c3.h": "Small problems solved before they become big ones.",
    "diff.c3.p": "Lost wallets, missing people, double-booked taxis, dietary surprises — handled in the moment, on your side.",

    // services
    "serv.eyebrow": "Services",
    "serv.title_l1": "How we help",
    "serv.title_l2": "your group.",
    "serv.lead": "Pick the pieces you need. Most groups book half-day or full-day support with activity coordination as the spine and restaurant + transport help layered on.",
    "serv.s1.t": "Activity coordination",
    "serv.s1.b": "Go-karting, kayaking, paintball, shooting ranges, boat trips, escape rooms, spa visits and the rest.",
    "serv.s2.t": "Restaurant & venue support",
    "serv.s2.b": "Arrivals, reservations, group menus, timing, communication, special requests.",
    "serv.s3.t": "Transport coordination",
    "serv.s3.b": "Meeting points, taxis, minibuses, transfers, parking and route planning across the day.",
    "serv.s4.t": "Language & local help",
    "serv.s4.b": "English-speaking host with Latvian where it matters — staff, instructions, customs.",
    "serv.s5.t": "On-the-day troubleshooting",
    "serv.s5.b": "Delays, missing people, booking confusion, weather changes, timing problems. Solved.",
    "serv.s6.t": "Optional planning help",
    "serv.s6.b": "Before arrival: rough schedule, supplier contact, itinerary logic. We sense-check the plan.",

    // who it's for
    "who.eyebrow": "Built for",
    "who.title_pre": "Groups that need someone ",
    "who.title_em": "on the ground",
    "who.title_post": ".",
    "who.lead": "If your group is 10–25 people and your day has more than two moving parts, this is for you.",
    "who.w1.tag": "01 · Most booked",
    "who.w1.t": "Stag & hen groups",
    "who.w1.p": "Multiple activities, late nights, group of friends who don't all know each other yet. We hold the day together.",
    "who.w2.t": "Friend groups travelling together",
    "who.w2.p": "Booked the activities yourselves and want someone local to handle the in-between.",
    "who.w3.t": "Corporate & team-building",
    "who.w3.p": "Off-sites, incentive trips, agendas that need to actually run on time.",
    "who.w4.t": "Sports teams",
    "who.w4.p": "Tournaments, training trips, post-match logistics.",
    "who.w5.t": "Birthday & milestone trips",
    "who.w5.p": "Special-occasion groups where one person shouldn't be the unofficial guide.",
    "who.w6.t": "Event visitors",
    "who.w6.p": "Conference attendees, wedding guests, festival groups needing local backup.",
    "who.w7.t": "Foreign organisers",
    "who.w7.p": "Planning Riga from abroad and want someone local handling the day.",
    "who.w8.t": "Multi-booking days",
    "who.w8.p": "3+ things in one day, multiple suppliers, tight transitions.",

    // how it works
    "how.eyebrow": "How it works",
    "how.title_l1": "Simple process.",
    "how.title_l2": "Four steps.",
    "how.lead": "Most enquiries are answered within a few hours. Hosting can be booked from a couple of days out — though weekends in season fill up early.",
    "how.s1.t": "Tell us your plan",
    "how.s1.b": "Group size, date, activities, rough schedule and what kind of help you need.",
    "how.s2.t": "We confirm the support",
    "how.s2.b": "Hourly, half-day, full-day or custom. Clear scope and pricing — no surprises.",
    "how.s3.t": "Your host meets the group",
    "how.s3.b": "At the hotel, airport, venue or activity. They have your itinerary in hand.",
    "how.s4.t": "We coordinate the day",
    "how.s4.b": "Timing, suppliers, transport, problems. You enjoy Riga — we run the logistics.",

    // form
    "form.eyebrow": "Request a host",
    "form.title_l1": "Planning a group",
    "form.title_l2": "visit to Riga?",
    "form.title_em": "Send the rough plan.",
    "form.p1": "Share your date, group size and what you've already booked. We'll come back the same day with the right shape of support and a price.",
    "form.p2": "Most enquiries are answered within 3 hours during business days. For weekend dates in season, please send at least 7 days ahead.",
    "form.trust1": "No upfront cost",
    "form.trust2": "Reply same day",
    "form.trust3": "Flexible cancellation",
    "form.step.basics": "Basics",
    "form.step.group": "Group",
    "form.step.plan": "Plan",
    "form.step.review": "Review",
    "form.basics.hint": "How can we get back to you?",
    "form.f.name": "Your name",
    "form.f.name_ph": "Alex Brown",
    "form.f.contact": "Email or WhatsApp",
    "form.f.contact_ph": "alex@email.com  or  +44 7700 900000",
    "form.f.date": "Date of visit",
    "form.group.hint": "Tell us who's coming.",
    "form.f.size": "Group size",
    "form.f.size_ph": "e.g. 14",
    "form.f.type": "Type of group",
    "form.gt.stag": "Stag / hen",
    "form.gt.friends": "Friends",
    "form.gt.corp": "Corporate / team",
    "form.gt.sports": "Sports team",
    "form.gt.bday": "Birthday / milestone",
    "form.gt.event": "Event visitors",
    "form.gt.other": "Other",
    "form.plan.hint": "What are you doing, and where do you need help?",
    "form.f.acts": "Activities already booked (or planned)",
    "form.f.acts_ph": "e.g. Go-karting Saturday 11am, dinner at Vincents 8pm, kayaking Sunday morning…",
    "form.f.support": "What support do you need?",
    "form.f.support_hint": "(pick any)",
    "form.sup.activity": "Activity coordination",
    "form.sup.restaurant": "Restaurant & venues",
    "form.sup.transport": "Transport & meeting points",
    "form.sup.language": "Language help with suppliers",
    "form.sup.planning": "Planning before arrival",
    "form.sup.fixer": "On-the-day troubleshooting",
    "form.f.lang": "Preferred host language",
    "form.lang.any": "Any",
    "form.review.hint": "Quick check before we send.",
    "form.r.name": "Name",
    "form.r.contact": "Contact",
    "form.r.date": "Date",
    "form.r.size": "Group size",
    "form.r.size_suffix": "people",
    "form.r.type": "Group type",
    "form.r.plan": "Plan",
    "form.r.support": "Support",
    "form.r.lang": "Language",
    "form.f.notes": "Anything else?",
    "form.f.notes_hint": "(optional)",
    "form.f.notes_ph": "Dietary needs, accessibility, special requests, the one person who's always late…",
    "form.back": "Back",
    "form.continue": "Continue",
    "form.submit": "Send request",
    "form.submitting": "Sending…",
    "form.err.name": "Please add your name.",
    "form.err.contact_required": "Email or WhatsApp number, please.",
    "form.err.contact_format": "Doesn't look like an email or phone number.",
    "form.err.date": "When are you visiting?",
    "form.err.size_required": "How many people?",
    "form.err.size_number": "Must be a number, 2 or more.",
    "form.err.size_max": "200+ groups — please email directly.",
    "form.err.type": "Pick the closest match.",
    "form.err.acts": "Even a rough list helps.",
    "form.err.support": "Pick at least one.",
    "form.success.h": "Request received.",
    "form.success.p1": "Thanks",
    "form.success.p2": "— we'll be in touch on",
    "form.success.email": "email",
    "form.success.whatsapp": "WhatsApp",
    "form.success.p3": "within a few hours with a suggested shape of support for your",
    "form.success.p4": "person",
    "form.success.p5": "day on",
    "form.success.again": "Send another request",

    // faq
    "faq.eyebrow": "FAQ",
    "faq.title_l1": "Questions",
    "faq.title_l2": "worth asking.",
    "faq.lead": "Don't see your question? Send it via the request form and we'll reply directly — usually the same day.",
    "faq.q1": "Are you a licensed tourist guide?",
    "faq.a1": "We're not a certified historical/cultural guide service — we provide practical group coordination and local assistance. If your group needs a licensed museum or city tour guide for a specific site, tell us and we'll either clarify the scope or pair you with a certified guide.",
    "faq.q2": "Can you book activities for us?",
    "faq.a2": "Yes, depending on the request. We can coordinate your existing bookings end-to-end, or help you arrange new activities through trusted local suppliers. We don't mark up supplier prices — you pay them, we charge for our coordination time.",
    "faq.q3": "Can the host stay with us all day?",
    "faq.a3": "Yes. Support is flexible — hourly, half-day (4h), full-day (8h) or custom. Most stag/hen and corporate groups book full-day across activity + dinner. We can also be there only for the tricky transitions.",
    "faq.q4": "What languages are available?",
    "faq.a4": "English is the main service language. Latvian communication with local suppliers is available depending on the host assigned to your day — tell us your preference in the request form.",
    "faq.q5": "Is this only for stag and hen groups?",
    "faq.a5": "No. Stag and hen groups are common but the service is also for corporate teams, friend groups, family trips, sports teams, event visitors and any private travel group of around 10–25 people.",
    "faq.q6": "How far ahead should we book?",
    "faq.a6": "Weekday dates: a few days' notice is usually fine. Weekend dates in season (May–September) and around major events: 2–4 weeks ahead is safer. We'll always tell you straight if availability is tight.",
    "faq.q7": "What does it cost?",
    "faq.a7": "Pricing depends on hours, group size and complexity. After you send the form we reply with a clear price for the shape of support we're recommending — no obligation to proceed.",

    // big mark + footer
    "mark.kicker1": "Riga · Latvia",
    "mark.kicker2": "Local group coordination",
    "mark.kicker3": "Established on the ground",
    "mark.kicker4": "Hosts · Coordinators · Fixers",
    "footer.tag": "Practical on-the-day support for tourist groups, activity weekends, corporate visits and private events in Riga.",
    "footer.service": "Service",
    "footer.contact": "Contact",
    "footer.hours": "Hours",
    "footer.l.what": "What we do",
    "footer.l.who": "Who it's for",
    "footer.l.how": "How it works",
    "footer.l.faq": "FAQ",
    "footer.l.request": "Request a host",
    "footer.l.wa": "WhatsApp +371 …",
    "footer.l.ig": "Instagram",
    "footer.h.reply": "Reply: same day, 9am–9pm",
    "footer.h.hosting": "Hosting: 7 days a week",
    "footer.h.langs": "Languages: EN · LV",
    "footer.copy": "© 2026 Riga Local Host",
    "footer.loc": "Riga · Latvia",
    "footer.note": "Not a licensed tour guide service",

    // tweaks
    "tw.accent": "Accent color",
    "tw.density": "Density",
    "tw.color.yellow": "Yellow",
    "tw.color.blue": "Blue",
    "tw.color.orange": "Orange",
    "tw.color.green": "Green",
    "tw.density.roomy": "Roomy",
    "tw.density.compact": "Compact",
  },

  lv: {
    // nav
    "nav.how": "Kā tas notiek",
    "nav.services": "Pakalpojumi",
    "nav.who": "Kam piemērots",
    "nav.faq": "BUJ",
    "nav.cta": "Pieprasīt pieejamību",

    // hero
    "hero.eyebrow": "Rīga · Grupu koordinācijas serviss",
    "hero.h1_pre": "Tavs ",
    "hero.h1_em": "vietējais palīgs",
    "hero.h1_post": " grupām Rīgā.",
    "hero.sub": "Angliski runājošs vietējais koordinators, kas pavada tavu grupu visu dienu — sarunā ar piegādātājiem, kārto laikus, taksometrus, restorānus un atrisina mazās problēmas, pirms tās kļūst lielas.",
    "hero.cta1": "Pieprasīt pieejamību",
    "hero.cta2": "Pastāsti par savu plānu",
    "hero.pill_lead": "Vecpuišu un vecmeitu",
    "hero.pill_friends": "Draugu grupas",
    "hero.pill_corp": "Korporatīvās komandas",
    "hero.pill_sports": "Sporta komandas",
    "hero.pill_events": "Pasākumu viesi",
    "hero.tag": "10–25 cilvēki · pusdiena vai pilna diena",
    "hero.img_alt": "Vietējais koordinators rāda grupai apskates objektu Rīgas Vecpilsētā",
    "hero.marquee1": "Angļu · Latviešu",
    "hero.marquee2": "Pa stundām · Pusdiena · Pilna diena",
    "hero.marquee3": "10–25 cilvēki",
    "hero.marquee4": "Rīgā no pirmās dienas",

    // differentiator
    "diff.eyebrow": "Kas mēs neesam",
    "diff.title_pre": "Nevis muzeja gids.",
    "diff.title_em": "Vietējais problēmu risinātājs.",
    "diff.lead": "Mūsu uzdevums nav garas vēsturiskas lekcijas. Mēs palīdzam grupai pārvietoties cauri dienai — no satikšanās vietām un sarunām ar piegādātājiem līdz restorāniem, aktivitātēm, transportam un pēdējā brīža izmaiņām.",
    "diff.c1.tag": "01 / Vietējā saziņa",
    "diff.c1.h": "Mēs runājam vietējā valodā, lai jums nebūtu jārunā.",
    "diff.c1.p": "Zvani un ziņas vietām, šoferiem, restorāniem un aktivitāšu organizētājiem — latviešu valodā, jūsu vārdā.",
    "diff.c2.tag": "02 / Grupas koordinācija",
    "diff.c2.h": "Visi informēti, laikā un īstajā vietā.",
    "diff.c2.p": "Cilvēku skaits, satikšanās vietas, atgādinājumi par grafiku. Mēs gādājam, lai neviens nebūtu iemesls, kāpēc nākamais notikums sākas vēlāk.",
    "diff.c3.tag": "03 / Praktiska palīdzība",
    "diff.c3.h": "Mazās problēmas atrisinātas, pirms tās kļūst lielas.",
    "diff.c3.p": "Pazudis maks, pazudis cilvēks, dubulti rezervēts taksis, neparedzēti uztura ierobežojumi — atrisināts uz vietas, jūsu pusē.",

    // services
    "serv.eyebrow": "Pakalpojumi",
    "serv.title_l1": "Kā mēs palīdzam",
    "serv.title_l2": "tavai grupai.",
    "serv.lead": "Izvēlies, kas nepieciešams. Lielākā daļa grupu rezervē pusdienas vai pilnas dienas atbalstu, kur aktivitāšu koordinācija ir galvenā un restorānu + transporta palīdzība papildina.",
    "serv.s1.t": "Aktivitāšu koordinācija",
    "serv.s1.b": "Karti, kajaki, peintbols, šautuves, laivu braucieni, kvesti, SPA un pārējais.",
    "serv.s2.t": "Restorānu un norises vietu atbalsts",
    "serv.s2.b": "Ierašanās, rezervācijas, grupu ēdienkartes, laiki, saziņa, īpašās vēlmes.",
    "serv.s3.t": "Transporta koordinācija",
    "serv.s3.b": "Satikšanās vietas, taksometri, mikroautobusi, pārvedumi, stāvvietas un maršruti.",
    "serv.s4.t": "Valodas un vietējā palīdzība",
    "serv.s4.b": "Angliski runājošs koordinators ar latviešu valodu, kur tas svarīgi — personālam, instrukcijām, paražām.",
    "serv.s5.t": "Problēmu risināšana uz vietas",
    "serv.s5.b": "Kavējumi, pazuduši cilvēki, jucekli ar rezervācijām, laika apstākļi, laika problēmas. Atrisināts.",
    "serv.s6.t": "Plānošanas palīdzība",
    "serv.s6.b": "Pirms ierašanās: aptuvens grafiks, kontakti ar piegādātājiem, dienas loģika. Pārbaudām plānu.",

    // who it's for
    "who.eyebrow": "Piemērots",
    "who.title_pre": "Grupām, kam vajadzīgs kāds ",
    "who.title_em": "uz vietas",
    "who.title_post": ".",
    "who.lead": "Ja grupā ir 10–25 cilvēki un dienā vairāk par diviem notikumiem — tas ir priekš jums.",
    "who.w1.tag": "01 · Visbiežāk",
    "who.w1.t": "Vecpuišu un vecmeitu grupas",
    "who.w1.p": "Vairākas aktivitātes, vēli vakari, draugu grupa, kas vēl ne visi viens otru pazīst. Mēs noturam dienu kopā.",
    "who.w2.t": "Draugu grupas ceļojumā",
    "who.w2.p": "Aktivitātes rezervētas pašiem, bet vajag vietējo cilvēku, kas kārto pa vidu.",
    "who.w3.t": "Korporatīvās un team-building",
    "who.w3.p": "Izbraucieni, motivācijas ceļojumi, dienaskārtības, kam jānotiek laikā.",
    "who.w4.t": "Sporta komandas",
    "who.w4.p": "Turnīri, treniņnometnes, pēc-spēles loģistika.",
    "who.w5.t": "Jubileju ceļojumi",
    "who.w5.p": "Īpašu reižu grupas, kur vienam cilvēkam nav jābūt neoficiālajam gidam.",
    "who.w6.t": "Pasākumu viesi",
    "who.w6.p": "Konferenču dalībnieki, kāzu viesi, festivālu grupas, kam vajag vietējo atbalstu.",
    "who.w7.t": "Ārvalstu organizatori",
    "who.w7.p": "Plānojat Rīgu no ārzemēm un vēlaties kādu vietējo, kas kārto dienu.",
    "who.w8.t": "Vairāku rezervāciju dienas",
    "who.w8.p": "3+ lietas vienā dienā, vairāki piegādātāji, ciešas pārejas.",

    // how it works
    "how.eyebrow": "Kā tas notiek",
    "how.title_l1": "Vienkāršs process.",
    "how.title_l2": "Četri soļi.",
    "how.lead": "Lielākā daļa pieprasījumu tiek atbildēti dažu stundu laikā. Rezervāciju var veikt pat pāris dienas iepriekš — taču nedēļas nogales sezonā piepildās ātri.",
    "how.s1.t": "Pastāsti par plānu",
    "how.s1.b": "Grupas lielums, datums, aktivitātes, aptuvens grafiks un kāda palīdzība nepieciešama.",
    "how.s2.t": "Mēs apstiprinām atbalstu",
    "how.s2.b": "Pa stundām, pusdienu, pilnu dienu vai pielāgots. Skaidrs apjoms un cena — bez pārsteigumiem.",
    "how.s3.t": "Koordinators satiek grupu",
    "how.s3.b": "Viesnīcā, lidostā, norises vietā vai aktivitātē. Ar tavu plānu rokās.",
    "how.s4.t": "Mēs vadām dienu",
    "how.s4.b": "Laiki, piegādātāji, transports, problēmas. Tu izbaudi Rīgu — mēs kārtojam loģistiku.",

    // form
    "form.eyebrow": "Pieprasīt koordinatoru",
    "form.title_l1": "Plāno grupas",
    "form.title_l2": "vizīti Rīgā?",
    "form.title_em": "Atsūti aptuveno plānu.",
    "form.p1": "Atsūti datumu, grupas lielumu un ko jau esi rezervējis. Mēs atbildēsim tajā pašā dienā ar piemērotu atbalsta veidu un cenu.",
    "form.p2": "Lielākā daļa pieprasījumu tiek atbildēti 3 stundu laikā darba dienās. Nedēļas nogalēm sezonā lūdzu rakstiet vismaz 7 dienas iepriekš.",
    "form.trust1": "Bez priekšapmaksas",
    "form.trust2": "Atbildam tajā pašā dienā",
    "form.trust3": "Elastīga atcelšana",
    "form.step.basics": "Pamati",
    "form.step.group": "Grupa",
    "form.step.plan": "Plāns",
    "form.step.review": "Pārskats",
    "form.basics.hint": "Kā mēs ar tevi varam sazināties?",
    "form.f.name": "Tavs vārds",
    "form.f.name_ph": "Anna Bērziņa",
    "form.f.contact": "E-pasts vai WhatsApp",
    "form.f.contact_ph": "anna@email.com  vai  +371 20000000",
    "form.f.date": "Vizītes datums",
    "form.group.hint": "Pastāsti, kas brauc.",
    "form.f.size": "Grupas lielums",
    "form.f.size_ph": "piem., 14",
    "form.f.type": "Grupas veids",
    "form.gt.stag": "Vecpuišu / vecmeitu",
    "form.gt.friends": "Draugi",
    "form.gt.corp": "Korporatīvā / komanda",
    "form.gt.sports": "Sporta komanda",
    "form.gt.bday": "Jubileja",
    "form.gt.event": "Pasākuma viesi",
    "form.gt.other": "Cits",
    "form.plan.hint": "Ko jūs darīsiet, un kur vajag palīdzību?",
    "form.f.acts": "Jau rezervētās (vai plānotās) aktivitātes",
    "form.f.acts_ph": "piem., karti sestdien 11:00, vakariņas Vincents 20:00, kajaki svētdien no rīta…",
    "form.f.support": "Kāds atbalsts nepieciešams?",
    "form.f.support_hint": "(izvēlies jebkurus)",
    "form.sup.activity": "Aktivitāšu koordinācija",
    "form.sup.restaurant": "Restorāni un norises vietas",
    "form.sup.transport": "Transports un satikšanās",
    "form.sup.language": "Valodas palīdzība ar piegādātājiem",
    "form.sup.planning": "Plānošana pirms ierašanās",
    "form.sup.fixer": "Problēmu risināšana uz vietas",
    "form.f.lang": "Vēlamā koordinatora valoda",
    "form.lang.any": "Jebkura",
    "form.review.hint": "Ātra pārbaude pirms sūtīšanas.",
    "form.r.name": "Vārds",
    "form.r.contact": "Kontakts",
    "form.r.date": "Datums",
    "form.r.size": "Grupas lielums",
    "form.r.size_suffix": "cilvēki",
    "form.r.type": "Grupas veids",
    "form.r.plan": "Plāns",
    "form.r.support": "Atbalsts",
    "form.r.lang": "Valoda",
    "form.f.notes": "Vēl kaut kas?",
    "form.f.notes_hint": "(neobligāti)",
    "form.f.notes_ph": "Uztura īpatnības, piekļūstamība, īpašās vēlmes, tas viens, kurš vienmēr kavē…",
    "form.back": "Atpakaļ",
    "form.continue": "Turpināt",
    "form.submit": "Nosūtīt pieprasījumu",
    "form.submitting": "Sūtām…",
    "form.err.name": "Lūdzu, ieraksti vārdu.",
    "form.err.contact_required": "E-pasts vai WhatsApp numurs, lūdzu.",
    "form.err.contact_format": "Neizskatās pēc e-pasta vai telefona numura.",
    "form.err.date": "Kad ieradīsies?",
    "form.err.size_required": "Cik cilvēku?",
    "form.err.size_number": "Jābūt skaitlim, 2 vai vairāk.",
    "form.err.size_max": "200+ grupas — lūdzu, raksti e-pastā tieši.",
    "form.err.type": "Izvēlies tuvāko atbilstību.",
    "form.err.acts": "Pat aptuvens saraksts noder.",
    "form.err.support": "Izvēlies vismaz vienu.",
    "form.success.h": "Pieprasījums saņemts.",
    "form.success.p1": "Paldies",
    "form.success.p2": "— sazināsimies",
    "form.success.email": "e-pastā",
    "form.success.whatsapp": "WhatsApp",
    "form.success.p3": "dažu stundu laikā ar piedāvājumu tavai",
    "form.success.p4": "cilvēku",
    "form.success.p5": "dienai",
    "form.success.again": "Sūtīt vēl vienu pieprasījumu",

    // faq
    "faq.eyebrow": "BUJ",
    "faq.title_l1": "Jautājumi,",
    "faq.title_l2": "ko vērts uzdot.",
    "faq.lead": "Neredzi savu jautājumu? Atsūti to caur pieprasījuma formu, un atbildēsim tieši — parasti tajā pašā dienā.",
    "faq.q1": "Vai jūs esat sertificēti tūristu gidi?",
    "faq.a1": "Mēs nesniedzam sertificētu vēstures/kultūras gida pakalpojumu — mēs piedāvājam praktisku grupu koordinēšanu un vietējo atbalstu. Ja grupai nepieciešams licencēts muzeja vai pilsētas gids konkrētai vietai, pasaki, un mēs vai nu precizēsim apjomu, vai savedīsim kopā ar sertificētu gidu.",
    "faq.q2": "Vai varat rezervēt mums aktivitātes?",
    "faq.a2": "Jā, atkarībā no pieprasījuma. Mēs varam koordinēt jūsu jau esošās rezervācijas vai palīdzēt sarunāt jaunas aktivitātes pie uzticamiem vietējiem piegādātājiem. Mēs nepiemērojam uzcenojumu piegādātāju cenām — jūs maksājat viņiem, mēs ņemam par savu koordinācijas laiku.",
    "faq.q3": "Vai koordinators var palikt visu dienu?",
    "faq.a3": "Jā. Atbalsts ir elastīgs — pa stundām, pusdiena (4h), pilna diena (8h) vai pielāgots. Lielākā daļa vecpuišu/vecmeitu un korporatīvo grupu rezervē pilnu dienu ar aktivitāti + vakariņām. Varam arī būt tikai sarežģītajām pārejām.",
    "faq.q4": "Kādās valodās pakalpojums pieejams?",
    "faq.a4": "Galvenā servisa valoda ir angļu. Saziņa latviešu valodā ar vietējiem piegādātājiem ir pieejama atkarībā no piešķirtā koordinatora — norādi savu vēlmi pieprasījuma formā.",
    "faq.q5": "Vai tas ir tikai vecpuišu un vecmeitu grupām?",
    "faq.a5": "Nē. Vecpuišu un vecmeitu grupas ir bieži, bet pakalpojums ir arī korporatīvajām komandām, draugu grupām, ģimenes ceļojumiem, sporta komandām, pasākumu viesiem un jebkurai privātai ceļojuma grupai ap 10–25 cilvēkiem.",
    "faq.q6": "Cik laicīgi jārezervē?",
    "faq.a6": "Darba dienām: pāris dienas iepriekš parasti ir pietiekami. Nedēļas nogales sezonā (maijs–septembris) un lielo pasākumu laikā: 2–4 nedēļas iepriekš ir drošāk. Mēs vienmēr godīgi pateiksim, ja pieejamība ir saspringta.",
    "faq.q7": "Cik tas maksā?",
    "faq.a7": "Cena atkarīga no stundām, grupas lieluma un sarežģītības. Pēc formas nosūtīšanas mēs atbildēsim ar skaidru cenu mūsu ieteiktajam atbalsta veidam — bez pienākuma turpināt.",

    // big mark + footer
    "mark.kicker1": "Rīga · Latvija",
    "mark.kicker2": "Vietējā grupu koordinācija",
    "mark.kicker3": "Strādājam uz vietas",
    "mark.kicker4": "Koordinatori · Palīgi · Risinātāji",
    "footer.tag": "Praktisks atbalsts uz vietas tūristu grupām, aktivitāšu nedēļas nogalēm, korporatīvām vizītēm un privātiem pasākumiem Rīgā.",
    "footer.service": "Serviss",
    "footer.contact": "Kontakti",
    "footer.hours": "Darba laiks",
    "footer.l.what": "Ko mēs darām",
    "footer.l.who": "Kam piemērots",
    "footer.l.how": "Kā tas notiek",
    "footer.l.faq": "BUJ",
    "footer.l.request": "Pieprasīt koordinatoru",
    "footer.l.wa": "WhatsApp +371 …",
    "footer.l.ig": "Instagram",
    "footer.h.reply": "Atbilde: tajā pašā dienā, 9:00–21:00",
    "footer.h.hosting": "Pakalpojums: 7 dienas nedēļā",
    "footer.h.langs": "Valodas: EN · LV",
    "footer.copy": "© 2026 Riga Local Host",
    "footer.loc": "Rīga · Latvija",
    "footer.note": "Nav licencēts tūristu gida pakalpojums",

    // tweaks
    "tw.accent": "Akcenta krāsa",
    "tw.density": "Blīvums",
    "tw.color.yellow": "Dzeltens",
    "tw.color.blue": "Zils",
    "tw.color.orange": "Oranžs",
    "tw.color.green": "Zaļš",
    "tw.density.roomy": "Plašs",
    "tw.density.compact": "Kompakts",
  },
};

// Context + hook
const I18nContext = React.createContext({ lang: "en", t: (k) => k, setLang: () => {} });

function I18nProvider({ children }) {
  const [lang, setLang] = React.useState(() => {
    try { return localStorage.getItem("rlh.lang") || "en"; } catch (e) { return "en"; }
  });
  React.useEffect(() => {
    try { localStorage.setItem("rlh.lang", lang); } catch (e) {}
    document.documentElement.setAttribute("lang", lang);
  }, [lang]);
  const t = React.useCallback(
    (key) => (TRANSLATIONS[lang] && TRANSLATIONS[lang][key]) || TRANSLATIONS.en[key] || key,
    [lang],
  );
  return <I18nContext.Provider value={{ lang, t, setLang }}>{children}</I18nContext.Provider>;
}

function useT() {
  return React.useContext(I18nContext);
}

Object.assign(window, { TRANSLATIONS, I18nProvider, I18nContext, useT });
