/* Persia Kolbeh — main stylesheet. Tokens follow brand/BRAND.md. */
@font-face { font-family: "Vazirmatn"; src: url(../fonts/vazirmatn-arabic-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; src: url(../fonts/vazirmatn-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2190-2193, U+2212, U+2215; }

:root {
	--lapis: #16305A; --ink: #0E1A2E; --firouzeh: #1A9A96; --firouzeh-deep: #11706D; --saffron: #E7A33E; --saffron-deep: #C9852A;
	--kahgel: #F4EEE3; --paper: #FBF8F2; --stone: #6B655B; --line: #E2D8C6; --brick: #B4532F; --white: #fff;
	--f: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
	--wrap: 1200px; --gut: clamp(16px, 4vw, 40px);
	--r: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--kahgel); color: var(--ink); font: 400 17px/1.9 var(--f); direction: rtl; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
a { color: var(--firouzeh-deep); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--lapis); }
h1, h2, h3, h4 { color: var(--lapis); line-height: 1.35; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem); font-weight: 800; line-height: 1.22; letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .82em; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; }
.ic { width: 22px; height: 22px; flex: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: 820px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--saffron); color: var(--ink); padding: 8px 14px; z-index: 99; }
.skip:focus { top: 12px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px; border: 2px solid transparent; border-radius: var(--r); font: 700 1rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn .ic { width: 20px; height: 20px; }
.btn--lg { min-height: 56px; padding-inline: 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--saffron); color: var(--ink); }
.btn--accent:hover { background: var(--saffron-deep); color: var(--ink); }
.btn--accent .ic { transition: transform .25s var(--ease); }
.btn--accent:hover .ic { transform: translateX(-4px); }
.btn--line { border-color: var(--lapis); color: var(--lapis); background: transparent; }
.btn--line:hover { background: var(--lapis); color: var(--kahgel); }
.btn--ghost-light { border-color: rgba(244, 238, 227, .45); color: var(--kahgel); }
.btn--ghost-light:hover { border-color: var(--kahgel); color: var(--kahgel); background: rgba(244, 238, 227, .08); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lapis); text-decoration: none; border-bottom: 2px solid var(--saffron); padding-bottom: 2px; }
.link .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link:hover .ic { transform: translateX(-4px); }

/* Overline + section head */
.over { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 700; color: var(--firouzeh-deep); margin-bottom: 14px; }
.flow { width: 24px; height: 16px; flex: none; }
.sec-head { max-width: 720px; display: grid; gap: 4px; }
.sec-head .lead { margin-top: 12px; }
.lead { font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); color: #2E3A4D; max-width: 62ch; }
.sec-head-row { display: flex; align-items: end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }

