/* global React */
/* ============================================================
   i18n — Victoria Skincare (English primary, Spanish secondary)
   Single source of truth for all copy across pages.
   ============================================================ */
const { createContext, useContext, useState, useEffect, useCallback } = React;

const BOOKING_URL = "https://www.fresha.com/es/a/victoria-skin-care-palace-willemstad-kaya-nubia-4-b7650vbg?pId=2697548";

const STRINGS = {
  en: {
    /* -------- Brand bits -------- */
    "brand.tag": "Boutique skincare studio · Curaçao",
    "common.book": "Book appointment",
    "common.book_short": "Book",
    "common.book_now": "Book now",
    "common.book_my": "Book my visit",
    "common.book_treatment": "Book your treatment",
    "common.view_services": "View treatments",
    "common.whatsapp": "Message us on WhatsApp",
    "common.whatsapp_short": "WhatsApp",
    "common.tagline_mobile": "Your pause is waiting",
    "common.cancel_window": "Free to reschedule up to 24h before",
    "common.lang_en": "English",
    "common.lang_es": "Español",
    "common.signature": "Signature",
    "common.most_booked": "Most booked",
    "common.min": "min",
    "common.from": "from",
    "common.read_more": "Read article",
    "common.send": "Send message",

    /* -------- Nav -------- */
    "nav.home": "Home",
    "nav.services": "Treatments",
    "nav.services.massages": "Massages",
    "nav.services.facials": "Facials",
    "nav.services.waxing": "Waxing",
    "nav.about": "About",
    "nav.blog": "Journal",
    "nav.contact": "Contact",
    "nav.phone": "+5999 527 9021",

    /* -------- Hero -------- */
    "hero.eyebrow": "Boutique studio · Willemstad, Curaçao",
    "hero.h1.a": "A space where your skin",
    "hero.h1.b": "feels",
    "hero.h1.c": "at home.",
    "hero.sub": "Facials, massages and waxing in a private cabin — designed by Kennys Rodríguez, a certified cosmetologist with over 12 years caring for skin in Curaçao.",
    "hero.trust.years": "Years caring for skin",
    "hero.trust.rating": "320+ verified reviews",
    "hero.trust.private": "Private cabin, never rushed",
    "hero.tag.live": "Openings this week",
    "hero.quote": "Great on hands and elbows, and adjusts pressure to my preference. I left totally relaxed.",
    "hero.quote.who": "Jhon Vivas · Relaxing massage",

    /* -------- Strip -------- */
    "strip.items": ["Facials", "Massages", "Waxing", "Lymphatic drainage", "Deep cleansing", "24K hydration", "Deep tissue"],

    /* -------- Pillars -------- */
    "pillars.eyebrow": "Why Victoria",
    "pillars.h2.a": "Not a hotel spa.",
    "pillars.h2.b": "It's",
    "pillars.h2.c": "your corner",
    "pillars.h2.d": "of Curaçao.",
    "pillars.lead": "One cabin, one practitioner, all the time each treatment actually needs. We stepped out of the spa-factory model to offer something closer to a session at your most skilled friend's house — who happens to be an expert in skin.",
    "pillars.1.title": "One-to-one attention",
    "pillars.1.copy": "One client at a time. No waiting room, no shared shift, no clock ticking against you.",
    "pillars.2.title": "Certified cosmetologist",
    "pillars.2.copy": "Kennys performs every treatment personally — 12 years of clinical and aesthetic experience.",
    "pillars.3.title": "A ritual, not a service",
    "pillars.3.copy": "Heated beds, warm light, subtle aroma. Built so you can switch off — not so we can fill a slot.",

    /* -------- Services (home) -------- */
    "services.eyebrow": "Treatments",
    "services.h2.a": "Three pillars.",
    "services.h2.b": "One intention:",
    "services.h2.c": "to take real care of you.",
    "services.lead": "Facial, body and waxing treatments designed for your skin — not a standard menu. Pricing includes a personal consult and a take-home routine recommendation.",
    "services.note": "Not sure which one to choose? We'll guide you on WhatsApp.",
    "services.tab.facial": "Facials",
    "services.tab.massage": "Massages",
    "services.tab.waxing": "Waxing",

    /* -------- Founder -------- */
    "founder.eyebrow": "Meet Kennys",
    "founder.h2.a": "Twelve years learning the same thing:",
    "founder.h2.b": "every skin asks for something different.",
    "founder.sig": "Founder · Cosmetologist",
    "founder.p1": "I'm Kennys Rodríguez — a certified cosmetologist and the person who will welcome you on the day of your appointment. I opened Victoria Skincare with a simple idea: that a facial can matter as much as a good night's sleep.",
    "founder.p2": "There's no oversized menu here and no rigid protocols. What there is: a single cabin, heated beds, professional products and all the time in the world to make your session truly yours.",
    "founder.list.1": "Certified cosmetologist",
    "founder.list.2": "Trained in lymphatic drainage",
    "founder.list.3": "Specialist in sensitive skin",
    "founder.list.4": "Speaks English, Spanish & Papiamentu",

    /* -------- WhyUs -------- */
    "why.eyebrow": "Why choose us",
    "why.h2.a": "Boutique spa.",
    "why.h2.b": "Without the theatre",
    "why.h2.c": "of a hotel chain.",
    "why.lead": "We came from the wellness industry and noticed the same pattern: many options, little presence. Victoria exists to give the appointment back what it lost — a quiet room, a person who knows you, and results you can feel the next day.",
    "why.1.title": "The cabin, not the queue",
    "why.1.copy": "One client at a time. No waiting room, no shift companions, no clock running against you.",
    "why.2.title": "A single expert",
    "why.2.copy": "Kennys attends each appointment personally. No rotating team — the person who assessed your skin today welcomes you next time.",
    "why.3.title": "Professional products",
    "why.3.copy": "We only work with clinical-grade cosmeceuticals. Each product is chosen for your skin, not for a protocol.",
    "why.4.title": "A home, not a counter",
    "why.4.copy": "Heated beds, dim light, subtle aroma. Designed so you arrive tense and leave different — not made up.",

    /* -------- Packages -------- */
    "pkg.eyebrow": "Packages · Rituals",
    "pkg.h2.a": "Three rituals built to",
    "pkg.h2.b": "actually take care of you.",
    "pkg.lead": "Combinations designed by Kennys to address the most-requested concerns — with a kinder price when you book the bundle.",
    "pkg.1.eyebrow": "Massage package",
    "pkg.1.title": "Ten sessions.\nOne on the house.",
    "pkg.1.desc": "Our most-requested massage package — ten sessions to take seriously what your body has been asking you for months.",
    "pkg.1.i1": "10 sessions, your choice",
    "pkg.1.i2": "1 session free",
    "pkg.1.i3": "Valid 12 months",
    "pkg.1.meta": "10 visits · 1 free",
    "pkg.2.eyebrow": "Ultracavitation",
    "pkg.2.title": "Body\ncontouring",
    "pkg.2.desc": "Fat-reduction massage program. A serious commitment with serious results — with one session on us.",
    "pkg.2.i1": "Full ultracavitation series",
    "pkg.2.i2": "1 free session",
    "pkg.2.i3": "Pre-program consult included",
    "pkg.2.meta": "Series · 1 free",
    "pkg.3.eyebrow": "Skin monthly",
    "pkg.3.title": "Three months,\nthree facials.",
    "pkg.3.desc": "One facial a month for three months. The rhythm that actually changes skin — not a one-off appointment.",
    "pkg.3.i1": "3 sessions on your skin's cycle",
    "pkg.3.i2": "Home routine plan",
    "pkg.3.i3": "Direct WhatsApp line for questions",
    "pkg.3.meta": "3 visits · monthly",

    /* -------- Testimonials -------- */
    "test.eyebrow": "Who has already visited",
    "test.h2.a": "What",
    "test.h2.b": "the regulars",
    "test.h2.c": "say.",
    "test.meta": "320+ verified reviews on Fresha & Google",
    "test.1.q": "Great on hands and elbows, and adjusts pressure to patient preference. I left totally relaxed and stress-free. As a tourist I will continue to enjoy Curaçao even more relaxed. 100% recommended.",
    "test.1.name": "Jhon Vivas",
    "test.1.svc": "Relaxing massage",
    "test.2.q": "I took the relaxing massage service and it was a wonderful experience — a plus in my vacation in Curaçao. The place is ideal, the massage excellent. I left totally relaxed.",
    "test.2.name": "Barbara Sanchez",
    "test.2.svc": "Swedish massage",
    "test.3.q": "Every vacation in Curaçao we come to Kennys for a massage — sometimes twice, because she is the best on the island. We always enjoy it so much.",
    "test.3.name": "Guus & Nalin",
    "test.3.svc": "Returning clients",

    /* -------- FAQ -------- */
    "faq.eyebrow": "Frequently asked",
    "faq.h2.a": "Everything you want to know",
    "faq.h2.b": "before you come.",
    "faq.lead": "If you don't find your answer here, message us on WhatsApp — Kennys replies personally.",
    "faq.1.q": "How often should I do a facial?",
    "faq.1.a": "Once a month is the sweet spot. Your skin's cell cycle is roughly three to four weeks, so a facial timed to that rhythm helps keep tone, hydration and clarity steady — a single facial is wonderful, consistency is what actually changes skin.",
    "faq.2.q": "How long does a facial last?",
    "faq.2.a": "Most full facials run 60 to 90 minutes — enough time for cleansing, exfoliation, extraction, masks and a real shoulder & arm massage. We also offer express facials around 30 minutes for in-between visits.",
    "faq.3.q": "What's usually included in a facial?",
    "faq.3.a": "Cleansing, exfoliation, steam and extraction are the base. Depending on what your skin needs that day, we add high frequency, peels, masks, hydration boosters, LED light and a facial-shoulder-arm massage.",
    "faq.4.q": "How do I book my appointment?",
    "faq.4.a": "Online via Fresha in under 30 seconds. We confirm by email and send a reminder the day before. If you prefer, you can also reach us by WhatsApp at +5999 527 9021.",
    "faq.5.q": "Can I cancel or reschedule?",
    "faq.5.a": "Yes — we only ask for 24 hours' notice so we can offer the slot to someone else. After that window, a 50% fee applies.",
    "faq.6.q": "It's my first visit — anything I should know?",
    "faq.6.a": "Arrive 10 minutes early so we can do a brief consult. For facials, avoid strong exfoliants and retinol 48 hours before. For waxing, hair should be at least 5 mm long. We attend in English, Spanish and Papiamentu.",

    /* -------- Booking CTA -------- */
    "cta.eyebrow": "Your next appointment",
    "cta.h2.a": "Book your pause.",
    "cta.h2.b": "We'll welcome you home.",
    "cta.lead": "No endless forms. Pick treatment, date and time — we confirm instantly.",
    "cta.address.eyebrow": "Visit us",
    "cta.address.line1": "Kaya Chango 4",
    "cta.address.line2": "Willemstad, Curaçao",
    "cta.hours": "Mon–Sat · 9:00 — 18:00 · by appointment",

    /* -------- Footer -------- */
    "footer.about": "Boutique spa in Willemstad, Curaçao. Facials, massages and waxing with one-to-one attention by Kennys Rodríguez.",
    "footer.col.treatments": "Treatments",
    "footer.col.about": "About",
    "footer.col.visit": "Visit us",
    "footer.copy": "© 2026 Victoria Skincare Curaçao · All rights reserved",
    "footer.privacy": "Privacy policy",
    "footer.terms": "Terms & cancellations",

    /* -------- Massages page -------- */
    "massages.title": "Massages — Victoria Skincare Curaçao",
    "massages.hero.eyebrow": "Body · Massage therapy",
    "massages.hero.h1.a": "Touch that",
    "massages.hero.h1.b": "switches you off.",
    "massages.hero.sub": "From a slow Swedish massage to deep tissue work for chronic tension. Every massage starts with a brief read of your body — never a fixed protocol.",
    "massages.intro.eyebrow": "How a massage feels here",
    "massages.intro.h2.a": "Heated bed.",
    "massages.intro.h2.b": "Warm oil.",
    "massages.intro.h2.c": "All the time it actually needs.",
    "massages.intro.p1": "Most massages outside Victoria run on a timer the moment you lie down. We do it differently — your scheduled minutes are for hands on the body, not for getting dressed and walking to a reception desk.",
    "massages.intro.p2": "Kennys reads where you carry tension, asks about your week, and adjusts pressure session by session. If something doesn't feel right, you say so. If it does, you stay quiet — both are welcome.",
    "massages.benefits.eyebrow": "What you'll feel",
    "massages.benefits.title": "Real outcomes, no promises",
    "massages.b1.title": "Deactivated nervous system",
    "massages.b1.copy": "Slow, repetitive pressure tells your body it can stop bracing. You sleep better that night.",
    "massages.b2.title": "Better circulation",
    "massages.b2.copy": "Improved lymphatic flow reduces swelling and brings oxygen back to tired tissue.",
    "massages.b3.title": "Released tension",
    "massages.b3.copy": "Chronic neck, shoulder and lower-back patterns soften over a series of focused sessions.",
    "massages.b4.title": "Mental quiet",
    "massages.b4.copy": "60 minutes without your phone, in dim light, listened to. Worth more than it sounds.",

    /* -------- Facials page -------- */
    "facials.title": "Facials — Victoria Skincare Curaçao",
    "facials.hero.eyebrow": "Skin · Facial care",
    "facials.hero.h1.a": "Skincare that",
    "facials.hero.h1.b": "actually",
    "facials.hero.h1.c": "reads your skin.",
    "facials.hero.sub": "Deep cleanses, peels, 24K gold hydration and lymphatic facial work — each session adjusted to where your skin is today, not a six-step generic flow.",
    "facials.intro.eyebrow": "Our facial philosophy",
    "facials.intro.h2.a": "We start by",
    "facials.intro.h2.b": "looking",
    "facials.intro.h2.c": "— then we touch.",
    "facials.intro.p1": "Every facial begins with five minutes under a clean light. Kennys looks at hydration, oil flow, signs of inflammation, the way your skin has reacted to whatever you've been using at home.",
    "facials.intro.p2": "Only then does she build the session — the same name on the menu can be three different facials depending on what your skin is doing this week. The goal isn't to use every product available. It's to use exactly what your skin needs and nothing else.",
    "facials.benefits.eyebrow": "What changes",
    "facials.benefits.title": "Skin that responds — not skin that performs",
    "facials.b1.title": "Visible texture change",
    "facials.b1.copy": "Smoother surface after a single peel or deep cleanse. Real, not filtered.",
    "facials.b2.title": "Calmer, less reactive skin",
    "facials.b2.copy": "Especially helpful for sensitive or rosacea-prone skin tired of harsh routines.",
    "facials.b3.title": "Hydration that lasts",
    "facials.b3.copy": "We rebuild the moisture barrier — instead of pushing more product through a damaged one.",
    "facials.b4.title": "A routine that fits your life",
    "facials.b4.copy": "You leave with a short, honest plan for home. Three products, not twelve.",

    /* -------- Waxing page -------- */
    "waxing.title": "Waxing — Victoria Skincare Curaçao",
    "waxing.hero.eyebrow": "Body · Hair removal",
    "waxing.hero.h1.a": "Waxing in a",
    "waxing.hero.h1.b": "calm",
    "waxing.hero.h1.c": "private room.",
    "waxing.hero.sub": "Warm wax, fast technique and a private cabin. Everything from brows and lip to legs and Brazilian — clean, respectful and on your terms.",
    "waxing.intro.eyebrow": "How we do waxing",
    "waxing.intro.h2.a": "Private cabin.",
    "waxing.intro.h2.b": "No small talk required.",
    "waxing.intro.p1": "Waxing should feel boring — in the best sense. Quick, hygienic, and over before you've had time to overthink. We use professional warm wax, single-use applicators and disposable strips by default.",
    "waxing.intro.p2": "It's just you and Kennys in the room. Talk if you feel like it. Stay quiet if you don't. Either way, you'll be out the door in a fraction of the time you'd spend at a busier salon.",
    "waxing.benefits.eyebrow": "Why people switch to us",
    "waxing.benefits.title": "What makes waxing here different",
    "waxing.b1.title": "Truly private cabin",
    "waxing.b1.copy": "No shared walls, no curtain. One client at a time means real privacy — not the suggestion of it.",
    "waxing.b2.title": "Minimal discomfort technique",
    "waxing.b2.copy": "Warm wax + fast removal angle. The pause between strips is the longest part.",
    "waxing.b3.title": "Hygiene above everything",
    "waxing.b3.copy": "Single-use applicators. No double-dipping, ever. Sanitised tools between every client.",
    "waxing.b4.title": "Custom brow design",
    "waxing.b4.copy": "We map your brow to your face — no pre-cut stencils, no copy-paste.",

    /* -------- About page -------- */
    "about.title": "About — Victoria Skincare Curaçao",
    "about.hero.eyebrow": "Our story",
    "about.hero.h1.a": "A spa that grew from",
    "about.hero.h1.b": "one cabin",
    "about.hero.h1.c": "and one promise.",
    "about.hero.sub": "Founded in Curaçao in 2014 by Kennys Rodríguez, Victoria Skincare exists for women who treat self-care as a non-negotiable — not a treat.",
    "about.story.eyebrow": "The promise",
    "about.story.h2.a": "Twelve years.",
    "about.story.h2.b": "One cabin.",
    "about.story.h2.c": "Thousands of returning faces.",
    "about.story.p1": "Victoria Skincare started in a small cabin off Kaya Nubia, with a heated bed, a stack of clean towels and a calendar that filled up quietly, by word of mouth. We never moved to a bigger space because the size has always been the point.",
    "about.story.p2": "Most of the clients we have today have been with us for years. Some came as teenagers and are now mothers booking facials between school runs. Others fly in from Aruba, from Bonaire, from Miami — to do their brows or their drenaje with the same person every single time.",
    "about.story.p3": "We've never run a sale. We've never advertised on the radio. The business grew on a different currency — the time we give the people in front of us.",

    "about.values.eyebrow": "What we believe",
    "about.values.title": "Five quiet principles",
    "about.v1.title": "Slowness is the luxury",
    "about.v1.copy": "Long sessions, no overlap. Time is the most generous thing we can offer.",
    "about.v2.title": "Honesty about results",
    "about.v2.copy": "We won't promise transformations. We tell you what your skin can realistically do.",
    "about.v3.title": "The same hands",
    "about.v3.copy": "One practitioner, every visit. Continuity is the difference.",
    "about.v4.title": "Quality, not quantity",
    "about.v4.copy": "Smaller menu, deeper expertise. We'd rather do six things well than thirty things adequately.",
    "about.v5.title": "Privacy",
    "about.v5.copy": "Your skin, your body, your conversation. What happens in the cabin stays in the cabin.",

    "about.numbers.years": "Years in Curaçao",
    "about.numbers.years.lab": "Since 2014",
    "about.numbers.clients": "Returning clients",
    "about.numbers.clients.lab": "monthly, on average",
    "about.numbers.rating": "Average rating",
    "about.numbers.rating.lab": "across Fresha & Google",
    "about.numbers.cabin": "Cabin · one at a time",
    "about.numbers.cabin.lab": "by design",

    /* -------- Blog page -------- */
    "blog.title": "Journal — Victoria Skincare Curaçao",
    "blog.hero.eyebrow": "Journal",
    "blog.hero.h1.a": "Notes on skin,",
    "blog.hero.h1.b": "rest",
    "blog.hero.h1.c": "and ritual.",
    "blog.hero.sub": "Short reads from Kennys and the studio — practical skincare, body care, and the small habits that compound over time.",
    "blog.feat.tag": "Featured",
    "blog.feat.cat": "Skincare basics",
    "blog.feat.date": "May 18, 2026 · 6 min read",
    "blog.feat.title": "What an honest home routine actually looks like (in three products, not twelve)",
    "blog.feat.desc": "A short, opinionated guide to building a routine that works in Curaçao's humidity — without buying everything the algorithm suggests.",

    "blog.cat.all": "All",
    "blog.cat.skin": "Skincare",
    "blog.cat.body": "Body care",
    "blog.cat.ritual": "Ritual",
    "blog.cat.studio": "From the studio",

    "blog.p1.cat": "Body care",
    "blog.p1.date": "May 4, 2026 · 4 min",
    "blog.p1.title": "Why lymphatic drainage isn't 'massage lite'",
    "blog.p2.cat": "Skincare",
    "blog.p2.date": "Apr 21, 2026 · 5 min",
    "blog.p2.title": "Sunscreen in Curaçao: the only non-negotiable",
    "blog.p3.cat": "Ritual",
    "blog.p3.date": "Apr 7, 2026 · 3 min",
    "blog.p3.title": "The case for booking your next appointment before you leave",
    "blog.p4.cat": "From the studio",
    "blog.p4.date": "Mar 24, 2026 · 4 min",
    "blog.p4.title": "How we choose the products that touch your skin",
    "blog.p5.cat": "Skincare",
    "blog.p5.date": "Mar 10, 2026 · 6 min",
    "blog.p5.title": "Sensitive skin in the tropics: a short, kind guide",
    "blog.p6.cat": "Body care",
    "blog.p6.date": "Feb 22, 2026 · 4 min",
    "blog.p6.title": "Deep tissue isn't supposed to feel violent",

    "blog.newsletter.eyebrow": "Stay close",
    "blog.newsletter.title": "One short letter, once a month.",
    "blog.newsletter.desc": "Skincare notes and studio news from Kennys. No marketing, no spam, unsubscribe in one click.",
    "blog.newsletter.placeholder": "Your email",
    "blog.newsletter.button": "Subscribe",

    /* -------- Contact page -------- */
    "contact.title": "Contact — Victoria Skincare Curaçao",
    "contact.hero.eyebrow": "Contact",
    "contact.hero.h1.a": "We'd love to",
    "contact.hero.h1.b": "hear from you.",
    "contact.hero.sub": "Booking is fastest through Fresha. For everything else — a question, a custom request, a gift card — write to us below or message Kennys directly on WhatsApp.",

    "contact.card.address.title": "Visit us",
    "contact.card.address.line1": "Kaya Chango 4",
    "contact.card.address.line2": "Willemstad, Curaçao",
    "contact.card.address.line3": "Free parking at the door",
    "contact.card.hours.title": "Hours",
    "contact.card.hours.line1": "Mon — Sat",
    "contact.card.hours.line2": "9:00 — 18:00",
    "contact.card.hours.line3": "Sunday closed · by appointment",
    "contact.card.phone.title": "Phone & WhatsApp",
    "contact.card.phone.line1": "+5999 527 9021",
    "contact.card.phone.line2": "+5999 677 0326",
    "contact.card.phone.line3": "hola@vicskincare.com — replies within a few hours",

    "contact.form.eyebrow": "Write to us",
    "contact.form.title": "Send a message",
    "contact.form.desc": "If you'd like a recommendation, a gift card, or to ask about treatments for a specific concern, this form goes directly to Kennys.",
    "contact.form.name": "Your name",
    "contact.form.email": "Email",
    "contact.form.phone": "Phone (optional)",
    "contact.form.topic": "Topic",
    "contact.form.topic.booking": "Booking question",
    "contact.form.topic.gift": "Gift card",
    "contact.form.topic.event": "Event / bridal",
    "contact.form.topic.other": "Other",
    "contact.form.message": "Your message",
    "contact.form.fine": "We reply within 24 hours, Monday to Saturday.",
    "contact.form.success": "Thank you. Kennys will reply within 24 hours.",

    "contact.map.note": "Off Kaya Nubia, two minutes from the Punda waterfront. Look for the cream-coloured house with the wooden door — that's us.",
  },

  /* ================================================================
     SPANISH
     ================================================================ */
  es: {
    "brand.tag": "Spa boutique de skincare · Curaçao",
    "common.book": "Reservar cita",
    "common.book_short": "Reservar",
    "common.book_now": "Reservar ahora",
    "common.book_my": "Reservar mi cita",
    "common.book_treatment": "Reservar tratamiento",
    "common.view_services": "Ver tratamientos",
    "common.whatsapp": "Escríbenos por WhatsApp",
    "common.whatsapp_short": "WhatsApp",
    "common.tagline_mobile": "Tu pausa te espera",
    "common.cancel_window": "Cancela sin coste hasta 24h antes",
    "common.lang_en": "English",
    "common.lang_es": "Español",
    "common.signature": "Signature",
    "common.most_booked": "Más reservado",
    "common.min": "min",
    "common.from": "desde",
    "common.read_more": "Leer artículo",
    "common.send": "Enviar mensaje",

    "nav.home": "Inicio",
    "nav.services": "Tratamientos",
    "nav.services.massages": "Masajes",
    "nav.services.facials": "Faciales",
    "nav.services.waxing": "Depilación",
    "nav.about": "Nosotras",
    "nav.blog": "Diario",
    "nav.contact": "Contacto",
    "nav.phone": "+5999 527 9021",

    "hero.eyebrow": "Spa boutique · Willemstad, Curaçao",
    "hero.h1.a": "Un espacio donde tu piel",
    "hero.h1.b": "se siente",
    "hero.h1.c": "en casa.",
    "hero.sub": "Faciales, masajes y depilación en una cabina privada — diseñados por Kennys Rodríguez, cosmetóloga titulada con más de 12 años cuidando piel en Curaçao.",
    "hero.trust.years": "Años cuidando piel",
    "hero.trust.rating": "+320 reseñas verificadas",
    "hero.trust.private": "Cabina privada, sin prisa",
    "hero.tag.live": "Disponible esta semana",
    "hero.quote": "Great on hands and elbows, and adjusts pressure to my preference. I left totally relaxed.",
    "hero.quote.who": "Jhon Vivas · Masaje relajante",

    "strip.items": ["Faciales", "Masajes", "Depilación", "Drenaje linfático", "Limpieza profunda", "Hidratación 24K", "Tejido profundo"],

    "pillars.eyebrow": "Por qué Victoria",
    "pillars.h2.a": "No es un spa de hotel.",
    "pillars.h2.b": "Es",
    "pillars.h2.c": "tu rincón",
    "pillars.h2.d": "en Curaçao.",
    "pillars.lead": "Una sola cabina, una sola persona atendiéndote, el tiempo necesario para cada tratamiento. Salimos del modelo de spa-fábrica para ofrecerte algo más cercano a una sesión en casa de tu mejor amiga — que además es experta en piel.",
    "pillars.1.title": "Atención uno a uno",
    "pillars.1.copy": "Una clienta a la vez. Sin esperas, sin ruido, sin agenda apretada.",
    "pillars.2.title": "Cosmetóloga titulada",
    "pillars.2.copy": "Kennys ejecuta cada tratamiento personalmente — 12 años de experiencia clínica y estética.",
    "pillars.3.title": "Ritual, no servicio",
    "pillars.3.copy": "Camas térmicas, luz cálida, aromas suaves. Diseñado para que desactives — no para llenar un slot.",

    "services.eyebrow": "Tratamientos",
    "services.h2.a": "Tres pilares.",
    "services.h2.b": "Una sola intención:",
    "services.h2.c": "cuidarte bien.",
    "services.lead": "Tratamientos faciales, corporales y de depilación diseñados a tu piel — no a un menú estándar. Los precios incluyen consulta personal y recomendaciones para tu rutina en casa.",
    "services.note": "¿Dudas sobre cuál elegir? Te asesoramos por WhatsApp.",
    "services.tab.facial": "Faciales",
    "services.tab.massage": "Masajes",
    "services.tab.waxing": "Depilación",

    "founder.eyebrow": "Conoce a Kennys",
    "founder.h2.a": "Doce años aprendiendo lo mismo:",
    "founder.h2.b": "cada piel pide algo distinto.",
    "founder.sig": "Fundadora · cosmetóloga",
    "founder.p1": "Soy Kennys Rodríguez, cosmetóloga titulada y la persona que va a recibirte el día de tu cita. Abrí Victoria Skincare con una idea sencilla — que un facial puede ser tan importante como dormir bien.",
    "founder.p2": "Aquí no hay menú gigante ni protocolos rígidos. Lo que sí hay: una sola cabina, camas térmicas, productos profesionales y todo el tiempo del mundo para que tu sesión sea verdaderamente tuya.",
    "founder.list.1": "Cosmetóloga certificada",
    "founder.list.2": "Formación en drenaje linfático",
    "founder.list.3": "Especialista en pieles sensibles",
    "founder.list.4": "Atiende en español, inglés y papiamento",

    "why.eyebrow": "Por qué elegirnos",
    "why.h2.a": "Spa boutique.",
    "why.h2.b": "Sin la teatralidad",
    "why.h2.c": "de un spa de hotel.",
    "why.lead": "Vinimos de la industria del bienestar y notamos lo mismo: muchas opciones, poca presencia. Victoria existe para devolverle a la cita algo que se perdió — un cuarto silencioso, una persona que te conoce, y resultados que se sienten al día siguiente.",
    "why.1.title": "La cabina, no la fila",
    "why.1.copy": "Una clienta a la vez. Sin sala de espera, sin compañeras de turno, sin reloj corriendo en tu contra.",
    "why.2.title": "Una sola experta",
    "why.2.copy": "Kennys atiende personalmente cada cita. No hay equipo rotativo: la persona que evalúa tu piel hoy te recibe la próxima vez.",
    "why.3.title": "Productos profesionales",
    "why.3.copy": "Trabajamos solo con cosmecéutica de uso clínico. Cada producto se elige según tu piel, no según un protocolo.",
    "why.4.title": "Atmósfera de casa",
    "why.4.copy": "Camas térmicas, luz tenue, aroma sutil. Pensado para que llegues tensa y salgas distinta — no maquillada.",

    "pkg.eyebrow": "Paquetes · rituales",
    "pkg.h2.a": "Tres rituales pensados para",
    "pkg.h2.b": "cuidarte de verdad.",
    "pkg.lead": "Combinaciones diseñadas por Kennys para resolver lo más pedido — con precio cuidado cuando reservas el conjunto.",
    "pkg.1.eyebrow": "Paquete de masajes",
    "pkg.1.title": "Diez sesiones.\nUna invitación nuestra.",
    "pkg.1.desc": "Nuestro paquete de masajes más pedido — diez sesiones para tomar en serio lo que tu cuerpo lleva meses pidiéndote.",
    "pkg.1.i1": "10 sesiones, tú eliges",
    "pkg.1.i2": "1 sesión gratis",
    "pkg.1.i3": "Válido 12 meses",
    "pkg.1.meta": "10 visitas · 1 gratis",
    "pkg.2.eyebrow": "Ultracavitación",
    "pkg.2.title": "Contorno\ncorporal",
    "pkg.2.desc": "Programa de masaje reductor. Un compromiso serio con resultados serios — con una sesión de regalo.",
    "pkg.2.i1": "Serie completa de ultracavitación",
    "pkg.2.i2": "1 sesión gratis",
    "pkg.2.i3": "Consulta previa incluida",
    "pkg.2.meta": "Serie · 1 gratis",
    "pkg.3.eyebrow": "Mensual de piel",
    "pkg.3.title": "Tres meses,\ntres faciales.",
    "pkg.3.desc": "Un facial al mes durante tres meses. El ritmo que de verdad cambia la piel — no una cita aislada.",
    "pkg.3.i1": "3 sesiones al ritmo de tu piel",
    "pkg.3.i2": "Plan de rutina en casa",
    "pkg.3.i3": "WhatsApp directo para dudas",
    "pkg.3.meta": "3 visitas · mensual",

    "test.eyebrow": "Quiénes ya nos visitaron",
    "test.h2.a": "Lo que dicen",
    "test.h2.b": "quienes vuelven",
    "test.h2.c": ".",
    "test.meta": "+320 reseñas verificadas en Fresha y Google",
    "test.1.q": "Great on hands and elbows, and adjusts pressure to patient preference. I left totally relaxed and stress-free. As a tourist I will continue to enjoy Curaçao even more relaxed. 100% recommended.",
    "test.1.name": "Jhon Vivas",
    "test.1.svc": "Masaje relajante",
    "test.2.q": "Tomé el servicio de masaje relajante y fue una experiencia maravillosa — un plus en mis vacaciones en Curaçao. El lugar es ideal y el masaje, excelente. Salí totalmente relajada.",
    "test.2.name": "Barbara Sánchez",
    "test.2.svc": "Masaje sueco",
    "test.3.q": "Cada vacación en Curaçao venimos a Kennys por un masaje — a veces dos veces, porque es la mejor de la isla. Siempre lo disfrutamos muchísimo.",
    "test.3.name": "Guus & Nalin",
    "test.3.svc": "Clientas habituales",

    "faq.eyebrow": "Preguntas frecuentes",
    "faq.h2.a": "Todo lo que quieres saber",
    "faq.h2.b": "antes de venir.",
    "faq.lead": "Si no encuentras tu respuesta aquí, escríbenos por WhatsApp — te contesta Kennys personalmente.",
    "faq.1.q": "¿Cada cuánto debo hacerme un facial?",
    "faq.1.a": "Una vez al mes es el ritmo ideal. Tu ciclo celular dura tres o cuatro semanas, así que un facial a ese ritmo mantiene tono, hidratación y claridad estables. Un facial aislado está muy bien — pero lo que cambia la piel es la constancia.",
    "faq.2.q": "¿Cuánto dura un facial?",
    "faq.2.a": "La mayoría de los faciales completos duran entre 60 y 90 minutos — tiempo suficiente para limpieza, exfoliación, extracción, mascarillas y un masaje real en hombros y brazos. También ofrecemos faciales express de unos 30 minutos para mantenimientos entre sesiones.",
    "faq.3.q": "¿Qué incluye normalmente un facial?",
    "faq.3.a": "Limpieza, exfoliación, vapor y extracción son la base. Según lo que tu piel necesite ese día, sumamos alta frecuencia, peelings, mascarillas, boosters de hidratación, luz LED y masaje de cara, hombros y brazos.",
    "faq.4.q": "¿Cómo reservo mi cita?",
    "faq.4.a": "Online por Fresha en menos de 30 segundos. Te confirmamos por correo y enviamos recordatorio el día antes. Si prefieres, atendemos por WhatsApp al +5999 527 9021.",
    "faq.5.q": "¿Puedo cancelar o reagendar?",
    "faq.5.a": "Sí. Te pedimos avisar con al menos 24 horas para liberar el slot a otra clienta. Después de ese tiempo aplica un cargo del 50%.",
    "faq.6.q": "¿Es mi primera vez — algo que deba saber?",
    "faq.6.a": "Llega 10 minutos antes para una mini consulta. Para faciales, evita exfoliantes fuertes y retinol 48 horas antes. Para depilación, el vello debe medir al menos 5 mm. Atendemos en español, inglés y papiamento.",

    "cta.eyebrow": "Tu próxima cita",
    "cta.h2.a": "Reserva tu pausa.",
    "cta.h2.b": "Te recibimos en casa.",
    "cta.lead": "Sin formularios infinitos. Eliges tratamiento, fecha y hora — te confirmamos al instante.",
    "cta.address.eyebrow": "Visítanos",
    "cta.address.line1": "Kaya Chango 4",
    "cta.address.line2": "Willemstad, Curaçao",
    "cta.hours": "Lun–Sáb · 9:00 — 18:00 · con cita previa",

    "footer.about": "Spa boutique en Willemstad, Curaçao. Faciales, masajes y depilación con atención uno a uno por Kennys Rodríguez.",
    "footer.col.treatments": "Tratamientos",
    "footer.col.about": "Sobre",
    "footer.col.visit": "Visítanos",
    "footer.copy": "© 2026 Victoria Skincare Curaçao · Todos los derechos reservados",
    "footer.privacy": "Política de privacidad",
    "footer.terms": "Términos y cancelaciones",

    "massages.title": "Masajes — Victoria Skincare Curaçao",
    "massages.hero.eyebrow": "Cuerpo · Terapia con masaje",
    "massages.hero.h1.a": "Manos que",
    "massages.hero.h1.b": "te apagan el ruido.",
    "massages.hero.sub": "Desde un masaje sueco lento hasta tejido profundo para tensión crónica. Cada sesión empieza con una lectura breve de tu cuerpo — nunca con un protocolo fijo.",
    "massages.intro.eyebrow": "Cómo se siente un masaje aquí",
    "massages.intro.h2.a": "Cama térmica.",
    "massages.intro.h2.b": "Aceite tibio.",
    "massages.intro.h2.c": "Todo el tiempo que realmente necesita.",
    "massages.intro.p1": "Casi todos los masajes fuera de Victoria corren cronómetro desde que te acuestas. Aquí lo hacemos distinto — los minutos que pagas son de manos sobre el cuerpo, no de vestirse y caminar hasta una recepción.",
    "massages.intro.p2": "Kennys lee dónde cargas tensión, pregunta por tu semana y ajusta la presión sesión a sesión. Si algo no se siente bien, lo dices. Si se siente bien, te quedas en silencio — las dos cosas son bienvenidas.",
    "massages.benefits.eyebrow": "Lo que vas a sentir",
    "massages.benefits.title": "Resultados reales, sin promesas",
    "massages.b1.title": "Sistema nervioso en pausa",
    "massages.b1.copy": "La presión lenta y repetida le avisa al cuerpo que puede dejar de tensar. Esa noche duermes mejor.",
    "massages.b2.title": "Mejor circulación",
    "massages.b2.copy": "Mejor flujo linfático reduce inflamación y devuelve oxígeno a los tejidos cansados.",
    "massages.b3.title": "Tensión liberada",
    "massages.b3.copy": "Los patrones crónicos en cuello, hombros y zona lumbar ceden en una serie de sesiones enfocadas.",
    "massages.b4.title": "Silencio mental",
    "massages.b4.copy": "60 minutos sin teléfono, con luz tenue, siendo escuchada. Vale más de lo que suena.",

    "facials.title": "Faciales — Victoria Skincare Curaçao",
    "facials.hero.eyebrow": "Piel · Tratamientos faciales",
    "facials.hero.h1.a": "Skincare que",
    "facials.hero.h1.b": "realmente",
    "facials.hero.h1.c": "lee tu piel.",
    "facials.hero.sub": "Limpieza profunda, peelings, hidratación con oro 24K y trabajo linfático facial — cada sesión adaptada al estado de tu piel hoy, no a un protocolo genérico de seis pasos.",
    "facials.intro.eyebrow": "Nuestra filosofía facial",
    "facials.intro.h2.a": "Primero",
    "facials.intro.h2.b": "miramos",
    "facials.intro.h2.c": "— después tocamos.",
    "facials.intro.p1": "Cada facial empieza con cinco minutos bajo luz limpia. Kennys observa hidratación, flujo de grasa, signos de inflamación, cómo reaccionó tu piel a lo que estés usando en casa.",
    "facials.intro.p2": "Solo entonces arma la sesión — el mismo nombre del menú puede ser tres faciales distintos según lo que tu piel esté pidiendo esta semana. El objetivo no es usar todos los productos disponibles. Es usar exactamente lo que tu piel necesita, y nada más.",
    "facials.benefits.eyebrow": "Qué cambia",
    "facials.benefits.title": "Piel que responde — no piel que actúa",
    "facials.b1.title": "Cambio visible de textura",
    "facials.b1.copy": "Superficie más suave después de un peeling o limpieza profunda. Real, no filtrada.",
    "facials.b2.title": "Piel más calma, menos reactiva",
    "facials.b2.copy": "Especialmente útil para piel sensible o con rosácea, cansada de rutinas agresivas.",
    "facials.b3.title": "Hidratación que dura",
    "facials.b3.copy": "Reconstruimos la barrera de humedad — en vez de empujar más producto a través de una barrera dañada.",
    "facials.b4.title": "Una rutina realista",
    "facials.b4.copy": "Te vas con un plan corto y honesto para casa. Tres productos, no doce.",

    "waxing.title": "Depilación — Victoria Skincare Curaçao",
    "waxing.hero.eyebrow": "Cuerpo · Depilación",
    "waxing.hero.h1.a": "Depilación en una",
    "waxing.hero.h1.b": "cabina",
    "waxing.hero.h1.c": "tranquila y privada.",
    "waxing.hero.sub": "Cera tibia, técnica rápida y cabina privada. Desde cejas y bozo hasta piernas y brasileño — limpio, respetuoso y a tu ritmo.",
    "waxing.intro.eyebrow": "Cómo hacemos waxing",
    "waxing.intro.h2.a": "Cabina privada.",
    "waxing.intro.h2.b": "No hace falta conversación.",
    "waxing.intro.p1": "La depilación debe sentirse aburrida — en el mejor sentido. Rápida, higiénica y terminada antes de que tengas tiempo de pensarlo. Usamos cera profesional tibia, aplicadores de un solo uso y bandas desechables por defecto.",
    "waxing.intro.p2": "Son solo tú y Kennys en la cabina. Habla si te apetece. Quédate en silencio si no. De cualquier forma, sales en una fracción del tiempo que pasarías en un salón saturado.",
    "waxing.benefits.eyebrow": "Por qué la gente se cambia",
    "waxing.benefits.title": "Qué hace distinta la depilación aquí",
    "waxing.b1.title": "Cabina realmente privada",
    "waxing.b1.copy": "Sin paredes compartidas, sin cortinas. Una clienta a la vez es privacidad real — no la insinuación de privacidad.",
    "waxing.b2.title": "Técnica de mínima molestia",
    "waxing.b2.copy": "Cera tibia + ángulo rápido de retiro. La pausa entre bandas es la parte más larga.",
    "waxing.b3.title": "Higiene por encima de todo",
    "waxing.b3.copy": "Aplicadores de un solo uso. Sin doble inmersión, nunca. Herramientas desinfectadas entre cada clienta.",
    "waxing.b4.title": "Diseño de cejas a medida",
    "waxing.b4.copy": "Mapeamos tu ceja a tu rostro — sin plantillas prefabricadas, sin copiar y pegar.",

    "about.title": "Nosotras — Victoria Skincare Curaçao",
    "about.hero.eyebrow": "Nuestra historia",
    "about.hero.h1.a": "Un spa que creció desde",
    "about.hero.h1.b": "una sola cabina",
    "about.hero.h1.c": "y una sola promesa.",
    "about.hero.sub": "Fundado en Curaçao en 2014 por Kennys Rodríguez, Victoria Skincare existe para mujeres que viven el autocuidado como algo innegociable — no como un capricho.",
    "about.story.eyebrow": "La promesa",
    "about.story.h2.a": "Doce años.",
    "about.story.h2.b": "Una cabina.",
    "about.story.h2.c": "Miles de rostros que vuelven.",
    "about.story.p1": "Victoria Skincare empezó en una cabina pequeña en Kaya Nubia, con una cama térmica, una pila de toallas limpias y un calendario que se fue llenando en silencio, por recomendación. Nunca nos mudamos a un espacio más grande porque el tamaño siempre fue el punto.",
    "about.story.p2": "La mayoría de las clientas que tenemos hoy llevan años con nosotras. Algunas vinieron de adolescentes y hoy son madres reservando faciales entre el colegio y la oficina. Otras vuelan desde Aruba, Bonaire o Miami — para hacerse las cejas o el drenaje con la misma persona, una y otra vez.",
    "about.story.p3": "Nunca hemos hecho una promoción. Nunca pautamos en radio. El negocio creció con otra moneda — el tiempo que le damos a la persona que tenemos enfrente.",

    "about.values.eyebrow": "Lo que creemos",
    "about.values.title": "Cinco principios silenciosos",
    "about.v1.title": "La lentitud es el lujo",
    "about.v1.copy": "Sesiones largas, sin solapamiento. El tiempo es lo más generoso que podemos ofrecer.",
    "about.v2.title": "Honestidad sobre resultados",
    "about.v2.copy": "No prometemos transformaciones. Te decimos qué puede hacer tu piel de verdad.",
    "about.v3.title": "Las mismas manos",
    "about.v3.copy": "Una sola profesional, cada visita. La continuidad es la diferencia.",
    "about.v4.title": "Calidad, no cantidad",
    "about.v4.copy": "Menú más pequeño, más profundidad. Preferimos hacer seis cosas muy bien que treinta a medias.",
    "about.v5.title": "Privacidad",
    "about.v5.copy": "Tu piel, tu cuerpo, tu conversación. Lo que pasa en la cabina, se queda en la cabina.",

    "about.numbers.years": "Años en Curaçao",
    "about.numbers.years.lab": "Desde 2014",
    "about.numbers.clients": "Clientas que vuelven",
    "about.numbers.clients.lab": "al mes, en promedio",
    "about.numbers.rating": "Calificación promedio",
    "about.numbers.rating.lab": "en Fresha y Google",
    "about.numbers.cabin": "Cabina · una a la vez",
    "about.numbers.cabin.lab": "por diseño",

    "blog.title": "Diario — Victoria Skincare Curaçao",
    "blog.hero.eyebrow": "Diario",
    "blog.hero.h1.a": "Notas sobre piel,",
    "blog.hero.h1.b": "descanso",
    "blog.hero.h1.c": "y ritual.",
    "blog.hero.sub": "Lecturas cortas de Kennys y del estudio — skincare práctico, cuidado corporal y los pequeños hábitos que se acumulan con el tiempo.",
    "blog.feat.tag": "Destacado",
    "blog.feat.cat": "Skincare básico",
    "blog.feat.date": "18 de mayo de 2026 · 6 min de lectura",
    "blog.feat.title": "Cómo se ve una rutina en casa honesta (en tres productos, no doce)",
    "blog.feat.desc": "Una guía corta y con opinión para armar una rutina que funcione en la humedad de Curaçao — sin comprar todo lo que sugiere el algoritmo.",

    "blog.cat.all": "Todo",
    "blog.cat.skin": "Skincare",
    "blog.cat.body": "Cuidado corporal",
    "blog.cat.ritual": "Ritual",
    "blog.cat.studio": "Desde el estudio",

    "blog.p1.cat": "Cuidado corporal",
    "blog.p1.date": "4 may 2026 · 4 min",
    "blog.p1.title": "Por qué el drenaje linfático no es 'masaje suave'",
    "blog.p2.cat": "Skincare",
    "blog.p2.date": "21 abr 2026 · 5 min",
    "blog.p2.title": "Protector solar en Curaçao: el único innegociable",
    "blog.p3.cat": "Ritual",
    "blog.p3.date": "7 abr 2026 · 3 min",
    "blog.p3.title": "Por qué reservar tu próxima cita antes de salir del spa",
    "blog.p4.cat": "Desde el estudio",
    "blog.p4.date": "24 mar 2026 · 4 min",
    "blog.p4.title": "Cómo elegimos los productos que tocan tu piel",
    "blog.p5.cat": "Skincare",
    "blog.p5.date": "10 mar 2026 · 6 min",
    "blog.p5.title": "Piel sensible en el trópico: una guía corta y amable",
    "blog.p6.cat": "Cuidado corporal",
    "blog.p6.date": "22 feb 2026 · 4 min",
    "blog.p6.title": "El tejido profundo no debería sentirse violento",

    "blog.newsletter.eyebrow": "Mantente cerca",
    "blog.newsletter.title": "Una carta corta, una vez al mes.",
    "blog.newsletter.desc": "Notas de skincare y novedades del estudio, de parte de Kennys. Sin marketing, sin spam, te das de baja en un clic.",
    "blog.newsletter.placeholder": "Tu correo",
    "blog.newsletter.button": "Suscribirme",

    "contact.title": "Contacto — Victoria Skincare Curaçao",
    "contact.hero.eyebrow": "Contacto",
    "contact.hero.h1.a": "Nos encantaría",
    "contact.hero.h1.b": "saber de ti.",
    "contact.hero.sub": "La forma más rápida de reservar es por Fresha. Para todo lo demás — una pregunta, una solicitud personalizada, una tarjeta de regalo — escríbenos abajo o por WhatsApp directamente con Kennys.",

    "contact.card.address.title": "Visítanos",
    "contact.card.address.line1": "Kaya Chango 4",
    "contact.card.address.line2": "Willemstad, Curaçao",
    "contact.card.address.line3": "Parqueo gratis en la puerta",
    "contact.card.hours.title": "Horario",
    "contact.card.hours.line1": "Lun — Sáb",
    "contact.card.hours.line2": "9:00 — 18:00",
    "contact.card.hours.line3": "Domingo cerrado · con cita previa",
    "contact.card.phone.title": "Teléfono y WhatsApp",
    "contact.card.phone.line1": "+5999 527 9021",
    "contact.card.phone.line2": "+5999 677 0326",
    "contact.card.phone.line3": "hola@vicskincare.com — respondemos en pocas horas",

    "contact.form.eyebrow": "Escríbenos",
    "contact.form.title": "Envía un mensaje",
    "contact.form.desc": "Si quieres una recomendación, una tarjeta de regalo, o preguntar por un tratamiento para una preocupación específica, este formulario llega directo a Kennys.",
    "contact.form.name": "Tu nombre",
    "contact.form.email": "Correo",
    "contact.form.phone": "Teléfono (opcional)",
    "contact.form.topic": "Tema",
    "contact.form.topic.booking": "Consulta sobre reserva",
    "contact.form.topic.gift": "Tarjeta de regalo",
    "contact.form.topic.event": "Evento / novia",
    "contact.form.topic.other": "Otro",
    "contact.form.message": "Tu mensaje",
    "contact.form.fine": "Respondemos en 24 horas, de lunes a sábado.",
    "contact.form.success": "Gracias. Kennys responderá en menos de 24 horas.",

    "contact.map.note": "A pocos pasos de Kaya Nubia, dos minutos del malecón de Punda. Busca la casa color crema con la puerta de madera — esa somos.",
  },
};

const LangContext = createContext({ lang: "en", setLang: () => {} });

function LangProvider({ children }) {
  const initial = (typeof window !== "undefined" && localStorage.getItem("vsc:lang")) || "en";
  const [lang, setLangState] = useState(initial);

  const setLang = useCallback((next) => {
    setLangState(next);
    try { localStorage.setItem("vsc:lang", next); } catch (e) {}
    if (typeof document !== "undefined") document.documentElement.setAttribute("lang", next);
  }, []);

  useEffect(() => {
    if (typeof document !== "undefined") document.documentElement.setAttribute("lang", lang);
  }, [lang]);

  return (
    <LangContext.Provider value={{ lang, setLang }}>
      {children}
    </LangContext.Provider>
  );
}

function useT() {
  const { lang, setLang } = useContext(LangContext);
  const t = useCallback((key) => {
    const v = STRINGS[lang] && STRINGS[lang][key];
    if (v == null) return STRINGS.en[key] != null ? STRINGS.en[key] : key;
    return v;
  }, [lang]);
  return { t, lang, setLang };
}

window.BOOKING_URL = BOOKING_URL;
window.LangContext = LangContext;
window.LangProvider = LangProvider;
window.useT = useT;
