// Visas & Docs landing data
const VISAS_LANES = [
  {
    id: "passports",
    num: "I",
    chapter: "CHAPTER I",
    title: "Passports",
    titleEm: "The book you cannot fake.",
    coord: "38°53'N 77°02'W",
    desc: "Validity rules, renewal timelines, and the second passport strategy. The passport you hold decides which countries answer the door — and how fast they open it. Most rejections at the gate aren't visa problems; they're passport problems caught too late.",
    img: "https://images.unsplash.com/photo-1569870499705-504209102861?w=1800&q=85",
    bullets: [
      { l: "The six-month rule", v: "Valid 6 months past return for 80+ countries" },
      { l: "Renewal lead time", v: "8–11 weeks routine · 5–7 expedited" },
      { l: "Two blank pages", v: "Required by India, China, South Africa, more" },
    ],
  },
  {
    id: "visas",
    num: "II",
    chapter: "CHAPTER II",
    title: "Visas",
    titleEm: "Permission, in writing.",
    coord: "28°36'N 77°12'E",
    desc: "On-arrival versus e-visa versus embassy submission, processing windows, and the rejection reality. Visa-free is rare. Visa-on-arrival is fast. The embassy interview is the slowest path and the only one some countries offer for tourist purposes.",
    img: "https://images.unsplash.com/photo-1601581875309-fafbf2d3ed3a?w=1800&q=85",
    bullets: [
      { l: "E-visa", v: "5–7 days · upload + pay · 90+ countries" },
      { l: "On-arrival", v: "Fast lane at airport · cash USD often required" },
      { l: "Embassy", v: "10–30 days · interview · stamp in passport" },
    ],
  },
  {
    id: "entry",
    num: "III",
    chapter: "CHAPTER III",
    title: "Entry Requirements",
    titleEm: "What they ask at the desk.",
    coord: "0°20'S 36°04'E",
    desc: "Vaccinations, proof of onward travel, financial proof. The questions at the immigration desk are short and specific. The answers should be too — printed, in your hand, before you reach the front of the line. Hesitation reads as evasion.",
    img: "https://images.unsplash.com/photo-1530789253388-582c481c54b0?w=1800&q=85",
    bullets: [
      { l: "Vaccinations", v: "Yellow fever for E. Africa · polio for Pakistan" },
      { l: "Proof of onward", v: "Return ticket required by ~40 countries" },
      { l: "Financial proof", v: "$50–$100/day in bank statements" },
    ],
  },
  {
    id: "stack",
    num: "IV",
    chapter: "CHAPTER IV",
    title: "The Document Stack",
    titleEm: "Carry, copy, leave.",
    coord: "51°28'N 0°27'W",
    desc: "What to carry, what to copy, what to leave at home. Three stacks, three jobs. The originals stay on your body. The copies live in a separate bag. The pre-trip emails to yourself save the trip when both are gone.",
    img: "https://images.unsplash.com/photo-1554224155-cfa08c2a758f?w=1800&q=85",
    bullets: [
      { l: "On your body", v: "Passport · debit · $200 cash · insurance card" },
      { l: "In your bag", v: "Photocopies of all of the above" },
      { l: "In your inbox", v: "Scans emailed to yourself + spouse" },
    ],
  },
  {
    id: "wrong",
    num: "V",
    chapter: "CHAPTER V",
    title: "When It Goes Wrong",
    titleEm: "Denied, lost, stolen.",
    coord: "48°51'N 2°20'E",
    desc: "Denied entry, lost passport, emergency contacts. The trip you remember most is the one where this chapter mattered. Most travelers will never use it — and the one who needs it will be very glad it exists. Save the embassy numbers before you leave.",
    img: "https://images.unsplash.com/photo-1533929736458-ca588d08c8be?w=1800&q=85",
    bullets: [
      { l: "Lost passport", v: "Embassy · police report · emergency travel doc" },
      { l: "Denied entry", v: "Right to appeal · return flight at officer cost" },
      { l: "Emergency contacts", v: "STEP enrollment · embassy hotline · family" },
    ],
  },
];