/* Top bar + header */
.topbar { background: var(--ink); color: #C9CED8; font-size: .82rem; }
.topbar__in { display: flex; gap: 6px 28px; justify-content: flex-end; flex-wrap: wrap; min-height: 38px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.topbar__item .ic { width: 15px; height: 15px; color: var(--saffron); }
.topbar a:hover { color: var(--white); }
.topbar__item:first-child { margin-inline-end: auto; }
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(244, 238, 227, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.site-head__in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark svg { width: 46px; height: 46px; }
.brand__word b { display: block; font-size: 1.35rem; font-weight: 800; color: var(--lapis); line-height: 1.15; }
.brand__word i { display: block; font-style: normal; font-size: .62rem; font-weight: 500; letter-spacing: .38em; color: var(--lapis); opacity: .7; direction: ltr; text-align: right; }
.brand--light .brand__word b, .brand--light .brand__word i { color: var(--kahgel); }
.nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav ul > li > a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; }
.nav ul > li > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 2px; background: var(--saffron); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.nav ul > li > a:hover::after, .nav ul > li > a[aria-current]::after { transform: scaleX(1); }
.panel { position: absolute; top: 100%; inset-inline-start: -16px; width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--lapis); box-shadow: 0 24px 50px -20px rgba(14, 26, 46, .35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.has-panel:hover .panel, .has-panel:focus-within .panel { opacity: 1; visibility: visible; transform: none; }
.panel a { display: flex; gap: 12px; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: var(--r); }
.panel a:hover { background: var(--kahgel); }
.panel .ic { color: var(--firouzeh-deep); margin-top: 4px; }
.panel b { display: block; font-size: .95rem; color: var(--lapis); }
.panel small { display: block; font-size: .8rem; color: var(--stone); line-height: 1.6; }
.burger { display: none; margin-inline-start: auto; background: none; border: 0; padding: 10px; color: var(--lapis); cursor: pointer; }
.burger .ic { width: 28px; height: 28px; }
.burger .ic + .ic, .nav-open .burger .ic:first-child { display: none; }
.nav-open .burger .ic + .ic { display: block; }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); position: relative; }
.hero__in { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 span { color: var(--firouzeh-deep); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; inset-inline: 0; bottom: .06em; height: .12em; background: var(--saffron); z-index: -1; transform-origin: right; animation: underline 1s .4s var(--ease) both; }
@keyframes underline { from { transform: scaleX(0); } }
.hero .lead { margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .9rem; color: var(--stone); }
.hero__proof li { display: inline-flex; gap: 6px; align-items: center; }
.hero__proof .ic { width: 16px; height: 16px; color: var(--firouzeh-deep); }

/* Route diagram */
.routes { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 10px 10px 0; position: relative; }
.routes::before { content: ""; position: absolute; inset: -8px 8px auto auto; width: 80px; height: 8px; background: var(--saffron); }
.routes svg { width: 100%; height: auto; overflow: visible; }
.routes__iran { fill: rgba(22, 48, 90, .06); stroke: var(--lapis); stroke-width: 1.2; stroke-dasharray: 2 3; }
.routes__country { font: 800 22px var(--f); fill: var(--lapis); opacity: .18; }
.routes__trunk { stroke: var(--lapis); stroke-width: 3; }
.routes__line { fill: none; stroke-width: 2.4; stroke-dasharray: 6 6; animation: flow 1.6s linear infinite; animation-delay: calc(var(--d) * -.2s); }
.routes__line--import { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.routes__label { font: 700 13px var(--f); fill: var(--ink); }
.routes__sub { font: 500 10.5px var(--f); fill: var(--stone); }
.routes__gate { font: 600 10px var(--f); fill: var(--lapis); }
.routes__gate--home { font-size: 12px; font-weight: 800; }
.routes__key { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 6px 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--stone); }
.routes__key span { display: inline-flex; align-items: center; gap: 7px; }
.routes__key i { width: 18px; height: 3px; }
.routes__note { margin-inline-start: auto; font-size: .74rem; }

/* Stats band */
.stats { background: var(--lapis) repeating-linear-gradient(90deg, transparent 0 14px, rgba(244, 238, 227, .045) 14px 16px); color: var(--kahgel); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px; border-inline-start: 1px solid rgba(244, 238, 227, .14); }
.stat:first-child { border-inline-start: 0; }
.stat b { font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3.1rem); font-weight: 800; line-height: 1; color: var(--white); }
.stat span { font-weight: 700; color: var(--saffron); }
.stat small { grid-column: 1 / -1; margin-top: 8px; font-size: .9rem; color: #B9C3D6; }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 110px); }
.sec--tight { padding-block: clamp(36px, 5vw, 64px); }
.sec--paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec--lapis { background: var(--lapis); color: #DCE3EF; }
.sec--lapis h2, .sec--lapis .over { color: var(--white); }
.sec--lapis .lead { color: #C3CDDD; }

/* Two ways */
.two-way__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.way { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 38px); position: relative; display: grid; gap: 16px; align-content: start; }
.way::before { content: ""; position: absolute; top: -1px; inset-inline: -1px; height: 6px; }
.way--import::before { background: var(--firouzeh); }
.way--export::before { background: var(--saffron); }
.way__tag { display: inline-block; font-size: .82rem; font-weight: 800; padding: 3px 12px; border-radius: 99px; margin-bottom: 10px; }
.way--import .way__tag { background: rgba(26, 154, 150, .13); color: var(--firouzeh-deep); }
.way--export .way__tag { background: rgba(231, 163, 62, .2); color: #8A5A14; }
.way h3 { font-size: 1.45rem; font-weight: 800; }
.way > p { color: #3A4558; }
.way__list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; }
.way__list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px dashed var(--line); }
.way__list .ic { color: var(--lapis); margin-top: 3px; }
.way__list b { display: block; color: var(--lapis); }
.way__list small { display: block; color: var(--stone); font-size: .88rem; line-height: 1.7; }
.way__list code { margin-inline-start: auto; white-space: nowrap; font-size: .72rem; color: var(--stone); border: 1px solid var(--line); padding: 1px 6px; margin-top: 3px; }
.way .link { justify-self: start; }

/* Service grid */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.svc-grid--wide { margin-top: 0; }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc { background: var(--paper); padding: 28px 24px 24px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); position: relative; transition: background .25s; min-height: 250px; }
.sec--paper .svc { background: var(--kahgel); }
.svc::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--firouzeh); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.svc--export::after { background: var(--saffron); }
.svc--both::after { background: linear-gradient(90deg, var(--firouzeh) 50%, var(--saffron) 50%); }
.svc:hover { background: var(--white); color: var(--ink); }
.svc:hover::after { transform: scaleX(1); }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--lapis); color: var(--kahgel); margin-bottom: 8px; }
.svc__icon .ic { width: 26px; height: 26px; }
.svc h3 { font-size: 1.12rem; }
.svc p { font-size: .93rem; color: #4A5468; line-height: 1.8; }
.svc__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 700; color: var(--firouzeh-deep); }
.svc__more .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc:hover .svc__more .ic { transform: translateX(-4px); }

