import{q as j,n as e,L as ee}from"./vendor-react-Br0ZiotI.js";import{T as se}from"./ToolPageSEO-B2OTMwdS.js";import{T as te}from"./toolsMeta-CeuNOhcH.js";import{b5 as B,a2 as L,br as l,bn as U,ay as H,B as C,by as s,T as G,G as h,K as w,L as F,H as u,aC as N,b7 as V,bc as q,bd as K,b8 as Y,ba as I,I as $,aB as k,be as O,aA as J}from"./index-DHmWpjgK.js";import"./vendor-dayjs-CbzZgysf.js";import{d as ae,c as re}from"./MarketingShell-B9Sa-0Uh.js";import{A as le}from"./arrow-left-26ItqGyo.js";import{L as ie}from"./lightbulb-CoqRfyuH.js";import{C as ne}from"./circle-check-B914rY5x.js";import{T as de}from"./triangle-alert-BK2ZJCFk.js";import"./vendor-i18n-C54Hc0CQ.js";import"./vendor-query-9i1Av1pr.js";import"./vendor-antd-core-CbYNMZQB.js";import"./vendor-sentry-Cx26FE6p.js";import"./zap-hgyIfjkp.js";import"./globe-CjEndryE.js";import"./shield-check-B-6jEzxu.js";import"./users-CcdVsMxi.js";import"./file-text-E6Bk5t1Q.js";import"./SiteFooter-6EXToXJZ.js";import"./send-BBOKHuXM.js";import"./building-2-N2Q_sRKX.js";const M={cosco:{label:"COSCO",port:"Владивосток",demurrageFreeDaysDefault:7,detentionFreeDaysDefault:5,demurrage20dc:{tier1:20,tier2:30,tier3:50}},msc:{label:"MSC",port:"Новороссийск",demurrageFreeDaysDefault:7,detentionFreeDaysDefault:5,demurrage20dc:{tier1:25,tier2:40,tier3:60}},maersk:{label:"Maersk",port:"Владивосток",demurrageFreeDaysDefault:7,detentionFreeDaysDefault:7,demurrage20dc:{tier1:18,tier2:28,tier3:45}},cmacgm:{label:"CMA CGM",port:"Новороссийск",demurrageFreeDaysDefault:7,detentionFreeDaysDefault:5,demurrage20dc:{tier1:22,tier2:35,tier3:55}},evergreen:{label:"Evergreen",port:"Владивосток",demurrageFreeDaysDefault:7,detentionFreeDaysDefault:5,demurrage20dc:{tier1:20,tier2:30,tier3:50}},other:{label:"Другая линия",port:"—",demurrageFreeDaysDefault:7,detentionFreeDaysDefault:5,demurrage20dc:{tier1:25,tier2:40,tier3:60}}},P={tier1:15,tier2:25,tier3:25},ce={"20DC":1,"40DC":1.5,"40HC":1.5},Q=[{port:"Владивосток",line:"COSCO",demurrage:7,detention:5},{port:"Владивосток",line:"Maersk",demurrage:7,detention:7},{port:"Владивосток",line:"Evergreen",demurrage:7,detention:5},{port:"Новороссийск",line:"MSC",demurrage:7,detention:5},{port:"Новороссийск",line:"CMA CGM",demurrage:7,detention:5},{port:"Санкт-Петербург",line:"Maersk",demurrage:10,detention:7}],xe=[{icon:e.jsx(G,{className:"h-5 w-5 text-primary"}),title:"Запросите free days при бронировании",body:"При крупных отправках или долгосрочном сотрудничестве всегда торгуйтесь за дополнительные свободные дни — линии часто идут навстречу."},{icon:e.jsx(ne,{className:"h-5 w-5 text-green-600"}),title:"Забирайте контейнер до истечения free days",body:"Заблаговременно координируйте таможенное оформление и транспортировку. Даже один день сверху может обойтись в $20–60."},{icon:e.jsx(U,{className:"h-5 w-5 text-blue-600"}),title:"Контролируйте ETA судна",body:"Подпишитесь на трекинг рейса — изменение ETA на 2–3 дня меняет точку отсчёта free days и ваш план таможенного оформления."},{icon:e.jsx(de,{className:"h-5 w-5 text-amber-500"}),title:"В высокий сезон free days сокращают",body:"В период китайского Нового года и «Золотой недели» линии могут временно уменьшить свободные дни или ввести надбавки. Уточняйте условия заранее."}];function W(r,m,c){const y=Math.min(r,7),o=Math.min(Math.max(r-7,0),7),b=Math.max(r-14,0),g=(y*m.tier1+o*m.tier2+b*m.tier3)*c;return{tier1Days:y,tier2Days:o,tier3Days:b,total:g}}function me(r,m,c,y,o,b,g){const v=M[r],n=ce[m],R=Math.max(0,y-c),D=Math.max(0,b-o),_={tier1:v.demurrage20dc.tier1*n,tier2:v.demurrage20dc.tier2*n,tier3:v.demurrage20dc.tier3*n},S={tier1:P.tier1*n,tier2:P.tier2*n,tier3:P.tier3*n},p=W(R,v.demurrage20dc,n),d=W(D,P,n),E=p.total+d.total,a=E*g;return{demurrageDays:R,detentionDays:D,demurrageUsd:p.total,detentionUsd:d.total,totalUsd:E,totalRub:a,demurrageBreakdown:{tier1Days:p.tier1Days,tier2Days:p.tier2Days,tier3Days:p.tier3Days},detentionBreakdown:{tier1Days:d.tier1Days,tier2Days:d.tier2Days,tier3Days:d.tier3Days},demurrageRates:_,detentionRates:S,containerMultiplier:n}}const oe=new Intl.NumberFormat("ru-RU",{maximumFractionDigits:0}),he=new Intl.NumberFormat("ru-RU",{minimumFractionDigits:0,maximumFractionDigits:0});function x(r){return"$"+oe.format(r)}function X(r){return he.format(r)+" ₽"}function T({days:r,rate:m,label:c}){return r===0?null:e.jsxs("div",{className:"flex items-center justify-between gap-2 text-sm",children:[e.jsxs(s,{variant:"muted",className:"text-sm",children:[c,": ",r," дн × ",x(m),"/день"]}),e.jsx(s,{className:"text-sm font-semibold tabular-nums",children:x(r*m)})]})}function ue(r){return r===0?{bg:"bg-green-50",border:"border-green-200",text:"text-green-700",badge:"success"}:r<500?{bg:"bg-amber-50",border:"border-amber-200",text:"text-amber-800",badge:"warning"}:{bg:"bg-red-50",border:"border-red-200",text:"text-red-800",badge:"error"}}function Ie(){const[r,m]=j.useState("cosco"),[c,y]=j.useState("20DC"),[o,b]=j.useState("7"),[g,v]=j.useState("10"),[n,R]=j.useState("5"),[D,_]=j.useState("3"),[S,p]=j.useState("90"),d=(t,i=0)=>{const f=parseInt(t,10);return isNaN(f)||f<0?i:f},E=(t,i=0)=>{const f=parseFloat(t);return isNaN(f)||f<=0?i:f},a=j.useMemo(()=>me(r,c,d(o,7),d(g,7),d(n,5),d(D,5),E(S,90)),[r,c,o,g,n,D,S]),A=ue(a.totalUsd),z=M[r];function Z(t){const i=t;m(i),b(String(M[i].demurrageFreeDaysDefault)),R(String(M[i].detentionFreeDaysDefault))}return e.jsxs(ae,{active:"tools",children:[e.jsx(se,{...te.demurrage}),e.jsx(B,{py:"md",bg:"surface",children:e.jsx(L,{size:"base",children:e.jsxs(l,{gap:4,children:[e.jsxs(ee,{to:"/tools",className:"inline-flex items-center gap-1.5 text-sm text-text-muted hover:text-text transition-colors w-fit",children:[e.jsx(le,{className:"h-4 w-4"}),"Все инструменты"]}),e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"h-12 w-12 rounded-xl bg-primary-light flex items-center justify-center flex-shrink-0",children:e.jsx(U,{className:"h-6 w-6 text-primary"})}),e.jsxs(l,{gap:1,children:[e.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[e.jsx(H,{size:"h1",children:"Калькулятор демерреджа и детеншн"}),e.jsx(C,{variant:"info",children:"Морской фрахт"})]}),e.jsx(s,{variant:"lead",className:"text-text-muted max-w-2xl",children:"Рассчитайте плату за сверхнормативное хранение контейнера в порту и у получателя по ставкам крупнейших линий"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mt-1",children:[e.jsxs("div",{className:"flex items-start gap-3 rounded-lg border border-border bg-white px-4 py-3",children:[e.jsx("div",{className:"h-8 w-8 rounded-lg bg-blue-100 flex items-center justify-center shrink-0",children:e.jsx(U,{className:"h-4 w-4 text-blue-600"})}),e.jsxs(l,{gap:0,children:[e.jsx(s,{className:"text-sm font-semibold",children:"Демерредж"}),e.jsx(s,{variant:"muted",className:"text-xs",children:"Плата за нахождение контейнера в порту сверх свободного времени (обычно 7–14 дней, включено в ставку фрахта)"})]})]}),e.jsxs("div",{className:"flex items-start gap-3 rounded-lg border border-border bg-white px-4 py-3",children:[e.jsx("div",{className:"h-8 w-8 rounded-lg bg-amber-100 flex items-center justify-center shrink-0",children:e.jsx(G,{className:"h-4 w-4 text-amber-600"})}),e.jsxs(l,{gap:0,children:[e.jsx(s,{className:"text-sm font-semibold",children:"Детеншн"}),e.jsx(s,{variant:"muted",className:"text-xs",children:"Плата за нахождение контейнера у получателя сверх свободного времени (обычно 5–10 дней после вывоза из порта)"})]})]})]})]})})}),e.jsx(B,{py:"lg",children:e.jsx(L,{size:"base",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_400px] gap-8 items-start",children:[e.jsxs(l,{gap:6,children:[e.jsxs(h,{children:[e.jsx(w,{className:"pb-3",children:e.jsxs(F,{className:"text-base flex items-center gap-2",children:[e.jsx(U,{className:"h-4 w-4 text-text-muted"}),"Линия и контейнер"]})}),e.jsx(u,{children:e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:"line-select",children:"Линия / порт"}),e.jsxs(V,{value:r,onValueChange:Z,children:[e.jsx(q,{id:"line-select",className:"w-full",children:e.jsx(K,{})}),e.jsx(Y,{children:Object.entries(M).map(([t,i])=>e.jsxs(I,{value:t,children:[i.label,i.port!=="—"&&e.jsxs("span",{className:"text-text-muted ml-1",children:["· ",i.port]})]},t))})]})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:"container-select",children:"Тип контейнера"}),e.jsxs(V,{value:c,onValueChange:t=>y(t),children:[e.jsx(q,{id:"container-select",className:"w-full",children:e.jsx(K,{})}),e.jsxs(Y,{children:[e.jsx(I,{value:"20DC",children:"20DC — 20-футовый стандарт"}),e.jsx(I,{value:"40DC",children:"40DC — 40-футовый стандарт"}),e.jsx(I,{value:"40HC",children:"40HC — 40-футовый High Cube"})]})]}),c!=="20DC"&&e.jsx(s,{variant:"muted",className:"text-xs",children:"Ставка ×1,5 от 20DC"})]})]})})]}),e.jsxs(h,{children:[e.jsxs(w,{className:"pb-3",children:[e.jsxs(F,{className:"text-base flex items-center gap-2",children:[e.jsx(U,{className:"h-4 w-4 text-blue-600"}),"Демерредж — хранение в порту"]}),e.jsxs($,{children:["Порт: ",z.port!=="—"?z.port:"не выбран"]})]}),e.jsx(u,{children:e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:"free-port-days",children:"Свободных дней в порту"}),e.jsx(k,{id:"free-port-days",type:"number",min:"0",step:"1",placeholder:"7",value:o,onChange:t=>b(t.target.value)}),e.jsx(s,{variant:"muted",className:"text-xs",children:"Free days включены во фрахт"})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:"actual-port-days",children:"Фактически в порту, дней"}),e.jsx(k,{id:"actual-port-days",type:"number",min:"0",step:"1",placeholder:"10",value:g,onChange:t=>v(t.target.value)}),e.jsx(s,{variant:"muted",className:"text-xs",children:"До даты вывоза из порта"})]})]})})]}),e.jsxs(h,{children:[e.jsxs(w,{className:"pb-3",children:[e.jsxs(F,{className:"text-base flex items-center gap-2",children:[e.jsx(G,{className:"h-4 w-4 text-amber-600"}),"Детеншн — хранение у получателя"]}),e.jsx($,{children:"Отсчёт с момента вывоза из порта до возврата контейнера"})]}),e.jsx(u,{children:e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:"free-client-days",children:"Свободных дней у получателя"}),e.jsx(k,{id:"free-client-days",type:"number",min:"0",step:"1",placeholder:"5",value:n,onChange:t=>R(t.target.value)})]}),e.jsxs("div",{className:"space-y-1.5",children:[e.jsx(N,{htmlFor:"actual-client-days",children:"Фактически у получателя, дней"}),e.jsx(k,{id:"actual-client-days",type:"number",min:"0",step:"1",placeholder:"3",value:D,onChange:t=>_(t.target.value)})]})]})})]}),e.jsxs(h,{children:[e.jsxs(w,{className:"pb-3",children:[e.jsx(F,{className:"text-base",children:"Курс USD/RUB"}),e.jsx($,{children:"Для пересчёта в рубли"})]}),e.jsx(u,{children:e.jsxs("div",{className:"max-w-xs space-y-1.5",children:[e.jsx(N,{htmlFor:"usd-rub",children:"Курс USD/RUB"}),e.jsxs("div",{className:"relative",children:[e.jsx(k,{id:"usd-rub",type:"number",min:"1",step:"0.1",placeholder:"90",value:S,onChange:t=>p(t.target.value),className:"pr-16"}),e.jsx("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-xs text-text-muted pointer-events-none",children:"₽ / $1"})]})]})})]})]}),e.jsx("div",{className:"lg:sticky lg:top-6",children:e.jsxs(l,{gap:4,children:[e.jsxs(h,{className:`border-2 ${A.border} ${A.bg}`,children:[e.jsx(w,{className:"pb-2",children:e.jsxs("div",{className:"flex items-center justify-between gap-2 flex-wrap",children:[e.jsx(F,{className:"text-base",children:"Итого к оплате"}),e.jsx(C,{variant:A.badge,children:a.totalUsd===0?"Нет нарушений":a.totalUsd<500?"Умеренные расходы":"Высокие расходы"})]})}),e.jsx(u,{children:e.jsxs(l,{gap:4,children:[e.jsxs("div",{children:[e.jsx("div",{className:"flex items-baseline gap-2",children:e.jsx("span",{className:`text-4xl font-bold tabular-nums leading-none ${A.text}`,children:x(a.totalUsd)})}),a.totalUsd>0&&e.jsxs(s,{variant:"muted",className:"text-sm mt-1 tabular-nums",children:["≈ ",X(a.totalRub)]}),a.totalUsd===0&&e.jsx(s,{variant:"muted",className:"text-sm mt-1",children:"Контейнер в пределах free days"})]}),e.jsx(O,{}),e.jsxs(l,{gap:2,children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx(s,{className:"text-sm font-semibold",children:"Демерредж"}),e.jsx(s,{className:"text-sm font-bold tabular-nums",children:x(a.demurrageUsd)})]}),a.demurrageDays===0?e.jsxs(s,{variant:"muted",className:"text-xs",children:["В рамках ",d(o,7)," свободных дней в порту"]}):e.jsxs(l,{gap:1,children:[e.jsxs(s,{variant:"muted",className:"text-xs",children:["Сверхнормативных дней: ",a.demurrageDays]}),e.jsx(T,{days:a.demurrageBreakdown.tier1Days,rate:a.demurrageRates.tier1,label:"Тариф 1 (1–7 дн)"}),e.jsx(T,{days:a.demurrageBreakdown.tier2Days,rate:a.demurrageRates.tier2,label:"Тариф 2 (8–14 дн)"}),e.jsx(T,{days:a.demurrageBreakdown.tier3Days,rate:a.demurrageRates.tier3,label:"Тариф 3 (15+ дн)"})]})]}),e.jsx(O,{}),e.jsxs(l,{gap:2,children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx(s,{className:"text-sm font-semibold",children:"Детеншн"}),e.jsx(s,{className:"text-sm font-bold tabular-nums",children:x(a.detentionUsd)})]}),a.detentionDays===0?e.jsxs(s,{variant:"muted",className:"text-xs",children:["В рамках ",d(n,5)," свободных дней у получателя"]}):e.jsxs(l,{gap:1,children:[e.jsxs(s,{variant:"muted",className:"text-xs",children:["Сверхнормативных дней: ",a.detentionDays]}),e.jsx(T,{days:a.detentionBreakdown.tier1Days,rate:a.detentionRates.tier1,label:"Тариф 1 (1–7 дн)"}),e.jsx(T,{days:a.detentionBreakdown.tier2Days,rate:a.detentionRates.tier2,label:"Тариф 2 (8+ дн)"})]})]}),a.totalUsd>0&&e.jsxs(e.Fragment,{children:[e.jsx(O,{}),e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx(s,{className:"text-sm font-semibold",children:"Итого (USD)"}),e.jsx(s,{className:"text-sm font-bold tabular-nums",children:x(a.totalUsd)})]}),e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx(s,{className:"text-sm font-semibold",children:"Итого (RUB)"}),e.jsx(s,{className:"text-sm font-bold tabular-nums",children:X(a.totalRub)})]})]})]})})]}),e.jsxs(h,{children:[e.jsx(w,{className:"pb-2",children:e.jsxs(F,{className:"text-sm font-medium text-text-muted",children:["Ставки ",z.label,c!=="20DC"&&" (×1,5 от 20DC)"]})}),e.jsx(u,{children:e.jsxs(l,{gap:1,children:[e.jsxs("div",{className:"flex justify-between text-xs",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Демерредж 1–7 дн"}),e.jsxs(s,{className:"text-xs font-semibold tabular-nums",children:[x(a.demurrageRates.tier1),"/день"]})]}),e.jsxs("div",{className:"flex justify-between text-xs",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Демерредж 8–14 дн"}),e.jsxs(s,{className:"text-xs font-semibold tabular-nums",children:[x(a.demurrageRates.tier2),"/день"]})]}),e.jsxs("div",{className:"flex justify-between text-xs",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Демерредж 15+ дн"}),e.jsxs(s,{className:"text-xs font-semibold tabular-nums",children:[x(a.demurrageRates.tier3),"/день"]})]}),e.jsx(O,{}),e.jsxs("div",{className:"flex justify-between text-xs",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Детеншн 1–7 дн"}),e.jsxs(s,{className:"text-xs font-semibold tabular-nums",children:[x(a.detentionRates.tier1),"/день"]})]}),e.jsxs("div",{className:"flex justify-between text-xs",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Детеншн 8+ дн"}),e.jsxs(s,{className:"text-xs font-semibold tabular-nums",children:[x(a.detentionRates.tier2),"/день"]})]})]})})]}),e.jsxs("div",{className:"flex items-start gap-2 rounded-lg border border-border bg-surface px-3 py-2.5",children:[e.jsx(J,{className:"h-4 w-4 text-text-muted flex-shrink-0 mt-0.5"}),e.jsx(s,{variant:"muted",className:"text-xs",children:"Ставки ориентировочные. Точные условия уточняйте у линии или экспедитора на дату отправки."})]})]})})]})})}),e.jsx(B,{py:"lg",bg:"surface",children:e.jsx(L,{size:"base",children:e.jsxs(l,{gap:6,children:[e.jsxs(l,{gap:2,children:[e.jsx(H,{size:"h2",children:"Свободные дни по портам и линиям"}),e.jsx(s,{variant:"muted",children:"Справочные данные по типовым условиям для российских портов"})]}),e.jsx("div",{className:"hidden md:block rounded-xl border border-border bg-white overflow-hidden",children:e.jsxs("table",{className:"w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-border bg-surface",children:[e.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold uppercase tracking-wide text-text-muted",children:"Порт"}),e.jsx("th",{className:"text-left px-4 py-3 text-xs font-semibold uppercase tracking-wide text-text-muted",children:"Линия"}),e.jsx("th",{className:"text-center px-4 py-3 text-xs font-semibold uppercase tracking-wide text-text-muted",children:"Free days (демерредж)"}),e.jsx("th",{className:"text-center px-4 py-3 text-xs font-semibold uppercase tracking-wide text-text-muted",children:"Free days (детеншн)"})]})}),e.jsx("tbody",{children:Q.map((t,i)=>e.jsxs("tr",{className:`border-b border-border last:border-0 hover:bg-surface/60 transition-colors ${i%2===0?"":"bg-surface/30"}`,children:[e.jsx("td",{className:"px-4 py-3 font-medium",children:t.port}),e.jsx("td",{className:"px-4 py-3 text-text-muted",children:t.line}),e.jsx("td",{className:"px-4 py-3 text-center",children:e.jsxs(C,{variant:"info",children:[t.demurrage," дн"]})}),e.jsx("td",{className:"px-4 py-3 text-center",children:e.jsxs(C,{variant:"neutral",children:[t.detention," дн"]})})]},i))})]})}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 md:hidden",children:Q.map((t,i)=>e.jsx(h,{children:e.jsx(u,{className:"py-4 px-4",children:e.jsxs(l,{gap:2,children:[e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx(s,{className:"text-sm font-semibold",children:t.line}),e.jsx(s,{variant:"muted",className:"text-xs",children:t.port})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Демерредж"}),e.jsxs(C,{variant:"info",children:[t.demurrage," дн"]})]}),e.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[e.jsx(s,{variant:"muted",className:"text-xs",children:"Детеншн"}),e.jsxs(C,{variant:"neutral",children:[t.detention," дн"]})]})]})]})})},i))}),e.jsxs("div",{className:"flex items-start gap-2 rounded-lg border border-border bg-white px-4 py-3",children:[e.jsx(J,{className:"h-4 w-4 text-text-muted flex-shrink-0 mt-0.5"}),e.jsx(s,{variant:"muted",className:"text-xs",children:"Данные носят справочный характер. Фактические условия прописываются в коносаменте (B/L) и могут отличаться в зависимости от сезона, объёма отправок и индивидуального договора с линией."})]})]})})}),e.jsx(B,{py:"lg",children:e.jsx(L,{size:"base",children:e.jsxs(l,{gap:8,children:[e.jsxs(l,{gap:2,className:"text-center max-w-2xl mx-auto",children:[e.jsx(H,{size:"h2",children:"Как избежать демерреджа и детеншн"}),e.jsx(s,{variant:"lead",className:"text-text-muted",children:"Практические советы для российских импортёров"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:xe.map((t,i)=>e.jsx(h,{children:e.jsx(u,{className:"pt-5 pb-5",children:e.jsxs(l,{gap:3,children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"h-10 w-10 rounded-xl bg-surface border border-border flex items-center justify-center shrink-0",children:t.icon}),e.jsx(s,{className:"text-sm font-semibold",children:t.title})]}),e.jsx(s,{variant:"muted",className:"text-sm",children:t.body})]})})},i))}),e.jsx(h,{className:"bg-blue-50 border-blue-200",children:e.jsx(u,{className:"pt-5 pb-5",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(ie,{className:"h-5 w-5 text-blue-600 shrink-0 mt-0.5"}),e.jsxs(l,{gap:2,children:[e.jsx(s,{className:"text-sm font-semibold text-blue-800",children:"Как считается демерредж"}),e.jsx(s,{className:"text-sm text-blue-700",children:"Свободное время (free days) отсчитывается с момента выгрузки контейнера с судна. Если на 8-й день вы ещё не вывезли контейнер из порта — с 1-го сверхнормативного дня начисляется демерредж по тарифу Tier 1. Ставки прогрессивные: чем дольше задержка, тем дороже день."}),e.jsxs(s,{className:"text-sm text-blue-700",children:[e.jsx("strong",{children:"Детеншн"})," отсчитывается отдельно: с момента вывоза контейнера из порта до его возврата в депо линии. Оба счётчика могут идти одновременно, если вы вывезли контейнер после истечения free days в порту."]})]})]})})})]})})}),e.jsx(re,{title:"Рассчитайте стоимость морской перевозки",ctaLabel:"Рассчитать доставку",ctaTo:"/calculator"})]})}export{Ie as default};