const VISAS_PASSPORT_RULES = [
  { id: "validity", glyph: "6", coord: "VALIDITY · SIX-MONTH RULE", title: "Six Months Past Return", desc: "Eighty-plus countries — including most of Asia, the Middle East, and Latin America — require your passport to be valid at least six months past your planned return date. This is the most common reason for boarding-gate denials. Check the rule the moment you book the flight.", spec: "AFFECTS 80+ COUNTRIES" },
  { id: "blank", glyph: "II", coord: "BLANK PAGES · TWO MINIMUM", title: "Two Blank Pages", desc: "India, China, South Africa, Argentina, Chile, and Russia all require at least two completely blank pages — sometimes called \"visa pages\" — for stamping. Endorsement pages do not count. If you're running low after a busy travel year, add pages at renewal or replace early.", spec: "INDIA · CHINA · SA · MORE" },
  { id: "renewal", glyph: "8", coord: "ROUTINE · 8–11 WEEKS", title: "Routine Renewal", desc: "US State Department routine processing runs 8–11 weeks at the time of writing, plus 2 weeks for mailing. Apply 4 months before any planned international travel. UK and EU timelines are similar. Don't believe the website's optimistic estimate — check the actual current backlog.", spec: "$130 ADULT · $100 MINOR" },
  { id: "expedited", glyph: "5", coord: "EXPEDITED · 5–7 WEEKS", title: "Expedited & Urgent", desc: "Add $60 for expedited (5–7 weeks) at most US passport offices, or visit a regional agency for urgent cases (within 14 days of travel). The agency requires a confirmed flight and an appointment booked online — slots open at midnight Eastern and fill within minutes.", spec: "+$60 EXPEDITED · BY APPOINTMENT" },
];

const VISAS_VISA_TYPES = [
  { method: "VISA-FREE", price: "0–90 DAYS", title: "No paperwork at all", desc: "EU passports get visa-free or visa-on-arrival access to 180+ countries; US, UK, Canadian, Australian passports clear 170+. Visa-free does not mean unlimited stay — most caps are 30, 60, or 90 days. Overstaying triggers fines, future-entry bans, or both. Always check the passport-specific cap on your destination's official immigration site.", icon: "0" },
  { method: "E-VISA", price: "5–7 DAYS", title: "Apply online · stamp in PDF", desc: "The fastest growing option. India, Turkey, Vietnam, Kenya, Australia (ETA), and ~90 others now process tourist visas online in under a week. Upload passport scan, hotel reservation, return ticket, $25–$80 fee. Approval comes by email — print two copies and present at the gate, not just at immigration.", icon: "E" },
  { method: "ON-ARRIVAL", price: "0–30 MIN", title: "Pay at the airport desk", desc: "Cambodia, Thailand, Indonesia, Maldives, Jordan, and roughly 50 other countries issue tourist visas on arrival. Bring USD cash (often the only currency accepted), one passport photo, and a printed return ticket. The fast lane closes when the on-arrival queue runs deep — don't take the connecting flight that lands at 11 p.m.", icon: "A" },
  { method: "EMBASSY", price: "10–30 DAYS", title: "Interview · stamp in book", desc: "Russia, China, Saudi Arabia, Iran, and many African nations still require an in-person embassy submission. Online appointment, in-person fingerprints, in-person interview, then 2–4 weeks of processing. The passport stays at the embassy during processing — do not book overlapping travel. Schengen visas now use VFS Global as the intermediary.", icon: "S" },
];

