import{r as g,j as e,L as o}from"./vendor-react-BwKDLVNL.js";import{aD as f,v as j,w as b,z as p,A as y,C as N,aO as v}from"./index-C1zazBuA.js";import"./vendor-dayjs-5tvLiZdS.js";import{M as w,a as A}from"./MarketingShell-DP3ytjtt.js";import{E as d,a as c}from"./en-faq-data-BMJF0mua.js";import"./vendor-query-D-sr233n.js";import"./vendor-i18n-C6wqqoou.js";import"./vendor-sentry-B44l4p48.js";import"./vendor-antd-core-4y2ghozH.js";import"./zap-Cq5-IVE7.js";import"./globe-B_dZW_TR.js";import"./shield-check-DwC_B1cV.js";import"./users-pWHlcsOD.js";import"./file-text-BS22KvCb.js";import"./SiteFooter-BHUyJLr_.js";import"./send-Dg98yAAB.js";import"./building-2-DC8zHA3M.js";const h="https://avalog.ru/en/faq",C="/og-image.jpg",u=["customs","shipping","pricing","documents","routes","incoterms"];function E(){const i={},n={};for(const s of d)n[s.category]=(n[s.category]??0)+1,n[s.category]<=3&&(i[s.slug]=!0);return i}function z(){const[i,n]=g.useState(E),s=t=>n(a=>({...a,[t]:!a[t]})),m={"@context":"https://schema.org","@type":"FAQPage",mainEntity:d.map(t=>({"@type":"Question",name:t.question,acceptedAnswer:{"@type":"Answer",text:t.answer}}))};return e.jsxs(w,{children:[e.jsxs(f,{htmlAttributes:{lang:"en"},children:[e.jsx("title",{children:"Frequently Asked Questions about China Freight & Customs | Avalog"}),e.jsx("meta",{name:"description",content:"10 expert answers on importing from China to Russia: customs clearance, shipping routes, Incoterms, duties, and documents. Updated for 2026."}),e.jsx("link",{rel:"canonical",href:h}),e.jsx("link",{rel:"alternate",hrefLang:"en",href:"https://avalog.ru/en/faq"}),e.jsx("link",{rel:"alternate",hrefLang:"ru",href:"https://avalog.ru/faq"}),e.jsx("link",{rel:"alternate",hrefLang:"x-default",href:"https://avalog.ru/faq"}),e.jsx("meta",{property:"og:title",content:"FAQ — Avalog"}),e.jsx("meta",{property:"og:description",content:"10 answers: customs, shipping, Incoterms, duties, documents."}),e.jsx("meta",{property:"og:image",content:C}),e.jsx("meta",{property:"og:url",content:h}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(m)})]}),e.jsx("main",{id:"main-content",children:e.jsx(j,{padding:"lg",className:"bg-gradient-to-b from-bg-surface to-bg",children:e.jsxs(b,{size:"md",children:[e.jsx("nav",{"aria-label":"breadcrumb",className:"mb-6",children:e.jsxs("ol",{className:"flex items-center gap-2 text-sm text-text-muted",children:[e.jsx("li",{children:e.jsx(o,{to:"/",className:"hover:text-primary",children:"Home"})}),e.jsx("li",{"aria-hidden":"true",className:"text-border",children:"›"}),e.jsx("li",{className:"text-text","aria-current":"page",children:"FAQ"})]})}),e.jsxs("header",{className:"mb-10 text-center",children:[e.jsx("h1",{className:"text-4xl font-bold text-text mb-3",children:"Frequently Asked Questions"}),e.jsx(p,{variant:"body",className:"text-text-muted max-w-xl mx-auto",children:"Expert answers on freight forwarding from China to Russia — customs, shipping, Incoterms, and pricing."})]}),e.jsx("div",{className:"flex gap-2 flex-wrap justify-center mb-10",children:u.map(t=>e.jsx("a",{href:`#cat-${t}`,className:"inline-flex items-center gap-1 text-sm px-3 py-1.5 rounded-full border border-border hover:border-primary/40 hover:text-primary transition-colors text-text-muted",children:c[t]},t))}),e.jsx("div",{className:"space-y-12",children:u.map(t=>{const a=d.filter(r=>r.category===t);return a.length?e.jsxs("section",{id:`cat-${t}`,"aria-label":c[t],children:[e.jsxs("h2",{className:"text-xl font-bold text-text mb-4 flex items-center gap-2",children:[c[t],e.jsx(y,{variant:"outline",className:"text-xs font-normal",children:a.length})]}),e.jsx("div",{className:"divide-y divide-border border border-border rounded-xl overflow-hidden",children:a.map(r=>{const l=!!i[r.slug];return e.jsxs("div",{children:[e.jsxs("button",{type:"button",onClick:()=>s(r.slug),"aria-expanded":l,className:"w-full flex items-center justify-between gap-4 p-5 text-left hover:bg-bg-surface transition-colors",children:[e.jsx("span",{className:"text-sm font-semibold text-text",children:r.question}),e.jsx(N,{className:`w-4 h-4 text-text-muted shrink-0 transition-transform duration-200 ${l?"rotate-180":""}`,"aria-hidden":"true"})]}),l&&e.jsxs("div",{className:"px-5 pb-5",children:[e.jsx("p",{className:"text-sm text-text-muted leading-relaxed",children:r.answer}),e.jsxs("div",{className:"mt-3 flex items-center gap-3",children:[e.jsxs(o,{to:`/en/faq/${r.slug}`,className:"inline-flex items-center gap-1 text-xs text-primary hover:underline",children:["Read more",e.jsx(v,{className:"w-3 h-3","aria-hidden":"true"})]}),e.jsx("div",{className:"flex gap-1 flex-wrap",children:r.tags.slice(0,3).map(x=>e.jsx("span",{className:"text-xs text-text-muted bg-bg-surface px-2 py-0.5 rounded-full border border-border",children:x},x))})]})]})]},r.slug)})})]},t):null})}),e.jsxs("div",{className:"mt-16 text-center",children:[e.jsx(p,{className:"text-text-muted mb-4",children:"Didn't find your answer?"}),e.jsxs("div",{className:"flex gap-3 justify-center",children:[e.jsx(o,{to:"/en/glossary",children:e.jsx("span",{className:"inline-flex items-center gap-2 px-4 py-2 text-sm font-medium border border-border rounded-lg hover:border-primary/40 text-text hover:text-primary transition-colors",children:"Glossary"})}),e.jsx(o,{to:"/support",children:e.jsx("span",{className:"inline-flex items-center gap-2 px-4 py-2 text-sm font-medium bg-primary text-white rounded-lg hover:bg-primary/90 transition-colors",children:"Contact support"})})]})]})]})})}),e.jsx(A,{})]})}export{z as default};