/* Process route */
.route-steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; position: relative; }
.route-steps::before { content: ""; position: absolute; top: 27px; inset-inline: 28px; border-top: 2px dashed var(--lapis); opacity: .5; }
.route-step { position: relative; display: grid; gap: 8px; align-content: start; }
.route-step__node { width: 56px; height: 56px; display: grid; place-items: center; background: var(--kahgel); border: 2px solid var(--lapis); color: var(--lapis); position: relative; z-index: 1; transition: background .25s, color .25s; }
.sec--paper .route-step__node { background: var(--paper); }
.route-step:hover .route-step__node { background: var(--lapis); color: var(--saffron); }
.route-step:last-child .route-step__node { background: var(--saffron); border-color: var(--saffron); color: var(--ink); }
.route-step__n { font-size: .8rem; font-weight: 800; color: var(--firouzeh-deep); margin-top: 8px; }
.route-step h3 { font-size: 1.05rem; }
.route-step p { font-size: .9rem; color: #4A5468; line-height: 1.8; }
.route-step small { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--stone); font-weight: 600; }
.route-step small .ic { width: 15px; height: 15px; }

/* Estimate sheet */
.estimate__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.estimate .btn { margin-top: 28px; }
.sheet { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 30px); box-shadow: 14px 14px 0 rgba(0, 0, 0, .18); position: relative; }
.sheet::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; background: linear-gradient(90deg, var(--firouzeh) 50%, var(--saffron) 50%); }
.sheet__head { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--lapis); }
.sheet__mark svg { width: 38px; height: 38px; }
.sheet__head b { display: block; color: var(--lapis); font-size: 1.02rem; }
.sheet__head small { display: block; color: var(--stone); font-size: .82rem; }
.sheet__no { margin-inline-start: auto; font: 600 .72rem/1 ui-monospace, Menlo, monospace; color: var(--stone); border: 1px solid var(--line); padding: 5px 8px; }
.sheet__bar { display: flex; height: 10px; margin: 18px 0 6px; gap: 2px; }
.k-goods { background: var(--lapis); } .k-freight { background: var(--firouzeh); } .k-tax { background: var(--saffron); } .k-port { background: #8C99AE; } .k-fee { background: var(--ink); }
.sheet table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sheet thead th { font-size: .75rem; color: var(--stone); font-weight: 600; text-align: right; padding: 8px 0; }
.sheet thead th:last-child, .sheet td { text-align: left; }
.sheet tbody th, .sheet td { padding: 8px 0; border-top: 1px dashed var(--line); font-weight: 500; text-align: right; }
.sheet tbody th i { display: inline-block; width: 8px; height: 8px; margin-inline-end: 8px; }
.sheet tbody th small { color: var(--stone); font-size: .76rem; margin-inline-start: 8px; }
.sheet td { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--lapis); text-align: left; }
.sheet tfoot th, .sheet tfoot td { padding-top: 14px; border-top: 2px solid var(--lapis); font-weight: 800; font-size: 1.05rem; color: var(--lapis); text-align: right; }
.sheet tfoot td { text-align: left; }
.sheet__foot { font-size: .76rem; color: var(--stone); margin-top: 12px; }