const VISAS_ENTRY_REQS = [
  { mark: "VACCINATIONS", title: "Yellow card, when required", body: "Yellow fever for travelers entering or transiting East/Central Africa, parts of South America. Polio booster for Pakistan and Afghanistan within the last 12 months. Some destinations check; some only ask if you've been to a high-risk country recently. Carry the WHO yellow card with the original stamp — copies are not accepted at most borders." },
  { mark: "ONWARD TRAVEL", title: "Proof you'll leave", body: "About 40 countries demand proof of onward travel — a printed return ticket or a confirmed onward booking — before they'll stamp you in. Airlines also enforce this at check-in for risk reasons (a denied entry means they fly you back at their cost). A refundable ticket or an OneWayFly placeholder works in a pinch." },
  { mark: "FINANCIAL PROOF", title: "Money you can show", body: "Schengen, Indonesia, the UAE, and others may ask for proof of $50–$100 per day of stay. A current bank statement (last 3 months) printed from your online banking is the standard format. The number rarely matters — the question is whether you'll be a financial problem during the visit." },
  { mark: "ACCOMMODATION", title: "Where you'll sleep", body: "Hotel reservations or Airbnb confirmations for the first 3–7 nights, printed and in-hand. Some immigration officers spot-check this; some never do. Print it anyway. If you're staying with friends, an invitation letter signed by the host (with their address and copy of their ID) is the formal substitute." },
  { mark: "INSURANCE PROOF", title: "Coverage on paper", body: "Schengen-zone visas require travel medical insurance with a minimum €30,000 coverage that explicitly covers medical evacuation. Some Asian destinations require coverage with COVID treatment riders post-pandemic. The insurance card alone is enough at the desk; the policy summary lives in your email." },
  { mark: "BIOMETRIC DATA", title: "Fingerprints and photos", body: "Most modern visa applications now require biometric submission — fingerprints, facial photo, sometimes iris scan — at the embassy or a VFS Global service center. Schedule the appointment when you start the application, not at the end. The biometric slot is often the bottleneck, not the paperwork." },
];

const VISAS_DOCSTACK = [
  { tag: "01", item: "Passport (original)", reason: "Carried on your body or in a money belt. Never in checked luggage. Never in the seat-back pocket." },
  { tag: "02", item: "Passport photocopy", reason: "Two copies. One in your day bag, one in your main luggage. Replaces the original at hotel check-in and police checkpoints in most countries." },
  { tag: "03", item: "Passport scan in email", reason: "Email the front page to yourself and to one trusted contact. Accessible from any device. Speeds replacement at the embassy by days." },
  { tag: "04", item: "Visa documents", reason: "If you have a stamped visa or printed e-visa, two copies — one with the passport, one separate. Embassy approval emails saved as PDFs." },
  { tag: "05", item: "Travel insurance card", reason: "Original wallet-size card plus a printed policy number. Some hospitals abroad bill the insurer directly when you show this on arrival." },
  { tag: "06", item: "Vaccination record (WHO yellow card)", reason: "Original only — copies are routinely refused at land borders. Keep with the passport, not separate, so you don't lose them in different places." },
  { tag: "07", item: "Backup credit card", reason: "Different network than the primary (Visa primary, Mastercard backup). Different physical bag from the primary. Notified of travel before departure." },
  { tag: "08", item: "Emergency contact list", reason: "Printed. Includes embassy phone, hotel front desk, family member outside the destination country, travel insurance 24-hour line, and the local emergency number." },
];

const VISAS_FAQS = [
  { q: "How long does my passport need to be valid?", a: "Most countries require at least 6 months past your planned return date — this is the single most common reason for boarding-gate denials. A handful require only 3 months (UK, most EU countries). A few require only that the passport be valid at the time of entry (Mexico, Canada). Check the destination's official immigration site, not a travel blog. If you're inside 8 months of expiration on a passport you'll use this year, renew now." },
  { q: "Can I apply for a visa after I book the flight?", a: "Yes, but check the processing window first. E-visas (India, Turkey, Vietnam, Kenya, ~90 others) clear in 5–7 days. Embassy submissions take 10–30 days plus appointment lead time. Visa-on-arrival countries don't need pre-application. Schengen and US tourist visas often need 4–8 weeks plus interview slots that book out a month in advance. The rule of thumb: book flights only after confirming visa feasibility, or buy refundable fares." },
  { q: "What's proof of onward travel and do I really need it?", a: "Proof that you'll leave the country before your visa expires — usually a return or onward flight booking. About 40 countries demand it at immigration; many airlines check at boarding because they're liable for return-flight costs if you're denied. If you don't have onward travel set, services like OneWayFly will hold a real reservation for $15 that's valid for 24–48 hours. Airlines spot-check the booking, so use a real PNR — not a screenshot." },
  { q: "What happens if my passport is lost or stolen abroad?", a: "Step 1: file a police report immediately — most embassies require it for replacement. Step 2: contact your country's nearest embassy or consulate during business hours; emergency travel documents (single-trip replacement) are issued in 24–72 hours for $130 in most cases. Step 3: cancel any visas printed in the lost passport and reapply if needed. Enroll in your government's traveler program (US: STEP, UK: GOV.UK Travel Advice) before you leave so the embassy can find you fast." },
  { q: "Do I need vaccinations to enter most countries?", a: "Most major destinations require nothing beyond your routine vaccinations. The exceptions: yellow fever for travelers entering or transiting parts of Africa or South America (carry the WHO yellow card, original stamp); polio boosters for Pakistan and Afghanistan within 12 months; varies during outbreaks. Check the CDC Travelers' Health page or your country's equivalent within 60 days of departure — requirements update during disease outbreaks." },
  { q: "Can I be denied entry even with a valid visa?", a: "Yes. Visas grant permission to apply for entry at the border, not entry itself. Border officers can deny anyone they suspect of intent to overstay, work illegally, or pose a security risk. The most common preventable denials: incomplete onward-travel proof, criminal record disclosure missed on the application, conflicting answers between the application and the in-person interview, or insufficient funds for the stay. Answer concisely, carry printed documents, never lie." },
  { q: "What's the second-passport strategy and do I need one?", a: "Some travelers carry two passports — one stays at the embassy of one country during visa processing while they travel on the other. The US and UK allow second passports for frequent travelers who can document professional need (apply via DS-82 with a letter of necessity for the US). Israel, India, and several Middle Eastern countries also issue them. For most travelers it's overkill; for journalists, frequent business travelers, and dual-citizen families, it solves the passport-at-embassy problem." },
];

const VISAS_READING = [
  { tag: "Passports", duration: "8 min", title: "How to Renew Your Passport Without Missing the Trip", em: "Renew your passport.", slug: "renew-passport-fast", img: "https://images.unsplash.com/photo-1569870499705-504209102861?w=1200&q=80" },
  { tag: "Visas", duration: "10 min", title: "How to Apply for a Tourist Visa Without Getting Rejected", em: "Apply for a tourist visa.", slug: "apply-tourist-visa", img: "https://images.unsplash.com/photo-1601581875309-fafbf2d3ed3a?w=1200&q=80" },
  { tag: "Entry", duration: "7 min", title: "How to Show Proof of Onward Travel at the Border", em: "Proof of onward travel.", slug: "proof-of-onward-travel", img: "https://images.unsplash.com/photo-1530789253388-582c481c54b0?w=1200&q=80" },
  { tag: "Emergency", duration: "9 min", title: "How to Handle a Lost Passport Abroad", em: "Handle a lost passport.", slug: "handle-lost-passport-abroad", img: "https://images.unsplash.com/photo-1533929736458-ca588d08c8be?w=1200&q=80" },
];

Object.assign(window, { VISAS_LANES, VISAS_PASSPORT_RULES, VISAS_VISA_TYPES, VISAS_ENTRY_REQS, VISAS_DOCSTACK, VISAS_FAQS, VISAS_READING });