/* Incoterms */
.inco { margin-top: 40px; }
.inco__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.inco__tabs button { font: 800 1rem/1 var(--f); letter-spacing: .06em; min-width: 72px; padding: 14px 16px; border: 2px solid var(--lapis); background: transparent; color: var(--lapis); cursor: pointer; border-radius: var(--r); transition: background .2s, color .2s; }
.inco__tabs button:hover { background: rgba(22, 48, 90, .07); }
.inco__tabs button[aria-selected="true"] { background: var(--lapis); color: var(--white); }
.inco__panel { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.js .inco__panel[data-off] { display: none; }
.inco__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.inco__title b { font-size: 2rem; font-weight: 800; color: var(--lapis); letter-spacing: .04em; }
.inco__title span { font-weight: 700; font-size: 1.1rem; }
.inco__title small { color: var(--stone); }
.inco__stages { list-style: none; padding: 0; margin: 20px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; counter-reset: st; }
.inco__st { padding: 14px 12px 12px; display: grid; gap: 6px; min-height: 104px; align-content: space-between; position: relative; animation: stIn .45s var(--ease) both; }
.inco__st:nth-child(2) { animation-delay: .04s; } .inco__st:nth-child(3) { animation-delay: .08s; } .inco__st:nth-child(4) { animation-delay: .12s; } .inco__st:nth-child(5) { animation-delay: .16s; } .inco__st:nth-child(6) { animation-delay: .2s; }
@keyframes stIn { from { opacity: 0; transform: translateY(6px); } }
.inco__st span { font-size: .86rem; line-height: 1.6; font-weight: 600; }
.inco__st b { font-size: .78rem; font-weight: 800; }
.inco__st--s { background: var(--lapis); color: #E6EBF3; }
.inco__st--s b { color: var(--saffron); }
.inco__st--b { background: rgba(26, 154, 150, .14); color: var(--ink); border: 1px solid rgba(26, 154, 150, .35); }
.inco__st--b b { color: var(--firouzeh-deep); }
.inco__panel > p { color: #3A4558; max-width: 70ch; }
.inco__key { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; font-size: .82rem; color: var(--stone); }
.inco__key span { display: inline-flex; gap: 8px; align-items: center; }
.inco__key i { width: 14px; height: 14px; display: inline-block; }

/* Market chips */
.mkt-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin-top: 40px; }
.mkt-chip { display: grid; gap: 4px; padding: 20px 22px; background: var(--kahgel); border: 1px solid var(--line); border-inline-start: 4px solid var(--lapis); text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), background .25s; }
.mkt-chip--export { border-inline-start-color: var(--saffron); }
.mkt-chip--import { border-inline-start-color: var(--firouzeh); }
.mkt-chip:hover { transform: translateY(-3px); background: var(--white); color: var(--ink); }
.mkt-chip b { font-size: 1.1rem; color: var(--lapis); }
.mkt-chip small { color: var(--stone); font-size: .85rem; }
.mkt-chip__modes { display: flex; gap: 6px; align-items: center; margin-top: 8px; color: var(--lapis); }
.mkt-chip__modes .ic { width: 18px; height: 18px; }
.mkt-chip__modes em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--firouzeh-deep); margin-inline-start: auto; }

/* Values */
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 2px solid var(--lapis); }
.value { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; position: relative; }
.value + .value { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.value:first-child { padding-inline-start: 0; }
.value__n { position: absolute; top: 18px; inset-inline-end: 16px; font-size: 3.2rem; font-weight: 800; color: var(--line); line-height: 1; }
.value .ic { width: 30px; height: 30px; color: var(--firouzeh-deep); }
.value h3 { font-size: 1.3rem; font-weight: 800; }
.value p { color: #4A5468; font-size: .95rem; }

/* FAQ */
.faq-sec__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq { border-top: 2px solid var(--lapis); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.05rem; color: var(--lapis); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 16px; height: 16px; flex: none; position: relative; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; top: 7px; inset-inline: 0; height: 2px; background: var(--saffron-deep); transition: transform .25s var(--ease); }
.faq summary span::after { transform: rotate(90deg); }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { padding: 0 0 22px; color: #3A4558; max-width: 64ch; }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.post-card { background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .25s var(--ease), box-shadow .25s; }
.sec--paper .post-card { background: var(--kahgel); }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(14, 26, 46, .4); }
.post-card__cover { aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; text-decoration: none; position: relative; overflow: hidden; background: var(--lapis) repeating-linear-gradient(90deg, transparent 0 14px, rgba(244, 238, 227, .06) 14px 16px); color: var(--kahgel); }
.post-card__cover--firouzeh { background-color: var(--firouzeh-deep); }
.post-card__cover--saffron { background-color: var(--saffron); color: var(--ink); }
.post-card__cover--ink { background-color: var(--ink); }
.post-card__cover .ic { width: 54px; height: 54px; stroke-width: 1.2; transition: transform .4s var(--ease); }
.post-card:hover .post-card__cover .ic { transform: translateY(-4px) rotate(-4deg); }
.post-card__cover span { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; line-height: 1.2; letter-spacing: .02em; align-self: flex-start; }
.post-card__body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.post-card__meta { font-size: .8rem; color: var(--stone); }
.post-card__meta a { color: var(--firouzeh-deep); text-decoration: none; font-weight: 700; }
.post-card h3 a { color: var(--lapis); text-decoration: none; }
.post-card h3 a:hover { color: var(--firouzeh-deep); }
.post-card p { font-size: .92rem; color: #4A5468; line-height: 1.8; }

/* Quote section + form */
.sec--quote { background: var(--ink) repeating-linear-gradient(90deg, transparent 0 14px, rgba(244, 238, 227, .03) 14px 16px); color: #C9D1DE; }
.sec--quote h2 { color: var(--white); }
.sec--quote .over { color: var(--saffron); }
.sec--quote .lead { color: #B6C0D0; }
.quote__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.quote__contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.quote__contact li { display: flex; gap: 10px; align-items: center; }
.quote__contact a { color: var(--white); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.quote__contact .ic { color: var(--saffron); }
.form { background: var(--paper); color: var(--ink); padding: clamp(20px, 3vw, 34px); display: grid; gap: 16px; border-top: 6px solid var(--saffron); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; font-weight: 700; color: var(--lapis); }
.field small { color: var(--stone); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem/1.5 var(--f); color: var(--ink); background: var(--white); border: 1px solid #D5CAB5; border-radius: var(--r); padding: 12px 14px; min-height: 50px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #A59D8F; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lapis); box-shadow: 0 0 0 3px rgba(22, 48, 90, .12); }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seg legend { font-size: .88rem; font-weight: 700; color: var(--lapis); margin-bottom: 8px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border: 1px solid #D5CAB5; background: var(--white); font-weight: 700; font-size: .88rem; color: var(--lapis); transition: background .2s, border-color .2s, color .2s; text-align: center; }
.seg .ic { width: 22px; height: 22px; }
.seg input:checked + span { background: var(--lapis); border-color: var(--lapis); color: var(--white); }
.seg input:checked + span .ic { color: var(--saffron); }
.seg input:focus-visible + span { outline: 2px solid var(--saffron); outline-offset: 2px; }
.form__hint { font-size: .8rem; color: var(--stone); text-align: center; }
.form__note { padding: 12px 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.form__note--ok { background: rgba(26, 154, 150, .14); color: var(--firouzeh-deep); }
.form__note--err { background: rgba(180, 83, 47, .12); color: var(--brick); }

/* Page heads */
.page-head { padding-block: clamp(28px, 4vw, 48px) clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); background: #EDE5D6; }
.page-head h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 26px; font-size: .84rem; color: var(--stone); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line); }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--lapis); }
.page-head__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.svc-badge { width: 200px; aspect-ratio: 1; background: var(--lapis) repeating-linear-gradient(90deg, transparent 0 14px, rgba(244, 238, 227, .06) 14px 16px); color: var(--kahgel); display: grid; place-items: center; align-content: center; gap: 12px; position: relative; }
.svc-badge::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 6px; background: var(--firouzeh); }
.page-head--export .svc-badge::before { background: var(--saffron); }
.page-head--both .svc-badge::before { background: linear-gradient(90deg, var(--firouzeh) 50%, var(--saffron) 50%); }
.svc-badge .ic { width: 72px; height: 72px; stroke-width: 1.2; }
.svc-badge span { font-size: .82rem; font-weight: 700; color: var(--saffron); text-align: center; padding-inline: 12px; }
.post-meta { color: var(--stone); font-size: .9rem; }

/* Content + aside */
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.box { background: var(--paper); border: 1px solid var(--line); padding: 24px; }
.box h2 { font-size: 1.05rem; margin-bottom: 14px; }
.box--lapis { background: var(--lapis); border-color: var(--lapis); color: #D2DAE7; }
.box--lapis h2 { color: var(--white); }
.box--lapis .btn { margin-top: 16px; }
.box__big { font-size: 1.5rem; font-weight: 800; color: var(--saffron); margin-bottom: 6px; }
.ticks, .docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.ticks li, .docs li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ic { width: 18px; height: 18px; color: var(--firouzeh-deep); margin-top: 5px; }
.docs .ic { width: 18px; height: 18px; color: var(--lapis); margin-top: 5px; }
.mini-steps { margin: 0; padding-inline-start: 20px; display: grid; gap: 10px; font-size: .93rem; }
.prose { font-size: 1.04rem; color: #1F2B3E; max-width: 72ch; }
.prose--solo { margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.55rem; margin-top: 1.8em; padding-top: .4em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--firouzeh-deep); }
.prose strong { color: var(--lapis); }
.prose blockquote { margin-inline: 0; padding: 18px 22px; background: var(--paper); border-inline-start: 4px solid var(--saffron); color: #2E3A4D; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--paper); }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: right; vertical-align: top; }
.prose thead th { background: var(--lapis); color: var(--white); border-color: var(--lapis); }
.prose .ltr { direction: ltr; unicode-bidi: isolate; }
.prose .note { background: rgba(26, 154, 150, .1); border-inline-start: 4px solid var(--firouzeh); padding: 16px 20px; }
.prose--post > p:first-child { font-size: 1.15rem; color: var(--lapis); font-weight: 500; }
.post-cta { display: flex; align-items: center; gap: 18px; margin-top: 48px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--lapis); flex-wrap: wrap; }
.post-cta svg { width: 48px; height: 48px; }
.post-cta div { flex: 1; min-width: 200px; }
.post-cta b { color: var(--lapis); font-size: 1.1rem; }
.post-cta p { color: var(--stone); font-size: .92rem; }
.about-mark { background: var(--paper); border: 1px solid var(--line); padding: 28px; display: grid; gap: 16px; }
.about-mark svg { width: 120px; height: 120px; }
.about-mark p { font-size: .95rem; color: #3A4558; }
.about-mark .link { justify-self: start; }

/* Markets page */
.markets__map { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.markets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.market { background: var(--kahgel); border: 1px solid var(--line); border-top: 5px solid var(--lapis); padding: 26px; display: grid; gap: 16px; align-content: start; scroll-margin-top: 110px; }
.market--export { border-top-color: var(--saffron); }
.market--import { border-top-color: var(--firouzeh); }
.market__dir { font-size: .8rem; font-weight: 800; color: var(--firouzeh-deep); }
.market h2 { font-size: 1.5rem; }
.market h2 small { font-size: .85rem; font-weight: 500; color: var(--stone); margin-inline-start: 6px; }
.market__hubs { display: flex; gap: 6px; align-items: center; color: #3A4558; font-size: .92rem; margin-top: 6px; }
.market__hubs .ic { width: 16px; height: 16px; color: var(--saffron-deep); }
.market dl { display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; margin: 0; padding: 16px 0; border-block: 1px dashed var(--line); }
.market dl > div { display: contents; }
.market dt { font-size: .82rem; color: var(--stone); font-weight: 600; }
.market dd { margin: 0; font-size: .93rem; }
.market__modes { display: flex; gap: 8px; color: var(--lapis); }
.market__note { font-size: .92rem; color: #3A4558; }

/* Contact page */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact__cards { display: grid; gap: 12px; }
.ccard { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 20px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
a.ccard:hover { border-color: var(--lapis); color: var(--ink); }
.ccard .ic { grid-row: span 3; width: 26px; height: 26px; color: var(--firouzeh-deep); }
.ccard span { font-size: .82rem; color: var(--stone); }
.ccard b { color: var(--lapis); font-size: 1.05rem; }
.ccard small { color: var(--stone); font-size: .82rem; }
.contact__form h2 { font-size: 1.35rem; margin-bottom: 16px; }
.quote-page { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 56px); align-items: start; }

/* Blog chips, pagination */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { padding: 6px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); text-decoration: none; font-size: .9rem; background: var(--paper); }
.chips a[aria-current] { background: var(--lapis); color: var(--white); border-color: var(--lapis); }
.chips + .post-grid { margin-top: 28px; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); text-decoration: none; color: var(--lapis); }
.page-numbers.current { background: var(--lapis); color: var(--white); }

/* 404 */
.notfound { text-align: center; }
.notfound .wrap { display: grid; justify-items: center; gap: 16px; }
.notfound__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; color: var(--line); line-height: 1; letter-spacing: .04em; }
.notfound .hero__cta { justify-content: center; }

/* Footer */
.site-foot { background: var(--ink); color: #AEB8C9; font-size: .93rem; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-block: 44px; border-bottom: 1px solid rgba(244, 238, 227, .12); }
.foot-cta p { font-size: 1.15rem; color: #D7DDE8; }
.foot-cta b { color: var(--white); }
.foot-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 52px; }
.foot-brand p { margin-top: 18px; max-width: 34ch; line-height: 1.9; }
.site-foot h2 { font-size: .95rem; color: var(--white); margin-bottom: 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: #AEB8C9; text-decoration: none; }
.site-foot a:hover { color: var(--saffron); }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact .ic { width: 17px; height: 17px; color: var(--saffron); margin-top: 5px; }
.social { display: flex; gap: 8px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(244, 238, 227, .2); }
.social a:hover { border-color: var(--saffron); }
.social .ic { width: 20px; height: 20px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid rgba(244, 238, 227, .12); font-size: .82rem; }
.foot-bottom__flow { display: inline-flex; align-items: center; gap: 10px; }
.foot-bottom__flow .flow { width: 22px; }

/* Reveal on scroll (JS adds .js; respects reduced motion) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
	.svc-grid { grid-template-columns: repeat(2, 1fr); }
	.route-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.route-steps::before { display: none; }
	.values__grid { grid-template-columns: repeat(2, 1fr); }
	.value:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.nav ul > li > a { padding-inline: 8px; font-size: .92rem; }
}
@media (max-width: 960px) {
	.topbar__item:first-child { display: none; }
	.burger { display: block; }
	.nav { position: fixed; inset: 0; top: 0; background: var(--kahgel); flex-direction: column; align-items: stretch; padding: 100px var(--gut) 32px; gap: 20px; transform: translateX(100%); transition: transform .35s var(--ease); z-index: -1; overflow-y: auto; visibility: hidden; }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav ul > li > a { font-size: 1.3rem; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
	.nav ul > li > a::after { display: none; }
	.panel { display: none; }
	.hero__in, .estimate__in, .quote__in, .faq-sec__in, .with-aside, .markets__map, .contact, .quote-page { grid-template-columns: 1fr; }
	.aside { position: static; }
	.two-way__grid { grid-template-columns: 1fr; }
	.stats__in { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-inline-start: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid rgba(244, 238, 227, .14); }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.svc-grid--3 { grid-template-columns: 1fr 1fr; }
	.markets { grid-template-columns: 1fr; }
	.inco__stages { grid-template-columns: repeat(3, 1fr); }
	.page-head__grid { grid-template-columns: 1fr; }
	.svc-badge { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.site-head__in { min-height: 66px; }
	.brand__mark svg { width: 38px; height: 38px; }
	.brand__word b { font-size: 1.15rem; }
	.svc-grid, .svc-grid--3, .post-grid, .values__grid { grid-template-columns: 1fr; }
	.value, .value + .value { padding-inline: 0; border-inline-start: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
	.route-steps { grid-template-columns: 1fr; row-gap: 0; }
	.route-step { grid-template-columns: 56px 1fr; column-gap: 16px; padding-bottom: 26px; position: relative; }
	.route-step::before { content: ""; position: absolute; top: 56px; bottom: 0; inset-inline-start: 27px; border-inline-start: 2px dashed rgba(22, 48, 90, .5); }
	.route-step:last-child::before { display: none; }
	.route-step__node { grid-row: span 4; }
	.route-step__n { margin-top: 0; }
	.form__row, .form__row--3 { grid-template-columns: 1fr; }
	.seg { grid-template-columns: repeat(2, 1fr); }
	.inco__stages { grid-template-columns: 1fr 1fr; }
	.inco__st { min-height: 86px; }
	.inco__tabs button { min-width: 0; flex: 1 0 22%; padding-inline: 6px; }
	.foot-grid { grid-template-columns: 1fr; gap: 32px; }
	.stat { padding: 24px 14px; }
	.way__list code { display: none; }
	.sheet tbody th small { display: block; margin: 0 16px 0 0; }
	.routes__note { margin-inline-start: 0; }
	.hero h1 span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; }
}
.site-foot .btn--accent, .site-foot .btn--accent:hover { color: var(--ink); }
.site-foot .btn--ghost-light:hover { color: var(--kahgel); }
/* Route map: halo behind labels so dashed lines don't cut through names */
.routes text { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.routes__country { stroke: none; }
